EraseLoRA: MLLM-Driven Foreground Exclusion and Background Subtype Aggregation for Dataset-Free Object Removal
Sanghyun Jo, Donghwan Lee, Eunji Jung, Seong Je Oh, Kyungsu Kim
TL;DR
EraseLoRA introduces a dataset-free object removal framework that leverages MLLM-guided background-aware reasoning (BFE) and test-time diffusion reconstruction with background subtype aggregation (BRSA). By explicitly separating target foreground, non-target foregrounds, and background, and by aggregating multiple background cues through a BRSA objective, it avoids the artifacts of attention-surgery methods while preserving fine detail and global structure. Across OpenImages V7 and RORD benchmarks, EraseLoRA yields substantial gains in Background Similarity and strong suppression of foreground regeneration, outperforming prior dataset-free methods and remaining competitive with dataset-driven approaches. As a plug-in, model-agnostic approach, it enables faithful background reconstruction without requiring paired data or retraining, offering a practical path for robust, background-consistent object removal.
Abstract
Object removal differs from common inpainting, since it must prevent the masked target from reappearing and reconstruct the occluded background with structural and contextual fidelity, rather than merely filling a hole plausibly. Recent dataset-free approaches that redirect self-attention inside the mask fail in two ways: non-target foregrounds are often misinterpreted as background, which regenerates unwanted objects, and direct attention manipulation disrupts fine details and hinders coherent integration of background cues. We propose EraseLoRA, a novel dataset-free framework that replaces attention surgery with background-aware reasoning and test-time adaptation. First, Background-aware Foreground Exclusion (BFE), uses a multimodal large-language models to separate target foreground, non-target foregrounds, and clean background from a single image-mask pair without paired supervision, producing reliable background cues while excluding distractors. Second, Background-aware Reconstruction with Subtype Aggregation (BRSA), performs test-time optimization that treats inferred background subtypes as complementary pieces and enforces their consistent integration through reconstruction and alignment objectives, preserving local detail and global structure without explicit attention intervention. We validate EraseLoRA as a plug-in to pretrained diffusion models and across benchmarks for object removal, demonstrating consistent improvements over dataset-free baselines and competitive results against dataset-driven methods. The code will be made available upon publication.
