Skip to content

TrajLong: Co-Designing Agentic and Long-Context Supervision for Mid-Training

Oct 2026 · 0 citations · 86 references
Computer Science

TL;DR

This work introduces TrajLong, a novel framework that compiles trajectories into long-context training tasks with dense supervision, targeting three representative atomic capabilities: evidence grounding, cross-evidence aggregation, and temporal state maintenance, and investigates the relationship between long-context and agent atomic capabilities.

Abstract

LLM agents for coding, search, and workplace tasks increasingly rely on long-context capabilities to effectively aggregate and reason over extended interaction histories. Recent work has incorporated agent trajectories into mid-training stage, drawing on their naturally long and interaction-rich structure. Yet how to organize the information within these trajectories into effective mid-training supervision remains underexplored. In this work, we investigate the relationship between long-context and agent atomic capabilities and introduce TrajLong, a novel framework that compiles trajectories into long-context training tasks with dense supervision, targeting three representative atomic capabilities: evidence grounding, cross-evidence aggregation, and temporal state maintenance. We mid-train Qwen3-14B-Base and Qwen3-30B-A3B-Base with data compiled by TrajLong, followed by supervised fine-tuning. Experiments on 6 long-context and 12 agent benchmarks demonstrate broad performance gains, with controlled ablations showing improvements over raw and masked trajectory baselines. Capability-level analyses further reveal task-dependent associations between long-context and agent atomic capabilities. These findings suggest that the shared capability demands of long-context reasoning and agent execution provide a principled basis for designing mid-training data to develop downstream agent capabilities.

View source

Similar papers

#software testing Preprint Oct 2026

Evaluating Agentic Capabilities Before Post-Training: An End-to-End Approach

Agentic capabilities are increasingly important for modern LLMs, yet remain difficult to evaluate during pretraining. Existing approaches typically rely on static trajectory-derived tasks or likelihood-based proxies, which are lightweight but provide limited visibility into how base models behave in interactive environ...

Jia-Rui Qin, Jun-Jie Huang, Yun-Jia Xi et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Pistis Technical Report

This work proposes Interleaved Distillation and Reinforcement Learning (IDRL), a novel post-training paradigm that tightly integrates on-policy distillation and reinforcement learning within a single training loop and enables more effective knowledge transfer, greater optimization stability, and more precise credit ass...

Heyu Chen, Xiao-Han Lan, Jia-Xin Li et al. · 0 citations
#artificial intelligence Review Sep 2026

LongCat-DeepResearch Technical Report

LongCat-DeepResearch is presented, a deep research system that combines an enhanced LongCat model with a multi-agent workflow for producing comprehensive, evidence-grounded reports and improves average automatic readability preference across two benchmarks, with different trends on each.

He Zhu, Yue-Ya Xu, Wan-Li Wu et al. · 0 citations
Preprint Oct 2026

Long-MDR: Long-Context Reinforcement Learning for Multimodal Deep-Research Agents

Long-MDR is introduced, a three-component training recipe designed specifically for this setting: On-Policy Distillation Warmup, Progressive Horizon Expansion, and Entropy-Triggered Rescue that improves both the learning efficiency and stability of long-horizon RL, enabling continued gains in a regime where direct trai...

On-Tai Tang, Huan-Yao Zhang, Jie-Peng Zhou et al. · 0 citations

RoboICL: Embodied In-Context Learning with GPT-6 Astra

Across 30 RoboDojo tasks, using zero shot for Open and one demonstration elsewhere, RoboICL improves on official zero-shot \gptastra{} by 20--27 progress-score points in every category, and leads the leaderboard baselines on Memory and Open, achieves comparable performance to the strongest Precision baseline, and remai...

Fang-Cheng Liu, Ye-Qing Shen, An-Da Cheng et al. · 18 citations · ⚡4
#machine learning Preprint Aug 2026

Learning Generalizable Behaviors for Terminal Agents

River, a simple training recipe that improves reward quality by filtering low-quality environments and augmenting outcome rewards with process-level behavior regularization is proposed, which achieves the best performance among evaluated open-source RL-trained 8B models across four terminal-agent benchmarks.

Yi-Fan Yao, Bo Pang, Xuan-Phi Nguyen et al. · 2 citations

Related blog posts

MIT News · Artificial Intelligence Nov 17, 2026

Learning the language of machine learning

By studying the computational foundations of language learning, Associate Professor Jacob Andreas builds intelligent systems that can communicate effectively with humans.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.