FLAT:将图像和文本重采样为1D灵活长度对齐的跨模态令牌以用于检索和生成

·

研究论文 · 2026/09/17

传统多模态表示学习与生成分为两个阶段:先训练对比或自监督视觉编码器,再单独训练下游生成模型,这限制了生成性能。FLAT 提出一种表示预训练框架,联合优化共享多模态编码器与下游文本到图像(T2I)和图像到文本(I2T)解码器。通过结合对比对齐与双向跨模态生成目标,FLAT 的表示兼具判别性语义描述和生成条件功能。架构上,FLAT 将视觉和文本输入映射到统一的连续一维序列空间,对前缀 K 个 token 应用嵌套 dropout 以实现动态输出长度。单阶段预训练使 FLAT 能在可变前缀 K 下执行跨模态检索和生成,T2I GenEval 得分为 71.1。任务特定微调后,T2I 生成 GenEval 达 83.1;MS-COCO 图像描述 BLEU-4 为 40.5,CIDEr 为 138.6;MS-COCO 检索 Recall@5 为 86.8 (I2T) / 75.8 (T2I),Flickr30K 为 98.3 (I2T) / 93.6 (T2I)。定性评估表明 FLAT 表示原生支持线性插值、潜在空间算术和零样本组合检索。

FLAT 通过联合优化表示学习和生成,打破了传统两阶段方法的瓶颈,在多个多模态任务上达到先进水平,并支持线性插值等灵活操作,为多模态统一模型提供了新思路。

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.

阅读原文

参与讨论