DySCO: Dynamic Attention-Scaling Decoding for Long-Context Language Models
Not on the map. Why?
Abstract (arXiv)
Understanding and reasoning over long contexts is a crucial capability for language models (LMs). Although recent models support increasingly long context windows, their accuracy often deteriorates as input length grows. In practice, models often struggle to keep attention aligned with the most relevant context throughout decoding. In this work, we propose DYSCO, a novel decoding algorithm for improving long-context reasoning. DYSCO leverages retrieval heads--a subset of attention heads specialized for longcontext retrieval--to identify task-relevant tokens at each decoding step and explicitly up-weight them. By doing so, DYSCO dynamically adjusts attention during generation to better utilize relevant context. The method is training-free and can be applied directly to any off-the-shelf LMs. Across multiple instruction-tuned and reasoning models, DYSCO consistently improves performance on challenging long-context reasoning benchmarks, yielding relative gains of up to 25% on MRCR and LongBenchV2 at 128K context length with modest additional compute. Further analysis highlights the importance of both dynamic attention rescaling and retrievalhead guided selection for the effectiveness of the method, while providing interpretability insights into decoding-time attention behavior. Our code is available at https://github.com/princeton-pli/DySCO.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 69 of its 81 references that are in the map. First posted on arXiv 25 Feb 2026.
Builds on
69 of 81 references.
References · 69
- 2017Attention Is All You Needcited by 59,932
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
38 more
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 283
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 243
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 219
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 201
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 183
- 2024LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMscited by 142
- 2024How to Train Long-Context Language Models (Effectively)cited by 141
- 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 133
- 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 132
- 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 129
- 2023Unlimiformer: Long-Range Transformers with Unlimited Length Inputcited by 127
- 2024Make Your LLM Fully Utilize the Contextcited by 118
- 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 117
- 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 109
- 2024Jasper and Stella: distillation of SOTA embedding modelscited by 109
- 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilizationcited by 97
- 2025Recursive Language Modelscited by 94
- 2024Michelangelo: Long Context Evaluations Beyond Haystacks via Latent Structure Queriescited by 85
- 2024Long-Context Language Modeling with Parallel Context Encodingcited by 84
- 2024Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encodingcited by 72
- 2024LoFiT: Localized Fine-tuning on LLM Representationscited by 56
- 2024LongRAG: A Dual-Perspective Retrieval-Augmented Generation Paradigm for Long-Context Question Answeringcited by 49
- 2024LongGenBench: Benchmarking Long-Form Generation in Long Context LLMscited by 47
- 2025Scalable-Softmax Is Superior for Attentioncited by 38
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processing
- 2026LycheeDecode: Accelerating Long-Context LLM Inference via Hybrid-Head Sparse Decoding
- 2026ART: Attention Run-time Termination for Efficient Large Language Model Decoding
- 2025LServe: Efficient Long-sequence LLM Serving with Unified Sparse Attention
- 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Models
- 2024Attention Heads of Large Language Models: A Survey
- 2025EpMAN: Episodic Memory AttentioN for Generalizing to Longer Contexts
- 2025DAM: Dynamic Attention Mask for Long-Context Large Language Model Inference Acceleration