Command Palette
Search for a command to run...
EnvACE: 에이전트 강화 학습을 위한 세계 리허설을 통한 환경 역학의 내재화
EnvACE: 에이전트 강화 학습을 위한 세계 리허설을 통한 환경 역학의 내재화
초록
장기적 도구 사용을 위한 대규모 언어 모델 에이전트 훈련은 일반적으로 구축 및 검증 비용이 많이 드는 실제 또는 합성 실행 가능 환경과의 상호 작용이나 실제 환경에 기반하기 어려운 외부 시뮬레이터에 의존한다. 본 논문에서는 훈련 중 외부 환경 상호 작용을 세계 리허설로 대체하는 에이전트 강화 학습 방법인 EnvACE를 소개한다. 정책은 행동과 리허설을 번갈아 수행한다. 먼저 도구 호출을 생성한 다음, 환경의 역할을 수행하여 해당 행동에 의해 유도된 응답을 생성하고, 이후의 결정을 리허설된 응답에 조건화한다. 두 역할 모두 작업 성공 보상을 사용하여 종단 간으로 공동 최적화된다. 세계 리허설을 통해 정책은 행동과 환경 응답 간의 관계를 매개변수에 내재화하여 의사 결정을 직접 지원하는 에이전트 세계 모델을 생성한다. BFCL-v4, τ2-Bench, VitaBench 및 FinMCP-Bench 전반에 걸쳐 EnvACE는 강력하고 전이 가능한 성능을 달성했으며, 전체 평가에서 환경 확장 기반의 기준 모델들을 능가했다. 통제된 연구는 세계 리허설이 다양한 모델 규모에서 정책 학습을 지속적으로 개선함을 추가로 보여준다. 테스트 시점에는 내재화된 세계 모델이 실제 실행 전에 사적인 리허설을 가능하게 하여, 추가적인 외부 상호 작용 없이도 적절한 리허설 예산 하에서 추가적인 성능 향상을 가져온다. 본 연구 결과는 세계 리허설을 외부 환경의 제약을 넘어 LLM 에이전트 훈련을 확장하기 위한 새로운 경로로 확립한다.
One-sentence Summary
Researchers from Shanghai Jiao Tong University, Zhejiang University, National University of Singapore, and other institutions introduce EnvACE, an agentic reinforcement learning method that internalizes environment dynamics through world rehearsal, where the policy alternates between generating tool calls and role-playing environment responses, both jointly optimized by task-success rewards to replace external environment interaction, achieving strong and transferable performance across long-horizon tool-use benchmarks including BFCL-v4, τ2-Bench, VitaBench, and FinMCP-Bench while outperforming environment-scaling baselines, and further enabling private test-time rehearsal that yields additional gains under a moderate budget.
Key Contributions
- The work introduces world rehearsal, a training paradigm where a single policy alternately generates tool calls and simulates the corresponding environment responses, internalizing environment dynamics without requiring external executable environments.
- EnvACE is proposed as an agentic reinforcement learning method that jointly optimizes acting and rehearsal in self-unfolded trajectories by sharing model parameters and applying role-wise GRPO with end-to-end task-success rewards.
- Experiments across BFCL-v4, τ²-Bench, VitaBench, and FinMCP-Bench show that EnvACE consistently outperforms environment-scaling baselines, controlled analyses confirm the benefits of world rehearsal across model scales, and test-time rehearsal yields additional improvements under a moderate budget.
Introduction
Large language models are increasingly deployed as agents that must combine dialogue with tool use across long interaction horizons. Prior training approaches either rely on costly, hard-to-scale executable environments or on LLM-based simulators that can produce inaccurate feedback and still require real-environment grounding. The authors propose EnvACE, a method that trains a single policy to both act and rehearse the environment’s responses inline, internalizing environment dynamics without any external environment interaction. By jointly optimizing acting and environment modeling with task-success rewards, the policy learns to unfold trajectories autonomously through a process called world rehearsal.
Method
The authors propose EnvACE, a framework that internalizes the agent-environment interaction loop into a single policy. As shown in the figure below:
EnvACE comprises three core components: world rehearsal, role-wise Group Relative Policy Optimization (GRPO), and test-time scaling.
In conventional agentic reinforcement learning, an external environment provides observations after each action. EnvACE revises this boundary by assigning observation generation to a rehearsal role of the policy itself. The task is formulated as a finite-horizon partially observable Markov decision process. At step t, the policy observes the interaction history ht and generates an action at. Instead of querying an external environment, the policy alternates between acting and rehearsal. The acting role generates an environment-facing action:
at∼πθ(⋅∣ht,ACT).Conditioned on the history and the generated action, the rehearsal role generates the corresponding environment response:
o^t∼πθ(⋅∣ht,at,REHEARSE).The generated response is appended to the interaction history as ht+1=ht⊕(at,o^t), from which the acting role makes its next decision. This unified act-rehearse process allows the trajectory to unfold without an external environment, enabling the policy to internalize environment dynamics as an agent world model.
To optimize this process, the authors employ role-wise GRPO. For each instruction x, EnvACE samples a group of K rollouts, each receiving a trajectory-level reward Ri. Every policy output in a rollout inherits this reward. The authors collect all policy outputs generated under a specific role r∈{ACT,REHEARSE} across the K rollouts to form a group Gx,r. A separate reward baseline is computed for each role:
μx,r=∣Gx,r∣1yj,n∈Gx,r∑Rj.The role-wise advantage Ai,m of an output yi,m is defined relative to this baseline:
Ai,m=Ri−μx,ri,m.The shared policy is optimized using the clipped GRPO objective:
θmaxJ(θ)=Ex,i,m,ℓ[min(ρi,m,ℓ(θ)Ai,m,clip(ρi,m,ℓ(θ),1−ϵ,1+ϵ)Ai,m)],where ρi,m,ℓ(θ) is the standard GRPO likelihood ratio. Although baselines are computed separately, outputs from both roles jointly update the shared policy parameters θ.
At test time, EnvACE leverages world rehearsal to scale inference-time computation before interacting with the external environment. Given a new instruction x, the policy performs N private rehearsal attempts. These attempts can be conducted in two modes. In parallel mode, all attempts are generated independently from the same context. In sequential mode, each new attempt observes previous rehearsal trajectories along with their assessments and revision suggestions, allowing iterative refinement. After completing the attempts, EnvACE summarizes all trajectories and self-evaluations into a compact rehearsal memory mx. The acting role then conditions on mx during a single committed execution in the external environment, while the rehearsals remain private and do not alter the external state.
Experiment
EnvACE is evaluated on four agentic benchmarks, BFCL-v4, τ²-Bench, VitaBench, and FinMCP-Bench, covering function calling, stateful service interactions, and financial tool use, and is compared against Qwen3 models and environment-scaling baselines. The world rehearsal paradigm, where a single policy jointly acts and generates environment responses, consistently outperforms standard GRPO and representative methods, with particularly strong gains on stateful, multi-turn tasks. Parameter sharing between the acting and rehearsal roles helps the policy internalize environment dynamics, and the benefits scale with model capacity. Test-time rehearsal further improves performance without external interaction, confirming world rehearsal as an effective and scalable training framework for tool-use agents.
EnvACE achieves the strongest overall result among environment-scaling baselines, with consistent advantages across heterogeneous benchmarks. It outperforms a larger Qwen3-8B foundation model on BFCL V4 and leads all 7B–8B models on VitaBench, while scoring second-highest on τ²-Bench. The approach scales well with model size, and combining it with test-time world rehearsal yields further gains over standard inference. EnvACE surpasses EnvScaler-8B and AWM-14B on the overall average, reflecting broad robustness. On τ²-Bench, EnvACE achieves the second-best average, substantially ahead of several environment-scaling baselines. Scaling from 1.7B to 8B improves BFCL V4 average by a large margin and widens the advantage over standard reinforcement learning. Using EnvACE for world rehearsal at test time boosts overall scores beyond non-rehearsal baselines, and the trained EnvACE policy outperforms rehearsing with the base model.
On FinMCP-Bench, EnvACE-8B achieves the highest TF1 score by combining the best tool precision with moderate recall, striking a stronger balance than the recall-leading EnvScaler-8B. The external-simulator baseline (Simulator-8B) yields dramatically lower scores, confirming the advantage of world rehearsal over simulation-only approaches. EnvACE-8B attains the top TF1 (46.78%), driven by a precision of 54.04% that is more than 14 percentage points above the next best precision. EnvScaler-8B leads in tool recall (49.35%) but its TF1 lags behind EnvACE-8B by 3.10 points due to a much lower precision. Simulator-8B records the lowest TF1 (15.95%) and recall (11.36%), underscoring the limitations of relying solely on an external simulator.
Test-time scaling via world rehearsal boosts agent performance consistently across domains when the rehearsal policy is the rehearsal-trained model (EnvACE). Parallel execution with EnvACE achieves the best overall score, while substituting the base model for rehearsal yields negligible gains or even regresses below the no-rehearsal baseline. The benefits come from internalized environment–response knowledge rather than from added inference compute alone. Parallel world rehearsal with EnvACE lifts the overall score from 36.7% (no rehearsal) to 40.9%, setting the highest result. When the base model is used for rehearsal in sequential mode, overall performance drops to 34.9%, underperforming the no-rehearsal baseline, whereas EnvACE rehearsal improves it to 38.5%.
EnvACE is evaluated across a range of heterogeneous agent benchmarks and reliably surpasses environment-scaling baselines and even larger foundation models. The method benefits from model scaling and from test-time world rehearsal, which substantially lifts performance only when using the rehearsal-trained EnvACE model rather than the base model or an external simulator. The results confirm that internalized environment–response knowledge is key to agent robustness, with EnvACE striking an effective balance between precision and recall where other approaches over- or under-prioritize one side.