LensErase

A Foundation Model for Erase Anything

An image. A mask. A clean result.
Remove objects, text, watermarks, and their associated effects.

Yunuo Chen1,*Xiuyu Wu2,*Qinhong Yang3Jinjing Zhao4Yanchen Dong5Sirui Zhang3Dong Chen6,‡Fangyun Wei6,†Lei Shi6Ji Li6Dongdong Chen6Guo Lu1,†Yan Lu6Baining Guo6
1 Shanghai Jiao Tong University2 Nankai University3 USTC4 University of Sydney5 Peking University6 Microsoft

* Equal contribution† Corresponding authors‡ Project lead

Star LensErase

THE DATA BEHIND LENSERASE

LensErase-100M

LensErase-100M provides aligned input–mask–target triplets across five categories.

101.07M

LensErase-100M

Paired pretraining examples

General77.6M
Watermark9.99M
Large mask4.02M
Visual text1.44M
Poster8.02M
140K

SFT samples

Higher-resolution pairs screened by GPT-5.6 Sol for mask validity, edit correctness, reconstruction, and preservation.

19K

RL samples

Curated image–mask samples across general images, posters, watermarks, and visual text, with domain-specific reward supervision.

EVALUATING THE INTENDED EDIT

LensErase-Bench

Removal can have more than one valid completion. Our 500-case benchmark evaluates outputs from the source image and mask, without requiring a paired ground-truth target.

200 General100 Poster100 Watermark100 Visual text

GPT-5.6 Sol judges four complementary dimensions.

Removal

Complete removal of the targets and associated effects.

40% of Overall

Inpainting

Plausible completion consistent with the surrounding context.

20% of Overall

Preservation

Retention of non-target objects, structures, and content.

20% of Overall

Cleanliness

Absence of visible artifacts and unrelated additions.

20% of Overall
HiFi Removal

A successful case achieves Removal = 4 and all other dimensions ≥ 3 on the original 0–4 scale.

Image Credits

Image sources are linked in the previews.

PhotographyPexels · Wikimedia Commons

DatasetsCrello · EntitySeg · UHRSD · HRS10K

Wikimedia Commons credits

    Synthetic watermarks were added to these source images; model-generated removal outputs are also shown.

    Selection overlays and outputs are edits. These examples do not imply endorsement by the people depicted.

    Click to zoom. Drag to pan.