Long-Context Language Modeling

Overview

The field asks how models can retrieve relevant evidence and maintain useful context as sequences grow, for tasks such as document understanding, code analysis, and long-range recall. Approaches include sparse and hierarchical attention, positional-encoding extensions, recurrent and state-space memory, hybrid architectures, and compression of context or key-value caches. Training methods range from long-sequence continued pretraining and curricula to distillation and test-time adaptation, with evaluation often using retrieval and reasoning benchmarks such as RULER, LongBench, and Needle-in-a-Haystack. The central tension is reducing compute and memory without losing reliable access to distant information; performance also depends on information density and may not extrapolate from short training contexts.

Latest papers

CardsList

189 papers38 papers in the last four weeks, up 90% on the four weeks before. 0.2% of all new papers.

  1. SinkTrack: Attention Sink based Context Anchoring for Large Language Models

    Apr 11, 2026Xu Liu, Guikun Chen, Wenguan WangLLM Context ManagementLLM Hallucination Mitigation

  2. PolicyLong: Towards On-Policy Context Extension

    Apr 9, 2026Junlong Jia, Jiang Zhou, Ziyang Chen +5Long-Context Language ModelingSelf-Training for Language Models

  3. Residual-Mass Accounting for Partial-KV Decoding

    Apr 7, 2026Yasuto Hoshi, Daisuke Miyashita, Jun DeguchiSoftmax AttentionLong-Context Language Modeling

  4. Screening Is Enough

    Apr 1, 2026Ken M. NakanishiSelf-AttentionLong-Context Language Modeling

  5. Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformers

    Mar 27, 2026Yusheng Zhao, Hourun Li, Bohan Wu +5Hybrid Transformer ArchitecturesHybrid Attention

  6. Density-aware Soft Context Compression with Semi-Dynamic Compression Ratio

    Mar 26, 2026Yijiong Yu, Shuai Yuan, Jie Zheng +2LLM Context CompressionContext Compression

  7. MemDLM: Memory-Enhanced DLM Training

    Mar 23, 2026Zehua Pei, Hui-Ling Zhen, Weizhe Lin +4Diffusion Language Model TrainingDiffusion Language Models

  8. TAMTRL: Teacher-Aligned Reward Reshaping for Multi-Turn Reinforcement Learning in Long-Context Compression

    Mar 23, 2026Li Wang, Yandong Wang, Xin Yu +3RL for Language ModelsLong-Context Language Modeling

  9. HiCI: Hierarchical Construction-Integration for Long-Context Attention

    Mar 21, 2026Xiangyu Zeng, Qi Xu, Yunke Wang +1Long-Context Language ModelingLong-Context Modeling

  10. MKA: Memory-Keyed Attention for Efficient Long-Context Reasoning

    Mar 21, 2026Dong Liu, Yanxuan Yu, Ben Lengerich +1Attention MechanismsMemory-Efficient Attention

  11. Learning When to Attend: Conditional Memory Access for Long-Context LLMs

    Mar 18, 2026Sakshi Choudhary, Aditya Chattopadhyay, Luca Zancato +4Self-AttentionLong-Context Language Modeling

  12. M2^2RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling

    Mar 15, 2026Mayank Mishra, Shawn Tan, Ion Stoica +2Recurrent Neural NetworksLanguage Modeling

  13. Long-Context Encoder Models for Polish Language Understanding

    Mar 12, 2026Sławomir Dadas, Rafał Poświata, Marek Kozłowski +4Long-Context Language ModelingLong-Context Modeling

  14. LinearARD: Linear-Memory Attention Distillation for RoPE Restoration

    Mar 9, 2026Ning Yang, Hengyu Zhong, Wentao Wang +4Attention-Guided DistillationMemory-Efficient Attention

  15. Stacked from One: Multi-Scale Self-Injection for Context Window Extension

    Mar 5, 2026Wei Han, Pan Zhou, Soujanya Poria +1Long-Context Language Model InferenceLong-Context Language Modeling

  16. Understanding the Physics of Key-Value Cache Compression for LLMs through Attention Dynamics

    Mar 2, 2026Samhruth Ananthanarayanan, Ayan Sengupta, Tanmoy ChakrabortyAttention RoutingKV-Cache Compression

  17. Frayed RoPE and Long Inputs: A Geometric Perspective

    Feb 24, 2026Davis Wertheimer, Aozhong Zhang, Derrick Liu +2Rotary Positional EmbeddingsLong-Context Language Modeling

  18. Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence

    Feb 23, 2026Yungang Yi, Weihua Li, Matthew Kuo +2Long-Context Language ModelingSymbolic Music Generation

  19. Reinforced Fast Weights via Next-Sequence Prediction

    Feb 18, 2026Hee Seung Hwang, Xindi Wu, Sanghyuk Chun +2Fast WeightsLong-Context Language Modeling

  20. Fast KV Compaction via Attention Matching

    Feb 18, 2026Adam Zweiger, Xinghong Fu, Han Guo +1KV-Cache ManagementLLM Context Compression