arXiv Machine Learning

Trained Agentic Context Management

Hugging Face Trending Papers
Aug 5

OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modeling

Context lengths of language models (LMs) have dramatically increased, driven by the demands for in-context learning, self-improvement, and long-horizon agentic workflows. Existing long-context corpora, however, are dominated by books, academic articles, and code repositories, which are finite resources and often scarce in long-distance dependencies.

arXiv Computation and Language
Nov 5

Accelerating Long-Context Decoding in Large-Scale Hybrid LLMs Without Retraining

The paper proposes a method to speed up decoding in large hybrid language models by applying combined sparse attention to the remaining full‑attention layers, without retraining or changing weights. Each layer attends to a sliding window of recent tokens, a pinned prefix, and a limited set of the most relevant tokens, with window size and budget tuned per layer via a multi‑objective search. Experiments on six hybrid models ranging from 4 B to 397 B parameters show that the approach preserves accuracy on 21 long‑context datasets while accelerating decoding of 64k/256k tokens by up to 2.22× on Qwen3.5‑4B, 2.23× on Qwen3.5‑122B‑A10B, and 2.06× on Ornith‑1.0‑397B.

By Jo\~ao Eduardo Batista, Emil Vatai, Mohamed Wahib
arXiv AI
Jul 14

Extending LLM Context via Associative Recurrent Memory

arXiv:2607. 11614v1 Announce Type: cross Abstract: Extending the context length of large language models (LLMs) is critical for many real-world applications, yet standard transformers remain constrained by quadratic compute and linear memory scaling.

By Gleb Kuzmin, Ivan Rodkin, Aydar Bulatov, Yuri Kuratov, Lyudmila Rvanova, Mikhail Katkov, Ilia Sochenkov, Misha Tsodyks, Timothy Baldwin, Mikhail Burtsev, Artem Shelmanov
arXiv AI
Oct 16

Language Models Struggle to Use Representations Learned In-Context

The article examines whether large language models (LLMs) can effectively use representations they learn in-context to perform downstream tasks. Experiments with open‑weight LLMs on next‑token prediction and a new adaptive world modeling task reveal that these models struggle to deploy novel semantics defined in-context, even when such semantics are encoded in their latent representations. The study also shows that state‑of‑the‑art closed‑source reasoning models similarly fail to reliably leverage in‑context patterns, highlighting a gap in flexible representation usage.

By Michael A. Lepori, Tal Linzen, Ann Yuan, Katja Filippova