← Latest papers
💻 computer science

ClickRemoval: An Interactive Open-Source Tool for Object Removal in Diffusion Models

ClickRemoval is an open-source, interactive tool that enables precise object removal and natural background restoration in complex scenes using only user clicks and pretrained Stable Diffusion models, eliminating the need for manual masks, text prompts, or additional training.

Original authors: Ledun Zhang, Yatu Ji, Xufei Zhuang, Xinying Yao

Published 2026-05-15
📖 4 min read☕ Coffee break read

Original authors: Ledun Zhang, Yatu Ji, Xufei Zhuang, Xinying Yao

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a photo with an unwanted guest in it—maybe a stranger in the background, a trash can in a beautiful landscape, or a messy object on your dining table. Usually, to get rid of them, you have to use photo editing software to carefully "paint over" the object with a brush, tracing its outline pixel by pixel. This is like trying to cut a specific shape out of a piece of paper with a dull knife; it takes a long time, requires a steady hand, and if you miss a spot, the cut looks jagged and ugly.

ClickRemoval is a new, free tool that changes the game. Instead of painting a mask, you just click on the object you want to remove. That's it. One click, and the computer figures out exactly what to delete and what to keep, then magically fills in the empty space with a realistic background.

Here is how it works, using some simple analogies:

1. The "Click-to-Map" Translator (M2N2)

When you click on an object, the tool doesn't just see a dot; it understands the concept of that object.

  • The Analogy: Imagine you drop a pebble into a pond. The ripples spread out, showing you exactly how far the water reaches. ClickRemoval does something similar. It uses a "ripple effect" (called a semantic distance map) to figure out exactly where the object ends and the background begins, even if the object has a weird shape or is partially hidden. It turns your single click into a detailed map of the object without you having to draw a single line.

2. The "Attention Switch" (SGAR & SGAS)

Once the tool knows what the object is, it needs to tell the AI model, "Ignore this part, and focus on the background."

  • The Analogy: Think of the AI model as a painter who is very focused on the whole picture. Usually, the painter looks at everything equally. ClickRemoval acts like a spotlight operator.
    • SGAR (The Spotlight): It dims the lights on the object you clicked (telling the painter, "Don't paint this") and brightens the lights on the background (telling the painter, "Fill this in with what belongs here").
    • SGAS (The Dimmer Switch): If you keep the lights dimmed on the object the whole time, the painting might look weird or unnatural. So, this part acts like a dimmer switch. It turns the "ignore" signal on strong at the beginning, then slowly fades it out as the painting gets closer to finished. This ensures the background looks natural and not forced.

3. The "Blending Chef" (ARG)

Finally, the tool needs to decide how much of the "new" background to mix with the "old" original image.

  • The Analogy: Imagine you are making a smoothie. You have the original fruit (the background) and a new flavor (the AI's guess). ARG is the chef who decides the perfect ratio. If you want a result that looks very close to the original photo, the chef adds a little new flavor. If you want a complete transformation, the chef adds more. This gives you control over how strong the removal effect is.

Why is this a big deal?

Most other tools are like professional chefs who require a specific recipe (text prompts) and a pre-prepared ingredient list (manual masks) before they can cook. They also often need to go to culinary school (additional training) to learn how to handle specific ingredients.

ClickRemoval is like a smart kitchen assistant that works with any recipe you already have.

  • No Training Needed: It works right out of the box with existing AI models. You don't need to teach it anything new.
  • No Masks or Text: You don't need to draw outlines or type "remove the dog." Just click.
  • Open Source: The creators have shared the entire "recipe book" (code, instructions, and tools) for free, so anyone can use it or build upon it.

The Results

The creators tested this tool against other top-tier photo editors.

  • Quality: In tests, the photos it produced looked just as good as, or better than, the complex methods that require masks and text.
  • User Preference: When regular people (non-experts) looked at the results, they preferred ClickRemoval the most. They found it easier to use and the results looked more natural.
  • Versatility: It works on different types of photos, from simple 512x512 images to high-definition 1024x1024 images, and even handles tricky situations like removing a dog that is hiding behind a fence (using "negative clicks" to tell the tool, "Don't remove the fence, just the dog").

In short, ClickRemoval takes the hard work of photo editing and turns it into a simple "point-and-click" experience, making professional-level object removal accessible to anyone with a computer.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →