atlas

Research map / Image generation / Text-to-image diffusion

Improving Long-Text Alignment for Text-to-Image Diffusion Models

ICLR 2025 · Image generation › Text-to-image diffusion · approach: Inference-time T2I improvement · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LongAlign, combining segment-level CLIP/T5 text encoding with decomposed CLIP-based preference optimization (orthogonal split into text-relevant and text-irrelevant parts with gradient reweighting) to fine-tune Stable Diffusion v1.5 for long-text alignment.

Problem

Text-to-image diffusion models struggle to encode and align with long, multi-sentence prompts because CLIP text encoders have a 77-token limit and existing human preference models blend text alignment with aesthetics.

Approach

Encode long text segment-by-segment and concatenate embeddings; decompose CLIP-based preference scores into a text-relevant part (orthogonal to a common text-irrelevant direction) and a text-irrelevant part, then reweight the latter (factor omega=0.3) in reward fine-tuning to reduce overfitting.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add LongAlign reward fine-tuning after supervised fine-tuning (ablation)Stable Diffusion v1.5 · 5k-image evaluation datasetDenscore-O: 31.29 -> 32.83/35.26Helped
Add LongAlign reward fine-tuning after supervised fine-tuning (ablation)Stable Diffusion v1.5 · 5k-image evaluation datasetFID-5k: 20.09 -> 19.63/24.28Helped
Use gradient reweighting with ω=0.3 (ablation)Reward fine-tuning of the diffusion model · Reward fine-tuning experimentsFIDHelped
Use gradient reweighting with ω=0.3 rather than the other tested weighting options (ablation)Reward fine-tuning of the diffusion model · Reward fine-tuning experimentsDenscore-OHelped
Remove the text-irrelevant component from the text embedding score (ablation)CLIP-based preference models · 5k text-to-image retrieval, AverageR@1: 75.90 -> 91.86Helped
Use segment-level preference training (ablation)Denscore · 5k text-to-image retrieval, 8-sentence maximumR@1: 84.12 -> 89.94Helped
Use segment-level preference training (ablation)Denscore · 5k text-to-image retrieval, 1-sentence maximumR@1: 53.06 -> 52.72Hurt
Keep all <sot> token embeddings instead of removing all of them (ablation)Segment-level CLIP text encoding for diffusion · Image generationgeneration qualityHelped
Retain all <sot> tokens instead of retaining only the first <sot> token (ablation)Segment-level CLIP text encoding for diffusion · Image generationgeneration qualityNo clear effect
Group consecutive sentences into a segment instead of using each sentence as a segment (ablation)Segment-level CLIP text encoding for diffusion · Image generationgeneration qualityNo clear effect
Use CLIP+T5 encoding instead of CLIP-cat or T5-mlp alone (ablation)Stable Diffusion text encoding · Long-text image generationFIDHelped
Reweight the text-irrelevant reward component instead of using the original loss at ratio 1 (ablation)LongAlign reward fine-tuning · Image generationimage qualityHelped

Surprising findings

Limitations

Experimental setup

Datasets: SAM COCO2017 LAION/CC/SBU (LLaVA subset) JourneyDB Pickscore training data

Benchmarks: 5k evaluation set (FID, Denscore, Denscore-O, VQAscore) DPG-Bench GPT-4o pairwise evaluation on 1k images

Metrics: FID Denscore Denscore-O VQAscore R@1 retrieval accuracy win rate

Baselines: SD-1.5 SD-2.1 PlayGroundv2 PixArt-alpha Kandinsky v2.2 ELLA

Builds on: DRTune LaVi-Bridge Pickscore LoRA LCM-LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy