Abstract
We present EXIF (EXploration and Iterative Feedback), a framework designed to enable Large Language Model (LLM) agents to autonomously discover and master new skills in complex environments. By utilizing an "exploration-first" strategy, a teacher agent discovers feasible environment-grounded tasks, which are then used to train a student agent. Through an iterative feedback loop, the teacher identifies the student's weaknesses and guides further exploration to address them. Our experiments on the Webshop and Crafter benchmarks demonstrate that EXIF achieves superior performance compared to traditional proposal-first methods and even surpasses the zero-shot capabilities of proprietary models like GPT-4o.
Introduction
Building "open-ended" agents—AI that can autonomously explore, learn, and expand its capabilities—is a major goal in artificial intelligence. Traditional training methods generally fall into two categories: manual data collection, which is slow and expensive, or proposal-first generation, where an LLM "dreams up" a task before attempting it. The latter often suffers from a lack of feasibility (proposing impossible tasks) or a lack of learning signal (proposing tasks the agent already knows).
EXIF addresses these gaps by flipping the script: instead of proposing a task and trying to execute it, the agent explores the environment first, identifies successful action sequences, and retrospectively labels them as "skills" to be learned. This ensures that all training data is both feasible and grounded in the specific environment.
The EXIF Framework
The EXIF framework utilizes a "Teacher-Student" dynamic between two agents: Alice (the explorer/evaluator) and Bob (the learner).
- Exploration-First Strategy: Alice interacts with the environment without a pre-defined goal. Upon completing a meaningful sequence of actions, she generates a natural language instruction describing the achievement. This retrospective labeling ensures high-quality, feasible training data.
- Supervised Fine-Tuning (SFT): Bob is trained on this discovered "skill dataset" to map instructions to the successful action sequences Alice found.
- Iterative Feedback Loop: Alice evaluates Bob’s performance on validation tasks and identifies specific failure modes (e.g., overly broad search queries).
- Targeted Exploration: In subsequent rounds, Alice’s exploration is conditioned on this feedback, specifically seeking trajectories that address Bob's shortcomings. This creates a closed-loop system where training data evolves alongside the agent's needs.
Experimental Results
We evaluated EXIF on two distinct benchmarks: Webshop, a text-based e-commerce environment, and Crafter, a 2D survival game requiring long-horizon planning.
Key Findings
- Retrospective Labeling Efficiency: The exploration-first approach yielded a valid skill dataset ratio of 70-85%, significantly higher than the <30% achieved by traditional proposal-first methods.
- Feedback Prevents Plateaus: As shown in the performance graphs, agents trained without the iterative feedback loop (the "EF" baseline) eventually plateau. The feedback loop ensures the teacher agent continues to push the student into new areas of mastery.
- Superior Performance: In Webshop, EXIF improved the agent's reward from a baseline of 2.0 to 52.0, significantly outperforming GPT-4o (16.5). In Crafter, EXIF enabled the discovery and mastery of 14-15 distinct skills, matching GPT-4o's performance.
- Self-Evolving Potential: EXIF remains effective even when Alice and Bob use the same underlying model (e.g., Qwen2.5-7B), suggesting that agents can "bootstrap" their own learning to surpass initial limitations.
Conclusion and Future Work
EXIF demonstrates a powerful path toward autonomous agent development by prioritizing environment-grounded exploration and iterative refinement. While highly effective, the framework currently relies on the teacher's ability to describe failures in natural language. Future work will explore scaling EXIF to more complex, high-dimensional environments and integrating it with pre-defined skill libraries to accelerate early-stage learning.
Summary updated