Few-Shot Visual Concept Extraction for Steering Diffusion Transformers
Nabyl Quignon, Antitza Dantcheva
NeurIPS page · OpenReview · Open on the map
Category: Diffusion & Image Generation › Text-to-Image Diffusion Control · Type: new method · Keywords: few-shot visual concept extraction, diffusion transformer steering, image generation control, activation editing, training-free concept injection
Areas: Multimodal › Multimodal Creation and Editing › Safe Generation; Generative Models (Diffusion & Flows) › Pixel-Space Diffusion › Concept-Controlled Visual Generation
Summary
Few-Shot Visual Concept Extraction for Steering Diffusion Transformers extracts visual concept directions directly from image-side activations of diffusion transformers using a few positive and negative prompt pairs, enabling precise, continuous steering of generated images.
Explained to a 5-year-old
A drawing robot can make pictures using a special kind of AI. It can learn to change things like colors, textures, or lighting in the pictures by looking at just a few example pictures. The robot finds special directions in its own thinking that point to these changes. By using these directions, the robot can steer new pictures to have the desired colors or styles without having to retrain everything. This lets the robot make precise and multiple changes at once, like making a sunny picture rainy or a smooth surface rough.
Explained to a 5-year-old, longer
The robot draws pictures using a computer program that works like a painter. It can change many small details in the pictures, like the color of an apple or the feel of a cloth. Instead of teaching the robot everything from scratch, we can show it just a few good examples of what we want. The robot looks inside its own thinking to find special directions that point to these details. For big changes like the weather or the style of a scene, the robot uses a simple average of the examples. For small changes like the color of an object, the robot uses a special method that focuses only on the parts we care about. These directions are saved and can be used later to steer new pictures without any extra training. This means we can make many changes at once, like making a picture both brighter and more rainy. The robot can also combine changes, so we can have a sunny beach with a blue sky and a smooth water surface. Because it only needs a few examples, it is fast and does not need a lot of computer power. This makes it easy for people to personalize their generated pictures for games, stories, or art. Overall, the robot becomes a helpful assistant that can fine-tune pictures exactly how we want.
For a technical reader
The paper introduces a training-free technique that extracts visual concept directions directly from the image-side activations of diffusion transformer models. By computing a difference-of-means over intermediate residuals, it separates scene-level concepts (e.g., lighting, style) from local attributes (e.g., object color, texture) using only a handful of positive and negative prompt pairs. A unified framework then injects these directions at inference time, allowing continuous and compositional steering of generated images without any additional training. Empirically, the approach outperforms existing text-encoder steering and other training-free editing baselines while remaining competitive with specialized editing models. This enables developers to fine-tune image generation on specific visual attributes quickly and with minimal computational overhead.
Problem
Controlling fine-grained visual concepts in diffusion-generated images without broadly altering the generation process is challenging, especially when prior methods rely on text-conditioning or costly auxiliary training.
Method
The approach extracts visual concept directions from image-side activations of diffusion transformers using a difference-of-means estimator over intermediate residuals. It distinguishes distributed scene-level concepts (e.g., lighting, style) from localized object attributes (e.g., color, texture) and uses a unified training-free framework that applies global difference-of-means for distributed concepts and masked difference-of-means for local concepts. Using only a few positive and negative prompt pairs, the extracted directions can be injected at inference for continuous steering.
Results
The approach achieves superior performance over text-encoder steering and training-free activation-editing baselines and is competitive with specialized editing models.
Contributions
It introduces a training-free, few-shot visual concept extraction technique that works directly on image-side activations of diffusion transformers, distinguishes between distributed and localized concepts, and provides reusable concept directions for continuous steering.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction