Abstract
Large Language Model (LLM) agents often suffer from "overthinking," characterized by excessive step-level reasoning and inefficient trajectory-level planning. We present Dual-Efficiency Preference Optimization (DEPO), a framework that simultaneously optimizes for concise reasoning and direct task completion. By integrating an efficiency-aware reward into the Kahneman-Tversky Optimization (KTO) objective, DEPO reduces token usage by up to 60% and interaction steps by 27% while improving task success rates by nearly 30% on complex benchmarks like WebShop and BabyAI.
Introduction
As LLMs are increasingly deployed as autonomous agents for multi-step tasks, two primary forms of inefficiency have emerged. Step-level inefficiency occurs when models generate verbose Chain-of-Thought (CoT) reasoning for trivial actions. Trajectory-level inefficiency involves redundant or suboptimal environment interactions, often referred to as taking the "scenic route."
DEPO addresses this problem by treating efficiency as a core preference. It streamlines agent behavior to be both concise in thought and direct in action, without compromising reasoning capabilities. Unlike previous methods that often sacrifice accuracy for speed, DEPO demonstrates that efficiency can actually serve as a performance multiplier.
Methodology
DEPO builds upon the Kahneman-Tversky Optimization (KTO) framework with several key innovations designed to optimize the "dual-efficiency" of an agent:
- Dual-Efficiency Objective: Efficiency is formally defined as the joint minimization of tokens per interaction step and the total number of steps per trajectory.
- Data Synthesis and Labeling: Successful trajectories are explored via Monte Carlo Tree Search (MCTS). To further boost efficiency, a teacher model is used to rephrase the reasoning in successful paths into more succinct versions.
- Efficiency-Aware Reward: Unlike standard preference optimization which only considers task success, DEPO introduces an efficiency bonus for desirable trajectories. This bonus is inversely proportional to the resource cost (tokens and steps used).
- Optimization: The model undergoes initial Behavioral Cloning (BC) on expert data, followed by fine-tuning with the DEPO objective to encourage a preference for successful, low-cost outcomes.
Experimental Results
Evaluation across WebShop, BabyAI, and various mathematical reasoning benchmarks demonstrates that DEPO consistently outperforms standard KTO and supervised fine-tuning (SFT) across all metrics.
Key Findings
- Performance Gains: On the WebShop benchmark, DEPO improved the success rate of the Qwen2.5-7B model from 0.44 to 0.56, outperforming much larger models and specialized prompting methods.
- Significant Resource Reduction: The framework achieved a 60.9% reduction in token usage on WebShop and a 26.9% reduction in interaction steps on the BabyAI benchmark.
- Cross-Domain Generalization: Interestingly, models trained on interaction-heavy tasks showed improved efficiency and accuracy on out-of-domain math tasks (GSM8K, MATH). This suggests that "concise thinking" is a transferable skill that helps the model focus on salient problem features.
- Reward Dynamics: The authors found that applying the efficiency bonus specifically to successful trajectories was more effective than penalizing failures, as the latter often introduced noisy signals that hindered learning.
Conclusion and Future Work
DEPO demonstrates that rewarding efficiency is not just about speed; it makes agents smarter by penalizing "rambling" and focusing reasoning on essential task elements. While the current reliance on MCTS for data generation is computationally intensive, the high sample efficiency of DEPO—yielding gains with only 25% of the training data—makes it a promising approach for developing high-performance LLM agents. Future research will explore online preference optimization and application to more open-ended, complex agentic environments.
Summary updated