# LensErase: A Foundation Model for Erase Anything

arXiv: https://arxiv.org/abs/2610.18072 · HTML: https://mlsanity.com/paper/2610.18072/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 19 of its 81 references that are in the map.
- Submitted 13 Oct 2026.

## Builds on (most cited first, 19 of 19)

- [LoRA: Low-Rank Adaptation of Large Language Models](https://mlsanity.com/paper/2106.09685/) (2021)
- [Denoising Diffusion Implicit Models](https://mlsanity.com/paper/2010.02502/) (2020)
- [Flow Matching for Generative Modeling](https://mlsanity.com/paper/2210.02747/) (2022)
- [SAM 2: Segment Anything in Images and Videos](https://mlsanity.com/paper/2408.00714/) (2024)
- [DINOv3](https://mlsanity.com/paper/2508.10104/) (2025)
- [PaddleOCR 3.0 Technical Report](https://mlsanity.com/paper/2507.05595/) (2025)
- [Inst-Inpaint: Instructing to Remove Objects with Diffusion Models](https://mlsanity.com/paper/2304.03246/) (2023)
- [OmniEraser: Remove Objects and Their Effects in Images with Paired Video-Frame Data](https://mlsanity.com/paper/2501.07397/) (2025)
- [Magicremover: Tuning-free Text-guided Image inpainting with Diffusion Models](https://mlsanity.com/paper/2310.02848/) (2023)
- [iMontage: Unified, Versatile, Highly Dynamic Many-to-many Image Generation](https://mlsanity.com/paper/2511.20635/) (2025)
- [Lens: Rethinking Training Efficiency for Foundational Text-to-Image Models](https://mlsanity.com/paper/2605.21573/) (2026)
- [CPAM: Context-Preserving Adaptive Manipulation for Zero-Shot Real Image Editing](https://mlsanity.com/paper/2506.18438/) (2025)
- [PANDORA: Pixel-wise Attention Dissolution and Latent Guidance for Zero-Shot Object Removal](https://mlsanity.com/paper/2603.27555/) (2026)
- [DORS: Dynamic Attention Routing for Diffusion-based Object Removal in Dense Scenes](https://mlsanity.com/paper/2607.16656/) (2026)
- [EraseLoRA: MLLM-Driven Foreground Exclusion and Background Subtype Aggregation for Dataset-Free Object Removal](https://mlsanity.com/paper/2512.21545/) (2025)
- [ClickRemoval: An Interactive Open-Source Tool for Object Removal in Diffusion Models](https://mlsanity.com/paper/2605.14461/) (2026)
- [FreeStyle: Free Control of Style-Content Dual-Reference Generation from Community LoRA Mining](https://mlsanity.com/paper/2606.20506/) (2026)
- [PredErase: Training-Free Object-and-Effect Removal with Predictive Latent Guidance](https://mlsanity.com/paper/2609.00956/) (2026)
- [VibeEdit: Image Editing with Canvas Instructions](https://mlsanity.com/paper/2610.12229/) (2026)

## Abstract (arXiv)

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.
