Abstract
Recent advances in diffusion distillation have enabled high-quality image generation in a single step. However, these models often lack the controllability of their multi-step counterparts, particularly regarding negative prompting. This paper introduces the SNOOPI framework, featuring Negative-Away Steer Attention (NASA), a novel method that enables effective negative guidance in one-step and few-step models. By shifting guidance from the output image space to intermediate cross-attention layers, NASA eliminates common artifacts like "ghosting" while achieving state-of-the-art performance with minimal computational overhead.
Introduction: The Speed-Controllability Trade-off
Diffusion models have transformed the landscape of AI-driven image synthesis. Despite their success, the iterative sampling process required for high-quality results remains computationally expensive and slow. To address this, researchers have developed distillation techniques—such as SwiftBrushv2 (SBv2)—to collapse multi-step processes into efficient one-step generators.
While these one-step models excel in speed, they have historically sacrificed a critical feature: negative prompting. In traditional models, negative prompts allow users to specify what should not appear in an image (e.g., "no humans," "not blurry"). This is typically achieved through Classifier-Free Guidance (CFG). However, applying CFG to one-step models results in severe quality degradation, as the model attempts to blend conflicting noise predictions in a single pass.
The Problem with One-Step CFG
In multi-step models, CFG iteratively nudges the latent representation away from the negative concept. In a one-step setting, this iterative refinement is absent. When a user provides a negative prompt, the model essentially tries to subtract the negative noise from the positive noise in one go. This often leads to "ghosting" artifacts—where suppressed elements appear as faint, transparent overlays—and washed-out colors.
Negative-Away Steer Attention (NASA)
To overcome these limitations, the researchers propose Negative-Away Steer Attention (NASA). The fundamental insight is that "steering" the model is more effective in the representation space (intermediate layers) than in the final output space.
How it Works
NASA intervenes at the cross-attention layers, where the model maps textual tokens to image features. Instead of comparing final noise predictions, NASA calculates two distinct attention outputs:
- Positive Attention ($Z^+$): Derived from the positive prompt features.
- Negative Attention ($Z^-$): Derived from the negative prompt features.
The final feature representation is then calculated by subtracting the negative features from the positive ones, scaled by a factor $\alpha$: $$Z^{NASA} = Z^+ - \alpha Z^-$$
This mechanism acts as a "semantic filter," suppressing unwanted concepts before they are ever rendered into pixels.
Implementation Strategies
NASA is offered in two primary forms:
- NASA-I (Inference-only): A training-free, plug-and-play module. It can be integrated into existing one-step models like SDXL-DMD2 or FLUX.1-schnell without any additional fine-tuning.
- NASA-T (Training-based): A distillation approach where the model is trained (using the SwiftBrush framework) to inherently understand and suppress negative attributes during the one-step generation process.
Experimental Results and Efficiency
The authors benchmarked NASA using the NegOpt dataset (30K prompt pairs) and the HPSv2 (Human Preference Score v2).
- State-of-the-Art Quality: NASA achieved an HPSv2 score of 31.21, the highest recorded for a one-step diffusion model at the time of publication.
- Superior Controllability: On the NegOpt benchmark, NASA-I demonstrated nearly 100% success in removing unwanted attributes, whereas traditional CFG often failed completely in one-step scenarios.
- Minimal Overhead: Unlike CFG, which requires two full forward passes (doubling the compute), NASA reuses projection matrices. This results in a negligible computational increase of only 1.89% FLOPs.
- Cross-Architecture Robustness: NASA proved effective across various backbones, including Stable Diffusion 1.5/2.1, SDXL, and DiT-based architectures like FLUX.
Conclusion
NASA represents a significant step forward for efficient generative AI. By moving guidance into the cross-attention layers, it restores the controllability of multi-step models to the high-speed world of one-step diffusion. Future work will focus on automating the tuning of the scaling factor $\alpha$ to further refine the balance between attribute suppression and overall image fidelity.
Summary updated