STeCa: Step-level Trajectory Calibration for LLM Agent Learning
Large language model (LLM)-based agents have shown promise in tackling complex tasks by interacting dynamically with the environment.Existing work primarily focuses on behavior cloning from expert demonstrations or preference learning through exploratory trajectory sampling.However, these methods often struggle to address long-horizon tasks, where suboptimal actions accumulate step by step, causing agents to deviate from correct task trajectories.To address this, we highlight the importance of timely calibration and the need to automatically construct calibration trajectories for training agents.We proposeStep-Level Trajectory Calibration (STeCa), a novel framework for LLM agent learning.Specifically, STeCa identifies suboptimal actions through a step-level reward comparison during exploration.It constructs calibrated trajectories using LLM-driven reflection, enabling agents to learn from improved decisionmaking processes.We finally leverage these calibrated trajectories with successful trajectories for reinforced training.Extensive experiments demonstrate that STeCa significantly outperforms existing methods.Further analysis highlights that timely calibration enables agents to complete tasks with greater robustness.
Authors
- Chak Tou Leong
- Jian Wang (ORCID: https://orcid.org/0000-0002-8992-8336)
- Wenjie Li (ORCID: https://orcid.org/0000-0002-7360-8864)
- Hanlin Wang (ORCID: https://orcid.org/0000-0002-5416-9392)
Institutions
- Hong Kong Polytechnic University (HK)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.findings-acl.604
- Primary Topic
- Advanced Data Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00