CoPE: A Framework for Optimizing Coordination between Planning and Execution in LLM-based Agents
Abstract
Lay Summary
Large language models are increasingly being used as autonomous agents that can plan and act to solve complex, real-world problems over long periods. However, these agents often struggle because their long-term plans do not align well with their actual step-by-step actions. This mismatch leads to impractical strategies and poor performance, much like a traveler who draws a perfect map but gets lost at every turn. To solve this, we introduce CoPE, a new method that teaches AI agents to better coordinate their planning with their execution. Instead of treating planning and acting as independent components, CoPE encourages the agent to learn from experiences where its actions successfully match its intentions. By rewarding this alignment, the agent becomes much better at sticking to its plans and adapting when necessary. Our experiments show that this approach significantly improves the ability of AI agents to handle difficult, multi-step tasks.