MoE-Context is a method that partitions a language model’s context into blocks and uses a fast yes/no pass to select only the blocks needed for each step, keeping the rest as one-line notes. In experiments with Qwen3-1.7B on a synthetic lookup task, this selective context raises accuracy from 93 to 119 out of 120, and masked blocks are effectively hidden. The authors also explore a supervised linear probe to improve block selection, noting its limited transferability, and discuss two practical usage patterns enabled by block switching: undoing failed attempts and running subagents without a new context.
By Vedant Navale
The paper investigates how adding or removing context in large language model coding agents affects cost and performance. Using over 20,000 runs on SWE‑bench, Loc‑Bench, and Verified, the authors find that retrieved code can reduce read and search commands but may increase overall cost when cached input is cheaper. Removing old observations can either save or increase cost depending on cache pricing, and shorter prompts do not necessarily lead to cheaper runs because agents may take more steps. The study also highlights that shared cached prefixes in concurrent experiments can distort cost comparisons.
By Zerui Yang, Miaomiao Dong, Quan Xue, Chaorui Zhang, Xuanyu Zheng, Xiyuan Wang, Haolin Ruan, Xueyan Niu, Guangcheng Song, Weixi Zhang, Wei Han, Bo Bai
arXiv:2606. 00408v1 Announce Type: cross Abstract: Long-horizon search agents accumulate large amounts of retrieved content across many tool calls, making context-budget efficiency increasingly important.
By Haoxiang Zhang, Qixin Xu, Zhuofeng Li, Lei Zhang, Pengcheng Jiang, Yu Zhang, Julian McAuley
Semantic Context Handoff (SCH) separates a compact semantic state from the supporting action–observation evidence, allowing long‑horizon agents to retain only essential context while keeping earlier evidence accessible for later use. This approach reduces inference cost and improves accuracy by preventing unnecessary growth of the prompt history. In a 150‑task SWE‑bench study, SCH raised Pass@1 from 80.0 % to 86.9 % with unchanged token use and execution time, and in full‑system comparisons it achieved 86.9 % Pass@1 while using 43 % fewer tokens and 41 % less wall‑clock time than the strongest baseline.
By Guolong Zheng, Chen Hou, Xu Yang, Jianshan Zhang, Tao Huang
The paper introduces Declarative Attention (DA), a protocol that lets language models explicitly declare which parts of their context to focus on during generation. By partitioning decoding into full-context, region-specific, and recent-output-only modes, the inference engine can skip large portions of the KV cache, dramatically reducing attended tokens. Experiments on 15 long-context tasks with off-the-shelf models show significant savings (52.0% and 31.1% reductions) with only modest accuracy drops that diminish as model size increases.
By Namgyu Ho, Huzama Ahmad, Woosung Koh, Se-Young Yun, Tal Schuster, Cicero Nogueira dos Santos
The paper introduces Adaptive Index Reuse (AIR), a method that dynamically determines how many layers of a sparse attention indexer should refresh during a language agent’s reasoning process. AIR replaces the static layer‑refresh schedule of IndexCache with a small controller that selects from a nested library of patterns based on recent computation signals and tool events, optimizing for task reward under a compute budget. Experiments on Qwen3‑4B‑Instruct‑2507 with a 128K context show AIR improving success rates on SWE‑bench Verified, Terminal‑Bench 2.0, and three τ²‑bench domains while reducing time per successful task, and it matches or surpasses the static schedule across 50 varied settings.
By Guangyuan Wang, Yifan Zhang, Shilong Liu
Why do language models fail on long inputs? The common answer is length. We show that, for retrieval, length is cheap and competition is not. On five open models (0.5B to 3B parameters, four families)...
The paper introduces the concept of stale binding, where large language models (LLMs) answer with outdated values despite having newer information in context. It presents Controlled In-Context Memory (CICM), a benchmark to track and test the use of updated information in conversations and agent logs. Experiments on open‑source models reveal an attention drift mechanism that favors old values, and the authors propose a simple attention‑redirecting intervention that largely corrects these errors without harming correct answers.
By Junyu Guo, Yuchen Fang, Shangding Gu, Costas Spanos, James Demmel, Javad Lavaei
arXiv:2608.23045v1 Announce Type: new
Abstract: Web search agents powered by Large Language Models (LLMs) show strong promise, but deep research tasks expose a recurring failure mode: once an agent h...
By Xiangxin Zhang, Zhanwei Zhang, Zhihang Fu, Binbin Lin, Wenxiao Wang
The paper investigates where and how large language models encode signals that indicate answer correctness. By examining hidden states, token probabilities, residual-stream features, attention, and their combinations, the authors find that correctness signals are concentrated in the answer span and that different signal families complement each other. Fusing these signals improves robustness, especially under distribution shifts, and can be used to control retrieval in downstream tasks.
By Yuansen Liu, Yixuan Tang, Anthony Kum Hoe Tung
As preferences, goals, and facts change, LLM agents must use the current state while earlier versions remain in context. Yet they can answer with an old value of the same variable, a failure that we c...
The paper introduces When2Tool, a benchmark of 18 environments that categorizes tasks by whether a tool call is necessary, covering computational scale, knowledge boundaries, and execution reliability. It evaluates two training‑free baselines—Prompt‑only and Reason‑then‑Act—finding they inadequately control tool usage. By probing hidden states, the authors discover that models can predict tool necessity with high accuracy, leading to the Probe&Prefill method that reduces unnecessary tool calls by 38% with minimal accuracy loss.
By Chung-En Sun, Linbo Liu, Ge Yan, Zimo Wang, Tsui-Wei Weng