Metraipolis › archive › dc_3a74d919ae31

Query-Guided RoPE Modulation for Lost-in-the-Middle Mitigation in Long-Context LLMs — arXiv:2611.09554

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.09554
License (as archived)
CC0-1.0
Archived
2026-11-09T22:35:08.729Z
SHA-256 of the archived text
16f1890a08cadf901f6b93baff0c4b69b6f5d3a755becb64ff60612c8eac2f31
Stable URL of this page
https://metraipolis.com/documento/dc_3a74d919ae31

How to cite

Query-Guided RoPE Modulation for Lost-in-the-Middle Mitigation in Long-Context LLMs — arXiv:2611.09554 — arXiv (en), https://arxiv.org/abs/2611.09554 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_3a74d919ae31 (Metraipolis archive dc_3a74d919ae31, sha256 16f1890a08cadf901f6b93baff0c4b69b6f5d3a755becb64ff60612c8eac2f31)
BibTeX
@misc{dc3a74d919ae31,
  title = {Query-Guided RoPE Modulation for Lost-in-the-Middle Mitigation in Long-Context LLMs — arXiv:2611.09554},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.09554},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_3a74d919ae31; sha256 16f1890a08cadf901f6b93baff0c4b69b6f5d3a755becb64ff60612c8eac2f31},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.09554. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Long-context language models often neglect information in the middle of the input, a phenomenon known as "lost-in-the-middle". Part of this gap may stem from the long-range decay of rotary position embedding (RoPE), which weakens the positional signal between distant tokens. Existing input compression deletes low-importance tokens, and attention reweighting acts only after RoPE has weakened this signal. RoPE-level methods modify positions directly but apply the same remapping to every query. To address these limitations, we propose QGPM (Query-Guided Positional Modulation), a training-free method that reshapes RoPE positions using query relevance from the model's own attention heads. QGPM builds a broad relevance map for lower layers and a sharp one for upper layers. Low-relevance tokens advance by less than one position on fast-rotating planes, pulling relevant evidence toward the query. Slow-rotating planes keep the original layout, with every token in place. Experiments on NoLiMa and RULER with multiple context lengths show that QGPM improves over base models and strong baselines, with the largest gains on retrieval tasks, and generalizes across multiple backbones. Our code is available at this https URL .

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2611.09554 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-09T22:30:47.337Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).