TL;DR
Think about what you do when you get stuck in a complex video game: you pause, look up a walkthrough on YouTube, watch how someone else gets past that exact roadblock, and jump back in. ASH (Agents that Self-Hone) brings this exact loop to AI, enabling agents to master multi-hour games using raw, unlabeled internet video—with zero human-engineered rewards or action labels. By dynamically updating its own understanding of game controls and building a long-term memory of "key moments," ASH keeps progressing long after traditional AI agents hit a wall.
What Problem Does This Paper Address?
Teaching an AI to handle short tasks is relatively straightforward, but open-ended, long-horizon tasks—those requiring hours of planning across millions of steps—remain a massive headache.
Current approaches usually fall into two camps, and neither scales well:
- Reinforcement Learning (RL) relies on humans hand-crafting dense "breadcrumb" trails of rewards. In a 20-hour game, designing rewards for every micro-objective is brittle and exhausting.
- Behavioral Cloning (BC) trains agents to mimic massive offline datasets of human gameplay. However, raw internet videos don't come with controller button-presses attached. Furthermore, feeding hours of continuous history into a Transformer is computationally intractable, forcing agents to rely on short-term memory—meaning they easily forget why they walked into a room five minutes ago.
How do you build an agent that learns from raw pixels, remembers the big picture, and adapts to brand-new game mechanics on the fly?
Methods
ASH is a 1.2-billion-parameter agentic system (combining a SigLIP vision encoder with a causal Transformer) that operates in a continuous dynamic bootstrap loop. Instead of relying on a static dataset, it alternates between playing and studying.
Here is what separates ASH from standard approaches:
- Dual Memory via Unsupervised Clustering: Standard agents condition on short-term history (here, the last 32 seconds). ASH adds a long-term memory prefix consisting of the 10 most recent key moments. What’s a key moment? ASH embeds retrieved internet videos using DINOv2 and runs HDBSCAN clustering. Visual states that show up repeatedly across many different players' playthroughs (like choosing a starter Pokémon or entering a boss room) form dense clusters. ASH autonomously recognizes these bottlenecks and saves them to long-term memory.
- The "Stuck" Timer & Retrieval: Four parallel agents play the game. If an agent goes 20 minutes without encountering a new key moment, ASH declares it "stuck" and halts. It embeds the agent's recent trajectory and searches a corpus of YouTube videos using greedy one-to-one temporal window matching to find segments visually similar to its current roadblock.
- Self-Honing the IDM and Policy: Because YouTube videos lack button-press data, ASH uses an Inverse Dynamics Model (IDM)—a network that looks at past and future frames to guess what button was pressed between them. Crucially, whereas prior work (like Minecraft's VPT) uses a frozen, pre-trained IDM, ASH continuously updates its IDM using its own recent gameplay trajectories. It then uses this freshly honed IDM to label the retrieved YouTube clips and fine-tunes its policy.
Datasets
ASH interacts with games just like a human: seeing raw screen pixels and pressing buttons every 0.25 seconds. The authors evaluate it on two multi-hour Game Boy Advance games, scraping raw, noisy gameplay corpora directly from YouTube:
- Pokémon Emerald (~22,000 YouTube videos): A turn-based RPG requiring strategic battling, team management, and navigating a massive map.
- The Legend of Zelda: The Minish Cap (~17,000 YouTube videos): Newly introduced here as an AI testbed to complement turn-based RPGs, requiring real-time dexterity, swordplay, and spatial puzzle-solving.
Key Insights and Ideas
- Frozen models collapse on distribution shifts: When offline baselines walk into Zelda's castle for the first time, the visual palette and mechanics shift abruptly; frozen policies devolve into random button-mashing. ASH falters too, hits its stuck-timer, studies YouTube clips of the castle interior, and marches right through.
- Your action-labeler must evolve with you: If you only train an IDM at the start of a game, it fails to label new visual dynamics later on (like menuing in a Pokémon battle). Updating the IDM alongside the agent boosted movement-labeling accuracy on held-out trajectories from 60% to 81%—without this, baselines hit 0% completion past early milestones.
- Memory is about what you keep: Replacing ASH's HDBSCAN-discovered key moments with randomly sampled trajectory frames caused performance to drop by 1.75 milestones. Clustering naturally filters out wandering in tall grass and captures true narrative checkpoints.
- No catastrophic forgetting: When ASH’s final checkpoint replayed Pokémon from scratch offline (no bootstrapping), it blazed through the game faster than its original online run, proving it retains early-game skills while learning late-game mechanics.
Key Results
Across an 8-hour evaluation tracking 12 sequential walkthrough milestones per game, ASH substantially outperformed offline BC, VPT, retrieval-augmented (RAEA), and scaffolded foundation model (Voyager+Opus 5) baselines:
- Sustained Progression: ASH averaged 11.2/12 milestones in Pokémon Emerald and 9.9/12 in Zelda (reaching milestone 12 in both). The strongest baselines plateaued at 9.3/12 and 7.8/12, respectively, with no baseline ever clearing milestone 8 in Pokémon or 6 in Zelda.
- Emergent Skills: Starting from a checkpoint that couldn't fight at all, ASH learned to win 87% of its Pokémon battles after hour 4, and successfully defeated enemies with its sword in 75% of Zelda trajectories (a skill completely absent in all baselines).
- High-Precision Retrieval: In blind human evaluations, naive random sampling of the YouTube corpus yielded relevant training clips only 8% of the time, whereas ASH's temporal window matching hit 94% relevance.
Limitations and Future Work
The authors note a few clear boundaries to this recipe:
- Data Dependency: ASH relies on an abundance of internet playthroughs. It would struggle in obscure or novel environments where online demonstrations are scarce.
- Pixel-to-Action Ambiguity: An IDM can only infer actions that leave visual clues. Subtle inputs (like distinguishing between
AandBbutton presses when nothing changes on screen) remain tricky to label from video alone. - 2D Discrete Worlds: ASH was tested in 2D games with discrete button inputs. Scaling this dynamic bootstrapping loop to 3D worlds with continuous camera and motor control is an open, exciting next step.
Summary updated