Agentic ESOpt: Fine-Tuning Long-Horizon LLM Agents with Minimal GPU Requirements

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

arXiv:2608.17310 · 2026-08-19 공개 · arXiv · PDF

long-horizon llm-finetuning qwen agentic-rl evolution-strategies prompt-space-evolution webarena-lite reward-weighted-update

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 heavyweight backpropagation-based training stack makes it impractical to fine-tune larger LLMs, and longer-horizon trajectories make credit assignment in RL substantially harder. This paper argues that evolution strategies (ES) can be a better choice for fine-tuning long-horizon LLM agents. Compared with agentic RL, ES offers three key advantages: 1) Model Scalability: ES enables full-parameter optimization with only minimal, inference-level GPU memory, making it possible to fine-tune large LLMs. 2) Flexibility: its lightweight, black-box feedback interface makes ES fine-tuning easy to compose with prompt-space evolution (e.g., skill optimization & test-time compute); and 3) Long-Horizon Scalability: ES performs trajectory-level parameter attribution without decomposing rewards across horizons, yielding better scalability than Agentic RL as the horizon length grows. Based on this insight, we propose Agentic ESOpt, a full-parameter agentic fine-tuning framework tailored to flexible parameter--context co-evolution. At each step, Agentic ESOpt samples perturbations around the current LLM parameters, evaluates the resulting agents with rewards, and applies an online reward-weighted update. To improve the exploration--adaptation trade-off, Agentic ESOpt further introduces a cosine decay schedule of the perturbation scale σ. On WebArena-Lite, full-parameter optimization of Qwen-3.5-27B improves the No Skill baseline by 6.69%. In test-time automatic heuristic design, Agentic ESOpt performs online prompt--parameter co-evolution, improving its matched baseline in 28 of 36 settings.

한국어 요약

한 줄 요약

Agentic ESOpt는 GPU 메모리 소요가 적은 진화 전략 기반의 대형 언어 모델 최적화 프레임워크로, WebArena-Lite에서 Qwen3.5-27B 모델을 기반으로 No Skill 기준 대비 6.69% 개선.

핵심 기여도

핵심 아이디어

Agentic ESOpt는 기존 Agentic RL의 한계를 극복하기 위해 진화 전략(Evolution Strategy, ES)을 기반으로 설계된 full-parameter 최적화 프레임워크이다. RL은 backpropagation을 통해 경로별로 보상을 할당해야 하므로, long-horizon 상황에서는 credit assignment가 어려워지고, 대형 모델 fine-tuning 시 GPU 메모리 부담이 크다. 반면, ES는 black-box 방식으로 parameter perturbation을 샘플링하고, trajectory-level reward를 기반으로 reward-weighted update를 적용함으로써, backpropagation 없이도 full-parameter 최적화가 가능하다. 특히, ES는 trajectory-level parameter attribution을 통해 long-horizon 상황에서도 보상 할당이 용이하며, cosine decay schedule을 도입하여 exploration과 adaptation의 균형을 조절한다.

기술적 접근법

주요 결과

의의 및 한계

Agentic ESOpt는 대형 LLM의 long-horizon fine-tuning에서 RL 대비 GPU 메모리 효율성과 성능 개선을 동시에 달성하며, prompt-space와 parameter-space의 유연한 결합을 가능하게 한다. 특히, backpropagation이 필요 없는 black-box 방식은 복잡한 상호작용 환경에서의 최적화를 용이하게 한다. 그러나 본 연구는 특정 모델(Qwen3.5)과 데이터셋(WebArena-Lite, Sudoku)에 국한된 실험 결과를 기반으로 하며, 다양한 도메인에서의 일반화 가능성은 추가 연구가 필요하다. 또한, population size와 perturbation 스케줄링의 최적화에 대한 심층적 분석도 미흡한 측면이 있다.

실용적 활용

Agentic ESOpt는 웹 탐색, 문서 처리, 수학 문제 해결 등 복잡한 long-horizon task를 수행하는 대형 언어 모델의 fine-tuning에 적용 가능하다. 특히, GPU 메모리 제약이 있는 환경에서 대형 모델의 실시간 최적화 및 test-time 휴리스틱 설계에 유용하게 활용될 수 있다.