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
189 papers38 papers in the last four weeks, up 90% on the four weeks before. 0.2% of all new papers.
Gated DeltaNet-2: Decoupling Erase and Write in Linear Attention
Efficient Long-Context Modeling in Diffusion Language Models via Block Approximate Sparse Attention
Elastic-dLLM: Position Preserving Context Compression and Augmentation of Diffusion LLMs
RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provably
EndPrompt: Efficient Long-Context Extension via Terminal Anchoring
A Hierarchical Language Model with Predictable Scaling Laws and Provable Benefits of Reasoning
Phasor Memory Networks: Stable Backpropagation Through Time for Scalable Explicit Memory
Training-Inference Consistent Segmented Execution for Long-Context LLMs
Where Does Long-Context Supervision Actually Go? Effective-Context Exposure Balancing
Mela: Test-Time Memory Consolidation based on Transformation Hypothesis
Remember to Forget: Gated Adaptive Positional Encoding
Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memory
Positional LSH: Binary Block Matrix Approximation for Attention with Linear Biases
VORT: Adaptive Power-Law Memory for NLP Transformers
Kaczmarz Linear Attention
Self-Consolidating Language Models: Continual Knowledge Incorporation from Context
Long Context Pre-Training with Lighthouse Attention
Matrix-Decoupled Concentration for Autoregressive Sequences: Dimension-Free Guarantees for Sparse Long-Context Rewards
Training Transformers for KV Cache Compressibility
Caracal: Causal Architecture via Spectral Mixing
Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scaling
vLLM inference stack, while comparable Llama baselines run out of memory beyond 64K context. Across 1B- and 3B-scale settings (Llama- and Qwen-based variants), HyLo delivers consistently strong short- and long-context performance and significantly outperforms state-of-the-art upcycled hybrid baselines on long-context evaluations such as RULER. Notably, at similar scale, HyLo-Qwen-1.7B trained on only 10B tokens significantly outperforms JetNemotron (trained on 400B tokens) on GSM8K, Lm-Harness common sense reasoning and RULER-64K.