FLAT: Resampling Image and Text into 1D Flexible-Length Aligned Transmodal Tokens for Retrieval and Generation

Guangyu Sun, Shlok Kumar Mishra, Wentao Bao, Robert Zhenheng Yang, Xiao Wang, Xiyuan Wang, Yujunrong Ma, Chen Yuan, Max Xiangjun Fan, Jun Xiao, Jianpeng Cheng

arXiv:2609.16591 · 2026-09-17 공개 · arXiv · PDF

text-to-image multimodal-representation cross-modal-retrieval contrastive-alignment ms-coco nested-dropout image-to-text flatt

Abstract

Traditional multimodal representation learning and generation are two stages: a contrastive or self-supervised visual encoder is trained first, followed by a separate downstream generative model. This setup bottlenecks generative performance behind frozen embeddings. To bridge this gap, we revisit joint multimodal representation learning and generation to produce linearly interpolatable embeddings that are directly consumable by generative decoders. We present FLAT (Flexible-Length Aligned Transmodal representations), a representation pre-training framework that jointly optimizes a shared multimodal encoder alongside downstream text-to-image (T2I) and image-to-text (I2T) decoders. By combining contrastive alignment with bidirectional cross-modal generative objectives, FLAT ensures its representations function as both discriminative semantic descriptors and generative conditions. Architecturally, FLAT maps visual and textual inputs into a unified continuous 1D sequence space, applying nested dropout over prefix-K tokens to enable dynamic output lengths. A single pre-training stage allows FLAT to perform cross-modal retrieval and generation across variable prefix K, achieving a T2I GenEval score of 71.1. Task-specific fine-tuning aligns model performance with state-of-the-art baselines: 83.1 GenEval on T2I generation; 40.5 BLEU-4 and 138.6 CIDEr on MS-COCO image captioning; and Recall@5 scores of 86.8 (I2T) / 75.8 (T2I) on MS-COCO alongside 98.3 (I2T) / 93.6 (T2I) on Flickr30K. Finally, qualitative evaluations demonstrate that FLAT representations natively support linear interpolation, latent space arithmetic, and zero-shot composed retrieval.

한국어 요약

한 줄 요약

FLAT은 이미지와 텍스트를 1D 연속 시퀀스로 변환하여 생성과 검색을 통합하는 다중모달 학습 프레임워크로, T2I GenEval 83.1, MS-COCO BLEU-4 40.5 등 SOTA 성능을 달성한다.

핵심 기여도

핵심 아이디어

FLAT은 기존의 다중모달 학습과 생성을 분리한 방식의 한계를 극복하기 위해, **공유된 인코더**와 **양방향 생성 손실**을 결합한 통합 학습 프레임워크를 제안한다. 기존 모델은 CLIP, DINO, Stable Diffusion 등에서 사용되는 **고정된 인코딩**이 생성 성능을 제한하는 문제를 해결하기 위해, FLAT은 생성과 검색 모두에 활용 가능한 **선형 보간 가능한 임베딩 공간**을 학습한다. 이는 **contrastive alignment**와 **양방향 생성 손실**을 결합하여, **구별적 의미 기술자**와 **생성 조건**으로서의 역할을 동시에 수행하도록 설계되었다.

기술적 접근법

주요 결과

의의 및 한계

FLAT은 기존의 다중모달 학습과 생성을 분리한 방식의 한계를 극복하고, **단일 사전 학습 단계**로 다양한 작업을 처리할 수 있는 **유연한 다중모달 프레임워크**를 제시한다. 특히, **선형 보간**, **잠재 공간 산술**, **제로샷 복합 검색** 등의 기능을 통해 임베딩 공간의 **기하학적 구조**를 활용한 새로운 응용이 가능하다. 그러나, FLAT은 **다국어 프롬프트**나 **비디오 모달**에 대한 평가가 부족하며, **추가 실험**이 필요하다.

실용적 활용

FLAT은 이미지-텍스트 생성, 검색, 캡션 생성 등 다양한 다중모달 작업에 적용 가능하며, **유연한 길이 조절**과 **제로샷 생성** 기능을 통해 **콘텐츠 생성**, **검색 엔진**, **멀티모달 인터페이스** 개발에 활용될 수 있다.