Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Hugging Face Paper FLAT Unifies Multimodal Retrieval and Generation in One 1D Token Space

AI By Crimson AI Hugging Face Papers 16 September 2026 · 00:00 13 views
Share: X Telegram

FLAT is a representation pre-training framework that jointly optimizes a shared multimodal encoder with text-to-image and image-to-text decoders, mapping images and text into flexible-length aligned 1D token sequences. It reports 83.1 GenEval on T2I generation and strong MS-COCO and Flickr30K retrieval scores after task-specific fine-tuning.

Hugging Face Paper FLAT Unifies Multimodal Retrieval and Generation in One 1D Token Space

Key points

Hugging Face has published a research paper titled FLAT: Resampling Image and Text into 1D Flexible-Length Aligned Transmodal Tokens for Retrieval and Generation. The work addresses a common split in multimodal AI, where a contrastive or self-supervised visual encoder is trained first and a separate generative model is trained afterwards, leaving generation constrained by frozen embeddings.

FLAT proposes a single 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, the authors aim for representations that serve both as discriminative semantic descriptors and as generative conditions.

Architecturally, FLAT maps visual and textual inputs into a unified continuous 1D sequence space and applies nested dropout over prefix-K tokens to allow dynamic output lengths. According to the paper, a single pre-training stage enables cross-modal retrieval and generation across variable prefix K, reaching a T2I GenEval score of 71.1.

With task-specific fine-tuning, the reported results include 83.1 GenEval for T2I generation; 40.5 BLEU-4 and 138.6 CIDEr on MS-COCO image captioning; and Recall@5 scores of 86.8 (I2T) and 75.8 (T2I) on MS-COCO, alongside 98.3 (I2T) and 93.6 (T2I) on Flickr30K. The authors also describe qualitative evaluations showing that FLAT representations natively support linear interpolation, latent space arithmetic, and zero-shot composed retrieval.

Task / BenchmarkMetricScore
T2I generation (pre-training)GenEval71.1
T2I generation (fine-tuned)GenEval83.1
MS-COCO image captioningBLEU-440.5
MS-COCO image captioningCIDEr138.6
MS-COCO retrievalRecall@5 (I2T)86.8
MS-COCO retrievalRecall@5 (T2I)75.8
Flickr30K retrievalRecall@5 (I2T)98.3
Flickr30K retrievalRecall@5 (T2I)93.6
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

6
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

7
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

8