arXiv Computation and Language

A minimal probe of task modeling in language models

The paper introduces a minimal probe called counting capacity (CC) to assess a language model’s ability to perform task modeling—i.e., to keep track of information that depends on everything that has come before. CC is defined as the longest sequence length at which a model can return the exact count of identical items more often than not, and the authors measure it across 205 models, finding a median limit of 50 items that rises modestly over time while context windows expand dramatically. The study shows that CC varies with symbol choice, delimiter, and model architecture, and that it correlates with performance on other long-horizon tasks such as METR and grid‑execution, though it does not prove counting is necessary or sufficient for long‑horizon work. whyItMatters":"The measurement provides a cheap, scalable way to test whether language models can maintain state over long sequences, a key capability for long‑running agents."

arXiv AI
Oct 26

Benchmarks Are Surprisingly Compaction-Friendly

The paper investigates how context compaction—losing information to free up a language model’s context window—affects performance on long‑horizon agentic tasks. Using the OpenCode scaffold and five compaction strategies, the authors evaluate three frontier models on PaperBench, ProgramBench, and PostTrainBench, finding that compaction thresholds largely do not hurt performance for 1M‑context models, but can degrade GPT‑5.3‑Codex on certain benchmarks. The study also shows that compaction can silently drop critical task constraints, especially on ProgramBench and real user‑agent sessions from SWE‑chat, yet current benchmarks remain largely compaction‑friendly because objectives are fixed and progress is stored externally.

By Jeanne Salle, Hardik Bhatnagar, Matthias Bethge, Sahar Abdelnabi, Maksym Andriushchenko
arXiv AI
Aug 25

Measuring in-context algorithmic reasoning in language models against an exact Bayes-optimal reference

The paper introduces F-ICL, a benchmark that measures in‑context algorithmic reasoning in language models by exhaustively enumerating 86 million valid programs of length ≤13 on a Turing‑complete machine and computing the exact posterior under a bounded Levin–Solomonoff prior. Unlike typical benchmarks, F‑ICL provides a distributional reference rather than just answers, allowing the evaluation of models’ inductive priors. Across 105 configurations of models ranging from 0.8 B to 675 B parameters, models achieve up to 92 % accuracy, yet many still deviate from the Bayes‑optimal reference, and the study derives theoretical bounds on cumulative loss for predictors with positive prior weight on the reference.

By Luan Ozelim, Hector Zenil
arXiv AI
4d ago

Semantic Context Handoff with On-Demand Evidence for Long-Horizon Agents

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
arXiv AI
Oct 27

CTXAgent - Self-Controlled Context Management of LLM Agents

The paper introduces CTXAgent, a self‑controlled context management system for large language model agents that compacts conversation history when a token threshold is reached. It evaluates seven frontier models, comparing their ability to manage context with and without dedicated tools, and benchmarks performance across coding, scientific, and software engineering tasks. Results show that well‑managed models keep live context below 100k tokens, maintain high benchmark scores, and achieve significant cost reductions, with Claude Opus 5.5 outperforming its explicit configuration by 34% lower cost.

By Matthias Busch, Marius Tacke, Roland C. Aydin, Christian Feiler, Christian J. Cyron