SAPD: Learning from Agent Experience without Environment Interaction

Juncheng Diao, Haibin Wang, Wei Shi, Yifan Ding, Qingbin Li +2 more
10/20/2026
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Scaling the training of Large Language Model (LLM) agents typically requires a large collection of executable environments, whose construction, maintenance, and operation constrain the expansion of training experience. Existing offline trajectories offer an opportunity to reuse interaction experience, yet effectively refining the current policy without revisiting these environments remains challenging: supervised fine-tuning (SFT) can lead to catastrophic forgetting, while online reinforcement learning requires real-time interaction with the environment. To address this challenge, we propose Step-Advantage Policy Distillation (SAPD), a method for learning from offline trajectories using relative step advantages. SAPD decomposes multi-turn trajectories into individual decision contexts for on-policy distillation, allowing the student to generate responses conditioned on recorded histories, and introduces relative step advantage signals to stabilize training. The entire process requires neither new environment observations nor additional multi-turn interactions. Experiments on ALFWorld, WebShop, and Search-based QA show that SAPD improves performance across different teacher configurations, mitigates catastrophic forgetting compared with SFT, and runs at least $4.7\times$ faster per training step than online OPD. We will release our code soon.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{diao2026sapd,
  title  = {SAPD: Learning from Agent Experience without Environment Interaction},
  author = {Juncheng Diao and Haibin Wang and Wei Shi and Yifan Ding and Qingbin Li and Rongxiang Weng and Xunliang Cai},
  year   = {2026},
  eprint = {2610.27847},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.27847v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.27847.svg)](https://codeofpaper.com/paper/2610.27847)

Discussion