GeoRemover: Removing Objects and Their Causal Visual Artifacts
Zixin Zhu, Haoxiang Li, Xuelu Feng, He Wu, Chunming Qiao, Junsong Yuan
TL;DR
This paper tackles the challenge of removing an object and its causal visual artifacts (such as shadows and reflections) by decoupling object removal into geometry removal and appearance rendering. It introduces a two-stage framework where the first stage edits the scene geometry (depth) under strictly mask-aligned supervision, and the second stage renders an RGB image conditioned on the updated geometry to implicitly eliminate artifacts. A Direct Preference Optimization (DPO) approach guides geometry completion by promoting smooth depth flow within the masked region, reducing hallucinations and over-editing. The method demonstrates state-of-the-art performance on RemovalBench, RORD-Val, and CausRem, with quantitative gains in FID, CMMD, LPIPS, PSNR, and IoU for artifact removal, as well as qualitative improvements in preserving unmasked content. This geometry-guided, bidirectional rendering framework offers a controllable and robust solution for realistic object removal in complex scenes, with broad implications for AR/VR content editing and image restoration.
Abstract
Towards intelligent image editing, object removal should eliminate both the target object and its causal visual artifacts, such as shadows and reflections. However, existing image appearance-based methods either follow strictly mask-aligned training and fail to remove these causal effects which are not explicitly masked, or adopt loosely mask-aligned strategies that lack controllability and may unintentionally over-erase other objects. We identify that these limitations stem from ignoring the causal relationship between an object's geometry presence and its visual effects. To address this limitation, we propose a geometry-aware two-stage framework that decouples object removal into (1) geometry removal and (2) appearance rendering. In the first stage, we remove the object directly from the geometry (e.g., depth) using strictly mask-aligned supervision, enabling structure-aware editing with strong geometric constraints. In the second stage, we render a photorealistic RGB image conditioned on the updated geometry, where causal visual effects are considered implicitly as a result of the modified 3D geometry. To guide learning in the geometry removal stage, we introduce a preference-driven objective based on positive and negative sample pairs, encouraging the model to remove objects as well as their causal visual artifacts while avoiding new structural insertions. Extensive experiments demonstrate that our method achieves state-of-the-art performance in removing both objects and their associated artifacts on two popular benchmarks. The code is available at https://github.com/buxiangzhiren/GeoRemover.
