LensErase: A Foundation Model for Erase Anything
cs.CV
Submitted: 2026-10-13
Updated: 2026-10-13
Comments: LensFamily Technical Report. Project page: https://lensfamily.github.io/LensErase/
Code: https://github.com/zjx0101/ObjectClear
Project page: https://lensfamily.github.io/LensErase
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
The gist: We introduce LensErase, a general-purpose mask-based Erase Anything foundation model designed to cover a broad spectrum of real-world erase scenarios.
Terminology
Abstract
We introduce LensErase, a general-purpose mask-based Erase Anything foundation model designed to cover a broad spectrum of real-world erase scenarios. LensErase supports diverse objects, visual text, watermarks, associated visual effects, multiple-object removal, and a wide range of object scales, aspect ratios, and image resolutions. First, to enable such broad coverage, we construct LensErase-100M, a large-scale dataset containing 101.07 million paired source-mask-target examples spanning diverse erase scenarios. Second, we pretrain LensErase from the text-to-image model Lens, adapting its strong generative prior to mask-based erasing. To efficiently incorporate the source image and erase mask, we propose Mask-Aware RoPE, a 3D rotary positional encoding that directly injects mask information into the source-image tokens without introducing a separate mask token sequence. Finally, we refine the model through supervised fine-tuning and reinforcement learning with contract-guided, region-aware rewards, and apply TraceFusion at inference to preserve high-fidelity content outside the effective edit region. Across six public benchmarks and the proposed LensErase-Bench, LensErase achieves substantial improvements under both reference-based objective metrics and reference-free VLM evaluation. We hope LensErase can serve as a foundational model for erase-related applications and systems.
Sources
- OmniEraser: Remove Objects and Their Effects in Images with Paired Video-Frame Data
- Lens: Rethinking Training Efficiency for Foundational Text-to-Image Models
- DINOv3
- SAM 2: Segment Anything in Images and Videos
- PaddleOCR 3.0 Technical Report
- Flow Matching for Generative Modeling
- LoRA: Low-Rank Adaptation of Large Language Models
- DORS: Dynamic Attention Routing for Diffusion-based Object Removal in Dense Scenes
- PANDORA: Pixel-wise Attention Dissolution and Latent Guidance for Zero-Shot Object Removal
- Denoising Diffusion Implicit Models
- Inst-Inpaint: Instructing to Remove Objects with Diffusion Models
- Magicremover: Tuning-free Text-guided Image inpainting with Diffusion Models
- ClickRemoval: An Interactive Open-Source Tool for Object Removal in Diffusion Models
- EraseLoRA: MLLM-Driven Foreground Exclusion and Background Subtype Aggregation for Dataset-Free Object Removal
- VibeEdit: Image Editing with Canvas Instructions
- FreeStyle: Free Control of Style-Content Dual-Reference Generation from Community LoRA Mining
- iMontage: Unified, Versatile, Highly Dynamic Many-to-many Image Generation
- CPAM: Context-Preserving Adaptive Manipulation for Zero-Shot Real Image Editing
Related papers
- Loss Knows Best: Detecting Annotation Errors in Videos via Loss Trajectories
- AnchorWeave: World-Consistent Video Generation with Retrieved Local Spatial Memories
- Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
- MambaX-Net: Dual-Input Mamba-Enhanced Cross-Attention Network for Longitudinal MRI Segmentation
- TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
- A Survey on Efficient Vision-Language-Action Models