paper-with-me

홈 › Papers

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

2024-10-15 · Luping Liu, Chao Du, Tianyu Pang, Zehan Wang, Chongxuan Li, Dong Xu

The rapid advancement of text-to-image (T2I) diffusion models has enabled them to generate unprecedented results from given texts. However, as text inputs become longer, existing encoding methods like CLIP face limitations, and aligning the generated images with long texts becomes challenging. To tackle these issues, we propose LongAlign, which includes a segment-level encoding method for processing long texts and a decomposed preference optimization method for effective alignment training. For segment-level encoding, long texts are divided into multiple segments and processed separately. This method overcomes the maximum input length limits of pretrained encoding models. For preference optimization, we provide decomposed CLIP-based preference models to fine-tune diffusion models. Specifically, to utilize CLIP-based preference models for T2I alignment, we delve into their scoring mechanisms and find that the preference scores can be decomposed into two components: a text-relevant part that measures T2I alignment and a text-irrelevant part that assesses other visual aspects of human preference. Additionally, we find that the text-irrelevant part contributes to a common overfitting problem during fine-tuning. To address this, we propose a reweighting strategy that assigns different weights to these two components, thereby reducing overfitting and enhancing alignment. After fine-tuning $512 \times 512$ Stable Diffusion (SD) v1.5 for about 20 hours using our method, the fine-tuned SD outperforms stronger foundation models in T2I alignment, such as PixArt-$\alpha$ and Kandinsky v2.2. The code is available at https://github.com/luping-liu/LongAlign.

📄 PDF Abstract BibTeX arXiv:2410.11817

Code (1)

luping-liu/longalign 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

Paragraph-to-Image Generation with Information-Enriched Diffusion Model

2023-11-24 · Weijia Wu, Zhuang Li, Yefei He, Mike Zheng Shou 외

Text-to-image (T2I) models have recently experienced rapid development, achieving astonishing performance in terms of fidelity and textual alignment capabilities. However, given a long paragraph (up to 512 words), these …

Image GenerationLanguage ModelingLanguage ModellingLarge Language Model

ELBO-T2IAlign: A Generic ELBO-Based Method for Calibrating Pixel-level Text-Image Alignment in Diffusion Models

2025-06-11 · Qin Zhou, Zhiyang Zhang, Jinglong Wang, XiaoBin Li 외

Diffusion models excel at image generation. Recent studies have shown that these models not only generate high-quality images but also encode text-image alignment information through attention maps or loss functions. Thi…

Image GenerationImage SegmentationSegmentationSemantic Segmentation+1

CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching

2024-04-04 · Dongzhi Jiang, Guanglu Song, Xiaoshi Wu, Renrui Zhang 외

Diffusion models have demonstrated great success in the field of text-to-image generation. However, alleviating the misalignment between the text prompts and images is still challenging. The root reason behind the misali…

AttributeImage CaptioningImage GenerationImage to text+2

ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignment

2024-03-08 · XiWei Hu, Rui Wang, Yixiao Fang, Bin Fu 외

Diffusion models have demonstrated remarkable performance in the domain of text-to-image generation. However, most widely used models still employ CLIP as their text encoder, which constrains their ability to comprehend …

DenoisingImage GenerationLanguage ModellingLarge Language Model+2

Few-Step Diffusion via Score identity Distillation

2025-05-19 · Mingyuan Zhou, Yi Gu, Zhendong Wang

Diffusion distillation has emerged as a promising strategy for accelerating text-to-image (T2I) diffusion models by distilling a pretrained score network into a one- or few-step generator. While existing methods have mad…

Diversity