ACC: Compiling Agent Trajectories for Long-Context Training
- lab CatalyzeX
- lab DagsHub
- lab GotitPub
- lab Hugging Face
- lab ScienceCast
- lab alphaXiv
- lab arXivLabs
- person Qisheng Su
A new training method called Agent Context Compilation (ACC) repurposes the sprawling interaction logs of AI agents to teach large language models long-context reasoning without additional human annotation, according to a paper posted to arXiv in May 2026 [1]. The approach addresses a known limitation in how AI agents are typically trained. When an agent solves a problem — invoking tools and receiving observations across many turns — the evidence needed to answer the original question is scattered throughout these turns, requiring integration of distant context segments [2]. Standard supervised fine-tuning masks those tool responses and only trains the model on turn-level tool selection, creating what the researchers call a supervision blind spot where these scattered signals go unused [2]. ACC converts trajectories from search, software engineering, and database querying agents into long-context question-answer pairs that combine the original question with tool responses and environment observations gathered across multiple turns, training the model to answer directly without tool use [2]. The researchers validated ACC on two benchmarks designed to test long-range dependency modeling. MRCR requires cross-turn coreference resolution, while GraphWalks demands graph traversal over extended contexts [2]. Training the Qwen3-30B-A3B model with ACC yielded an MRCR accuracy of 68.3, an improvement of 18.1 points, and a GraphWalks accuracy of 77.5, an improvement of 7.6 points [2]. Those results are comparable to Qwen3-235B-A22B, a model roughly eight times larger [2]. The paper, authored by Qisheng Su and colleagues, was initially submitted on 21 May 2026 as a 652 KB manuscript and revised on 14 June 2026 at 647 KB [1]. Crucially, the gains on long-context tasks did not come at the expense of general capabilities. The ACC-trained model preserved its performance on standard benchmarks including GPQA, MMLU-Pro, AIME, and IFEval [2]. A mechanism analysis further revealed that the model exhibited task-adaptive attention restructuring and expert specialization after ACC training [2]. The method is designed to be combined with any existing long-context extension or training approach, providing a scalable source of supervised fine-tuning data without requiring costly long-document curation or heuristic context synthesis [2].
applicationresearch-paperbenchmarkcommentary
Background sources we checked (8)
- arxiv.org ↗ Recent development of agents has renewed demand for long-context reasoning capacity of LLMs. However, training LLMs for this capacity requires costly long-document curation or heuristic context synthesis. We observe that agents produce massive trajectories when solving problems, …
- en.wikipedia.org ↗ Missile defense is a system, weapon, or technology involved in the detection, tracking, interception, and also the destruction of attacking missiles. Conceived as a defense against nuclear-armed intercontinental ballistic missiles (ICBMs), its application has broadened to include…
- en.wikipedia.org ↗ Attention deficit hyperactivity disorder (ADHD) is a neurodevelopmental disorder characterised by symptoms of inattention, hyperactivity, impulsivity, and emotional dysregulation that are excessive and pervasive, impairing in multiple contexts, and developmentally inappropriate. …
- arxiv.org ↗ CatalyzeX Code Finder for Papers (What is CatalyzeX?) ... DagsHub Toggle ... DagsHub (What is DagsHub?)…
- arxiv.org ↗ With the creation of new datasets, the question arises of whether the data in them is complementary to other datasets for training ML models (see recent reviews for a perspective of catalysts informatics22, 23, 24). This is especially important when consolidating data with a vari…
- arxiv.org ↗ CatalyzeX Code Finder for Papers (What is CatalyzeX?) ... DagsHub Toggle ... DagsHub (What is DagsHub?)…
- en.wikipedia.org ↗ Sustainable Development Goals (abbr. SDGs) were adopted in 2015 by all United Nations (UN) members for the 2030 Agenda for Sustainable Development. The aim of the 17 global goals is "peace and prosperity for people and the planet", tackling climate change, and working to preserv…
- en.wikipedia.org ↗ In molecular biology, a transcription factor (TF) (or sequence-specific DNA-binding factor) is a protein that controls the rate of transcription of genetic information from DNA to messenger RNA, by binding to DNA sequences. Specificity can be due to sequence motifs, or epigenetic…
Sources
- export.arxiv.org — ACC: Compiling Agent Trajectories for Long-Context Training ↗