Imagine you’re an AI trying to learn the laws of physics by watching a video of someone playing Elden Ring. You see a hero dodge a dragon's fire—great, that’s momentum and fluid dynamics. But you also see a static red bar at the top of the screen that never moves, and a tiny circular map in the corner that magically updates. To a machine, these "Heads-Up Displays" (HUDs) are confusing hallucinations that follow interface rules rather than the laws of nature.
If we want to build "world models"—AIs that truly understand virtual environments—we need to scrub those HUDs away.
TL;DR
GameScrub is a new AI framework that learns to remove HUDs from gameplay videos using real-world footage, rather than relying on fake, "synthetic" examples. By using a clever two-step process to "hallucinate" what’s behind a health bar and then training a model on those results, it achieves a massive leap in cleaning up "in-the-wild" gaming clips without needing manual masks at runtime.
What Problem Does This Paper Address?
To train a model to remove HUDs, you usually need "paired data": a video with the HUD and the exact same video without it. But in the real world, we only have the "dirty" footage.
Previous researchers tried to solve this by taking clean footage and slapping fake HUDs on top. The problem? Real HUDs are incredibly diverse. They are semi-transparent, they glow, they move with the character, and they pop up only when specific events happen. Models trained on fake HUDs often fail when they meet the "messy" reality of actual gameplay, leaving behind 40% to 50% of the interface elements untouched.
Methods
The authors introduce a two-part solution: GameScrub-Data and GameScrub.
- GameScrub-Data (The Teacher): This is a "training-free" pipeline that creates the training data. It detects HUDs using a standard object detector (YOLO) and then uses a pretrained video diffusion model to "fill in" the gaps.
- The "Pre-fill" Trick: A major technical hurdle is that AI encoders often "leak" information. If you just mask a HUD, the surrounding pixels might still "tell" the AI there was a health bar there. GameScrub-Data solves this by pre-filling the HUD area with a rough background estimate before the AI even looks at it.
- GameScrub (The Student): This is the actual model you’d use. It’s a video diffusion transformer trained on the pairs generated by the "Teacher." Crucially, at inference time (when you're actually using it), it doesn't need a HUD detector or a mask. You just give it a video, and it "scrubs" it clean in just 11 steps.
Datasets
- Training: The authors curated a dataset of 8,522 video windows from ~300 different game titles, including both public gameplay and in-house recordings.
- Evaluation: They tested primarily on the Game2World "in-the-wild" benchmark, which consists of 100 real gameplay clips with human-verified HUD annotations.
Key Insights and Ideas
- Realism Trumps Perfection: The "aha moment" here is that it’s better to train on approximate clean targets derived from real HUDs than to train on perfect clean targets with fake HUDs. The model learns the "texture" of real interface corruptions much better this way.
- Latent Leakage is Real: The paper highlights a subtle but vital issue in latent diffusion models: autoencoders have "receptive fields" that mix information across mask boundaries. If you don't physically change the pixels in the input (the pre-fill step), the model "remembers" the HUD was there, leading to ghost-like remnants in the output.
- Reference Conditioning: By feeding the original "dirty" clip as a reference to the model, GameScrub maintains high background fidelity. It knows exactly what the rest of the scene should look like while it focuses on fixing the masked areas.
Key Results
GameScrub sets a new high bar for HUD removal on real-world footage:
- Removal Rate: It successfully removed 90.06% of annotated HUD elements, compared to just 59.07% for the previous state-of-the-art (GameCleaner).
- Quality: On the "Artifact-Adjusted Removal" (AAR) score—which penalizes messy removals—GameScrub scored 71.95, significantly outperforming GameCleaner’s 57.86.
- Efficiency: It’s roughly 2.1x faster than previous models, requiring only 11 denoising steps to produce a clean frame.
Limitations and Future Work
While GameScrub is a powerhouse, it isn't perfect. Because it regenerates the full frame to ensure a seamless look, it can sometimes slightly alter fine background details that weren't even covered by a HUD.
The authors also note that if the initial HUD detector (YOLO) misses a very obscure or tiny interface element during the data-generation phase, the model won't learn to remove it. Future work might involve "uncertainty-aware" reconstruction—essentially teaching the model to be more careful in areas where it isn't quite sure what lies beneath the overlay.
Summary updated