EnvACE is a reinforcement learning method designed to train large language model (LLM) agents without relying on external environments or simulators. By enabling the policy to act as both the agent and the environment, the method internalizes environment dynamics directly into the model's parameters, allowing for more efficient and scalable training.
The Problem with External Environments
Training LLM agents for long-horizon tool use typically requires interaction with real-world environments or external simulators. These approaches are often costly to build, difficult to verify as complexity increases, and require the policy to rely on external feedback to continue its tasks. Existing methods treat environment modeling as a separate process, leaving the policy dependent on external sources for observations.
How World Rehearsal Works
EnvACE introduces "world rehearsal," a process where a single policy takes on two roles:
Acting: The policy generates a tool call based on the current interaction history.
Rehearsal: The policy generates the environment response that the tool call would induce.
These roles are optimized end-to-end using task-success rewards. By alternating between acting and rehearsing, the policy creates its own training trajectories. This allows the model to learn how its actions shape environment responses, effectively internalizing the environment's dynamics. During test time, this internalized model allows the agent to perform "private rehearsals"—simulating potential outcomes and refining its decisions—before committing to an action in the real environment.
Performance and Results
The researchers evaluated EnvACE across four benchmarks: BFCL-v4, τ²-Bench, VitaBench, and FinMCP-Bench. The results indicate that EnvACE consistently outperforms environment-scaling baselines, including Simulator-8B, TOUCAN-7B, and EnvScaler-8B.
In the overall evaluation across BFCL-v4, τ²-Bench, and VitaBench, the 8B version of EnvACE achieved a score of 32.91%, surpassing other open-source environment-scaling methods. Controlled studies also showed that this joint optimization of acting and rehearsal improves policy learning across different model scales.
Key Considerations
The effectiveness of EnvACE relies on the policy's ability to accurately simulate environment responses. While the paper notes that a moderate rehearsal budget improves test-time performance, the method is designed to function without additional external interaction during these rehearsals. The researchers provide the code for EnvACE on GitHub to support further exploration of this approach to agent training.
Comments (0)
to join the discussion
No comments yet
Be the first to share your thoughts!