Manuscript Offprint

arXiv:2610.26926

AtomSD: Procedural Atom-Guided Self-Distillation for LLM Agents

Bohan Yu, Pengfei Cao, Kai Tian, Chen Han, Shi-Yang Li, Chenxi Zhou, Junlin Liu, Cao Liu, Ke Zeng, Jun Zhao, Kang Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Bohan Yu1,2^{1,2}, Pengfei Cao2,3†^{2,3\dagger}, Kai Tian4^{4}, Chen Han1^{1}, Shi-Yang Li1,2^{1,2}, Chenxi Zhou1,2^{1,2}, Junlin Liu2,3^{2,3}, Cao Liu4^{4}, Ke Zeng4^{4}, Jun Zhao2,3^{2,3}, Kang Liu2,3†^{2,3\dagger}

1^{1}School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences

2^{2}The Key Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences

3^{3}School of Artificial Intelligence, University of Chinese Academy of Sciences

4^{4}Meituan

yubohan2025@ia.ac.cn {pengfei.cao,jzhao,kliu}@nlpr.ia.ac.cn

Large language models (LLMs) possess broad factual knowledge and strong reasoning capabilities, but solving complex tasks also requires procedural knowledge about how to act. Existing approaches often represent procedural knowledge through trajectories or bundled skills, limiting flexible reuse across interaction histories. This paper introduces Procedural Atoms, fine-grained and independently applicable units that represent Intent, When, Do, and Avoid guidance. Building on this representation, we propose AtomSD, an Atom-guided Self-Distillation framework in which the learner continually extracts Procedural Atoms from its own successful trajectories and distills them into the evolving policy through Atom-conditioned supervision and task-reward optimization. Comprehensive experiments show that AtomSD consistently outperforms strong reward-based and distillation methods, exceeding the state-of-the-art baseline by up to 9.31 points in average performance. Further analyses demonstrate that the proposed Procedural Atoms provide effective guidance, highlighting the value of atom-level procedural knowledge for policy learning. GitHub

1 Introduction

Large language models (LLMs) have acquired extensive factual knowledge and strong reasoning capabilities, enabling them to tackle increasingly complex tasks across diverse domains (OpenAI et al., 2024; Zhao et al., 2026b). However, knowing the relevant facts does not necessarily imply knowing how to act. For example, a model may understand the properties of every reagent in a scientific experiment, yet still fail to execute the experimental procedure correctly. Such failures reflect the difference between declarative knowledge about a domain and procedural knowledge or planning knowledge about how tasks within that domain should be carried out. It becomes particularly consequential when successful behavior depends on sequences of interdependent decisions rather than isolated answers. In such contexts, an agent must determine which operations advance a goal, when their prerequisites hold, how intermediate results constrain later actions, and how its procedure should adapt as conditions change (Shridhar et al., 2021; Wang et al., 2022; Yao et al., 2023a; Yu et al., 2026b). Therefore, learning reusable procedural knowledge is an important step toward translating the broad capabilities of LLMs into reliable performance in complex tasks.

Toward this goal, existing approaches leverage interaction trajectories to construct and transfer reusable procedural knowledge, broadly following two directions. (1) Organizing trajectories into reusable guidance. Prior work transforms previous interactions into reflections, workflows, skills, or conditional rules that can guide subsequent behavior through prompting (Wang et al., 2025; Mi et al., 2026; Liang et al., 2026; Sun et al., 2026). Such representations abstract beyond individual actions and make past experience accessible.

†^{\dagger} Corresponding authors.

across future interactions. (2) Distilling experience into the policy. A second line of work transfers knowledge from demonstrations, feedback, or skill-augmented teacher context into the learner itself, allowing the resulting policy to benefit from this supervision without requiring the same external guidance at inference time (Zhao et al., 2026a; Hübotter et al., 2026; Wang et al., 2026a; Lu et al., 2026).

Despite their effectiveness, these approaches leave two important questions unresolved. (1) What should be the reusable unit of procedural knowledge? As shown in Figure 1, complete trajectories retain instance-specific objects, observations, and action sequences, while workflows and skills often bundle multiple operations into a single unit of guidance. Both can limit transfer across interaction histories: a new execution may require only a subset of the operations in a previous proce-

Figure

Figure 1: Procedural Atoms enable fine-grained reuse and composition of procedural knowledge.

dure, or may need to compose operations learned from different experiences. This calls for finer-grained procedural units that can be independently reused and flexibly composed across interaction histories. (2) How should procedural knowledge evolve with the learner? Existing approaches often rely on separately maintained skill libraries or external models to derive and update guidance from interaction trajectories (Mi et al., 2026; Lu et al., 2026; Wang et al., 2026a; Yang et al., 2026). However, reusable procedural knowledge should ideally co-evolve with the policy itself: as the learner acquires new capabilities and succeeds on new interaction histories, the knowledge available for subsequent learning should be updated accordingly. In a word, the aforementioned limitations motivate us to ask: what form of procedural knowledge can be extracted from previous interactions, and continuously distilled as the learner evolves?

To this end, this paper proposes AtomSD, a procedural Atom-guided Self-Distillation framework that couples continual procedural abstraction with online policy learning. To provide a reusable unit of procedural knowledge, we define a Procedural Atom as a fine-grained and independently applicable unit of procedural knowledge. As illustrated in Figure 1, a Procedural Atom consists of (i) Intent, specifying what the procedure is intended to accomplish; (ii) When, defining its applicability conditions; (iii) Do, specifying an ordered procedure; and (iv) Avoid, identifying operations or failure modes to avoid. With this goal-directed and condition-aware representation, individual Atoms can be selectively applied and flexibly composed across different interaction histories, rather than reused only in complete and inseparable trajectories or bundled workflows. In this way, procedural knowledge can better adapt to new interactions.

To enable procedural knowledge to co-evolve with the learner, AtomSD establishes a self-improving loop through two complementary processes. (1) Online procedural abstraction. At each training iteration, the student acts as its own knowledge extractor, abstracting successful on-policy trajectories into independently applicable Procedural Atoms. By sharing the resulting Atom set within the same task, knowledge extracted from one trajectory can guide other interaction histories, including both successful and failed ones. As the policy evolves, subsequent extraction continually refreshes the procedural guidance to reflect the learner's growing capabilities. (2) Atom-guided self-distillation. An Atom-conditioned teacher, derived from the student, evaluates the original on-policy trajectories, transforming self-extracted procedural knowledge into token-level supervision across different interaction histories. Through joint reward optimization and self-distillation, this guidance is progressively internalized into the policy, whose continued improvement in turn supports further procedural knowledge discovery.

Comprehensive experiments on widely used benchmarks (Shridhar et al., 2021; Wang et al., 2022; Yao et al., 2023a; Guo et al., 2025b) demonstrate that AtomSD consistently outperforms six strong reward-based and distillation baselines, while also showing competitive performance against advanced API-based models such as DeepSeek-V4-Pro (DeepSeek-AI et al., 2026) and GPT-5.5 (OpenAI, 2026). AtomSD exceeds the state-of-the-art baseline in average performance by up to 9.31 points, with improvements extending to unseen tasks. Further analyses show that fine-grained Procedural Atoms provide compact and effective guidance, validating the design of Atom-guided self-distillation.

Our key contributions are as follows:

  • This paper introduces Procedural Atoms, fine-grained and independently applicable units that support selective reuse and flexible composition of procedural knowledge across interaction histories.

  • AtomSD combines online procedural abstraction with Atom-guided self-distillation, allowing procedural knowledge to be progressively internalized into the policy while co-evolving with the learner.

References (67)