Reconstructing Content with Collaborative Attention for Universal Multimodal Representation Learning

Jiahan Chen, Da Li, Hengran Zhang, Yinqiong Cai, Lixin Su, Jiafeng Guo, Daiting Shi, Dawei Yin, Keping Bi

TL;DR

Existing multimodal large language models (MLLMs) struggle to produce compact, high-quality embeddings because their native causal attention and next-token prediction paradigms prioritize sequential generation over global semantic compression. To solve this, the authors introduce CoCoA (Collaborative Attention Content Reconstruction), a three-stage pre-training framework that restructures attention flow to force MLLMs to compress holistic multimodal features into a single <EOS> token. CoCoA achieves state-of-the-art embedding performance for small-scale models ($\le$ 3B parameters) on the MMEB-V1 benchmark while requiring a fraction of the pre-training data used by traditional methods.

What Problem Does This Paper Address?

Multimodal embeddings are essential for tasks like cross-modal retrieval (e.g., text-to-image search) and video/image classification. Recently, researchers have started using MLLMs as backbones for these embedding models. However, MLLMs are fundamentally built for generation. They use causal attention (where tokens can only look backward at preceding tokens) and next-token prediction.

This creates a structural mismatch when trying to generate embeddings. An embedding needs to be a globally compact, holistic representation of the entire input. Causal attention prevents deep, bidirectional fusion between text and images, leading to loosely organized representations. While previous approaches try to fix this using massive contrastive learning datasets or extensive bidirectional pre-training (on the scale of tens of billions of tokens), they are computationally expensive and highly data-hungry.

Methods

The authors propose CoCoA, a training paradigm designed to transition MLLMs into effective embedding encoders through three progressive stages:

  1. Bidirectional Attention Warm-Up via Joint Reconstruction: The native causal attention matrix is replaced with a fully bidirectional attention matrix. To help the model adapt, it is trained on joint reconstruction tasks: Masked Next Token Prediction (MNTP) for text (20% tokens masked) and Masked Autoencoding (MAE) for images (50% patches masked).
  2. EOS-Bridged Reconstruction via Attention Truncation: This is the core architectural innovation. The input sequence is formatted into two blocks separated by an <EOS> token: [Block A] <EOS> [Block B]. Block A contains the multimodal input (e.g., an image and a query), while Block B contains the target text to be reconstructed (e.g., an image caption). Crucially, direct attention between Block A and Block B is strictly prohibited; information can only flow through the <EOS> token. By aggressively masking Block B (up to 70%), the model is forced to compress the entire semantic context of Block A into the <EOS> token to successfully reconstruct Block B.
  3. Contrastive Learning with Compressed Embeddings: Finally, standard contrastive learning (using an InfoNCE loss) is performed directly on these highly dense <EOS> token embeddings to align queries and targets in a shared semantic space.
Overview of the CoCoA framework across its three training stages.

Datasets

  • MMEB-V1 (Massive Multimodal Embedding Benchmark): The primary benchmark used for both training and evaluation. It spans 36 datasets across 4 meta-tasks: Classification, Visual Question Answering (VQA), Retrieval, and Visual Grounding.
  • Training: 20 in-domain datasets from the MMEB-V1 train set were utilized.
  • Evaluation: All 36 datasets (20 in-domain, 16 out-of-domain) were used to evaluate generalization.
  • Synthetic Data Augmentation: To prevent semantic redundancy during the reconstruction phase, the authors used Qwen2.5-VL-7B to generate approximately 200K high-quality synthetic instances (detailed image descriptions and targeted question-answer pairs) from the MMEB-V1 training images.

Key Insights and Ideas

  • The <EOS> Token as an Information Bottleneck: By cutting off direct attention between the input (Block A) and the reconstruction target (Block B), the <EOS> token is forced to act as a semantic bridge. This structural constraint naturally conditions the token to serve as an information-dense embedding.
  • Data Quality and Diversity Over Volume: Traditional models like MoCa require pre-training on 30 billion tokens to shift an MLLM from generation to embedding. CoCoA proves that by using a targeted, structurally constrained reconstruction task, excellent alignment can be achieved with just 500K high-quality and synthetic pairs.
  • Masking Ratios Drive Compression: In longer text tasks like retrieval, higher masking ratios (70%) prevent the model from relying on local textual context within the reconstruction block, forcing it to extract deeper semantic cues from the compressed <EOS> token.

Key Results

  • SOTA for Small Models: Built on top of Qwen2-VL-2B and Qwen2.5-VL-3B, CoCoA achieved state-of-the-art performance among models $\le$ 3B, scoring 66.0% and 67.5% overall on MMEB-V1, respectively.
  • Extreme Data Efficiency: At the 7B scale, CoCoA achieved a highly competitive overall score of 70.6% using only 500K pre-training pairs. For comparison, the top-performing baseline, MoCa (7B), scored 71.5% but required a massive 30-billion-token pre-training corpus.
  • Ablation Verification: Removing the EOS-Bridged Reconstruction stage caused the most severe performance drop (falling from 62.9% to 60.7% on a 2B backbone), confirming that explicit content reconstruction is the primary driver of embedding quality improvements.

Limitations and Future Work

  • Single-Token Bottleneck Capacity: Compressing an entire image—especially complex scenes containing multiple objects, fine-grained attributes, or distinct viewpoints—into a single token embedding can introduce bias or cause secondary visual details to be suppressed.
  • Future Directions: The authors suggest exploring multi-token compression and reconstruction mechanisms, where different tokens can capture complementary, multi-aspect features of the multimodal content.

Summary updated

BibTeX
@inproceedings{chen2026reconstructing,
  author = {Jiahan Chen and Da Li and Hengran Zhang and Yinqiong Cai and Lixin Su and Jiafeng Guo and Daiting Shi and Dawei Yin and Keping Bi},
  title = {{Reconstructing Content with Collaborative Attention for Universal Multimodal Representation Learning}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2026},
  doi = {10.1145/3805712.3809695},
}

Loading related content...

Figure