# Boosting Text-to-Image Diffusion Models via Core Token Attention-Based Seed Selection

*Yunzhe Zhang, Hongfu Liu, Pengyu Hong*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152409) · [OpenReview](https://openreview.net/forum?id=TK7VVYFzeK) · [alphaXiv](https://www.alphaxiv.org/abs/2605.19532) · [Open on the map](../papers.html#p152409)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Text-to-Image Diffusion Control](../pgroup/288.md) · Type: new method · Keywords: text-to-image generation, seed selection, attention mechanisms, diffusion models, image quality

## Summary
The paper introduces Attention-Based Seed Selection (ABSS), a training-free, plug-and-play method that ranks random seeds for a given prompt by leveraging early cross-attention to core tokens, thereby improving text-image alignment and visual quality in diffusion models.

## Explained to a 5-year-old
When we ask a computer to draw a picture from words, the picture can change a lot depending on a hidden random number. The researchers noticed that looking at which words get more attention early in the drawing process can tell us which pictures will turn out better. They created a simple way to test many random numbers and pick the ones that are likely to make good pictures. This new method works without changing the computer model and can be added to existing picture-making tools. It helps produce pictures that match the words more reliably and look nicer.

## Explained to a 5-year-old, longer
When we ask a computer to make a picture from words, it starts with a random seed that decides the picture. Different seeds can give very different pictures, some good and some not so good. The researchers looked at how the computer pays attention to the important words in the sentence while it is making the picture. They found that early on, the computer’s attention tells us which seeds will likely make better pictures. Using this idea, they made a simple method that scores many seeds without needing to train the computer. The method looks at the attention of the key words and ranks the seeds from best to worst. It keeps only the top few seeds for the final picture and discards the rest. This way, they can get more consistent and higher-quality pictures that match the words. The new method works with existing picture-making tools and does not change how the tools work. It can be used right when the picture is being created, making it easy for anyone to use. By picking better seeds, the pictures are more likely to look like what we described. Overall, this helps people get nicer and more reliable images from text prompts.

## For a technical reader
The paper addresses the variability in image generation caused by the random seed used in diffusion models. It shows that early cross-attention patterns on key prompt words can predict which seeds will produce higher-quality, better-aligned images. The proposed technique scores candidate seeds at inference time, selects the top-k, and discards the rest without any training or fine-tuning. This plug-and-play addition can be dropped into existing pipelines to improve both visual fidelity and text-image alignment. Experiments on three benchmarks confirm consistent gains in quality and alignment, validated by human preference and automatic metrics.

## Problem
Generating high-quality images that align with text prompts is highly sensitive to the random seed used as the starting point, leading to unpredictable variations in output quality and alignment.

## Method
The approach examines attention dynamics over core prompt tokens during the early denoising steps to score candidate seeds, ranks all seeds, selects the top-k for full generation, and discards the rest without any training or fine-tuning.

## Results
The approach yields consistent improvements in text-image alignment and visual quality across Stable Diffusion variants, as measured by human preference and alignment metrics.

## Contributions
It reveals that early attention over key prompt words predicts final generation quality and proposes a training-free seed selection technique that can be added to existing pipelines to enhance image generation.

## Practical relevance
It provides a lightweight, training-free add-on that can be used at inference to improve image generation quality and alignment in practical text-to-image applications.

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](../feedback/?on=p/152409)
