Conceptual

Nested Attention for Subject Personalization in Text-to-Image Models

A personalization mechanism for text-to-image diffusion that ties a subject to a single text token in the standard cross-attention layer but replaces the fixed attention value with query-dependent subject values produced by an inner (nested) attention layer, selecting relevant subject features per image region to preserve identity while maintaining the model's prior and enabling multiple subjects in one image.