Agentic large language model (LLM) training often involves multi-turn interaction trajectories that branch into multiple execution paths due to concurrent tool use, think-mode, sub-agent, context management and other runtime designs. As a result, the tokens produced by a single task naturally form a tree-structured token trajectory with shared prefixes, rather than a linear sequence. Existing training pipelines linearize such trajectories and treat each branch independently, leading to substantial redundant computation in both forward and backward passes. We derive that averaging the loss over all branches independently is algebraically identical to a per-token weighted loss, where each token's weight equals the fraction of branches passing through it. The problem therefore reduces to computing the log-probability of every token in the prefix tree exactly once, with no repeated computation across shared prefixes: we propose DFS serialization of the tree, which visits every token exactly once, and adapt full-attention and SSM layers to ensure the resulting log-probabilities match independent per-branch calculation exactly. In practice, a single trajectory tree can be too large to fit in GPU memory; we therefore propose Tree Partitioning, a memory-efficient partitioning strategy that splits the tree into subtrees each fitting within GPU memory while preserving high prefix reuse. Together, these contributions form Tree Training, an efficient framework for training LLMs on tree-structured trajectories, achieving up to 6.2x end-to-end training speedup on dense and MOE models for both supervised fine-tuning and reinforcement learning.
Request Order Matters: Cache-History Sensitivity in Selective KV-Cache Reuse for Rolling Agents
Carnegie Mellon University(卡内基梅隆大学);Capital One(第一资本);University of Chicago(芝加哥大学);University of California, Berkeley(加州大学伯克利分校);University of Southern California(南加州大学);University of Washington(华盛顿大学)
Agent-UCT: Upper Confidence Bounds Applied to Trees for Cost-Aware Agentic Workflow Optimization
The University of Hong Kong(香港大学);School of Artificial Intelligence, Jiangxi Science and Technology Normal University(江西科技师范大学人工智能学院);The Hong Kong University of Science and Technology(香港科技大学);University of Science and Technology of China(中国科学技术大学);New York University(纽约大学)
RelayCaching: Accelerating LLM Collaboration via Decoding KV Cache Reuse
Beijing University of Posts(北京邮电大学);Tsinghua University, Beijing, China(清华大学);University of Electronic Science(电子科学大学);Peking University, Beijing, China(北京大学)
DARE: Diffusion Language Model Activation Reuse for Efficient Inference
Chandra Family Department of Electrical and Computer Engineering(查德拉家族电子与计算机工程系);The University of Texas at Austin(德克萨斯大学奥斯汀分校);Cornell University(康奈尔大学)
Deliberate Evolution: Agentic Reasoning for Sample-Efficient Symbolic Regression with LLMs
TMLR Group, Department of Computer Science, Hong Kong Baptist University(香港 Baptist 大学计算机科学系 TMLR 组);Beijing National Research Center for Information Science(北京信息科学国家研究中心);Technology (BNRist), Department of Automation, Tsinghua University, Beijing, P.R. China(技术(BNRist),自动化系,清华大学,北京,中华人民共和国);Lenovo Research(联想研究)