The paper "Open-Vocabulary Attention Maps with Token Optimization for Semantic Segmentation in Diffusion Models" addresses limitations in current text-to-image diffusion models, such as Stable Diffusion, when used for semantic segmentation. These models traditionally rely on attentions linked to prompt words, restricting mask generation to specified text prompts.
Key Contributions:
- Open-Vocabulary Attention Maps (OVAM):
- The authors introduce OVAM, a training-free method that extends the capability of diffusion models to generate attention maps for any word, regardless of whether it was part of the original text prompt. This flexibility makes it possible to explore segmentation beyond predefined vocabularies.
- Token Optimization Process:
- A lightweight optimization process is presented, using OVAM to find tokens that generate accurate attention maps for specified object classes with minimal annotation. This approach circumvents the need for extensive retraining or architectural changes, simplifying the integration with existing models.
- Performance Evaluation:
- The paper evaluates the effectiveness of the proposed token optimization within state-of-the-art Stable Diffusion extensions. Results indicate a significant improvement in the mean Intersection over Union (mIoU) for synthetic images' pseudo-masks, improving from 52.1 to 86.6. This demonstrates that optimized tokens can substantially enhance semantic segmentation without intricate modifications.
Implications:
- Generalization and Flexibility:
OVAM allows for a broader range of semantic segmentation applications by enabling attention map generation beyond limited vocabularies. This could be particularly useful in fields where new or uncommon objects are frequently encountered.
- Efficiency and Usability:
The optimized token approach enables enhanced performance while maintaining the model's original architecture and reducing computational overhead. This could make advanced segmentation techniques more accessible and cost-effective for real-world applications.
Overall, this work pushes the boundaries of semantic segmentation within diffusion models by focusing on open-vocabulary capabilities and optimization strategies, offering significant improvements without necessitating complex alterations or extensive data requirements.