AgentFlare

Scholar · long context language models

Long-Context Language Models: Research Digest

10 foundational papers with 10,509 combined citations, plus the latest arXiv preprints.

Foundational papers1010,509 citations
Most citedLost in the middle: How language mode…7,834 citations · 2024
arXiv, Oct 202682 papers+134% vs Nov 2025
Newest preprint2026-11-17

AISA Scholar API · arXiv

arXiv submissions per monthPapers matching abs:"long-context" AND abs:"language model" · last 12 complete months
monthly arXiv submissions: Nov 2025 35 → Oct 2026 82; high 95 (Sep 2026), low 35 (Nov 2025)305377100Nov 2025Apr 2026Oct 2026
402 · Pay-per-Crawl$0.02

You're reading the full report — free for humans and search engines. The same content ships as a structured JSON dataset (normalized facts, sources and citation arrays, no HTML parsing) so AI agents can consume it directly — metered per fetch via the open HTTP 402 payment protocol.

⚡ Agents: fetch .data.json · $0.02 → agents: crawlerAutoPrice=true · verify at https://esa.aisa.one/api/v1/access/verify

What’s new on arXiv

A12026-11-17cs.CL

RISA: Recoverable Sparse Attention for Block-Diffusion Language Models

Xinrui Zhong, Fanjiang Ye, Yuke Wang

Block-wise diffusion language models (DLMs) refine multiple tokens in parallel, offering an alternative to token-by-token autoregressive decoding. Their long-context inference, however, remains bottlenecked by memory-bound attention: every denoising step repeatedly reads a growing historical key--value (KV) cache. Directly applying sparse attention does not fully solve this problem, because different queries can select different pages, inflating the block's collective read set, while repeated support construction adds overhead and permanent eviction can discard information needed later. We present RISA, a recoverable sparse-attention method with shared read plans for block-wise DLMs. RISA exploits the fact that historical KV remains fixed within a block while queries evolve across denoising steps. Newly generated history is organized into exact priority and recovery tiers; seed queries then build a protected, bounded read plan whose indices are reused across the block while attention is recomputed with fresh queries and current-block KV. This separates history preservation from repeated reading and amortizes sparse-support construction without changing the backbone or decoder. On DreamReasoner-8B, RISA retains comparable task performance. At 32K, the default configuration speeds up attention by 2.67× and fixed-trajectory requests by 1.36× over dense, and attention speedup reaches 5.53× at 128K. Across eight settings on three models, RISA decodes faster than the tested MAGE, QUEST, and LoSA budgets at matched KL.

A22026-11-17cs.AI

Long-Context Generation Is a Sampling Problem (When You Turn Up the Heat)

Allen G. Roush, Minh Nhat Nguyen, Ravid Shwartz-Ziv, Judah Goldfeder, Sanjay Basu

Open-weight language models are widely observed to get worse the longer they generate. Often, attempts to fix this involve more training. At high temperature, The sampler, i.e. the rule that picks the next token out of the model's probabilities, decides whether long and agentic generation survives and/or thrives. We test 29 open-weight models from 1B to 122B parameters on ten established benchmarks plus needle retrieval out to one million tokens, covering SWE-bench Verified coding agents, long chain-of-thought reasoning, long-form writing, long structured output and long-context reading. Samplers that keep their pool of candidate tokens small and steady as temperature rises don't lose accuracy. Samplers that let in low-probability tokens fall apart. At temperature 2, coding agents running top-p, top-k or Top-H resolve 0 of 100 GitHub issues, while the same agents running top-nsigma resolve 46 to 62 and win every issue the two samplers disagree on, on three Qwen3.5 models. Over all benchmarks top-nsigma keeps a median 100% of its temperature-1 score where top-p keeps 26%. Counting how many tokens each sampler lets through explains why. In one Llama-3.1-8B story, going from temperature 1 to 2 grows top-p's pool from 4 tokens to 51,845 while top-nsigma stays at 3. Across 133 combinations of sampler setting and temperature, the typical pool size predicts judged quality (Spearman correlation of -0.77), and when we pick the pool at temperature 1 and only apply temperature afterwards, Top-H, min-p and p-less stop collapsing. At the default temperature of 1 most samplers perform about the same, We release all code and data to the public.

A32026-11-15cs.LG

Multi-Branch Transformer

Gaotang Li, Lingjie Chen, Chunyuan Deng, Zhiwei Xu, Hongzheng Chen, Christopher De Sa, Jingrui He, Yingheng Wang, Hanghang Tong

Transformer language models are commonly scaled by making their blocks wider or stacking them deeper. In this work, we explore a complementary path: branching, the parallel composition of full Transformer blocks. We introduce the Multi-Branch Transformer (MBT), which processes the input through shared initial layers, executes independently parameterized branches of sequential blocks in parallel, and fuses their outputs before shared final layers. At comparable training compute, we study three MBT variants: Wide-Shallow preserves block width, Narrow-Deep preserves sequential depth, and Balanced interpolates between them. In controlled pretraining experiments at four mixture-of-experts scales (0.8B to 2.1B total parameters), 2-branch Wide-Shallow MBTs consistently outperform sequential Transformers under matched parameter and training-compute budgets. Balanced MBTs improve further and retain comparable quality as the number of branches increases. To improve inference efficiency at long contexts, we introduce Joint-KV, which constructs a shared KV cache from branch representations at each depth. Our final recipe combines Balanced MBTs with Joint-KV, supported by an inference engine that exploits branch grouping and shared-cache reuse. Fitted scaling curves indicate that standard Transformers require up to 1.26x as much training body compute to match our final models' validation loss. These models reduce full-model KV-cache storage by up to 34% and deliver up to 51.4% higher decoding throughput on a single H200 GPU. Ablation studies show that branching yields gains beyond changes in width and depth, enables an effective KV-sharing strategy (Joint-KV), remains robust across fusion functions, and performs best in the middle layers. These findings show that branching offers a practical path for scaling language models toward both better modeling quality and faster inference.

A42026-11-14cs.LG

SMELL: Sparsity-aware Memory Efficient Federated Fine-tuning for Long-context LLMs

Yin Xu, Yongbo Yang, He Sun, Miao Sun, Mingjun Xiao

Federated fine-tuning enables Large Language Models (LLMs) to collaboratively adapt to distributed private data. However, long-context fine-tuning on resource-constrained devices faces substantial challenges arising from excessive activation memory, heterogeneous token-importance patterns across clients, and communication overhead. To address these challenges, we propose SMELL, a Sparsity-aware and Memory-Efficient federated fine-tuning framework for Long-context LLMs. SMELL integrates three complementary mechanisms: Local Sparse-Forward Adaptation (LSFA), Consensus-Anchored Sparsity Coordination (CASC), and Communication-Efficient Progressive Update Recovery (CPUR). These mechanisms jointly enable memory-efficient local adaptation, heterogeneity-aware sparsity coordination, and lightweight model-update transmission. Experiments on OPT-350M and LLaMA2-7B demonstrate that SMELL reduces peak memory consumption by up to 88.35% compared with conventional fine-tuning and 13.25% compared with forward-only LoRA fine-tuning at a 16K context length. Furthermore, SMELL improves fine-tuning performance under certain non-IID settings and supports compact update transmission with progressive reconstruction, demonstrating its potential for resource-efficient federated long-context LLM adaptation.

A52026-11-12cs.IR

Active Learning of Approximate LLM Ranking for Energy-Efficient Retrieval of Long Queries

Ohad Porat, Elad Yom-Tov

Search engines and Large Language Models (LLMs) offer complementary strengths for document retrieval: lexical retrievers which rely on keyword matching are fast and energy-efficient, whereas LLMs capture semantic meaning and excel at interpreting long, context-rich queries. However, this comes at a cost that is computationally and energetically prohibitive. We propose the LLM Active Approximation Model (LAAM), a hybrid retrieval framework that introduces a lightweight learned predictor which serves as an intermediary between semantic retrieval and LLM retrieval. LAAM is refined through an active learning loop where an LLM labels a small number of documents. By concentrating LLM evaluations on the most informative documents, the framework substantially reduces inference cost while preserving retrieval effectiveness. We evaluate the proposed framework on TREC Robust 2004 using Lucene with BM25 retrieval and DeepSeek v3 as the LLM, under three levels of query verbosity. For verbose queries, LAAM achieves 87% of average P@10 achieved by DeepSeek's reranking (0.459 vs. 0.526), while requiring only 3.3% of the per-query energy consumption. LAAM is statistically significantly better than BM25 and is indistinguishable from DeepSeek on average precision, though not on MAP (Friedman test, P<0.05 with post-hoc testing). Overall, our results demonstrate that selectively approximating LLM relevance judgments through active learning enables retrieval accuracy to be controlled directly through the evaluation (and consequently energy) budget. Rather than committing to either inexpensive (and less accurate) lexical retrieval or exhaustive (and expensive) LLM reranking, our framework exposes a continuous spectrum of operating points along the energy--accuracy curve, allowing practitioners to select how to trade retrieval quality with computational budget.

A62026-11-11cs.LG

Mask-Pattern Position Augmentation: Training-Free Long-Context Extrapolation for Diffusion LLMs

Gaurav Sarkar, Syed Affan Daimi

Diffusion large language models (dLLMs) generate by iteratively unmasking tokens with bidirectional attention, but rotary position embeddings (RoPE) still confine them to a fixed pretraining window. Existing training-free extrapolation, notably LongLLaDA, copies NTK-based RoPE scaling from autoregressive (AR) models and applies one static, length-only transform at every position and denoising step. That transplant ignores a signal unique to dLLMs: the evolving mask pattern of the partially decoded sequence. We propose Mask-Pattern Position Augmentation (MPPA). MPPA linearly interpolates indices into the pretrained window, then adds a per-position, per-step offset from cumulative mask density. The offset restores rotary phase resolution that interpolation collapses, and it shrinks as tokens are committed, so late steps see near-clean interpolated geometry. On LLaDA-8B-Instruct at twice its 4096-token window, MPPA reduces perplexity from 19.51 under standard decoding to 3.12 at 8192 tokens, below the in-window figure, with 100% passkey retrieval and unchanged needle-in-a-haystack accuracy. These preliminary 2× results motivate mask-conditioned position engineering as a diffusion-native path to long-context generation.

A72026-11-09cs.LG

Looping Deeper Without Growing the KV Cache: Recurrent Depth for Causal Encoder-Decoders

Jiaqi Leng, Minshen Zhang, Zhaofeng Sun, Yu-Yang Qian, Peng Zhao, Hao Zhang

Looped language models deepen computation without adding parameters, yet caching full-context key-value (KV) states across layers and rounds severely bounds serving batch size. We design a looped causal encoder-decoder (CED) that achieves recurrent depth with zero round-wise KV growth, addressing where and how to loop an asymmetric stack in which only sparse encoder layers generate global KV. We find that recurrence must be placed in the encoder to iteratively refine global KV representations rather than re-reading static decoder projections, which both drives language-modeling gains and preserves long-context scaling. Furthermore, training the encoder loop under stochastic recurrence depth induces a fixed-point equilibrium where every round losslessly shares the last round's KV cache. Compounding cross-layer and cross-round KV sharing, the resulting Looped CED matches an unlooped CED's minimal memory footprint and recovers 86-93% of a looped Transformer's gain with 1/6 of its global KV. To test serving at production scale, we loop the 552B-parameter DeepSeek-V4.1-Flash for 8 rounds on one 4xGB200 node: with per-layer and per-round KV the loop cannot fit a single 128K-token request, whereas Looped CED holds 36.8x less KV per token, fits 38 such requests (as many as the unlooped model), and serves 3.6x higher throughput on 8K-token prompts.

A82026-11-09cs.DC

Decode Token Parallelism: Memory-Efficient Distributed Attention Parallelism for Scalable LLM Decoding

Susav Shrestha, Brad Settlemyer, Narasimha Reddy

Serving large language models at high concurrency with long contexts requires KV-cache capacity and attention bandwidth that grow with the decode pool. Existing parallelization strategies trade one against the other: data parallelism replicates model weights, limiting KV capacity; tensor parallelism stops scaling attention at the model's KV-head count and pushes dense collectives across nodes; and decode context parallelism (DCP) recovers capacity by sharding the sequence but adds cross-node aggregation of partial attention results. We observe that during decode, dense layers and attention scale differently: dense layers amortize weight reads across the batch and run efficiently within a single NVLink domain, whereas attention cost grows with every active request's KV cache. We present Decode Token Parallelism (TKNP), a decode-pool architecture that decouples weight placement from attention ownership. TKNP distributes a single model copy across nodes in balanced layer blocks. The active node holding a block executes its projections and MLP for the full batch using intra-node tensor parallelism, while every node computes attention for its own requests against locally resident KV cache. This extends request-local attention across nodes without replicating weights: only current-token activations cross the network, dense all-reduces remain within NVLink, and attention requires no cross-node merging of partial results. Implemented in vLLM and evaluated on Llama 3.1 405B and Nemotron-4 340B on up to 64 H100 GPUs, TKNP improves completion throughput for long-context, high-concurrency workloads by up to 1.7× over DCP and by up to 2.06× over data parallelism at matched GPU count.

Foundational papers

  1. 2024
  2. 2024
  3. 2024
  4. 2024
  5. 2024
  6. 2024
  7. 2024
  8. 2024
  9. 2025
  10. 2025
  11. 2026-11
Citations per paperCitation counts via the AISA Scholar API
citations: R1 Lost in the middle: H… 7,834, R2 A comprehensive surve… 155, R3 Loogle: Can long-cont… 354, R4 Chain of agents: Larg… 414, R5 How to train long-con… 175, R6 Retrieval meets long … 392, R7 Longlora: Efficient f… 783, R8 Longalign: A recipe f… 192, R9 Long-context language… 110, R10 Can long-context lang… 100R1 Lost in the middle: H…7,834R2 A comprehensive surve…155R3 Loogle: Can long-cont…354R4 Chain of agents: Larg…414R5 How to train long-con…175R6 Retrieval meets long …392R7 Longlora: Efficient f…783R8 Longalign: A recipe f…192R9 Long-context language…110R10 Can long-context lang…100
R120247,834 citations

Lost in the middle: How language models use long contexts

NF Liu, K Lin, J Hewitt, A Paranjape et al.

… about how well they use longer context. We analyze the performance of language models on two tasks that require identifying relevant information in their input contexts: multi-document …

R22025155 citations

A comprehensive survey on long context language modeling

J Liu, D Zhu, Z Bai, Y He, H Liao, H Que et al.

… long documents, dialogues, and other textual data, it is important to develop Long Context Language Models (… recent advances in long-context modeling for large language models. Our …

R52025175 citations

How to train long-context language models (effectively)

T Gao, A Wettig, H Yen, D Chen

… In this section, we study how to best enable longcontext language models to follow instructions. We focus on supervised fine-tuning on instruction datasets (Ouyang et al.…

R62024392 citations

Retrieval meets long context large language models

P Xu, W Ping, X Wu, L McAfee, C Zhu et al.

… Extending the context window of large language models (LLMs) … i) Retrieval-augmentation versus long context window, which one … Perhaps surprisingly, we find that LLM with 4K context …

How this page is made. Foundational papers and citation counts come from academic search via the AISA Scholar API, with abstracts read from each paper’s page; recent preprints and monthly volumes come from the public arXiv API (metadata CC0). The digest is written by a language model from those abstracts only — every theme links the papers it draws on, and figures not in the inputs are removed.

Sources & citations

  1. Lost in the middle: How language models use long contexts 7,834 citations
  2. A comprehensive survey on long context language modeling 155 citations
  3. Loogle: Can long-context language models understand long contexts? 354 citations
  4. Chain of agents: Large language models collaborating on long-context tasks 414 citations
  5. How to train long-context language models (effectively) 175 citations
  6. Retrieval meets long context large language models 392 citations
  7. Longlora: Efficient fine-tuning of long-context large language models 783 citations
  8. Longalign: A recipe for long context alignment of large language models 192 citations
  9. Long-context language modeling with parallel context encoding 110 citations
  10. Can long-context language models subsume retrieval, rag, sql, and more? 100 citations
  11. RISA: Recoverable Sparse Attention for Block-Diffusion Language Models arXiv · 2026-11-17
  12. Long-Context Generation Is a Sampling Problem (When You Turn Up the Heat) arXiv · 2026-11-17
  13. Multi-Branch Transformer arXiv · 2026-11-15
  14. SMELL: Sparsity-aware Memory Efficient Federated Fine-tuning for Long-context LLMs arXiv · 2026-11-14
  15. Active Learning of Approximate LLM Ranking for Energy-Efficient Retrieval of Long Queries arXiv · 2026-11-12
  16. Mask-Pattern Position Augmentation: Training-Free Long-Context Extrapolation for Diffusion LLMs arXiv · 2026-11-11
  17. Looping Deeper Without Growing the KV Cache: Recurrent Depth for Causal Encoder-Decoders arXiv · 2026-11-09
  18. Decode Token Parallelism: Memory-Efficient Distributed Attention Parallelism for Scalable LLM Decoding arXiv · 2026-11-09