ROSE: Remove Objects with Side Effects in Videos

Chenxuan Miao, Yutong Feng, Jianshu Zeng, Zixiang Gao, Hantang Liu, Yunfeng Yan, Donglian Qi, Xi Chen, Bin Wang, Hengshuang Zhao · OpenReview

Abstract

Video object removal has achieved advanced performance due to the recent success of video generative models. However, when addressing the side effects of objects, e.g., their shadows and reflections, existing works struggle to eliminate these effects for the scarcity of paired video data as supervision. This paper presents ROSE, termed Remove Objects with Side Effects, a framework that systematically studies the object's effects on environment, which can be categorized into five common cases: shadows, reflections, light, translucency and mirror. Given the challenges of curating paired videos exhibiting the aforementioned effects, we leverage a 3D rendering engine for synthetic data generation. We carefully construct a fully-automatic pipeline for data preparation, which simulates a large-scale paired dataset with diverse scenes, objects, shooting angles, and camera trajectories. ROSE is implemented as an video inpainting model built on diffusion transformer. To localize all object-correlated areas, the entire video is fed into the model for reference-based erasing. Moreover, additional supervision is introduced to explicitly predict the areas affected by side effects, which can be revealed through the differential mask between the paired videos. To fully investigate the model performance on various side effect removal, we presents a new benchmark, dubbed ROSE-Bench, incorporating both common scenarios and the five special side effects for comprehensive evaluation. Experimental results demonstrate that ROSE achieves superior performance compared to existing video object erasing models and generalizes well to real-world video scenarios.

Introduction

Removing an object from a video is a complex task that extends beyond simply "painting over" the pixels occupied by the object. In real-world environments, objects interact physically with their surroundings: a car casts a shadow on the pavement, a lamp illuminates a room, and a person is reflected in a window or a lake.

Existing video inpainting models often leave these "ghosts" behind because they lack paired training data—videos of the exact same scene with and without the object. Most current datasets are created by simply pasting objects onto backgrounds or blacking them out, which fails to capture environmental interactions. Consequently, models trained on such data do not "know" they should look for and erase the associated shadow or reflection, leading to unrealistic results where the object is gone but its physical footprint remains.

ROSE categorizes and removes five common side effects: shadows, reflections, lighting changes, translucency, and mirror reflections.

Methodology

ROSE introduces three key innovations to address the challenge of side-effect removal:

1. Automated 3D Data Pipeline

To solve the data scarcity problem, the authors utilized the Unreal Engine to build a pipeline that generates perfectly aligned video pairs. By toggling the visibility of objects in a 3D scene, they can render a video with an object (including its shadows and reflections) and the exact same video without it. This provides the ground truth necessary for the model to learn complex optical physics.

2. Reference-based Erasing

Standard inpainting models often "zero out" the masked area before processing. In contrast, ROSE feeds the entire original unedited video into the model. This allows the model to use the object itself as a reference to "hunt" for correlated side effects in the environment. If the model sees a red car, it learns to look for a corresponding dark patch (shadow) on the ground below it.

3. Difference Mask Predictor

The framework includes an auxiliary MLP-based head that explicitly predicts a "difference mask." This mask represents every pixel that changed between the "with-object" and "without-object" versions. This supervision forces the model to attend to subtle environmental changes, such as flickering light or faint reflections, that might otherwise be ignored by standard reconstruction losses.

The ROSE architecture utilizes a Diffusion Transformer backbone with a Difference Mask Predictor to explicitly supervise the removal of environmental side effects.

Datasets and Benchmarking

The model was trained on a dataset of 16,678 synthetic video pairs rendered in Unreal Engine, featuring diverse scenes and various side effects. To evaluate performance, the authors introduced ROSE-Bench, a comprehensive suite consisting of:

  • Synthetic Paired: 60 high-quality triplets categorized by effect (Common, Light Source, Mirror, Reflection, Shadow, Translucent).
  • Realistic Paired: Created using a "copy-and-paste" strategy on the DAVIS dataset to provide ground truth for real-world textures.
  • Realistic Unpaired: Real-world videos used for qualitative evaluation and VBench metrics.

Key Results

ROSE significantly outperforms previous state-of-the-art (SOTA) methods like ProPainter and DiffuEraser across both quantitative and qualitative metrics:

  • Quantitative Performance: On the synthetic benchmark, ROSE achieved a mean PSNR of 31.12, compared to ProPainter’s 27.19 and DiffuEraser’s 26.50. It also led in perceptual metrics like LPIPS (0.0772 vs. 0.0946 for ProPainter).
  • Qualitative Fidelity: In real-world tests, ROSE was uniquely capable of cleanly removing a lamp's glow from a wall or a swan's reflection from a lake. Other models typically left blurry artifacts or "ghost" reflections behind.
  • Temporal Consistency: According to VBench evaluations, ROSE maintains high motion smoothness (0.975) and background consistency (0.923), ensuring that the erased areas do not flicker or warp over time.

Conclusion

ROSE demonstrates that high-fidelity 3D engines can effectively bridge the "sim-to-real" gap for complex video editing tasks. By providing the model with the full context of the object to be removed and using explicit difference mask supervision, ROSE achieves a level of physical realism previously unattainable in video inpainting. Future work will focus on optimizing inference times for long-form content and expanding the dataset to include more complex fluid dynamics and environmental interactions.

Summary updated

BibTeX
@inproceedings{miao2025rose,
  author = {Chenxuan Miao and Yutong Feng and Jianshu Zeng and Zixiang Gao and Hantang Liu and Yunfeng Yan and Donglian Qi and Xi Chen and Bin Wang and Hengshuang Zhao},
  title = {{ROSE: Remove Objects with Side Effects in Videos}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=xTWWKMxY1x},
}
Figure