TL;DR
H3Remover is a reinforcement learning framework that transforms pretrained video editors into high-fidelity object removal tools without requiring expensive paired training data. By using a suite of geometry-aware and appearance-based rewards, it effectively erases targets and their associated effects (like shadows) while ensuring the rest of the scene remains untouched.
What Problem Does This Paper Address?
Video object removal is a deceptively complex task. It’s not just about "painting over" pixels; a successful model must erase the object, remove its secondary effects (shadows, reflections), and reconstruct the hidden background—all while keeping the rest of the video perfectly consistent.
The traditional way to train these models is through paired supervision: showing the model a video with an object and a "ground truth" version of the same video without it. However, capturing such pairs in the real world is nearly impossible, and synthetic data often fails to capture the nuances of real lighting and motion. While large pretrained video editors (like MiniMax-H3) have the "priors" to do this, they often fail to follow instructions, sometimes merely recoloring an object or accidentally erasing unrelated parts of the scene.
Methods
Instead of searching for perfect training pairs, the authors of H3Remover use Reinforcement Learning (RL) to "nudge" a pretrained editor (MiniMax-H3) toward better performance. They optimize low-rank adapters (LoRA) using the DiffusionART algorithm, keeping the massive backbone model frozen.
The core innovation lies in their source-conditioned rewards, which act as "experts" to guide the model:
- Target-Removal Reward (Geometry): Using a depth estimator (Video Depth Anything), the system checks if the pixels where the object used to be are now "further away." If the depth increases, it’s a strong signal that the foreground object was successfully removed to reveal the background.
- Background-Geometry Reward: To prevent the model from warping the rest of the world, this reward penalizes changes in the relative depth ordering of background pixels.
- Effect-Aware Appearance Reward: This is the "don't touch that" rule. It penalizes RGB changes in the background. Crucially, it uses a blending map to identify "effect regions" (like shadows), allowing the model to change those specific areas while protecting the rest of the scene.
- Perceptual Quality Reward: A frozen HPSv3 model provides feedback on whether the newly synthesized background looks natural and high-quality to a human eye.
Datasets
The model was adapted using 970 removal tasks sourced from several diverse datasets: ROSE, Waymo, KITTI-360, MOSE, and DAVIS2017.
For evaluation, the authors used:
- PROVE-M: A benchmark containing 80 paired tasks with object-free references for quantitative testing.
- WIPER, KITTI-360, and Waymo: Used for "in-the-wild" testing where no ground truth exists, relying on automated metrics and qualitative human-like judgments.
Key Insights and Ideas
- Geometry as a Proxy for Success: You don't need a semantic label to know a car is gone. If the depth map shows that you are now looking at the road 20 meters further away, the removal was likely successful.
- Selective Protection: A common failure in video editing is "global drift," where the whole video slightly changes color or texture. By using an automated tool (OSOR) to mask out only the object and its shadows, H3Remover can apply a strict "no-change" rule to the rest of the frame.
- Unlocking Latent Capabilities: The paper demonstrates that the base model already knows how to remove objects; it just needs the right incentives to do so consistently. RL provides a way to elicit these capabilities without the "forgetting" that often happens during standard supervised fine-tuning.
Key Results
H3Remover showed massive gains over the base H3 model and outperformed specialized state-of-the-art baselines:
- Quantitative: On the PROVE-M benchmark, H3Remover improved PSNR by 7.15 dB over the original H3 and reduced perceptual error (LPIPS) and video flicker (FVD) significantly.
- Qualitative: As seen in Figure 4, H3Remover excels at complex real-world scenes, such as removing multiple cars in heavy traffic or erasing a dancer while maintaining the texture of the hay bales behind her.
- Robustness: It achieved a 91.25% success rate in automated removal judgments, compared to just 50% for the original H3.
Limitations and Future Work
- Depth Dependency: The target-removal reward assumes the object is in the foreground. If you're trying to remove something that is flush with the background (like a sticker on a wall), the depth reward might not trigger correctly.
- Temporal Consistency: While the model inherits good temporal priors from MiniMax-H3, the rewards themselves are mostly frame-based. Future work could involve explicit temporal rewards to further reduce flickering in highly dynamic scenes.
- Computational Cost: While inference is fast, the RL-based adaptation process requires multiple sampling passes, making the "training" phase more resource-intensive than simple supervised learning.
Summary updated