TL;DR
STATE2STATE introduces an environment-driven "mid-training" paradigm for LLM agents that bypasses the need for costly expert demonstrations or manually designed tasks. By exploring an environment randomly and learning to navigate back to discovered states, agents build foundational world-interaction skills that significantly boost downstream reinforcement learning performance and efficiency.
What Problem Does This Paper Address?
Building capable LLM agents typically relies on two paradigms: Supervised Fine-Tuning (SFT) on expert trajectories or Reinforcement Learning (RL) with human-crafted tasks and verifiers. Both approaches hit a scalability wall. Expert data is expensive and bounded by human capability, while task-centric RL requires manual goal-setting and reward design for every single scenario.
The authors address this bottleneck by asking: Can agents learn useful environment perception and manipulation capabilities directly from environment-only supervision, without human-authored tasks?
Methods
The authors propose STATE2STATE, a three-stage environment-centric mid-training pipeline:
- Environment Exploration: A simple, low-cost random policy explores the environment to collect a diverse pool of reachable states (represented as textual or visual observations).
- Task Construction: The pipeline filters out uninformative observations, samples unique target states using a diversity-oriented strategy, and verifies their reproducibility by replaying the trajectory three times. Each reproducible target state is paired with its initial configuration to create a "state-reaching" task.
- Mid-Training via RL: The agent is trained to reach the target state from the initial state using Group Relative Policy Optimization (GRPO) combined with dynamic sampling. Success is verified via a simple rule-based exact or normalized match of the environment state, providing a dense, automated reward signal.
The resulting model serves as a strong initialization for subsequent human-intent alignment via standard RL.
Datasets
The method was evaluated across three distinct interactive benchmarks:
- ScienceWorld: A text-based environment for elementary science tasks. The authors generated a custom
STATE2STATEdataset containing 8,000 unique tasks (7,872 training, 128 validation). - ALFWorld: A text-based embodied household environment. A custom dataset of 4,256 tasks (4,000 training, 256 validation) was constructed.
- MobileWorld: A complex mobile GUI benchmark. The authors collected 365 target states across 14 applications to test standalone visual/structural state-reaching capabilities.
Key Insights and Ideas
- The Power of Randomness: Surprisingly, cheap random exploration outperformed expensive LLM-guided exploration for state discovery. LLM explorers carry human-like priors that restrict them to a narrow, task-oriented slice of the state space, whereas random exploration uncovers a broader, deeper set of environmental dynamics.
- Latent Skill Activation: Mid-training on environment-only tasks doesn't always show massive immediate gains on human tasks before alignment. However, it acts as a powerful catalyst: once downstream human-task RL is applied, these latent environment manipulation skills are rapidly unlocked and aligned with human intent.
- Cross-Environment Transfer: Training on the physics/dynamics of one environment (ScienceWorld) actually improved performance when transferred to a completely different one (ALFWorld), proving that state-reaching forces the agent to learn fundamental interaction principles rather than just memorizing task distributions.
Key Results
- Performance Boost: The full
STATE2STATE + RLpipeline achieved the highest success rates across both model scales (Qwen3-4B and 8B). For instance, Qwen3-8B on ScienceWorld improved from a base score of 31.50% to 56.00% with the full pipeline, outperforming direct RL (52.13%). - Efficiency Gains: On ScienceWorld (Qwen3-4B),
STATE2STATEmid-training allowed the model to reach a high validation score in just 50 steps—a level of performance that took standard task-centric RL nearly 150 steps to achieve.
- GUI Success: In the training-data-scarce MobileWorld GUI environment,
STATE2STATEprovided a standalone improvement, raising the MAI-UI-8B base score from 0.275 to 0.308 without any downstream human-task training.
Limitations and Future Work
- Model Scale: The study was limited to mid-sized models (Qwen3-4B and 8B). It remains to be seen how frontier-scale models (which possess stronger innate planning and exploration capabilities) interact with this paradigm.
- Environment Constraints: The method relies on environments where states are reproducible (can be reset or replayed) and where observations reliably represent the underlying state. Extending this to non-deterministic, open-world, or purely continuous real-world environments poses a significant challenge.
Summary updated