Chain of Execution Supervision Promotes General Reasoning in Large Language Models
Qwen Team, Alibaba(阿里巴巴通义实验室);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));University of Science and Technology of China(中国科学技术大学)
Nuo Chen, Zehua Li, Keqin Bao, Junyang Lin, Dayiheng Liu
构建鲁棒且通用的推理能力是大语言模型(LLM)发展的核心目标。鉴于代码固有的逻辑结构以及分治、拓扑排序、枚举等多样推理范式,近期研究越来越多地将代码作为丰富的训练来源。然而,代码中的推理往往是隐式表达的,且与语法或实现层面的噪声纠缠在一起,使得直接在原始代码上训练的效果不够理想。为解决这一问题,我们提出了TracePile,一个包含260万样本的大规模语料库,它将代码执行转化为显式的、逐步的思维链风格推理依据,我们称之为执行链(Chain of Execution, CoE)。该语料库涵盖数学、经典算法、算法竞赛等领域,并通过变量追踪问题和代码重写来增强逻辑粒度和代码多样性。我们通过三种训练设置评估TracePile:持续预训练、预训练后的指令微调,以及两阶段微调。在四个基础模型(LLaMA 3、LLaMA 3.1、Qwen-2.5和Qwen-2.5 Coder)以及覆盖数学、代码、逻辑和算法的20个基准上的实验显示,模型性能得到了一致提升。值得注意的是,在两阶段微调设置下,TracePile使LLaMA3.1-8B在9个数学数据集上的平均性能提升了7.1%,并且在LiveCodeBench、CRUX和MMLU上也带来了明显增益。
英文摘要:
Building robust and general reasoning ability is a central goal in the development of large language models (LLMs). Recent efforts increasingly turn to code as a rich training source, given its inherent logical structure and diverse reasoning paradigms such as divide-and-conquer, topological ordering, and enumeration. However, reasoning in code is often expressed implicitly and entangled with syntactic or implementation noise, making direct training on raw code suboptimal.To address this, we introduce TracePile, a large-scale corpus of 2.6 million samples that transforms code execution into explicit, step-by-step chain-of-thought-style rationales, which we call Chain of Execution (CoE). The corpus spans domains including mathematics, classical algorithms and algorithmic competition, and is enriched with variable-tracing questions and code rewritings to enhance logical granularity and code diversity. We evaluate TracePile using three training setups: continue-pretraining, instruction tuning after pretraining, and two-stage finetuning. Experiments across four base models (LLaMA 3, LLaMA 3.1, Qwen-2.5, and Qwen-2.5 Coder) and 20 benchmarks covering math, code, logic, and algorithms demonstrate consistent improvements. Notably, TracePile boosts LLaMA3.1-8B by 7.1\% on average across nine math datasets and delivers clear gains on LiveCodeBench, CRUX, and MMLU under two-stage fine-tuning.
SelfEvoSkill: Paired Execution Audits for Skill Revision without External Outcome Supervision
State Key Laboratory of AI Safety, Institute of Computing Technology, CAS(中国科学院计算技术研究所人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Tongyi Lab, Alibaba Group(阿里巴巴集团通义实验室)
From Relevance to Execution Utility: Reward-Aware Dynamic Execution Gating for Skill-Based LLM Agents
Tongji University(同济大学);The University of Sydney(悉尼大学);University of Science and Technology of China(中国科学技术大学);Nankai University(南开大学);Johns Hopkins University(约翰斯·霍普金斯大学);City University of Hong Kong(香港城市大学);University of Surrey(萨里大学)
StepGuard: Learning Step-Level Guardrails with Scalable Supervision and Safety-Utility Balancing
Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Beihang University(北京航空航天大学);Fudan University(复旦大学);Renmin University of China(中国人民大学);KAUST(阿卜杜拉国王科技大学)
Tree-of-Code: A Tree-Structured Exploring Framework for End-to-End Code Generation and Execution in Complex Task Handling
The Key Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences(认知与决策智能复杂系统重点实验室,自动化研究所,中国科学院);School of Artificial Intelligence, University of Chinese Academy of Science(人工智能学院,中国科学院大学);Baidu, Inc.(百度公司);Global Innovation Exchange Institution, Tsinghua University(全球创新交换机构,清华大学)
GroundedPRM: Tree-Guided and Fidelity-Aware Process Reward Modeling for Step-Level Reasoning
LMU Munich(慕尼黑大学);Technical University of Munich(慕尼黑工业大学);Fudan University(复旦大学);University Heidelberg(海德堡大学);University of Oxford(牛津大学);Munich Center for Machine Learning(慕尼黑机器学习中心)
OS-Helix: Unifying GUI Interaction and Code Execution in Native Computer-Using Agents
University of Science and Technology of China(中国科学技术大学);Shanghai AI Laboratory(上海人工智能实验室);National University of Singapore(新加坡国立大学);Shanghai Jiao Tong University(上海交通大学);Fudan University(复旦大学);Nanjing University(南京大学);Xi’an Jiaotong University(西安交通大学);The University of Hong Kong(香港大学)
Segment Concealed Objects with Incomplete Supervision
Department of Biomedical Engineering, Duke University(生物医学工程系,杜克大学);Meta;Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);School of Information and Communication Engineering, Dalian University of Technology(信息与通信工程学院,大连理工大学);Shanghai Jiao Tong University(上海交通大学)