Introduction
Text-to-image diffusion models have revolutionized content creation, yet they remain difficult to control precisely. "Prompt engineering"—the process of refining text strings to achieve a specific aesthetic—is often unintuitive and iterative. FABRIC (Feedback via Attention-Based Reference Image Conditioning) addresses this by introducing a training-free framework for personalizing models through simple "like" and "dislike" feedback.
Methodology: Attention-Based Conditioning
Unlike existing personalization methods like DreamBooth or Textual Inversion, which require computationally expensive fine-tuning, FABRIC operates by manipulating the internal representations of a pre-trained model.
The core mechanism involves injecting features from feedback images directly into the self-attention layers of the U-Net architecture. When a user provides feedback, the reference image is partially noised to match the current diffusion timestep. FABRIC then extracts the "Key" ($K$) and "Value" ($V$) tensors from this reference image.
For "liked" images, these features are concatenated into the self-attention operation during the conditional pass. For "disliked" images, the features are injected into the unconditional pass of Classifier-Free Guidance (CFG). This dual-pass approach effectively attracts the generation toward desired features while repelling it from undesired ones.
Experimental Evaluation
The authors evaluated FABRIC using two primary benchmarks:
- Human Preference Score (HPS) Dataset: Using PickScore as a proxy for human preference, the model iteratively refined images based on automated feedback.
- Target Image-Based Steering: Testing the model's ability to converge toward a specific "hidden" target image using only iterative feedback.
FABRIC consistently outperformed standard Stable Diffusion and even surpassed HPS LoRA, a model specifically fine-tuned for human preference. Quantitative analysis showed a steady increase in CLIP similarity to "liked" images and a decrease in similarity to "disliked" images over multiple rounds.
Challenges: The Diversity Collapse
A significant observation during testing was "diversity collapse." As feedback accumulates, the model tends to exploit known preferences at the expense of exploring new variations, leading to repetitive outputs. To mitigate this, the authors implemented "prompt dropout"—randomly omitting words from the text prompt—to maintain stochasticity and force the model to rely more heavily on the visual feedback.
Conclusion
FABRIC proves that high-quality personalization is possible without weight updates. By leveraging the rich latent space of diffusion models through attention injection, it enables a fluid, human-in-the-loop creative process. Future research may explore weighted or localized feedback to provide even more granular control over the generation process.
Summary updated