MetaEmbed: Scaling Multimodal Retrieval at Test-Time with Flexible Late Interaction

Zilin Xiao, Qi Ma, Mengting Gu, Chun-cheng Chen, Xintao Chen, Vicente Ordonez (Rice University, Meta Superintelligence Labs), Vijai Mohan

International Conference on Learning Representations 2026 · Oral

Overview

This talk introduces MetaEmbed, a novel framework designed to enhance the efficiency and flexibility of multimodal retrieval, a critical component for applications like Retrieval-Augmented Generation (RAG) and large-scale database search. Presented by Vicente Ordonez, whose student Zilin Xiao led the work, this research addresses the inherent limitations of traditional single-vector embedding methods and the computational overhead of existing multi-vector approaches, particularly in the multimodal domain. MetaEmbed proposes a sophisticated solution that leverages autoregressive Vision-Language Models (VLMs) and a unique Matryoshka-style loss to generate adaptable, hierarchical multi-vector representations.

Watch on SlidesLive

Visual summary for MetaEmbed: Scaling Multimodal Retrieval at Test-Time with Flexible Late Interaction by Zilin Xiao, Qi Ma, Mengting Gu, Chun-cheng Chen, Xintao Chen, Vicente Ordonez, Vijai Mohan
Visual summary for MetaEmbed: Scaling Multimodal Retrieval at Test-Time with Flexible Late Interaction by Zilin Xiao, Qi Ma, Mengting Gu, Chun-cheng Chen, Xintao Chen, Vicente Ordonez, Vijai Mohan

Key moments

  1. 0:00 Introduction to multimodal retrieval and vector databases
  2. 2:00 Limitations of single, large vector representations
  3. 3:20 MetaEmbed's variable-length vector representation using VLM
  4. 4:00 Training with flexible, hierarchical Matryoshka-style loss
  5. 4:45 MetaEmbed's superior accuracy over single-vector methods
  6. 6:35 Intuition: How MetaEmbed captures global and local features
  7. 8:00 Exploring explicit global/local feature representation for future work

MetaEmbed: Scaling Multimodal Retrieval at Test-Time with Flexible Late Interaction

Speakers: Zilin Xiao; Qi Ma; Mengting Gu; Chun-cheng Chen; Xintao Chen; Vicente Ordonez (Rice University, Meta Superintelligence Labs); Vijai Mohan

Conference: ICLR 2026

YouTube: https://slideslive.com/39062113

Overview

This talk introduces MetaEmbed, a novel framework designed to enhance the efficiency and flexibility of multimodal retrieval, a critical component for applications like Retrieval-Augmented Generation (RAG) and large-scale database search. Presented by Vicente Ordonez, whose student Zilin Xiao led the work, this research addresses the inherent limitations of traditional single-vector embedding methods and the computational overhead of existing multi-vector approaches, particularly in the multimodal domain. MetaEmbed proposes a sophisticated solution that leverages autoregressive Vision-Language Models (VLMs) and a unique Matryoshka-style loss to generate adaptable, hierarchical multi-vector representations.

The core challenge MetaEmbed tackles is enabling precise retrieval from vast databases containing diverse multimodal content (e.g., images and text) without incurring prohibitive computational costs at inference time. While single-vector embeddings are fast, they often lack the granularity to capture complex semantic nuances. Multi-vector embeddings, which represent an item with several vectors, offer richer representations but typically demand significant storage and complex, expensive comparison operations. MetaEmbed aims to bridge this gap by offering a method that can dynamically adjust the number of vectors used for retrieval, allowing for a flexible trade-off between accuracy and computational budget.

The significance of MetaEmbed lies in its ability to deliver state-of-the-art retrieval performance while providing unprecedented flexibility. By training models (including 3B, 7B, and 32B parameter variants) with its specialized loss function, MetaEmbed ensures that even a single vector from its representation can serve as a robust global descriptor, with additional vectors progressively adding more localized and detailed information. This hierarchical design allows practitioners to optimize retrieval latency and cost without sacrificing significant accuracy, marking a substantial step forward for scalable multimodal RAG and search systems in an era dominated by increasingly complex AI models.

Background

▶ Watch: Introduction to multimodal retrieval and vector databases (0:00)

The landscape of modern AI, particularly in natural language processing and computer vision, has seen the advent of highly capable models that can perform complex reasoning tasks. However, even these advanced models often benefit significantly from external knowledge augmentation, typically achieved through retrieval mechanisms. Retrieval-Augmented Generation (RAG), for instance, relies on efficiently searching large, diverse databases to provide contextual information to large language models (LLMs). Similarly, searching vast repositories of multimodal data—comprising images, text, and other media—demands robust and scalable retrieval systems.

Traditionally, retrieval systems represent data items (e.g., images, text documents) as single, high-dimensional vectors, known as embeddings. These embeddings are generated by encoders, such as image encoders or text encoders, and are then stored in a vector database. Retrieval queries are also converted into single vectors, and similarity search (e.g., using cosine similarity) is performed against the database. Libraries like FAISS or Annoy facilitate faster-than-naive N-comparison searches by indexing these vectors. While straightforward and relatively fast for simple queries, single-vector embeddings face inherent limitations. Increasing vector dimensionality to capture more information often yields diminishing returns, failing to adequately represent the complex, multifaceted semantics of multimodal content or nuanced query intent.

To overcome the limitations of single-vector representations, researchers have explored multi-vector embeddings, where each item is represented by a set of vectors rather than a single one. For text, models like ColBERT (Contextualized Late Interaction over BERT) have demonstrated superior performance by representing documents as collections of contextualized token embeddings, allowing for fine-grained "late interaction" comparisons. This approach enables more precise matching of query sub-components to document sub-components. However, extending multi-vector methods to the multimodal domain presents significant challenges. Storing multiple vectors per item drastically increases database size, and comparing a set of query vectors against a set of candidate vectors is computationally much more expensive than comparing two single vectors. Existing multi-vector models, like ColBERT, are primarily designed for text and do not easily generalize to multimodal inputs, leaving a critical gap for efficient and flexible multimodal multi-vector retrieval. MetaEmbed directly addresses this gap by offering a controlled and adaptable multi-vector solution for multimodal data.

Key Findings

▶ Watch: MetaEmbed's variable-length vector representation using VLM (3:20)

MetaEmbed introduces several pivotal contributions to the field of multimodal retrieval, demonstrating a significant advancement over existing methods. The core findings highlight its superior performance, flexibility, and architectural efficiency:

  1. State-of-the-Art Multimodal Retrieval Performance: MetaEmbed consistently achieves better retrieval accuracy compared to state-of-the-art single-vector retrieval methods. The talk emphasizes that even when operating in its single-vector mode (using only the first, global vector), MetaEmbed yields highly competitive results, often matching or exceeding the best dedicated single-vector approaches. When leveraging multiple vectors, its performance further surpasses these baselines, showcasing the power of its richer representations.
  1. Flexible and Controlled Multi-Vector Representation: Unlike previous multi-vector methods that might produce a fixed or excessively large number of vectors, MetaEmbed offers a controlled and variable number of output vectors per item. This is achieved by feeding a learnable set of input tokens into an autoregressive VLM. This control is crucial for managing the storage and computational costs associated with multi-vector embeddings, making them practically viable for large-scale databases.
  1. Crucial Role of Matryoshka-Style Loss: The innovative Matryoshka-style loss is identified as a critical component enabling MetaEmbed's flexibility and performance. This hierarchical loss function ensures that the initial vectors in the multi-vector set capture robust global features, while subsequent vectors progressively add more localized and detailed information. This design allows for graceful degradation: practitioners can choose to use fewer vectors at test-time for faster, lower-cost retrieval with minimal performance drop, or utilize the full set for maximal accuracy. Without this specific loss, simply truncating a set of equally weighted vectors leads to significantly worse performance.
  1. Graceful Scaling with Model Size: The research demonstrates that MetaEmbed scales effectively with larger Vision-Language Model (VLM) backbones. Models trained at 3B, 7B, and 32B parameters consistently show improved performance, indicating that the method benefits from the enhanced representational capacity of larger foundation models. This scalability ensures that MetaEmbed can leverage future advancements in VLM technology.
  1. Dynamic Trade-offs at Test-Time: A key practical finding is the ability to make dynamic trade-offs between retrieval accuracy, latency, and computational budget at test-time. By selecting the appropriate number of vectors for a given query or retrieval task, users can fine-tune the system's behavior, making MetaEmbed highly adaptable to diverse operational requirements, from rapid preliminary searches to high-precision, detailed retrieval.

Technical Deep Dive

▶ Watch: Training with flexible, hierarchical Matryoshka-style loss (4:00)

MetaEmbed's technical innovation lies in its unique combination of leveraging an autoregressive Vision-Language Model (VLM) for embedding generation and a custom Matryoshka-style loss for hierarchical representation learning. This design enables the system to produce flexible, multi-vector embeddings that are both semantically rich and computationally adaptable.

The core idea begins with adapting an autoregressive VLM, such as Qwen-VL, which are typically designed for tasks like image captioning or visual question answering. Instead of using the VLM to generate sequential text tokens, MetaEmbed repurposes its powerful encoder to produce fixed-length vector representations. This is achieved by feeding a predefined, learnable set of input tokens into the VLM's input sequence. These "learnable input tokens" are not derived from the input image or text directly but are rather a set of M trainable vectors that serve as placeholders. When an image, text, or multimodal query is fed into the VLM along with these learnable tokens, the VLM processes them through its attention mechanisms and layers. The output vectors from the VLM's last layer, corresponding to these learnable input tokens, then constitute the multi-vector representation for the input item. This mechanism provides explicit control over the number of vectors (M) generated for each item, directly addressing the issue of uncontrolled vector proliferation in some multi-vector approaches.

The true ingenuity of MetaEmbed, however, resides in its Matryoshka-style loss function. This loss is designed to instill a hierarchical structure within the generated multi-vector embeddings, ensuring that subsets of the vectors are themselves effective representations. The loss function comprises multiple terms, each focusing on a progressively larger subset of the multi-vector representation:

  1. First Term: This term computes the similarity (e.g., dot product or cosine similarity) between only the first query vector (Q1) and the first candidate vector (C1). This term is heavily weighted, encouraging Q1 and C1 to capture the most salient, global features of their respective inputs. The speaker intuitively suggests this captures "global image retrieval" features.
  1. Intermediate Terms: Subsequent terms in the loss function consider increasingly larger subsets of the vectors. For instance, the second term might involve the first two query vectors (Q1, Q2) and the first two candidate vectors (C1, C2), aggregating their similarity. This encourages Q2 and C2 (and subsequent vectors) to capture more localized or specific details, building upon the global information already encoded in Q1 and C1.
  1. Last Term: The final term in the loss computes the similarity using all M query vectors and all N candidate vectors. This ensures that the full multi-vector representation is optimized for maximum retrieval accuracy, integrating all the fine-grained details.

By training with this hierarchical loss, MetaEmbed ensures that the initial vectors are highly informative, acting as strong global representations, while subsequent vectors provide increasingly granular, local feature details. This means that at inference time, a practitioner can choose to use only a subset of the generated vectors (e.g., just Q1 and C1 for speed, or Q1-Qk and C1-Ck for k vectors) without suffering a drastic performance drop. The model has been explicitly trained to make these truncated representations meaningful. The comparison mechanism for multiple vectors involves a set-to-set similarity, which often aggregates individual vector similarities (e.g., finding the maximum similarity between any query vector and any candidate vector, often called MaxSim or late interaction). The Matryoshka loss ensures that these individual vectors are optimally positioned within the embedding space to support such flexible comparisons.

The speaker notes that while the loss induces this global-to-local hierarchy, it's not explicitly designed with specific spatial biases. Instead, it leverages the VLM's inherent capacity to disentangle features, with the loss weights guiding the priority of information encoding. Attempts at curriculum training (training only the first term initially, then adding more terms) did not yield significant differences, suggesting the simultaneous optimization with the Matryoshka loss is effective enough to establish the desired hierarchy.

Experimental Setup & Results

▶ Watch: Intuition: How MetaEmbed captures global and local features (6:35)

The evaluation of MetaEmbed focused on demonstrating its superior retrieval capabilities across various model sizes and comparing its performance against established baselines, particularly single-vector retrieval methods. While the talk provided qualitative comparisons and affirmations of strong performance rather than specific numerical metrics (e.g., mAP, Recall@K), the reported trends and conclusions are clear.

Model Architectures and Training:

MetaEmbed was implemented and evaluated using different scales of Vision-Language Models (VLMs) as backbones. Specifically, the researchers trained three distinct models: a 3 Billion (3B) parameter model, a 7 Billion (7B) parameter model, and a larger 32 Billion (32B) parameter model. This allowed for an assessment of how MetaEmbed's approach scales with increasing model capacity, a crucial aspect for modern AI systems. The training involved a diverse, albeit unnamed, multimodal dataset, ensuring the models learned robust representations for varied image and text inputs. The core of the training process was the application of the described Matryoshka-style loss, which was instrumental in shaping the hierarchical nature of the multi-vector embeddings.

Baselines and Comparisons:

The MetaEmbed models were benchmarked against several state-of-the-art single-vector retrieval methods. The talk highlighted that while the best of these single-vector methods were very good, MetaEmbed consistently achieved better accuracy, especially when leveraging its multi-vector capabilities. A key finding was that even when MetaEmbed was constrained to use only a single vector for retrieval (effectively operating in a single-vector mode, utilizing the most globally representative vector learned by the Matryoshka loss), its performance was "very competitive" with these dedicated single-vector baselines. This underscores the efficiency of MetaEmbed's learned representations, where even a truncated version retains significant semantic content.

Key Performance Observations:

The experimental results led to several important conclusions:

  • Improved Accuracy with More Vectors: A consistent trend observed was that "the more data the more vectors that you use to represent your data the better accuracy you're going to get." This confirms the intuitive benefit of richer, multi-vector representations over single-vector ones, provided the computational budget allows.
  • Criticality of Matryoshka Loss: A crucial ablation study compared MetaEmbed (trained with Matryoshka loss) against a hypothetical scenario where multiple vectors were used but trained without the hierarchical Matryoshka loss (i.e., treating all vectors equally). The degradation in performance when attempting to use just a single vector from such a non-hierarchical embedding was "significantly more." This demonstrates that the Matryoshka loss is not merely a component but a fundamental enabler of MetaEmbed's flexible, truncated retrieval capabilities. Without it, the ability to gracefully scale down vector usage at test-time is severely compromised.
  • Scalability: The models scaled "really well," indicating that the MetaEmbed framework effectively harnesses the increased representational power of larger VLM backbones. Even making a bigger model based on single-vector retrieval "does not get as good as MetaEmbed does," emphasizing the architectural advantage of the multi-vector approach with hierarchical learning.
  • Ablation on Curriculum Training: The speaker mentioned exploring a curriculum training approach, where the model would first optimize only the global features (first term of the loss) before progressively adding local features (subsequent terms). However, this "didn't make much of a difference," suggesting that the simultaneous optimization with the Matryoshka loss is robust enough to induce the desired hierarchical representations without complex staging.

In summary, the experimental findings robustly support MetaEmbed's claim as a highly effective and flexible multimodal retrieval solution, outperforming single-vector methods and demonstrating the critical role of its unique loss function.

Practical Implications

▶ Watch: Exploring explicit global/local feature representation for future work (8:00)

MetaEmbed offers significant practical implications for various stakeholders involved in building, deploying, and managing AI/ML systems, particularly those dealing with large-scale multimodal data retrieval.

For Practitioners and Model Builders:

  • Flexible Retrieval Systems: MetaEmbed provides model builders with unprecedented flexibility in designing retrieval systems. They can now choose the optimal number of vectors to use for a query at inference time, allowing for dynamic trade-offs between retrieval accuracy, latency, and computational cost. For instance, a quick, low-latency search might use only 1-2 vectors for coarse filtering, while a high-precision, critical retrieval task could leverage 5-10 vectors for finer-grained matching. This adaptability is crucial for real-world applications with varying requirements.
  • Enhanced Multimodal RAG: For Retrieval-Augmented Generation (RAG) systems, MetaEmbed allows for more nuanced and contextually rich retrieval. When augmenting LLM prompts with external knowledge, being able to retrieve not just relevant text but also highly relevant images (or multimodal snippets) with varied levels of detail can significantly improve the quality and relevance of generated responses. This can lead to more factual, comprehensive, and engaging AI outputs.
  • Improved Search on Complex Data: Teams building search engines for multimodal databases (e.g., product catalogs with images and descriptions, medical imaging repositories, digital asset management systems) can benefit from MetaEmbed's ability to capture both global and local features. This leads to more accurate and semantically relevant search results, even for complex, ambiguous queries.
  • Streamlined Model Deployment: While MetaEmbed's models are larger (3B-32B parameters), the flexibility to truncate vectors at inference time means that deployment can be optimized for specific edge cases or resource-constrained environments. A single model can serve multiple use cases, reducing the need for separate models or retraining.

For Infrastructure Teams and Deployers:

  • Optimized Resource Utilization: Infrastructure teams can better manage computational resources. For high-throughput, low-latency scenarios, they can configure the system to use fewer vectors, reducing GPU/CPU cycles and memory bandwidth. For offline processing or less latency-sensitive tasks, they can utilize more vectors to maximize accuracy, allowing for efficient resource allocation across different workloads.
  • Scalable Vector Databases: While MetaEmbed still requires storing multiple vectors per item, the ability to control the number of vectors generated (via learnable input tokens) prevents uncontrolled database bloat. Furthermore, the hierarchical nature of the embeddings allows for intelligent indexing strategies, potentially prioritizing the first few vectors for initial fast lookups.
  • Cost-Effectiveness: By enabling a trade-off between accuracy and cost, MetaEmbed can lead to more cost-effective retrieval solutions. Instead of always running the most expensive, highest-accuracy retrieval, teams can dynamically adjust the complexity based on the value of the query, saving computational budget.

Tradeoffs and Limitations:

  • Increased Storage: Despite the control over vector count, MetaEmbed still requires storing multiple vectors per item, which inherently demands more storage space than traditional single-vector embeddings. This needs to be factored into database design and cost.
  • Computational Cost for Full Retrieval: While flexible, utilizing the full set of vectors for maximal accuracy still incurs higher computational costs during similarity comparison than single-vector methods. The benefit lies in the option to reduce this cost when needed, not its elimination.
  • VLM Backbone Dependency: The performance of MetaEmbed is tied to the underlying Vision-Language Model backbone. Advancements in VLMs will benefit MetaEmbed, but also mean keeping up with larger, more complex models.
  • Induced vs. Explicit Feature Separation: The hierarchical feature capture (global vs. local) is largely an induced effect of the Matryoshka loss, rather than an explicit architectural design for spatial feature separation. While effective, further research might explore more explicit mechanisms to guarantee specific feature types are encoded in particular vectors.

In essence, MetaEmbed empowers AI teams to build more intelligent, adaptable, and resource-aware multimodal retrieval systems, bridging the gap between high accuracy and operational efficiency.

Key Takeaways

  • Flexible Multi-Vector Multimodal Retrieval: MetaEmbed introduces a novel framework for multimodal retrieval that can generate a controlled, variable number of vectors for each item, allowing for flexible trade-offs between accuracy and computational cost at test-time.
  • Leverages Autoregressive VLMs: The system repurposes powerful autoregressive Vision-Language Models (like Qwen-VL) by feeding them learnable input tokens, enabling the generation of rich multi-vector embeddings rather than text.
  • Matryoshka-Style Loss is Crucial: A hierarchical Matryoshka-style loss function is fundamental to MetaEmbed, ensuring that early vectors capture global features while later vectors add local details, allowing for graceful performance degradation when truncating vector usage.
  • State-of-the-Art Performance: MetaEmbed achieves superior retrieval accuracy compared to existing single-vector methods and maintains highly competitive performance even when operating in a single-vector mode.
  • Scales with Model Size: The approach demonstrates strong scalability, with performance improving consistently when using larger VLM backbones (3B, 7B, and 32B parameter models).
  • Practical for RAG and Search: It provides a practical solution for building highly adaptable Retrieval-Augmented Generation (RAG) systems and efficient search engines over large, diverse multimodal databases, offering dynamic control over latency and precision.

About the Speaker(s)

The talk was presented by Vicente Ordonez, who leads a research group at Rice University and is also affiliated with Meta Superintelligence Labs. His work focuses on advancing AI/ML research, particularly in areas related to computer vision and multimodal understanding. He credited his student, Zilin Xiao, for leading the development of the MetaEmbed project, highlighting the collaborative nature of the research between academia (Rice University) and industry (Meta). The other co-authors, Qi Ma, Mengting Gu, Chun-cheng Chen, Xintao Chen, and Vijai Mohan, contributed to this joint effort.

Reviews

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026