Pith. sign in

REVIEW 4 cited by

Attention Sorting Combats Recency Bias In Long Context Language Models

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2310.01427 v1 pith:I6CK3IOA submitted 2023-09-28 cs.CL cs.AI

classification cs.CLcs.AI
keywords attentionmodelscontextdocumentlanguagelongsortingduring
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Current language models often fail to incorporate long contexts efficiently during generation. We show that a major contributor to this issue are attention priors that are likely learned during pre-training: relevant information located earlier in context is attended to less on average. Yet even when models fail to use the information from a relevant document in their response, they still pay preferential attention to that document compared to an irrelevant document at the same position. We leverage this fact to introduce ``attention sorting'': perform one step of decoding, sort documents by the attention they receive (highest attention going last), repeat the process, generate the answer with the newly sorted context. We find that attention sorting improves performance of long context models. Our findings highlight some challenges in using off-the-shelf language models for retrieval augmented generation.

Discussion (0). Sign in to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Evidence Interfaces Shape How Retrieval-Augmented Readers Use Support

    cs.AI 2026-07 accept novelty 7.0 of 10

    Top-k retrieval scores should be reported with complete-support coverage, because the same score can mix missing-support failures with reader-side interface effects.

  2. Mitigating Posterior Salience Attenuation in Long-Context LLMs with Positional Contrastive Decoding

    cs.CL 2025-06 conditional novelty 6.0 of 10

    Positional Contrastive Decoding, a training-free method that contrasts standard and over-rotated RoPE logits, improves long-context retrieval and QA by a few points.

  3. LISA: Linear-Indexed Sparse Attention for Efficient Long-Context Reasoning

    cs.AI 2026-05 reject novelty 5.0 of 10

    LISA replaces standard attention with linear attention plus indexer-selected sparse attention, claiming O(nM) inference cost and accuracy gains, but the complexity analysis ignores the indexer's full-context scoring.

  4. Beyond Isolated Capabilities: Bridging Long CoT Reasoning and Long-Context Understanding

    cs.CL 2025-07 conditional novelty 5.0 of 10

    DeepSeek-R1-distilled models show higher multi-document QA accuracy than their base counterparts and flatter position-bias curves, especially with 50-80 documents.

Pith tools