Manuscript Offprint
arXiv:2610.24173SERO: Semantic Prediction for Single-Step Object Removal
Amreen Hasheem Siraj*
Rheinland-Pfälzische Technische
Universität
Kaiserslautern, Germany
Alireza Javanmardi*
Deutsches Forschungszentrum für
Künstliche Intelligenz
Kaiserslautern, Germany
Pragati Jaiswal*
Rheinland-Pfälzische Technische
Universität
Kaiserslautern, Germany
Didier Stricker
Deutsches Forschungszentrum für
Künstliche Intelligenz
Kaiserslautern, Germany
Rheinland-Pfälzische Technische
Universität
Kaiserslautern, Germany
Alain Pagani
Deutsches Forschungszentrum für
Künstliche Intelligenz
Kaiserslautern, Germany
Input Image

"Remove Person"

SERO

Semantic Prediction
Single-step Inference
Output Image

Input
Mask
Output

Input
Mask
Output
Complex Scene Completions
Figure 1: SERO combines semantic prediction with efficient bridge matching to remove objects and reconstruct plausible scene content in a single step, across both real-world object removal and complex scene-completion scenarios.
These authors contributed equally to this work.

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
CVMP '26, London, United Kingdom
© 2026 Copyright held by the owner/author(s).
ACM ISBN 979-8-4007-2823-5/2026/12
https://doi.org/10.1145/3828644.3857002
Abstract
Object removal and semantic inpainting of missing regions remain inherently ill-posed, as multiple plausible completions may exist for a given scene. Recent diffusion-based methods have demonstrated strong potential for high-quality object removal; however, they still face two key limitations. First, although they can synthesise sharp and high-resolution images, they often struggle to
Amreen Hasheem Siraj, Alireza Javanmardi, Pragati Jaiswal, Didier Stricker, and Alain Pagani
complete removed regions in a semantically consistent and contextually meaningful manner, where the generated content should agree with the surrounding scene layout and object relationships rather than merely appear visually realistic. Second, their iterative denoising process makes them computationally expensive, limiting their practicality for downstream applications. We propose SERO, a semantic prediction framework for single-step object removal. Our model predicts a hidden-region semantic prior in embedding space, which guides a latent bridge-matching generator toward plausible scene completion by providing both where to edit and what structure is likely to exist behind the removed object. This enables visually realistic and contextually coherent completions in one forward pass. Experiments on the RORD and OBER datasets show that SERO achieves competitive or state-of-the-art performance while requiring only a single generation step.
Project page: https://dfki-av.github.io/SERO/
CCS Concepts
• Computing methodologies → Image manipulation; Computer vision tasks; Machine learning.
ACM Reference Format:
Amreen Hasheem Siraj, Alireza Javanmardi, Pragati Jaiswal, Didier Stricker, and Alain Pagani. 2026. SERO: Semantic Prediction for Single-Step Object Removal. In European Conference on Visual Media Production (CVMP '26), December 08–09, 2026, London, United Kingdom. ACM, New York, NY, USA, 10 pages. https://doi.org/10.1145/3828644.3857002
1 Introduction
Generative models have transformed the field of image editing by enabling a wide range of content manipulation tasks, including image synthesis [Peebles and Xie 2023; Rombach et al. 2022], object insertion [Yu et al. 2025], and object removal [Zhao et al. 2026]. Among these tasks, object removal is particularly important because of its broad practical applications, ranging from everyday photo editing on smartphones to specialized scenarios such as cloud removal in satellite imagery [Liu et al. 2025a; Wang et al. 2024]. The goal of object removal is not only to erase an unwanted object, but also to plausibly reconstruct the missing region such that the edited image remains visually coherent and indistinguishable from an unedited scene.
Early generative approaches, particularly GAN-based methods, advanced image inpainting and editing, but often struggled to synthesize high-resolution, photorealistic, and semantically consistent content [Nazeri et al. 2019; Yu et al. 2018]. More recently, diffusion models have shown remarkable image-generation capability and have become strong backbones for image inpainting [Rombach et al. 2022; Zhuang et al. 2024]. Despite this progress, diffusion-based object removal methods still face critical challenges in complex scenes. Existing methods can perform well when the background is simple and the removed object has limited interaction with its surroundings. However, in scenes with multiple objects, structured layouts, and rich contextual dependencies, meaningful completion becomes substantially more difficult [Suvorov et al. 2022]. In such cases, filling the removed region requires more than low-level texture synthesis; it requires understanding the scene structure, object relationships, and plausible semantic content that should replace the removed area. From this perspective, effective object removal should combine high-quality generation with semantic prediction about the missing content.
In this context, predictive representation learning approaches [Assran et al. 2023] offer a promising direction for obtaining rich semantic priors in computer vision. Rather than reconstructing pixels directly, such methods predict the representation of a missing or masked region from the visible context, encouraging the model to capture higher-level scene structure and contextual dependencies. This formulation is particularly useful for object removal, where the goal is not only to fill missing pixels but also to infer plausible content that is consistent with surrounding objects, layout, and occlusion patterns. Motivated by these advantages, we explore how predictive semantic representations can guide object removal models toward more meaningful and contextually consistent inpainting.
To overcome these limitations, we propose SERO (Semantic Prediction for Single-Step Object Removal), a novel framework that combines semantic prediction with efficient generative modelling for object removal. Our method integrates contextual prediction with a latent bridge-matching generative backbone, enabling the model to reason about the content that should plausibly replace a removed object rather than merely filling the masked region with low-level texture. By predicting semantic guidance in the embedding space, our method encourages the removal of both the target object and its associated visual effects, including shadows, reflections, and occlusion artifacts. This guidance is then used to steer latent bridge matching toward photorealistic and contextually consistent inpainting, achieving high-quality object removal in as few as one generation step. In summary, our main contributions are:
• We introduce SERO, a one-step object removal framework that produces photorealistic edits while removing not only the target object but also its associated visual effects, such as shadows and reflections.
• We propose a predictive semantic-prior bridge matching architecture that integrates contextual semantic prediction with an efficient generative backbone, enabling more meaningful and context-aware completion of missing regions in complex and occluded scenes.
• We evaluate SERO on the RORD and OBER benchmarks, which include challenging object-removal cases with object-associated effects, and demonstrate consistent improvements in both quantitative metrics and qualitative comparisons.
2 Related Work
2.1 Image Inpainting and Generative Completion
Image inpainting synthesises plausible content in missing or user-specified regions while preserving consistency with the surrounding context. Early learning-based methods used adversarial training and encoder-decoder architectures to hallucinate missing pixels from contextual cues [Goodfellow et al. 2014; Liu et al. 2020; Pathak et al. 2016]. Later works introduced structural priors, multi-scale context aggregation, and appearance-flow reasoning to better preserve edges, layouts, and long-range dependencies [Ren et al. 2019; Zeng et al. 2019]. However, GAN-based methods often struggle with large missing regions, complex textures, and diverse plausible completions.
Diffusion and flow-based generative models have become strong priors for image synthesis and restoration [Ho et al. 2020; Lipman et al. 2022]. Denoising diffusion and score-based models [Ho et al. 2020; Song et al. 2020] enable iterative refinement, while latent diffusion supports efficient high-resolution generation [Podell et al. 2024; Rombach et al. 2022]. Recently, flow-matching and rectified-flow models, such as Stable Diffusion 3 [Esser et al. 2024] and FLUX [Labs et al. 2025], have shown strong image generation quality by learning continuous transport paths between noise and data distributions. These priors have been adapted to editing and inpainting through stochastic editing, resampling-based reconstruction, text-guided blending, and task-conditioned prompting [Avrahami et al. 2022; Lugmayr et al. 2022; Meng et al. 2021; Zhuang et al. 2024]. Recent methods further improve controllability by separating masked and unmasked branches or reducing hallucinations [Ju et al. 2024; Wang et al. 2025]. Still, generic inpainting fills the given hole with plausible content, whereas object removal requires the image to appear as if the target object, including its scene influence, never existed.
2.2 Object Removal
Object removal is a specialised inpainting task that eliminates a target object while reconstructing the underlying scene. Recent methods often rely on diffusion priors. Some perform zero-shot or training-free removal with attention guidance, latent decomposition, or test-time optimization [Chen et al. 2024; Ekin et al. 2024; Jia et al. 2025; Sun et al. 2025]. While avoiding task-specific training, they can be sensitive to masks, prompts, and optimisation settings. Other methods train dedicated removal models using synthetic or curated paired data. SmartEraser [Jiang et al. 2025] and EraseDiffusion [Liu et al. 2025b] build scalable data with segmentation, matting, or diffusion-based pipelines, while RORem [Li et al. 2025] incorporates human feedback for robustness and annotation quality. More recent methods such as OmniEraser [Wei et al. 2025], ObjectClear [Zhao et al. 2026], and GeoRemover [Zhu et al. 2025] explicitly address object-associated effects, including shadows, reflections, and other causal artifacts.
Despite these advancements, object-and-effect removal remains difficult in complex scenes where targets occlude background content or interact with surrounding objects. The model must remove associated effects and complete the scene with plausible structure. Moreover, iterative or multi-stage diffusion pipelines are often slow, limiting real-world applicability. We address these challenges with a semantic-prior-guided Latent Bridge Matching framework for coherent single-step object removal.
3 Method
In our SERO framework, we remove a target object and its associated visual effects from a source image using a binary mask that specifies the region to be erased. Our approach first predicts a semantic representation of the hidden scene from the visible context and transforms it into a dense spatial prior that guides latent bridge matching for plausible background reconstruction. We first formulate the object removal problem in Sec. 3.1, followed by the Latent Bridge Matching backbone in Sec. 3.2. We then introduce the predictive semantic prior and its integration into the generative model in Sec. 3.3, before describing the training objective and inference procedure in Sec. 3.4.
3.1 Problem Formulation
Let denote a source image containing an unwanted object or visual artifact, and let be the corresponding binary removal mask. We define for pixels inside the region to be removed and for pixels belonging to the valid background. The target image represents the clean ground-truth image in which the masked content has been removed. At inference time, given only , the objective is to synthesise an edited image whose masked region is plausibly reconstructed while the unmasked content remains faithful to the source image.
3.2 Latent Bridge Matching Backbone
We build upon Latent Bridge Matching (LBM) [Chadebec et al. 2025], which formulates image-to-image translation as learning a stochastic transport process between source and target image distributions. Both source and target images are first encoded using a pretrained SDXL variational autoencoder [Podell et al. 2024]:
where are latent representations and .
Following LBM, an intermediate bridge latent is constructed as
where is the bridge timestep and controls the bridge noise level.
The denoising UNet is trained to predict the velocity field that transports the bridge latent toward the target latent. For object removal, the model is conditioned on the bridge latent together with a downsampled removal mask, which is resized to match the latent resolution and concatenated with the latent representation.
Although this conditioning effectively specifies the spatial region to be edited, it provides no explicit guidance regarding the content that should replace the removed object. As a result, the model must infer the missing scene structure solely from the surrounding visual context during generation. To overcome this limitation, we augment the conditioning representation with a predictive semantic prior, providing high-level semantic guidance for plausible content reconstruction.
3.3 Predictive Semantic Prior
Our key idea is to estimate a high-level semantic representation of the hidden scene before generative reconstruction. Following the predictive representation learning paradigm of I-JEPA [Assran et al. 2023], this formulation is particularly well-suited to object removal, as it predicts the missing region from visible context in representation space rather than directly reconstructing pixels.
Amreen Hasheem Siraj, Alireza Javanmardi, Pragati Jaiswal, Didier Stricker, and Alain Pagani

(a) Training
Figure 2: Overview of the proposed pipeline. (a) Training: the frozen context encoder and predictor produce hidden-region token embeddings from visible background patches, giving us a spatial prior; a trainable decoder adapter maps this to a dense latent prior that is concatenated with the bridge latent and mask before being fed to the Denoising U-Net. (b) Inference: given a text prompt and input image, a segmentation model generates the removal mask, after which the semantic-prior-conditioned SERO model predicts the clean output in a single forward pass.
3.3.1 Hidden Embedding Predictor. Given the input image , we divide it into a regular patch grid of size . The removal mask is mapped to this grid, producing hidden and visible patch sets:
Let be the resized image fed to the frozen Context Encoder, which produces visible-patch embeddings
The Predictor model then estimates the hidden-region representations from the context embedding, hidden and visible patch sets:
These predicted embeddings form a semantic prior over the content likely to occupy the removed region.
3.3.2 Spatial Prior Construction. To align the semantic prediction with the generative backbone, we scatter the hidden-region embeddings into a complete token grid:
where predicted tokens are placed at hidden locations, and all context locations are set to zero:
Context positions are set to zero to avoid redundancy with the bridge latent and to focus the prior on the missing region.
This representation preserves spatial correspondence with the original image while encoding the predicted structure of the missing region.
3.3.3 Semantic Prior Adaptor. The spatial prior T lies in the ViT embedding space and is not directly compatible with the U-Net input resolution. We therefore introduce a lightweight Semantic Prior Adaptor, denoted by , which maps T into the latent conditioning space:
The adapter uses a convolution to reduce channels from to 128, followed by two bilinear upsampling stages with convolutions, mapping to conditioning channels at the latent resolution . Unlike an image decoder, its goal is not pixel synthesis but translation of semantic predictions into a conditioning tensor.
3.3.4 Conditioning the Generative Model. The semantic feature map is concatenated with the mask conditioning to form the full conditioning signal:
This condition provides both location information, through the mask, and structural guidance, through the semantic prior. The first convolutional layer of the UNet is expanded to accept the additional conditions, while the remaining parameters are initialized from the pretrained SDXL checkpoint [Podell et al. 2024].
3.4 Training Objective
We optimise the standard LBM velocity-matching objective:
where denotes the valid training region derived from the removal mask.
To improve perceptual quality, we further add a multi-scale LPIPS loss [Zhang et al. 2018], following the common use of multi-scale perceptual supervision in image synthesis [Wang et al. 2018]:
where and . This multi-scale perceptual term noticeably improves reconstruction quality over the base LBM objective, especially in structural consistency and local details.
The final loss is
While training, only the diffusion backbone and decoder adapter are updated, while the context encoder and predictor remain frozen.
Inference. At test time, SERO takes the input image together with a removal mask as input. Following [Chadebec et al. 2025], the target latent can be efficiently estimated from an intermediate latent state as
where denotes the predicted target latent, is the frozen SDXL VAE decoder, and is the reconstructed output image.
When a removal mask is unavailable, SERO also supports prompt-driven inference. Specifically, a user-provided text prompt describing the target object is passed, together with the input image, to the prompt-based segmentation method of Ren et al. [Ren et al. 2024] to automatically generate the removal mask. The generated mask is then used as m, after which the standard inference pipeline proceeds unchanged (Fig 2b).
4 Experiments
In this section, we perform extensive experiments to analyse and evaluate our network, SERO. Sec. 4.1 describes the experimental settings, Sec. 4.2 compares SERO with existing methods, and Sec. 4.3 illustrates our ablations.
4.1 Setting
4.1.1 Datasets. We train and evaluate on two object removal benchmarks RORD [Sagong et al. 2022] and OBER [Zhao et al. 2026]. RORD is a large-scale real-world object removal dataset containing training and validation images. Each sample includes an input image, a clean ground-truth image, and a single coarse mask covering both the object and its effect. For evaluation, from the validation split, we select one image per scene as in [Zhao et al. 2026], thereby avoiding duplicates, resulting in 343 samples in the RORD-Val dataset. OBER is an object and effect removal dataset consisting of training and test images (163 samples in OBER-Test split). Each sample includes an input image with one or more objects, a clean ground-truth image, a precise object mask, and a separate object-effect mask that covers both the object and its associated effect (e.g. shadows, reflections). We use the object-effect mask as the removal target, as it encompasses the full extent of the visual artefact to be removed. We train on the OBER training set and RORD training set and report quantitative results on the OBER-Test and RORD-Val set separately.
4.1.2 Implementation Details. We trained our model for 212k iterations with the OBER training dataset and 172k iterations with RORD training dataset on one NVIDIA H200 GPU using a batch size of 16 and a learning rate of 4e-5. We used a pre-trained I-JEPA ViT-H/14 model [Assran et al. 2023] at an input resolution of as a frozen semantic prior. This corresponds to a patch size of and a resulting token grid of . We compare SERO with two groups of baselines: (1) general image inpainting methods: SDXL-Inpainting [Podell et al. 2024], PowerPaint [Zhuang et al. 2024], FLAIR [Erbach et al. 2025] and LBM [Chadebec et al. 2025], (2) object and effect removal methods: OmniEraser [Wei et al. 2025], GeoRemover [Zhu et al. 2025], and ObjectClear [Zhao et al. 2026]. Since pretrained object-removal checkpoints for LBM were not publicly available, we trained the model ourselves on the same data and evaluated it on both benchmarks. General inpainting methods serve as general-purpose baselines for scene completion quality but are not specifically designed to address the full object-effect removal problem; dedicated removal methods explicitly target the complete removal of both objects and their associated visual effects.
4.1.3 Evaluation Metrics. We consider three aspects: image generation quality, masked-region fidelity, and perceptual quality. We assess image generation quality using the Fréchet Inception Distance (FID) [Heusel et al. 2017]. Since our task involves masked region manipulation, which occupies a small portion of the whole image, global FID alone cannot well reflect the generation quality in this region. Therefore, for masked-region fidelity, we report local FID [Xie et al. 2023], foreground MSE (fMSE), and PSNR-FG [Horé and Ziou 2010], each of which are computed only within the masked region. Finally, we use two perceptual metrics: LPIPS [Zhang et al. 2018] and CLIP feature distance [Radford et al. 2021].
4.2 Comparison with State-of-the-Art Methods
4.2.1 Quantitative Evaluation. As shown in Table 1, our method achieves the strongest overall performance on RORD-Val. It obtains the best FID, localFID, fMSE, and CLIP distance, with scores of 26.92, 36.18, 729.24, and 0.0280, respectively. These results show that our
Amreen Hasheem Siraj, Alireza Javanmardi, Pragati Jaiswal, Didier Stricker, and Alain Pagani
Table 1: Quantitative results on RORD-Val and OBER-Test. We report FID, localFID, fMSE, PSNR, LPIPS, and CLIP distance across both benchmark datasets. Bold denotes best and underline denotes second best per column.
| Method | RORD-Val | OBER-Test | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FID | localFID | fMSE | PSNR | LPIPS | CLIP | FID | localFID | fMSE | PSNR | LPIPS | CLIP | |
| PowerPaint (ECCV'24) | 53.81 | 65.34 | 2508.69 | 15.84 | 0.2346 | 0.0715 | 67.37 | 90.98 | 1916.73 | 18.62 | 0.1243 | 0.0409 |
| SDXL (ICLR'24) | 67.18 | 79.72 | 2947.48 | 14.74 | 0.2308 | 0.1101 | 75.44 | 109.50 | 2573.60 | 16.15 | 0.1296 | 0.0579 |
| OmniEraser (arXiv'25) | 46.80 | 51.65 | 1247.13 | 18.62 | 0.1962 | 0.0536 | 54.70 | 54.86 | 883.91 | 21.00 | 0.1783 | 0.0142 |
| GeoRemover (NeurIPS'25) | 27.77 | 42.28 | 792.00 | 21.18 | 0.1009 | 0.0320 | 50.08 | 50.80 | 769.53 | 22.12 | 0.1976 | 0.0670 |
| LBM (ICCV'25) | 43.01 | 60.37 | 1301.02 | 18.45 | 0.1768 | 0.0470 | 29.13 | 54.20 | 477.60 | 23.75 | 0.0824 | 0.0171 |
| FLAIR (NeurIPS'25) | 55.26 | 80.10 | 1846.13 | 17.16 | 0.2488 | 0.0660 | 40.64 | 70.27 | 686.14 | 22.38 | 0.2071 | 0.0244 |
| ObjectClear (CVPR'26) | 33.61 | 50.92 | 1368.08 | 18.65 | 0.1238 | 0.0360 | 18.86 | 44.36 | 588.05 | 23.75 | 0.0342 | 0.0103 |
| Ours | 26.92 | 36.18 | 729.24 | 21.13 | 0.1211 | 0.0280 | 24.39 | 49.67 | 460.58 | 23.93 | 0.0748 | 0.0152 |
method improves both global image realism and local consistency in the edited region. In the mask area, which corresponds to the region that must be regenerated by the model, our method achieves the lowest fMSE and remains highly competitive in PSNR . It also obtains the second-best LPIPS, further indicating strong perceptual quality. Compared with LBM [Chadebec et al. 2025], SERO augments the mask-based spatial conditioning with a predictive semantic prior through concatenation.
We further evaluate on OBER-Test, which includes object removal together with the associated effect removal. Although several baselines are specifically designed for this setting, our method achieves the best mask-region reconstruction accuracy, with the lowest fMSE of 460.58 and the highest PSNR of 23.93. Beyond the masked region, it also maintains strong global and local realism, ranking second in FID, localFID, and LPIPS. Importantly, GeoRemover [Zhu et al. 2025] and ObjectClear [Zhao et al. 2026] require 100 and 20 inference steps, respectively, whereas our model achieves high-quality object-and-effect removal in a single step. This demonstrates that our approach not only produces accurate reconstructions in the generated mask region, but also offers a more efficient balance between visual quality and inference cost.
4.2.2 Qualitative Evaluation. Figs. 3 and 4 show qualitative comparisons with representative object removal methods on RORD-Val and OBER-Test, respectively. Since RORD-Val images are wide-aspect, we arrange that comparison with one method per row and one scene per column, and use the transposed layout for the square OBER-Test images. Existing methods often modify regions outside the target mask or introduce artifacts near the removed object. For example, PowerPaint frequently distorts nearby content, while ObjectClear may over-smooth or alter surrounding structures, as seen in the first row of Fig. 4 and the third column of Fig. 3. In contrast, our method more consistently confines edits to the masked region, reconstructs semantically plausible content, and preserves the unmasked scene.
These results highlight the benefit of incorporating semantic prediction into inpainting. Rather than relying only on low-level texture extrapolation, the predicted semantic prior for the hidden region guides the generator toward content consistent with the visible context. This is especially evident in challenging occlusion cases, such as the bicycle example of Fig. 3, where removing the person requires reconstructing occluded bicycle parts. Compared with competing methods, our approach recovers these structures more coherently.
Similarly, in the OBER-Test examples of Fig. 4, which contain object-induced effects such as reflections and shadows, our model removes both the target object and its associated effect when the corresponding mask is provided, while preserving coherent background content. Overall, these qualitative results indicate that the proposed semantic-guided framework enables context-aware object-and-effect removal with minimal disturbance to unmasked regions.
4.2.3 Efficiency and Run-time Performance. Fig. 5 and Table 2 compare image quality, inference efficiency, runtime, and trainable model size on RORD-Val and a shared 50-sample benchmark. SERO achieves the best FID of 26.92 with a single denoising step, whereas competing methods require 20–100 steps; GeoRemover, for example, reaches the closest FID of 27.77 using 100 steps. All runtime measurements were performed on a single NVIDIA H200 GPU to ensure a common evaluation setting while accommodating the high memory requirements of several competing methods. Under this setup, SERO runs in 0.321 s per sample, making it faster than ObjectClear and faster than GeoRemover, while retaining a compact trainable parameter count. Compared with our LBM backbone, which uses the same architecture and 2.43B trainable parameters but requires four bridge steps and is slower, SERO shows that the semantic prior eliminates iterative refinement without additional runtime overhead, since the frozen prior requires only a single forward pass. This combination of quality and efficiency makes SERO well suited for resource-constrained deployment, including mobile and edge devices.
4.2.4 User Study. Object removal is inherently ill-posed, as multiple visually plausible and semantically consistent completions may exist for the same masked region. Consequently, direct comparison with a single ground-truth image and conventional pixel-or distribution-based metrics may not fully reflect the perceptual quality of the generated result. To complement our quantitative evaluation and obtain a more direct assessment of visual realism and removal quality, we therefore conduct a user study in which participants compare the outputs of SERO with those of competing methods.
In a blind user study, 20 participants evaluated 10 images by comparing object-removal results while viewing the input image with the corresponding mask overlaid. As shown in fig. 6, our
Input+Mask
PowerPaint
OmniEraser
GeoRemover
ObjectClear
SERO (Ours)
GT

Figure 3: Qualitative comparison on RORD-Val. Each row corresponds to one method and each column to one scene. Compared with PowerPaint, OmniEraser, GeoRemover, and ObjectClear, SERO removes the target object while producing the most semantically coherent and artifact-free background completion, closely matching the ground truth.
method achieved the highest perceptual preference, accounting for 63% of the recorded selections, substantially outperforming LBM (14%), GeoRemover (8%), OmniEraser (4.5%), ObjectClear (4.5%), FLAIR (3.5%), SDXL-Inpainting (2%), and PowerPaint (1%). The study suggests that our method produces outputs that are more frequently judged as visually plausible by human observers.
4.3 Ablation Analysis
In this section, we analyse the contribution of key components of our method. We provide ablations on the predictive semantic prior and the number of sampling steps in the main paper, while additional ablations on the loss function and architectural design are included in the supplementary material.
Amreen Hasheem Siraj, Alireza Javanmardi, Pragati Jaiswal, Didier Stricker, and Alain Pagani

Figure 4: Qualitative comparison on OBER-Test. Each column corresponds to one method and each row to one scene. In addition to the object itself, SERO removes the associated visual effects, such as the reflection in the first row, while preserving the surrounding scene; prior methods either leave residual traces of the effect or alter content outside the mask.

Figure 5: Quality-efficiency comparison on the RORD-Val dataset. FID is plotted against the number of denoising steps; lower is better for both axes. SERO achieves the best trade-off, attaining the lowest FID with only a single denoising step.
Table 2: Inference efficiency and model size. SERO achieves the fastest runtime with single-step inference.
| Method | Steps | Median (s) | Slowdown | Trainable (B) |
|---|---|---|---|---|
| LBM | 4 | 0.530 | 1.7× | 2.43 |
| ObjectClear | 20 | 1.442 | 4.5× | 3.79 |
| SDXL-Inpainting | 50 | 2.342 | 7.3× | 3.47 |
| PowerPaint v2 | 45 | 6.549 | 20.4× | 2.08 |
| OmniEraser | 28 | 6.832 | 21.3× | 5.06 |
| FLAIR | 65 | 11.464 | 35.7× | 7.83 |
| GeoRemover | 50+50 | 26.685 | 83.1× | 10.68 |
| Ours | 1 | 0.321 | 1.0× | 2.43 |

Figure 6: User study preference distribution across object-removal methods.
4.3.1 Semantic prior conditioning. Table 3 studies whether the gains from semantic conditioning arise specifically from I-JEPA's predictive objective or simply from concatenating pretrained visual features to the model input. All variants use the same spatial conditioning and feature-concatenation strategy, differing only in the source of the semantic features. Without a semantic prior, SERO obtains an FID of 33.03 and local FID of 43.23. Conditioning on features from CLIP [Radford et al. 2021] or DINOv2 [Oquab et al. 2023] improves performance, confirming that additional semantic representations are beneficial. However, I-JEPA consistently performs best across all metrics, achieving an FID of 28.02 and fMSE of 807.38, compared with FIDs of 29.45 and 29.25 and fMSEs of 867.64 and 878.38 for CLIP and DINOv2, respectively. This suggests that the improvement is not solely due to providing richer visual features. Unlike CLIP and DINOv2, which primarily encode visible image content, I-JEPA explicitly learns to predict the semantic representation of a hidden region from its surrounding context, closely matching the object-removal setting in which the model must infer what should plausibly occupy the masked area. The qualitative comparisons in Fig. 7 reinforce the quantitative results, showing that I-JEPA conditioning produces fewer removal artifacts and more semantically coherent completions than the alternative feature extractors.
Input
Visible context
w/o Semantic prior
Ours

Figure 7: Qualitative effect of the semantic prior. Compared with the baseline, SERO produces more contextually coherent completions by conditioning bridge matching on the predicted hidden-region structure.
Table 3: Semantic prior ablation. I-JEPA outperforms CLIP and DINOv2 conditioning across all metrics.
| Semantic Conditioning | FID↓ | localFID↓ | fMSE↓ | PSNR↑ | SSIM (%)↑ |
|---|---|---|---|---|---|
| Base (no semantic prior) | 33.03 | 43.23 | 966.39 | 21.47 | 67.32 |
| Base + CLIP features | 29.45 | 40.19 | 867.64 | 21.85 | 67.49 |
| Base + DINOv2 features | 29.25 | 40.14 | 878.38 | 21.84 | 67.42 |
| Base + I-JEPA predictive prior (Ours) | 28.02 | 37.95 | 807.38 | 22.13 | 67.66 |
4.3.2 Number of inference steps. We evaluate SERO with 1 through 4 inference steps on the validation set in Table 4. A single step gives the best overall performance, achieving the best FID, fMSE, PSNR, and SSIM, while two steps improve localFID by only a small fraction of 0.03. Additional steps do not improve quality and often degrade it.
SERO achieves its best accuracy–efficiency trade-off in one forward pass, suggesting that the semantic prior reduces the need for iterative refinement. By contrast, DDIM-based diffusion [Podell et al. 2024; Zhao et al. 2026; Zhu et al. 2025; Zhuang et al. 2024] models typically require at least 20 sampling steps to reach their best quality.
Table 4: Effect of inference steps. One-step inference provides the best accuracy–efficiency trade-off, with additional steps yielding no consistent gains.
| Number of Steps | FID↓ | localFID↓ | fMSE↓ | PSNR↑ | SSIM(%)↑ |
|---|---|---|---|---|---|
| 1 (ours) | 28.02 | 37.95 | 807.38 | 22.13 | 67.66 |
| 2 | 28.67 | 37.92 | 853.08 | 21.94 | 67.25 |
| 3 | 40.34 | 58.28 | 929.65 | 21.92 | 67.11 |
| 4 | 31.25 | 40.63 | 924.70 | 21.69 | 66.78 |
5 Limitations
While our model achieves strong object-removal performance, its reliability depends on the quality of the input mask and the segmentation model used to obtain it. Inaccurate or coarse masks can remove useful context or leave foreground remnants, making realistic completion harder. Performance may also degrade when the removed object covers a large region, requiring the model to hallucinate uncertain content from limited evidence. Finally, occluded text remains challenging because it requires exact reconstruction; plausible completions may still fail to preserve the correct characters or wording.
6 Conclusion
We introduced SERO, a predictive semantic-prior bridge matching framework for semantic object removal and context-aware image inpainting. By combining contextual semantic prediction with an efficient latent bridge-matching backbone, our model infers plausible missing content while removing target objects and their associated visual effects, including shadows, reflections, and occlusion artifacts. Guided by the predicted semantic prior, our method produces photorealistic and semantically coherent completions in as few as one generation step. Extensive experiments demonstrate strong quantitative and qualitative performance, highlighting SERO's potential for practical, robust, and semantically aware object removal.
Acknowledgments
This work has been partially funded by the EU projects VICTOR-XR (GA: Nr 101298864) and SUBLIMITY (GA: Nr 101294363).
References
Mahmoud Assran, Quentin Duval, Ishan Misra, Piotr Bojanowski, Pascal Vincent, Michael Rabbat, Yann LeCun, and Nicolas Ballas. 2023. Self-supervised learning from images with a joint-embedding predictive architecture. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 15619–15629.
Omri Avrahami, Dani Lischinski, and Ohad Fried. 2022. Blended Diffusion for Text-Driven Editing of Natural Images. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Clément Chadebec, Onur Tasar, Sanjeev Sreetharan, and Benjamin Aubin. 2025. Lbm: Latent bridge matching for fast image-to-image translation. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 29086–29098.
Zhekai Chen, Wen Wang, Zhen Yang, Zeqing Yuan, Hao Chen, and Chunhua Shen. 2024. FreeCompose: Generic Zero-Shot Image Composition with Diffusion Prior. In Proceedings of the European Conference on Computer Vision.
Amreen Hasheem Siraj, Alireza Javanmardi, Pragati Jaiswal, Didier Stricker, and Alain Pagani
Yigit Ekin, Ahmet Burak Yildirim, Erdem Eren Caglar, Aykut Erdem, Erkut Erdem, and Aysegul Dundar. 2024. CLIPAway: Harmonizing Focused Embeddings for Removing Objects via Diffusion Models. In Advances in Neural Information Processing Systems.
Julius Erbach, Dominik Narnhofer, Andreas Dombos, Bernt Schiele, Jan Eric Lenssen, and Konrad Schindler. 2025. Solving Inverse Problems with FLAIR. In Advances in Neural Information Processing Systems, Vol. 38. 136667–136704.
Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, et al. 2024. Scaling rectified flow transformers for high-resolution image synthesis. In Forty-first international conference on machine learning.
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. 2014. Generative adversarial nets. Advances in Neural Information Processing Systems 27 (2014).
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. 2017. GANs trained by a two time-scale update rule converge to a local Nash equilibrium. In Advances in Neural Information Processing Systems.
Jonathan Ho, Ajay Jain, and Pieter Abbeel. 2020. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems 33 (2020), 6840–6851.
Alain Horé and Djemel Ziou. 2010. Image Quality Metrics: PSNR vs. SSIM. In 2010 20th International Conference on Pattern Recognition. IEEE, 2366–2369.
Yueru Jia, Yuhui Yuan, Aosong Cheng, Chuke Wang, Ji Li, Huizhu Jia, and Shanghang Zhang. 2025. DesignEdit: Multi-Layered Latent Decomposition and Fusion for Unified and Accurate Image Editing. In Proceedings of the AAAI Conference on Artificial Intelligence.
Longtao Jiang, Zhendong Wang, Jianmin Bao, Wengang Zhou, Dongdong Chen, Lei Shi, Dong Chen, and Houqiang Li. 2025. SmartEraser: Remove Anything from Images using Masked-Region Guidance. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Xuan Ju, Xian Liu, Xintao Wang, Yuxuan Bian, Ying Shan, and Qiang Xu. 2024. BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusion. In Proceedings of the European Conference on Computer Vision.
Black Forest Labs, Stephen Batifol, Andreas Blattmann, Frederic Boesel, Saksham Consul, Cyril Diagne, Tim Dockhorn, Jack English, Zion English, Patrick Esser, et al. 2025. FLUX. 1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Space. arXiv preprint arXiv:2506.15742 (2025).
Ruibin Li, Tao Yang, Song Guo, and Lei Zhang. 2025. RORem: Training a Robust Object Remover with Human-in-the-Loop. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. 2022. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747 (2022).
Hongyu Liu, Bin Jiang, Yibing Song, Wei Huang, and Chao Yang. 2020. Rethinking Image Inpainting via a Mutual Encoder-Decoder with Feature Equalizations. In Proceedings of the European Conference on Computer Vision.
Yi Liu, Wengen Li, Jihong Guan, Shuigeng Zhou, and Yichao Zhang. 2025a. Effective cloud removal for remote sensing images by an improved mean-reverting denoising model with elucidated design space. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 17851–17861.
Yi Liu, Hao Zhou, Wenxiang Shang, Ran Lin, and Benlei Cui. 2025b. Erase Diffusion: Empowering Object Removal through Calibrating Diffusion Pathways. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Andreas Lugmayr, Martin Danelljan, Andres Romero, Fisher Yu, Radu Timofte, and Luc Van Gool. 2022. RePaint: Inpainting using Denoising Diffusion Probabilistic Models. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Chenlin Meng, Yutong He, Yang Song, Jiaming Song, Jiajun Wu, Jun-Yan Zhu, and Stefano Ermon. 2021. SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations. arXiv preprint arXiv:2108.01073 (2021).
Kamyar Nazeri, Eric Ng, Tony Joseph, Faisal Qureshi, and Mehran Ebrahimi. 2019. EdgeConnect: Structure Guided Image Inpainting using Edge Prediction. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) Workshops.
Maxime Oquab, Timothee Darcet, Theo Mrazek, et al. 2023. DINov2: Learning Robust Visual Features without Supervision. arXiv preprint arXiv:2304.07193 (2023).
Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A. Efros. 2016. Context Encoders: Feature Learning by Inpainting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
William Peebles and Saining Xie. 2023. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF international conference on computer vision. 4195–4205.
Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann, Tim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach. 2024. SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis. In The Twelfth International Conference on Learning Representations.
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. 2021. Learning transferable visual models from natural language supervision. In International conference on machine learning. PMLR, 8748–8763.
Tianhe Ren, Shilong Liu, Ailing Zeng, Jing Lin, Kunchang Li, He Cao, Jiayu Chen, Xinyu Huang, Yukang Chen, Feng Yan, et al. 2024. Grounded sam: Assembling open-world models for diverse visual tasks. arXiv preprint arXiv:2401.14159 (2024).
Yurui Ren, Xiaoming Yu, Ruonan Zhang, Thomas H. Li, Shan Liu, and Ge Li. 2019. StructureFlow: Image Inpainting via Structure-Aware Appearance Flow. In Proceedings of the IEEE International Conference on Computer Vision.
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. 2022. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 10684–10695.
Min-Cheol Sagong, Yoon-Jae Yeo, Seung-Won Jung, and Sung-Jea Ko. 2022. RORD: A Real-world Object Removal Dataset. In Proceedings of the British Machine Vision Conference (BMVC).
Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. 2020. Score-Based Generative Modeling through Stochastic Differential Equations. arXiv preprint arXiv:2011.13456 (2020).
Wenhao Sun, Benlei Cui, Xue-Mei Dong, and Jingqun Tang. 2025. Attentive Eraser: Unleashing Diffusion Model's Object Removal Potential via Self-Attention Redirection Guidance. In Proceedings of the AAAI Conference on Artificial Intelligence.
Roman Suvorov, Elizaveta Logacheva, Anton Mashikhin, Anastasia Remizova, Arsenii Ashukha, Aleksei Silvestrov, Naejin Kong, Harshith Goka, Kiwoong Park, and Victor Lempitsky. 2022. Resolution-robust large mask inpainting with fourier convolutions. In Proceedings of the IEEE/CVF winter conference on applications of computer vision. 2149–2159.
Meilin Wang, Yexing Song, Pengxu Wei, Xiaoyu Xian, Yukai Shi, and Liang Lin. 2024. IDF-CR: Iterative diffusion process for divide-and-conquer cloud removal in remote-sensing images. IEEE Transactions on Geoscience and Remote Sensing 62 (2024), 1–14.
Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. 2018. High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Yikai Wang, Chenjie Cao, Junqiu Yu, Ke Fan, Xiangyang Xue, and Yanwei Fu. 2025. Towards Enhanced Image Inpainting: Mitigating Unwanted Object Insertion and Preserving Color Consistency. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Runpu Wei, Zijin Yin, Shuo Zhang, Lanxiang Zhou, Xueyi Wang, Chao Ban, Tianwei Cao, Hao Sun, Zhongjiang He, Kongming Liang, and Zhanyu Ma. 2025. OmniEraser: Remove Objects and Their Effects in Images with Paired Video-Frame Data. arXiv preprint arXiv:2501.07397 (2025).
Shaoan Xie, Zhifei Zhang, Zhe Lin, Tobias Hinz, and Kun Zhang. 2023. SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Model. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 22428–22437.
Jiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen, Xin Lu, and Thomas S Huang. 2018. Generative image inpainting with contextual attention. In Proceedings of the IEEE conference on computer vision and pattern recognition. 5505–5514.
Yongsheng Yu, Ziyun Zeng, Haitian Zheng, and Jiebo Luo. 2025. OmniPaint: Mastering Object-Oriented Editing via Disentangled Insertion-Removal Inpainting. In Proceedings of the IEEE International Conference on Computer Vision.
Yanhong Zeng, Jianlong Fu, Hongyang Chao, and Baining Guo. 2019. Learning Pyramid-Context Encoder Network for High-Quality Image Inpainting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. 2018. The unreasonable effectiveness of deep features as a perceptual metric. In 2018 IEEE/CVF conference on computer vision and pattern recognition. IEEE, 586–595.
Jixin Zhao, Zhouxia Wang, Peiqing Yang, and Shangchen Zhou. 2026. Precise Object and Effect Removal with Adaptive Target-Aware Attention. In CVPR.
Zixin Zhu, Haoxiang Li, Xuelu Feng, He Wu, Chunming Qiao, and Junsong Yuan. 2025. GeoRemover: Removing Objects and Their Causal Visual Artifacts. In Advances in Neural Information Processing Systems.
Junhao Zhuang, Yanhong Zeng, Wenran Liu, Chun Yuan, and Kai Chen. 2024. A Task is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpainting. In Proceedings of the European Conference on Computer Vision.