AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesis

Shipeng Cao, Biao Qian, Haipeng Liu, Yang Wang, Meng Wang
5/25/2026
cs.CV
diffusion-flowtransformer-attention

Official code: Hatter77/AI-T2I (1 star, Python, last commit 2026-04-22).

Abstract

Text-to-image synthesis has made significant progress, benefiting from the strong generative capabilities of diffusion models. However, these models struggle to achieve precise text-to-image alignment within cross-attention maps during the denoising process.

Show full abstract

Existing works primarily focus on inter-subject-token activations (i.e., cross-attention scores) overlap for different subjects, overlooking the intra-subject-token activations scattering issue for identical subjects. In this paper, we propose an Aggregating-and-Isolating cross-attention approach to diffusion models for Text-to-Image synthesis, dubbed AI-T2I. Technically, to address the scattering issue, we devise an aggregation loss to identify and consolidate the scattered intra-token activations, which implicitly helps mitigate the potential overlap issue. Upon that, an isolation loss is further introduced to push the inter-token activations apart, thus fulfilling precise text-to-image alignment. Extensive experiments on various benchmarks demonstrate the superiority of AI-T2I over the state-of-the-art works for text-to-image synthesis. Furthermore, our AI-T2I exhibits excellent generalization across other tasks, e.g., controllable layout generation and personalized generation. Our code is available at https://github.com/Hatter77/AI-T2I.

View on arXivView PDF

Code Implementations(1)

Hatter77/AI-T2IOfficial100%
10PythonSep 27, 20257 months ago

Similar Papers

Cite this paper

@article{cao2026aiti,
  title  = {AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesis},
  author = {Shipeng Cao and Biao Qian and Haipeng Liu and Yang Wang and Meng Wang},
  year   = {2026},
  eprint = {2605.25763},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.25763v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.25763.svg)](https://codeofpaper.com/paper/2605.25763)

Discussion