Back to Feed
Agents / Training & Fine-Tuning

LLM Agents Learn from Environment Exploration

Original: State2State: Environment-Derived Mid-Training for LLM Agents

Listen to the summary

Uses a voice available on your device

Audio options
On this page

Key Takeaways

  • State2State enables LLM agents to generate their own training objectives by converting explored environment states into verifiable tasks, improving scalability and diversity compared to traditional methods.
  • The method uses rule-based state matching for task verification, providing rewards without needing specific test cases or expert demonstrations.
  • State2State combined with reinforcement learning (RL) achieved high task success rates on the ALFWorld benchmark, reaching 97.45% with a Qwen3-8B base model.
  • It also showed performance improvements on the GUI-only subset of MobileWorld, boosting the MAI-UI-8B model's score.

Summary & Methodology Analysis

Traditional methods for training LLM agents often require external tasks and supervision, such as expert demonstrations or reinforcement learning on human-defined tasks with specific verifiers. This approach can limit how scalable and diverse the training process is. State2State proposes a novel 'environment-derived mid-training' method. It works by first using an exploration policy for the agent to interact with the environment. The key innovation is that it then filters and samples learnable target observations directly from this exploration. These sampled observations are paired with initial environment configurations to create state-reaching tasks. The success of these tasks is verified through simple rule-based state matching between the agent's current observation and the target observation, which then generates rule-based rewards. This process bypasses the need for task-specific test cases or handcrafted verifiers. The paper evaluates State2State on environments like ALFWorld and MobileWorld, reporting strong performance gains. For instance, when using a Qwen3-8B base model on ALFWorld, State2State achieved a 97.45% average task success rate, with 97.14% on in-distribution tasks and 97.76% on out-of-distribution tasks. On the MobileWorld GUI-only subset, it improved the MAI-UI-8B model's score from 0.275 to 0.308 after 80 training steps.

The core of the State2State method involves converting explored states into training objectives. This contrasts with standard approaches where an exploration policy interacts with an environment, and then reinforcement learning algorithms like GRPO (Proximal Policy Optimization, adapted for dynamic sampling) are applied. State2State integrates with these RL algorithms but fundamentally changes the objective generation. It leverages rule-based state matching for verification, which means success is determined by whether the agent's current observation matches a predefined target observation. This yields rewards based on these rules, rather than requiring external, task-specific validation logic. The models utilized in the experiments include Qwen3-4B, Qwen3-8B, and MAI-UI-8B, tested on benchmarks such as ALFWorld and MobileWorld. The paper notes limitations, stating that experiments focused on controlled online RL comparisons and did not exhaustively explore scaling. Evaluations were performed on specific Qwen3 models and did not include frontier-scale models. Further systematic scaling analysis is recommended to understand how performance changes with model size and training compute, and the current evaluation is confined to environments with reproducible states and verifiable success conditions.

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the main problem addressed by this paper?

The paper addresses the limitation of existing LLM agent training methods that rely heavily on externally specified tasks and supervision signals, which restricts training scalability and diversity.

Q2. What is the core idea of the State2State method?

State2State is an environment-derived mid-training method that converts explored environment states into verifiable state-reaching training objectives, enabling agents to learn from their own exploration.

Q3. How does State2State generate training tasks?

It filters and samples learnable target observations from environment exploration and pairs them with initial environment configurations to form state-reaching tasks.

Q4. How are tasks verified in the State2State method?

Task success is verified through rule-based state matching between the current observation and the target observation, yielding rule-based rewards without task-specific test cases.

Q5. What were the performance results on ALFWorld?

On ALFWorld, State2State with RL achieved task success rates of 90.71% on ID and 93.28% on OOD using Qwen3-4B, and 97.14% on ID and 97.76% on OOD using Qwen3-8B, averaging 97.45%.

Q6. How did State2State perform on MobileWorld?

On the GUI-only subset of MobileWorld, State2State improved the score of MAI-UI-8B from 0.275 to 0.308 after 80 training steps.

Q7. What are the limitations of the current experiments?

The experiments prioritized controlled online RL comparisons over exhaustive scaling, evaluated on Qwen3-4B and Qwen3-8B without covering frontier-scale models, and focused on representative environments with reproducible states and verifiable success conditions.

Q8. Does the paper explore the impact of scaling model size or training compute?

The paper states that systematic scaling analysis is needed to understand how gains evolve with model size and training compute, indicating this was not exhaustively explored in the current experiments.

Q9. What other models or datasets were mentioned in relation to this work?

Models and datasets mentioned include ALFWorld, ScienceWorld, MobileWorld, Qwen3-4B, Qwen3-8B, Qwen-Plus, GPT-5.2, Claude 4.5 Haiku, DeepSeek V4 Flash, and MAI-UI-8B.