Generative AI and automation
Teaching LLM agents to improve each step
An iterative training method compares an agent’s exploratory actions with expert trajectories to provide step-level feedback.
When an AI agent makes a small mistake early in a task, later actions can compound it. A training method called Iterative Step-level Process Refinement (IPR) tries to catch those errors at the step where they occur.

Learning from more than the final outcome
Many agent-training approaches learn from completed examples: a sequence of actions that reached a goal. The authors argue that this can leave the system with limited feedback about intermediate decisions. IPR starts with expert trajectories, then lets a trained agent explore alternative actions along those paths. A Monte Carlo method estimates step-level rewards by considering how actions contribute to later outcomes. The system compares exploratory actions with the corresponding expert step and uses the resulting preferences to refine training.
The researchers evaluate IPR on three interactive tasks: WebShop, ALFWorld and InterCodeSQL. These test an agent's ability to complete web shopping, household-environment and SQL-related tasks. Table 2 (PDF p. 6) compares performance against prompting and outcome-refinement baselines. The authors report that IPR outperforms the compared methods across the tested tasks. Results across different base language models appear in Table 3 (PDF p. 6), and the ablation analysis in Table 4 (PDF p. 7) examines training components and iterations.
The practical idea is process supervision: feedback evaluates actions within a sequence, not only whether the final task succeeded. A reward is a numerical training signal used to encourage actions associated with better results. Here, step rewards let the training process distinguish a useful intermediate choice from an unhelpful one, even before the final answer is known.
What remains untested
The experiments use selected simulated environments and task datasets. They do not establish that an agent trained this way will work reliably in a changing business process or physical environment. The authors note that their step-reward model is trained on one agent task, which affects generalizability, and identify further limitations in the conclusion and limitations sections (PDF pp. 8–9). The reward estimates and the quality of available expert trajectories also shape the training signal.
For practitioners, IPR points to a recurring challenge in automation: success can depend on a chain of decisions, while a final pass/fail result reveals little about where the process went wrong. Evaluating intermediate actions could offer a clearer diagnostic picture for tasks with observable state changes. The study measures benchmark task performance, not downstream safety, cost or employee impact.
Possible implications for practice
The findings suggest that agent quality may depend on the feedback available during a task, not only on the amount of successful demonstration data. Process-level evaluation could help researchers understand why an automated sequence succeeds or fails. Whether that approach translates to a work setting remains an empirical question.
Bibliography & sources
- Weimin Xiong; Yifan Song; Xiutian Zhao; Wenhao Wu; Xun Wang; Ke Wang; Cheng Li; Wei Peng; Sujian Li (李素建) (2024). “Watch Every Step! LLM Agent Learning via Iterative Step-level Process Refinement.” Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 1556–1572. DOI: 10.18653/v1/2024.emnlp-main.93. Source paper
