← Latest papers
💻 computer science

ScaleErasure: Inference-Time Minimal Intervention for Precise Concept Erasure in Next-Scale Autoregressive Image Generation

This paper introduces ScaleErasure, an inference-time method that achieves precise concept erasure in next-scale autoregressive image generation by performing minimal, multi-dimensional intervention on logits to disentangle unsafe semantics from highly compressed early-scale representations.

Original authors: Cong Wang, Haiyu Wu, Zhiwei Jiang, Zifeng Cheng, Fei Shen, Yafeng Yin, Qing Gu

Published 2026-06-30
📖 5 min read🧠 Deep dive

Original authors: Cong Wang, Haiyu Wu, Zhiwei Jiang, Zifeng Cheng, Fei Shen, Yafeng Yin, Qing Gu

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 very talented artist who can draw anything you describe. However, this artist sometimes takes your instructions too literally and draws things that are inappropriate, copyrighted, or just plain unsafe. You want to stop them from drawing those specific bad things without turning off their creativity for everything else.

This paper introduces a new tool called ScaleErasure to solve this problem, specifically for a new type of "next-generation" image generator.

Here is the breakdown using simple analogies:

1. The Problem: The "Blurry Sketch" Dilemma

Most image generators work like a sculptor chipping away at a block of stone, or a painter adding details layer by layer. But this new type of generator (called Next-Scale Autoregressive) works differently.

Imagine the artist starts by drawing a tiny, 1x1 pixel dot, then a 2x2 grid, then a 4x4 grid, and so on, getting bigger and more detailed with each step.

  • The Issue: In the early, tiny steps (the "low scales"), the artist has to cram a huge amount of information into just a few pixels. It's like trying to describe a whole beach scene, including a specific person's swimsuit, using only four pixels.
  • The Entanglement: Because the pixels are so small, the "unsafe" part of the image (like nudity) gets mixed up with the "safe" part (like the sky or sand). They are tangled together in the same tiny pixel. If you try to erase the nudity, you might accidentally erase the sky too, ruining the whole picture.

2. The Solution: The "Precision Scalpel" (ScaleErasure)

Instead of trying to retrain the artist (which is slow and expensive) or editing their brain (which is risky), ScaleErasure acts as a smart editor who steps in while the artist is drawing.

It uses a "minimal intervention" strategy. It doesn't stop the artist; it just whispers a correction to the specific parts of the drawing that need it.

Here is how it works in three steps:

Step A: Zooming in on the Right Time (Scale Selection)

The editor knows that the artist is most confused during the middle stages of drawing—when the image is getting bigger but isn't fully detailed yet.

  • The Strategy: The editor ignores the very first tiny dots (too important to mess with) and the very last high-definition details (too late to change the main idea). They only step in during the "sweet spot" of the middle scales. This saves a lot of time and computing power.

Step B: Finding the Right Pixels (Token Selection)

The editor needs to know which pixels are the problem.

  • The Strategy: The editor asks the artist, "If I asked you to draw a 'nude person' instead of 'a person in a swimsuit,' which pixels would change?"
  • By comparing the drawing of the unsafe concept against the safe concept, the editor creates a map. They only touch the pixels that are actually responsible for the unsafe content, leaving the background (like the beach or sky) completely alone.

Step C: The Fine-Tuning (Bit-Channel Selection)

This is the most clever part. Remember how the pixels are tiny? Even inside one single pixel, there are multiple "layers" of information (like different color channels).

  • The Strategy: Sometimes, one pixel contains both "skin" (unsafe) and "sand" (safe) mixed together. The editor is smart enough to look inside that pixel. They only erase the specific "layer" that holds the skin information, while keeping the "layer" that holds the sand information intact. It's like removing the red paint from a mixed-color dot without removing the yellow paint.

3. The Result: A Clean Drawing, No Mess

The paper tested this method on two main problems:

  1. Nudity: Stopping the generator from drawing inappropriate body parts.
  2. Copyright: Stopping the generator from drawing specific characters like Pikachu or SpongeBob.

The Findings:

  • Better Safety: ScaleErasure was much better at removing the bad stuff than other methods.
  • Better Quality: Because it only touched the specific "bad" parts and left the rest alone, the final images still looked high-quality and kept the background scenery intact. Other methods often made the images look distorted or weird.
  • Efficiency: By only working during the middle stages of the drawing process, it didn't slow things down too much.

Summary Analogy

Imagine you are writing a story, but you accidentally type a swear word in the middle of a beautiful paragraph.

  • Old methods might try to rewrite the whole story from scratch (Fine-tuning) or delete the whole paragraph (Blind erasure).
  • ScaleErasure is like a spell-checker that knows exactly which letter is the swear word. It swaps just that one letter for a nice word, leaving the rest of the sentence, the paragraph, and the story perfectly intact.

The paper concludes that this "minimal intervention" approach is the best way to keep these powerful new image generators safe without breaking their ability to create beautiful art.

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 →