← Latest papers
💻 computer science

Orthogonal Negative Guidance in Attention Feature Space for Text-to-Image Generation

This paper proposes Orthogonal Negative Guidance, a training-free method for text-to-image generation that suppresses unwanted concepts by orthogonalizing negative-prompt attention features relative to positive ones, thereby achieving superior concept removal while preserving image quality and prompt alignment.

Original authors: Jungmin Ko, Jungwon Park, Jimyeong Kim, Changin Choi, Wonseok Lee, Wonjong Rhee

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

Original authors: Jungmin Ko, Jungwon Park, Jimyeong Kim, Changin Choi, Wonseok Lee, Wonjong Rhee

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 are a master chef (the AI) who is incredibly talented at cooking dishes based on a recipe (the text prompt). You can make a "bowl of ramen" look delicious, but there's a problem: every time you make ramen, you automatically add a boiled egg, even if the customer didn't ask for it.

If you simply tell the chef, "No eggs!" (a negative prompt), the chef might get confused and accidentally put more eggs in, or they might ruin the whole dish trying to avoid the eggs. This is the current struggle with AI image generators: telling them what not to include is surprisingly hard.

This paper introduces a new, clever technique called Orthogonal Negative Guidance. Here is how it works, using simple analogies:

1. The Problem: The "Clumsy Eraser"

Current methods for removing unwanted things (like "eggs" from "ramen") are like using a giant, clumsy eraser on a drawing.

  • The "Prompt Negation" approach: You just say "No eggs." The AI often ignores you or gets confused.
  • The "Subtraction" approach: Some methods try to subtract the "egg" idea from the "ramen" idea. But imagine if the "egg" and the "ramen" were written in the same ink. If you try to erase the word "egg," you might accidentally erase parts of the word "ramen" too, leaving you with a blurry, broken picture.

2. The Solution: The "Smart Filter" (Orthogonal Negative Guidance)

The authors propose a method that acts like a smart filter or a specialized sieve. Instead of blindly erasing, it looks at the "ingredients" (mathematical features) the AI is using to build the image.

  • The Setup: The AI is building the image using two streams of information:

    1. The Positive Stream: "Make a bowl of ramen."
    2. The Negative Stream: "Do not make an egg."
  • The Magic Trick (Orthogonalization):
    Imagine the "Ramen" stream is a vector (an arrow) pointing in a specific direction. The "No Egg" stream is another arrow.

    • Sometimes, the "No Egg" arrow points in a direction that overlaps with the "Ramen" arrow. If you just subtract the "No Egg" arrow, you mess up the "Ramen."
    • This new method calculates the "No Egg" arrow and rotates it so it is perfectly perpendicular (at a 90-degree angle) to the "Ramen" arrow.
    • It then only removes the part of the "No Egg" arrow that sticks out sideways (the part that doesn't overlap with the ramen).

The Analogy: Think of the "Ramen" as a red light beam and the "Egg" as a blue light beam. They are shining on the same wall.

  • Old methods try to turn off the blue light, but in doing so, they dim the red light too.
  • This new method finds the part of the blue light that is not shining on the red light, and only blocks that specific part. The red light (the ramen) stays bright and clear, while the blue light (the egg) is completely blocked.

3. What This Achieves

Because this method is so precise, it can do things other methods can't:

  • Multi-Concept Suppression: You can tell the AI to remove both the "egg" and the "chopsticks" at the same time, and it will handle both without ruining the bowl of ramen.
  • Adjustable Strength: You can turn a "dial" to decide how much you want to suppress the egg. You can go from "maybe no egg" to "definitely no egg" without the image turning into garbage.
  • No Re-training: The best part is that this doesn't require re-teaching the AI. It's a "plug-and-play" trick applied while the image is being made.

4. The Results

The authors tested this on a benchmark called DCS-Bench (Diverse Concept Suppression Benchmark), which is like a test with 200 different scenarios (e.g., "a doctor" without a "stethoscope," or "a living room" without a "sofa").

  • The Score: In human tests, people preferred this new method over the next best option by nearly 19%.
  • The Quality: The images didn't get blurry or weird. The "ramen" still looked like ramen, just without the unwanted "egg."

Summary

In short, this paper solves the problem of "telling an AI what not to draw" by using a mathematical trick to separate the "bad" ideas from the "good" ideas before they get mixed together. It's like having a bouncer at a club who knows exactly how to stop the unwanted guest (the egg) from entering without accidentally kicking out the VIP (the ramen).

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 →