ESOpt Fine-Tunes LLM Agents for Long-Horizon Tasks with Less GPU

Zhi Zheng, Rongsheng Chen, Yunpeng Ba, Zhenkun Wang, Yee Whye Teh, Wee Sun Lee· August 19, 2026 View original

Key takeaways

  • Evolution strategies (ES) offer a more scalable and GPU-efficient alternative to RL for fine-tuning large LLM agents.
  • Agentic ESOpt enables full-parameter optimization of large LLMs with minimal GPU memory.
  • ES simplifies credit assignment for long-horizon tasks compared to RL.
  • The framework supports flexible parameter-context co-evolution, enhancing agent adaptability.

Who benefits

Software DevelopmentAI/ML ConsultingRoboticsCustomer ServiceGaming

Summary

This paper introduces Agentic ESOpt, a framework using evolution strategies (ES) to fine-tune large language model (LLM) agents for long-horizon tasks. It offers advantages over reinforcement learning (RL) by requiring minimal GPU memory for full-parameter optimization and providing better scalability for longer trajectories.

Fine-tuning large language models (LLMs) for complex, long-horizon agentic tasks presents significant challenges, particularly with traditional reinforcement learning (RL) methods. RL's reliance on heavyweight backpropagation and its difficulty with credit assignment over extended trajectories make it impractical for larger LLMs and longer task sequences. This research highlights these limitations and proposes an alternative approach. The paper advocates for evolution strategies (ES) as a more suitable method for fine-tuning long-horizon LLM agents. ES offers three key benefits: it enables full-parameter optimization with only inference-level GPU memory, making it feasible for very large LLMs; its black-box feedback interface provides flexibility for integration with prompt-space evolution; and it scales better with long horizons by performing trajectory-level parameter attribution without needing to decompose rewards. Based on these insights, the authors introduce Agentic ESOpt, a framework designed for flexible parameter-context co-evolution. It iteratively samples parameter perturbations, evaluates agent performance, and applies reward-weighted updates. An additional cosine decay schedule for perturbation scale improves exploration. Experiments on WebArena-Lite demonstrate that Agentic ESOpt significantly improves performance, even enabling online prompt-parameter co-evolution for automatic heuristic design.

Why it matters

Professionals developing or deploying LLM agents can achieve more efficient and scalable fine-tuning for complex, multi-step tasks, especially when constrained by GPU resources. This enables the creation of more capable and adaptable AI agents.

How to implement this in your domain

  1. 1Investigate Agentic ESOpt as an alternative to traditional RL for fine-tuning large LLMs.
  2. 2Assess current GPU resource allocation for LLM agent development and identify potential bottlenecks.
  3. 3Experiment with ES-based fine-tuning frameworks to optimize LLM agents for specific long-horizon tasks.
  4. 4Consider integrating prompt-space evolution techniques alongside parameter fine-tuning for enhanced agent performance.
  5. 5Benchmark Agentic ESOpt's performance against existing RL methods on relevant internal tasks.

Original post by Zhi Zheng, Rongsheng Chen, Yunpeng Ba, Zhenkun Wang, Yee Whye Teh, Wee Sun Lee

"arXiv:2608.17310v1 Announce Type: new Abstract: Reinforcement Learning (RL) has been promising in single-turn LLM fine-tuning. However, long-horizon agentic reasoning introduces increasingly branching interactions and sparse rewards, exposing several limitations of RL: its heavyw…"

View on X

Originally posted by Zhi Zheng, Rongsheng Chen, Yunpeng Ba, Zhenkun Wang, Yee Whye Teh, Wee Sun Lee on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Engineering & DevTools