RORem: Training a Robust Object Remover with Human-in-the-Loop

Ruibin Li, Tao Yang, Song Guo, Lei Zhang

Introduction

Object removal is a specialized task within image inpainting where the objective is to replace a user-defined object with a contextually appropriate background. Despite the advancements in generative models, existing tools frequently suffer from three primary artifacts: incomplete removal (ghosting), incorrect synthesis (hallucinating new objects), and textural blurriness. These failures are largely attributed to the standard self-supervised training paradigm, which focuses on reconstructing a masked object rather than learning to synthesize a clean background. To address this, RORem (Robust Object Remover) introduces a human-in-the-loop pipeline to curate a massive dataset of over 200,000 high-quality "before and after" removal pairs, enabling the model to learn explicit background restoration.

Methodology

The core of RORem is a three-stage, semi-supervised learning strategy designed to bridge the gap between reconstruction and removal.

The three-stage semi-supervised learning strategy for RORem, encompassing initialization, human annotation, and automated scaling.

Three-Stage Data Curation

  1. Initialization: An initial Stable Diffusion XL (SDXL) model is fine-tuned on approximately 60,000 existing paired samples from the RORD (video-based) and Mulan (synthetic) datasets.
  2. Human Annotation: The initial model processes 10,000 images from the OpenImages dataset. Human annotators then categorize these results as either "success" (clean removal) or "failure," providing a high-quality ground truth for what constitutes a successful edit.
  3. Automated Annotation: To scale the dataset, the authors train a discriminator based on SDXL’s internal features using the human feedback from Stage 2. This discriminator acts as a "virtual human," automatically filtering millions of generated samples to identify high-quality removal pairs for further training.

Efficiency via Model Distillation

To enable real-time application, the authors applied model distillation techniques (LoRA and Latent Consistency Models) to create RORem-4S. This variant produces high-quality results in just four diffusion steps, significantly reducing inference time while maintaining performance.

Experimental Results

RORem demonstrates significant improvements over existing state-of-the-art (SOTA) methods across multiple benchmarks. In human user studies, RORem achieved a 76.2% success rate, outperforming the next best method, PowerPaint, by over 18%.

Qualitative comparison of RORem and RORem-4S against state-of-the-art inpainting methods like Lama, SDXL-INP, and DesignEdit.

Performance Highlights

  • Robustness: Qualitative analysis shows that RORem successfully removes complex objects (e.g., large signs, vehicles) where competing models often leave artifacts or replace the target with nonsensical textures.
  • Inference Speed: The distilled RORem-4S model operates in approximately 0.5 seconds on an A100 GPU—an 88% reduction in latency compared to the base model with negligible quality loss.
  • Fidelity: RORem achieved the highest PSNR among diffusion-based methods, indicating superior preservation of unmasked image regions.

Conclusion and Future Work

RORem effectively addresses the hallucination problem in object removal by shifting the training focus from reconstruction to explicit background synthesis through a human-in-the-loop pipeline. While the model sets a new state-of-the-art, limitations remain regarding VAE-induced artifacts in unmasked regions and the synthesis of extremely fine background details (e.g., small faces). Future research will focus on integrating more advanced architectural backbones and improving VAE reconstruction capabilities to further enhance image fidelity.

Summary updated

BibTeX
@inproceedings{li2025rorem,
  author = {Ruibin Li and Tao Yang and Song Guo and Lei Zhang},
  title = {{RORem: Training a Robust Object Remover with Human-in-the-Loop}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01309},
}
Figure