Long horizon llm agents learn better from partial failed tries
Learning from Viable Failure Prefixes: Milestone Viability Potential Policy Optimization for Long-Horizon LLM Agents
Summary
When AI agents try to solve complex tasks that take many steps, they often get rewarded only at the very end, which makes it hard to know which early steps were good or bad. The authors show that existing methods struggle because they ignore useful early parts in failed attempts, assigning no helpful feedback to those steps. They introduce a new method called Milestone Viability Potential Policy Optimization (MVPO), which identifies useful partial successes even in failed tries and uses them to better update the AI’s decisions. Experiments show this method improves success rates in complex environments compared to previous approaches.
What this means in practice
- •For software developers: Develop AI agents that better handle tasks requiring many careful steps by learning from partial success in early failed attempts.
- •For ecommerce platform teams: Improve automated assistants for web shopping by enabling them to learn effectively from partly successful attempts in complex browsing and purchasing tasks.