TL;DR
CALM (Counterfactual Adaptive Local Modulation) is a new training-free safeguard for text-to-image generation that enhances unsafe content suppression while maintaining benign output quality. It achieves this by applying localized corrections to prompts rather than relying on a broad, global safety signal.
✦ Why It Matters
Implement CALM in your text-to-image generation workflows to improve safety without sacrificing output quality.
Key Takeaways
How It Works
CALM operates by identifying unsafe categories associated with each prompt and applying localized corrections. Instead of removing unsafe signals globally, it focuses on specific tokens that violate safety guidelines, making minimal edits to steer them towards safe representations.
This targeted approach allows for better preservation of benign content while effectively suppressing unsafe elements.
Related