Manuscript Offprint
arXiv:2608.25412AdaptiveEmbed: Sample-Adaptive Multi-Vector Representation for Multimodal Retrieval
ABSTRACT
Multi-vector representations have emerged as an effective paradigm for multimodal retrieval, representing each sample with multiple complementary embeddings to capture fine-grained cross-modal information. However, existing approaches typically employ a fixed representation capacity, assigning the same number of vectors to all samples regardless of their individual retrieval demands. Such a fixed-capacity formulation overlooks the fact that different samples may require different amounts of representation capacity for effective retrieval. In this work, we introduce Sample-Adaptive Multi-Vector Representation (SAMVR), a new problem setting for multimodal retrieval that studies how multi-vector representation capacity can be allocated at the sample level. Under SAMVR, each sample is represented by a content-adaptive embedding set (CAES), whose capacity is determined according to the sample-specific retrieval utility of additional representation vectors. To instantiate SAMVR, we propose AdaptiveEmbed, a unified framework for learning sample-adaptive multi-vector representations. AdaptiveEmbed learns structured multi-vector representations through Multi-Group Contrastive Learning (MGCL) with the symmetric set-to-set similarity (SetSim), and further employs Utility Policy Optimization (UPO) to determine sample-specific representation capacity via Marginal Utility Allocation (MUA). Experiments across multimodal retrieval benchmarks involving image, text, video, and audio show that sample-adaptive capacity allocation achieves overall better retrieval performance than fixed-capacity multi-vector representations, validating the effectiveness of SAMVR for multimodal retrieval. These results establish SAMVR as a viable formulation for adaptive capacity allocation in multi-vector multimodal retrieval.
1 INTRODUCTION
Multimodal retrieval has increasingly moved from compact single-vector embeddings toward more expressive multi-vector representations. Single-vector models provide an efficient comparison interface by compressing each sample into a single embedding (Radford et al., 2021; Zhai et al., 2023), whereas multi-vector representations expose multiple embeddings to the matching function and thereby support richer fine-grained interactions across modalities (Khattab & Zaharia, 2020; Santhanam et al., 2022; Faysse et al., 2025). Existing studies have primarily focused on how multiple embeddings should be constructed, organized, and compared. In contrast, considerably less attention has been paid to another dimension of the representation: whether different samples should use the same representation capacity.
Equal contribution.
Corresponding author.
(a) Semantic complexity distribution

(b) Capacity preference varies across cohorts
(c) Oracle best-k distribution
Figure 1: Motivation for sample-adaptive multi-vector representation in multimodal retrieval. (a) Multimodal samples exhibit diverse content characteristics. (b) Samples grouped by oracle-optimal k show different capacity-performance trends, motivating sample-adaptive allocation. (c) Oracle-preferred capacities are distributed across the available range, indicating substantial sample-level variation in representation demand. Results are visualized on COCO.
Most existing multi-vector retrieval methods adopt a largely sample-independent representation budget. Learned multi-vector encoders commonly produce a fixed number of representation vectors, while token- or region-level approaches often inherit their representation size from the underlying input structure. More recent flexible representations support multiple operating points at inference time, allowing the retrieval system to trade representation capacity for retrieval cost (Xiao et al., 2026). However, such operating points are typically selected at the system level rather than independently for each sample. Consequently, the amount of multi-vector capacity exposed to retrieval remains largely uniform across samples under a given operating configuration.
We investigate whether this uniform allocation is necessary. Figure 1 presents three complementary observations. First, multimodal samples exhibit substantial content heterogeneity (Fig. 1(a)), suggesting that a single representation budget may be restrictive. However, we find that such surface-level content complexity does not by itself determine how much capacity a sample actually needs; we therefore characterize capacity through its retrieval utility rather than any explicit complexity measure. Grouping samples by their oracle-optimal k (Fig. 1(b)) reveals markedly different capacity-performance trends across samples, and at the dataset level the oracle-preferred capacities are spread across the entire available range (Fig. 1(c)). Together, these observations indicate that the capacity most useful for retrieval varies substantially from one sample to another.
This motivates a different formulation of multi-vector multimodal retrieval: representation capacity itself can be treated as a sample-dependent decision variable. The objective is not simply to expose more vectors, nor to tie capacity to a predefined notion of content complexity, but to allocate representation capacity according to its retrieval utility for each sample. Under this view, multi-vector retrieval moves beyond a globally configured representation budget toward sample-adaptive capacity allocation.
We formalize this problem as Sample-Adaptive Multi-Vector Representation (SAMVR), a new setting for multimodal retrieval in which representation capacity is allocated at the sample level. Given an individual sample, SAMVR asks how much multi-vector capacity should be assigned to it and how the corresponding representation should be constructed according to the utility of additional embeddings. We refer to the resulting representation as a content-adaptive embedding set (CAES), whose composition and capacity are determined individually for each sample.
To instantiate SAMVR, we propose AdaptiveEmbed, a unified framework for learning sample-adaptive multi-vector representations in multimodal retrieval. AdaptiveEmbed separates the learning of candidate representations from the decision of how much representation capacity to allocate to each sample. It first constructs structured candidate embeddings through Multi-Group Contrastive Learning (MGCL) with the symmetric set-to-set similarity (SetSim). It then introduces Utility Policy Optimization (UPO) to learn sample-specific capacity decisions, together with Marginal Utility Allocation (MUA) for allocating additional representations according to their benefit. Together, these components provide a practical realization of SAMVR and enable adaptive multi-vector retrieval within a unified framework.
Our contributions are threefold: (i) we introduce Sample-Adaptive Multi-Vector Representation (SAMVR), a new problem setting for multimodal retrieval that treats multi-vector capacity as a per-sample decision variable driven by retrieval utility; (ii) we propose AdaptiveEmbed, a unified framework instantiating SAMVR that couples multi-group representation learning, a symmetric set-to-set similarity (SetSim) allowing a single embedding set to serve both retrieval directions, and a utility-driven policy that allocates capacity per sample; and (iii) across image, text, video, and audio benchmarks, sample-adaptive allocation achieves higher average mAP than fixed-capacity multi-vector representations while using only around two embeddings per sample versus 3--40 for fixed-capacity baselines.
Retrieval Feedback for Adaptive Decisions. Retrieval results themselves can provide query-dependent feedback about the retrieval environment. Pseudo-relevance feedback refines query representations from initially retrieved candidates, including extensions to multi-vector dense retrieval (Wang et al., 2021), while selective feedback methods learn when such refinement should be applied (Datta et al., 2024). More recently, Col-Bandit shows that the MaxSim interaction matrix itself carries informative query-dependent signals for adaptive late-interaction computation (Pony et al., 2026). These studies motivate retrieval feedback as an observable signal beyond the query representation, which we exploit to guide per-sample capacity decisions.
SAMVR studies a complementary problem: rather than constructing more vectors, compressing a predefined representation, or choosing a global operating budget, we treat the composition and capacity of the embedding set as per-sample variables. Each sample progressively selects representations according to their retrieval utility, with MaxSim responses from a retrieval bank serving as observable feedback. In this sense, SAMVR shifts multi-vector retrieval from a globally configured budget toward sample-adaptive capacity allocation.
3 METHODOLOGY
We first formulate multimodal retrieval with sample-adaptive multi-vector representations and introduce SetSim as the set-to-set similarity. We then present AdaptiveEmbed, covering its architecture, multi-group representation learning, and utility-driven capacity allocation.
3.1 PRELIMINARIES
Problem Definition. Let and denote the sample spaces of two modalities. Given a query and a cross-modal gallery , multimodal retrieval ranks the gallery samples according to their similarity to ; retrieval in the reverse direction is defined analogously. SAMVR maps each sample to a sample-specific multi-vector representation:
where is the content-adaptive embedding set (CAES), is its sample-specific capacity, and denotes the set of available capacities. Throughout, we use for the size of the candidate

Figure 2: Comparison between MaxSim and SetSim for bidirectional multimodal retrieval. (a) MaxSim defines a directed comparison, leading the two retrieval directions to use role-specific query/database configurations. (b) SetSim performs symmetric one-to-one matching between embedding sets, allowing each modality to use a single embedding set for both retrieval directions.
embedding pool and for an activated capacity, . We use to index the two retrieval directions.
Set-to-Set Similarity. Figure 2 contrasts MaxSim and SetSim in bidirectional multimodal retrieval. MaxSim independently matches each query-side vector to its most similar candidate-side vector, so exchanging the two sets changes the matching direction. SetSim instead applies the same set-level comparison in both directions, allowing the same embedding set to represent a sample regardless of the retrieval direction.
Given two L2-normalized embedding sets of equal cardinality, and , their token-level similarity matrix is defined by . SetSim finds the bijective correspondence with the maximum average similarity:
where is the set of permutations over elements, and assigns each vector in to a unique vector in , i.e., a maximum-weight one-to-one assignment (Kuhn, 1955). Since the assignment is a bijection between two equal-cardinality sets, the resulting score is symmetric in and . With at most tokens per set, we compute the optimal matching exactly rather than approximately; the same exact computation is used in both training and inference.
Retrieval-time activation. At retrieval time, the query's CAES determines the activation granularity: it specifies which token positions are active, and each gallery sample activates the same positions of its embedding set for comparison. Because the token positions are aligned across samples through the group-prefix structure learned in Stage I (Sec. 3.2), this yields two equal-cardinality sets whose coarse- and fine-grained tokens are matched in kind, so SetSim in Eq. 2 is always applied between sets of equal size.
3.2 ARCHITECTURE
Figure 3 presents the two-stage architecture of AdaptiveEmbed. Stage I learns a structured, fixed-size pool of candidate embeddings at multiple capacity levels. Stage II evaluates the retrieval utility of expanding the current representation and selects a sample-specific subset as the final content-adaptive embedding set (CAES). For retrieval, the CAES of a query is compared with each gallery CAES using SetSim, and the gallery is ranked by the resulting similarity scores.
Stage I: Embedding Set Learning. Let denote a sample from modality . Its corresponding modality encoder produces a global feature and hidden states , where is the input sequence length and is the encoder dimension. A Q-Former (Li et al., 2023)
Stage I: Embedding Set Learning
Stage II: CAES Construction

Figure 3: Overview of AdaptiveEmbed. The framework first learns a structured multi-vector embedding set through Multi-Group Contrastive Learning (MGCL), and then constructs a sample-specific content-adaptive embedding set (CAES) using a Token Selection Transformer (TST) trained with Utility Policy Optimization (UPO) and a Marginal Utility Allocation (MUA) strategy.
processes using learnable queries and outputs . Here , , and denote the encoder, Q-Former, and shared retrieval dimensions, respectively, and maps from to . Each output is projected into the shared retrieval space by a modality-specific projection and L2-normalized as . The resulting candidate embedding set is denoted by , with .
Multi-Group Contrastive Learning (MGCL). MGCL organizes into ordered groups. The -th group is written as , where is its size and . Each group follows an ordered prefix structure: for a supported capacity , its -vector representation is . Following Matryoshka Representation Learning and group-based multi-vector learning (Kusupati et al., 2022; Xiao et al., 2026), MGCL jointly optimizes all supported prefixes so that shorter prefixes provide compact representations and longer prefixes introduce additional retrieval information.
Given a paired minibatch , we define as the similarity between the -th sample of modality and the -th sample of modality . Let denote the total number of optimized group-prefix configurations. MGCL applies bidirectional InfoNCE (Oord et al., 2018) to every configuration:
where is the temperature. The two terms optimize retrieval from modality A to modality B and in the reverse direction, respectively. The resulting ordered groups constitute the candidate representation space used by Stage II.
Stage II: CAES Construction. Stage II determines which candidate embeddings should be allocated to each sample. At allocation step , let denote the currently selected embeddings and let contain the admissible next embeddings, i.e., those that extend one of the ordered groups by its next prefix element while keeping every group a valid prefix (Appendix A). We use a fixed retrieval bank to provide the policy with an observation of how the current representation behaves during retrieval. For a query token and a bank item , we compute its MaxSim response ; ranking bank items by the response of the currently selected tokens and keeping the top ones yields a feedback matrix that records how both selected and candidate tokens respond to the most relevant bank items, following the observation that MaxSim Top responses carry informative query-dependent feedback (Pony et al., 2026). This feedback adds no retrieved content to the representation, and exposes neither ground-truth identities nor retrieval ranks or utilities to the policy; the marginal utilities in Eq. 4 are detached and used only as training targets. The allocation state is therefore , and its exact construction and encoding are detailed in Appendix A.4. A lightweight Token Selection Transformer (TST) parameterized by predicts a policy over the action space . Utility Policy Optimization (UPO) trains this policy using the retrieval effect of each action. For training instance , the marginal utility of adding candidate at step is , where denotes the retrieval AP obtained when is used as the representation of sample . We standardize this utility within retrieval direction and allocation step as , where and are the corresponding mean and standard deviation; stopping is assigned .
Let contain the allocation states generated from the training set. Since the utilities of all admissible actions are explicitly evaluated, UPO optimizes their expected retrieval utility under the predicted policy:
Since every admissible action’s marginal utility is explicitly enumerated at each step, UPO directly optimizes the expected utility under the current policy, rather than estimating it from sampled trajectories as in policy-gradient methods.
Marginal Utility Allocation (MUA) applies the learned policy to construct the final representation. Starting from the minimum valid prefix , it selects and denotes its probability by . The selected set is updated according to
where is the allocation threshold. After an expansion, is updated to contain the next admissible candidates. The process terminates at step T and returns as the CAES of sample . MUA introduces no additional learnable parameters.
4 EXPERIMENTS
We evaluate SAMVR on image-text, video-text, and audio-text retrieval (Sec. 4.2), ablate AdaptiveEmbed's components (Sec. 4.3), and analyze adaptive representation and parameter sensitivity (Secs. 4.4 and 4.5). Appendix C provides further experiments, including metric robustness, bank robustness, utility-cost trade-offs across modalities, allocation-behavior analyses, and examples.
4.1 EXPERIMENTAL SETUP
We evaluate SAMVR on eight benchmarks spanning image-text (COCO (Lin et al., 2014), Flickr30K (Young et al., 2014), ADE20K (Zhou et al., 2017), OpenImages (Kuznetsova et al., 2020)), video-text (Krishna et al., 2017; Anne Hendricks et al., 2017), and audio-text (Drossos et al., 2020; Morato & Mesaros, 2021) retrieval, unified under a full-gallery, one-to-one protocol: each query has exactly one positive item, and all baselines are re-evaluated on identical galleries and query sets. For image-text retrieval, training uses only COCO, and the remaining three datasets are evaluated strictly zero-shot; video-text and audio-text models are trained and evaluated in-domain. We report bidirectional mAP@ALL and Avg. Tokens, which denotes the mean number of active vectors, averaged over all queries in both retrieval directions. Baselines include single-vector and
Table 1: Full-gallery bidirectional image-text retrieval results on four datasets, measured by mAP (%). T2I and I2T denote text-to-image and image-to-text retrieval, respectively. Avg. Tokens is computed on COCO.
| Method | Avg. Tokens | COCO | Flickr30K | ADE20K | OpenImages | ||||
|---|---|---|---|---|---|---|---|---|---|
| T2I | I2T | T2I | I2T | T2I | I2T | T2I | I2T | ||
| Single-Vector Retrieval | |||||||||
| CLIP ViT-L/14 | 1 | 9.38 | 12.78 | 15.58 | 21.42 | 7.16 | 11.80 | 3.85 | 7.71 |
| SigLIP | 1 | 23.04 | 23.16 | 32.55 | 37.20 | 15.76 | 19.87 | 9.19 | 15.65 |
| VLM2Vec-V2 | 1 | 35.15 | 36.96 | 47.12 | 45.43 | 24.36 | 27.00 | 15.19 | 18.61 |
| Qwen3-VL-Embedding-2B | 1 | 41.62 | 41.11 | 56.25 | 57.05 | 28.41 | 28.63 | 14.63 | 16.36 |
| Qwen3-VL-Embedding-8B | 1 | 50.20 | 49.52 | 61.29 | 65.07 | 39.09 | 37.90 | 20.14 | 22.37 |
| Multi-Vector Retrieval (Fixed Capacity) | |||||||||
| ColQwen2 | 578.3 | 38.95 | 24.44 | 49.26 | 30.21 | 26.84 | 16.71 | - | - |
| MetaEmbed (2/4) | 3 | 62.31 | 60.48 | 77.57 | 77.24 | 46.66 | 46.45 | 27.74 | 30.03 |
| MetaEmbed (4/8) | 6 | 62.33 | 60.00 | 76.97 | 77.29 | 47.77 | 47.88 | 29.34 | 30.93 |
| MetaEmbed (8/16) | 12 | 62.15 | 59.37 | 77.10 | 76.46 | 48.22 | 47.75 | 29.44 | 30.46 |
| MetaEmbed (16/64) | 40 | 62.27 | 59.12 | 77.10 | 76.10 | 48.22 | 47.75 | 29.33 | 30.23 |
| Multi-Vector Retrieval (Sample-Adaptive Capacity) | |||||||||
| AdaptiveEmbed (Ours) | 2.1 | 63.45 | 61.14 | 78.27 | 75.72 | 50.21 | 47.27 | 29.90 | 31.09 |
| Oracle AdaptiveEmbed | 2.2 | 69.51 | 67.85 | 82.43 | 80.88 | 57.10 | 54.59 | 37.15 | 38.29 |
Table 2: Generalization of sample-adaptive multi-vector representations to video-text and audio-text retrieval, measured by mAP (%). T2V, V2T, T2A, and A2T denote text-to-video, video-to-text, text-to-audio, and audio-to-text retrieval, respectively. Avg. Tokens is computed on ActivityNet.
| Method | Avg. Tokens | ActivityNet | DiDeMo | Clotho | MACS | ||||
|---|---|---|---|---|---|---|---|---|---|
| T2V | V2T | T2V | V2T | T2A | A2T | T2A | A2T | ||
| Single-Vector Retrieval | |||||||||
| VLM2Vec-V2 | 1 | 33.59 | 33.34 | 20.97 | 18.90 | - | - | - | - |
| Qwen3-VL-Embedding-2B | 1 | 60.32 | 48.46 | 47.12 | 41.42 | - | - | - | - |
| Qwen3-VL-Embedding-8B | 1 | 66.26 | 57.48 | 54.76 | 48.35 | - | - | - | - |
| LAION-CLAP | 1 | - | - | - | - | 16.21 | 20.42 | 10.21 | 9.60 |
| WAVE-7B | 1 | - | - | - | - | 30.65 | 28.47 | 10.80 | 4.75 |
| Multi-Vector Retrieval (Fixed Capacity) | |||||||||
| MetaEmbed (2/4) | 3 | 60.86 | 52.13 | 47.26 | 44.75 | 32.03 | 30.17 | 14.93 | 10.87 |
| MetaEmbed (4/8) | 6 | 61.42 | 54.37 | 47.88 | 46.12 | 29.60 | 30.90 | 17.31 | 13.30 |
| MetaEmbed (8/16) | 12 | 61.51 | 55.60 | 47.71 | 46.62 | 30.42 | 31.14 | 18.55 | 14.56 |
| MetaEmbed (16/64) | 40 | 60.28 | 54.34 | 46.15 | 45.10 | 29.51 | 30.24 | 18.59 | 15.12 |
| Multi-Vector Retrieval (Sample-Adaptive Capacity) | |||||||||
| AdaptiveEmbed (Ours) | 1.9 | 61.62 | 56.48 | 48.01 | 46.16 | 32.56 | 31.75 | 20.41 | 18.01 |
| Oracle AdaptiveEmbed | 1.7 | 67.28 | 60.44 | 53.14 | 50.09 | 40.75 | 38.95 | 24.03 | 20.72 |
fixed-capacity multi-vector methods on the modalities they support. For a controlled comparison, MetaEmbed is reproduced within our framework and inherits its Matryoshka-style grouped contrastive learning: it shares the backbone, training data, and all Stage-I optimization settings with AdaptiveEmbed, differing only in the number of representation tokens and the training loss. We additionally report Oracle AdaptiveEmbed, a non-deployable upper bound selecting the highest-utility representation per sample. Dataset statistics, protocol construction, and full implementation details are in Appendix B.
Table 3: Ablation study of AdaptiveEmbed. We evaluate the contribution of Multi-Group Contrastive Learning (MGCL) and bank feedback on bidirectional multimodal retrieval. Results are measured by mAP (%). Avg. Tokens is computed on COCO.
| Method | Avg. Tokens | COCO | Flickr30K | ActivityNet | Clotho | ||||
|---|---|---|---|---|---|---|---|---|---|
| T2I | I2T | T2I | I2T | T2V | V2T | T2A | A2T | ||
| AdaptiveEmbed (Ours) | 2.1 | 63.45 | 61.14 | 78.27 | 75.72 | 61.62 | 56.48 | 32.56 | 31.75 |
| w/o MGCL | 2.1 | 62.44 | 60.03 | 77.85 | 75.57 | 61.35 | 56.21 | 30.16 | 29.94 |
| w/o bank-feedback | 2.5 | 62.89 | 59.58 | 77.85 | 75.19 | 61.41 | 56.25 | 31.43 | 30.62 |


Figure 4: Analysis of adaptive representation on Flickr30K under zero-shot transfer. (a) Under the same MGCL-trained representation, fixed-K retrieval does not improve monotonically with capacity, whereas AdaptiveEmbed surpasses every fixed-K operating point at a lower average capacity; the oracle marks the upper bound of sample-wise allocation. (b) Multi-group representation learning outperforms single-group structures under markedly different token allocations. (c) Under MaxSim, the fraction of query tokens matched to distinct database tokens drops from 100.0% to 80.8% as capacity grows, whereas SetSim guarantees one-to-one coverage by construction.
4.2 RESULTS
Table 1 reports the primary image-text results. With an average of only 2.1 tokens per query, AdaptiveEmbed attains the strongest performance on 6 of the 8 retrieval directions and the highest average mAP overall, both in-domain on COCO (63.45/61.14 T2I/I2T) and under strict zero-shot transfer—most notably on OpenImages, where it leads both directions against a gallery of over 546K items. Across fixed-capacity configurations, increasing the budget from 3 to 40 tokens does not consistently improve retrieval, confirming that a common capacity for all samples is unnecessary. Oracle AdaptiveEmbed reaches 61.0 average mAP at a comparable average capacity (2.2 tokens), showing that sample-adaptive allocation admits substantially stronger retrieval at essentially no extra representation cost—the SAMVR setting itself carries far more potential than fixed-capacity budgets.
We next examine whether sample-adaptive allocation extends beyond image-text retrieval. Table 2 reports video-text and audio-text results, keeping the same SAMVR formulation and only swapping in the modality-specific encoder. AdaptiveEmbed achieves the strongest multi-vector result on 7 of the 8 directions with an average of 1.9 tokens on ActivityNet, and the same pattern holds as in the image case: enlarging the fixed multi-vector budget does not consistently help, whereas per-sample allocation remains effective at a markedly smaller average representation. The oracle again shows further headroom under comparable or lower average capacity, confirming that adaptive capacity allocation is not tied to a particular modality pair.
4.3 ABLATION STUDY
We ablate the two key components of AdaptiveEmbed on Table 3: Multi-Group Contrastive Learning (MGCL), which structures the underlying representation, and MaxSim bank feedback, which supplies retrieval-aware observations for allocation. Removing MGCL consistently degrades performance at a comparable budget, showing that simply producing multiple vectors is insufficient—organizing them into complementary groups provides a stronger basis for adaptive selection. Removing the bank-feedback branch also lowers performance despite a larger average capacity, con-
Bidirectional retrieval time and storage

(a) Bidirectional set-matching time and storage on COCO.
Sensitivity to capacity threshold and feedback depth
(b) Sensitivity to the capacity threshold and feedback depth Top-L on Flickr30K and Clotho.
Figure 5: Efficiency and parameter sensitivity analysis of AdaptiveEmbed.
firming that additional vectors cannot compensate for the missing retrieval-context signal and that feedback is an informative signal for deciding which representation to expose per sample.
4.4 ANALYSIS OF ADAPTIVE REPRESENTATION
We analyze why adaptive allocation works from four angles: whether the gain stems from allocation itself rather than representation capacity (Fig. 4(a)), whether the multi-group structure is necessary (Fig. 4(b)), why SetSim is the right comparison for CAES (Fig. 4(c)), and what adaptive allocation costs at retrieval time (Fig. 5a). Appendix C extends these analyses with additional retrieval metrics (Recall, nDCG, mean rank) on COCO and zero-shot ADE20K, bank-robustness experiments, the utility-cost trade-off and single- vs. multi-group comparisons across modalities, and the decision-complexity and learned-vs.-oracle allocation distributions.
Does adaptive allocation help beyond simply using more or fewer vectors? Figure 4(a) holds the representation fixed—all operating points share the same MGCL-trained embedding set—so only the allocation differs. Fixed-k retrieval does not improve monotonically with capacity, while AdaptiveEmbed surpasses every fixed-k point at a lower average capacity: the gain is attributable to per-sample allocation, not a stronger encoder or a larger budget. The oracle marks substantial remaining headroom.
Does the multi-group structure matter? Figure 4(b) compares single- and multi-group structures on Flickr30K. Both follow the same coarse-to-fine prefix principle and differ only in the number of coarse anchors. Multi-group configurations match or exceed single-group ones across token allocations, indicating that distributing capacity over multiple semantic anchors, rather than deepening a single coarse-to-fine chain, provides the stronger basis for adaptive selection.
Why SetSim rather than MaxSim? Figure 4(c) measures the fraction of query tokens whose MaxSim responses fall on distinct database tokens: coverage drops from 100.0% to 80.8% as MetaEmbed grows from 2/4 to 16/64, i.e., more query tokens collapse onto the same database tokens at larger capacity. SetSim avoids this by construction through its one-to-one assignment between equal-cardinality sets.
What does adaptive allocation cost at retrieval time? Figure 5a reports bidirectional retrieval time and storage on COCO. Activating only about two tokens per query, AdaptiveEmbed's set-to-set matching cost stays far below high-capacity fixed configurations, whose late-interaction cost grows sharply with the number of vectors.
4.5 PARAMETER SENSITIVITY ANALYSIS
We vary the capacity threshold and feedback depth Top-L on Flickr30K and Clotho (Fig. 5b). Across the evaluated ranges, Avg. mAP varies by at most 0.43 on Flickr30K and 0.16 on Clotho, while the average capacity remains close to two tokens. Notably, increasing Top-L reduces the Clotho mean capacity from 1.90 to 1.63 without degrading retrieval performance. These results show that AdaptiveEmbed is robust to both hyperparameters and does not depend on a narrowly tuned configuration.
5 CONCLUSION
In this work, we introduce Sample-Adaptive Multi-Vector Representation (SAMVR), a new problem setting that explores sample-level representation capacity allocation in multi-vector representation learning for multimodal retrieval. SAMVR formulates representation capacity as a sample-dependent variable and defines content-adaptive embedding sets (CAES) as the resulting representations, where different samples can be represented with different amounts of embedding capacity. To investigate the feasibility of SAMVR in multimodal retrieval, we present AdaptiveEmbed, an initial framework that combines candidate representation learning with utility-driven capacity allocation. Through Multi-Group Contrastive Learning (MGCL), set-to-set similarity (SetSim), and Utility Policy Optimization (UPO) with Marginal Utility Allocation (MUA), AdaptiveEmbed provides one possible implementation of sample-adaptive multi-vector representations. Experiments across diverse multimodal retrieval benchmarks verify that sample-adaptive representation capacity can be learned and evaluated in practice. We hope SAMVR can serve as a starting point for further investigation into adaptive representation learning, where the allocation of representation capacity becomes an explicit research problem.
REFERENCES
Lisa Anne Hendricks, Oliver Wang, Eli Shechtman, Josef Sivic, Trevor Darrell, and Bryan Russell. Localizing moments in video with natural language. In Proceedings of the IEEE international conference on computer vision (ICCV), 2017.
Suchana Datta, Debasis Ganguly, Sean MacAvaney, and Derek Greene. A deep learning approach for selective relevance feedback. In European Conference on Information Retrieval (ECIR), 2024.
Laxman Dhulipala, Majid Hadian, Rajesh Jayaram, Jason Lee, and Vahab Mirrokni. Muvera: Multi-vector retrieval via fixed dimensional encoding. In Advances in Neural Information Processing Systems (NeurIPS), 2024.
Konstantinos Drossos, Samuel Lipping, and Tuomas Virtanen. Clotho: An audio captioning dataset. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2020.
Manuel Faysse, Hugues Sibille, Tony Wu, Bilel Omrani, Gautier Viaud, Céline Hudelot, and Pierre Colombo. Colpali: Efficient document retrieval with vision language models. In International Conference on Learning Representations (ICLR), 2025.
Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 conference on empirical methods in natural language processing (EMNLP), 2020.
Omar Khattab and Matei Zaharia. Colbert: Efficient and effective passage search via contextualized late interaction over bert. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), 2020.
Ranjay Krishna, Kenji Hata, Frederic Ren, Li Fei-Fei, and Juan Carlos Niebles. Dense-captioning events in videos. In Proceedings of the IEEE international conference on computer vision (ICCV), 2017.
H. W. Kuhn. The hungarian method for the assignment problem. Naval Research Logistics Quarterly, 1955.
Aditya Kusupati, Gantavya Bhatt, Aniket Rege, Matthew Wallingford, Aditya Sinha, Vivek Ramanujan, William Howard-Snyder, Kaifeng Chen, Sham Kakade, Prateek Jain, and Ali Farhadi. Matryoshka Representation Learning. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
Alina Kuznetsova, Hassan Rom, Neil Alldrin, Jasper Uijlings, Ivan Krasin, Jordi Pont-Tuset, Shahab Kamali, Stefan Popov, Matteo Malloci, Alexander Kolesnikov, et al. The open images dataset v4: Unified image classification, object detection, and visual relationship detection at scale. International journal of computer vision (IJCV), 2020.
Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. Blip-2: Bootstrapping language-image pre-training with frozen image encoders and large language models. In International conference on machine learning (ICML), 2023.
Mingxin Li, Yanzhao Zhang, Dingkun Long, Keqin Chen, Sibo Song, Shuai Bai, Zhibo Yang, Pengjun Xie, An Yang, Dayiheng Liu, et al. Qwen3-vl-embedding and qwen3-vl-reranker: A unified framework for state-of-the-art multimodal retrieval and ranking. arXiv preprint arXiv:2601.04720, 2026.
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In European conference on computer vision (ECCV), 2014.
Rui Meng, Ziyan Jiang, Ye Liu, Mingyi Su, Xinyi Yang, Yuepeng Fu, Can Qin, Zeyuan Chen, Ran Xu, Caiming Xiong, Yingbo Zhou, Wenhu Chen, and Semih Yavuz. VLM2Vec-V2: Advancing Multimodal Embedding for Videos, Images, and Visual Documents. arXiv preprint arXiv:2507.04590, 2025.
Irene Martin Morato and Annamaria Mesaros. Diversity and bias in audio captioning datasets. In Detection and Classification of Acoustic Scenes and Events (DCASE), 2021.
Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
Jordi Pont-Tuset, Jasper Uijlings, Soravit Changpinyo, Radu Soricut, and Vittorio Ferrari. Connecting vision and language with localized narratives. In European Conference on Computer Vision (ECCV), 2020.
Roi Pony, Adi Raz Goldfarb, Oshri Naparstek, Idan Friedman, Udi Barzelay, and Eli Schwartz. Col-bandit: Query-time top-k estimation for late-interaction retrieval. arXiv preprint arXiv:2602.02827, 2026.
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning (ICML), 2021.
Keshav Santhanam, Omar Khattab, Jon Saad-Falcon, Christopher Potts, and Matei Zaharia. Colbertv2: Effective and efficient retrieval via lightweight late interaction. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), 2022.
Changli Tang, Qinfan Xiao, Ke Mei, Tianyi Wang, Fengyun Rao, and Chao Zhang. Wave: learning unified & versatile audio-visual embeddings with multimodal llm. In International Conference on Learning Representations (ICLR), 2026.
Xiao Wang, Craig Macdonald, Nicola Tonellotto, and Iadh Ounis. Pseudo-relevance feedback for multiple representation dense retrieval. In Proceedings of the 2021 ACM SIGIR International Conference on Theory of Information Retrieval (ICTIR), 2021.
Yusong Wu, Ke Chen, Tianyu Zhang, Yuchen Hui, Taylor Berg-Kirkpatrick, and Shlomo Dubnov. Large-scale contrastive language-audio pretraining with feature fusion and keyword-to-caption augmentation. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2023.
Zilin Xiao, Qi Ma, Mengting Gu, Chun-cheng Jason Chen, Xintao Chen, Vicente Ordonez, and Vijai Mohan. Metaembed: Scaling multimodal retrieval at test-time with flexible late interaction. In International Conference on Learning Representations (ICLR), 2026.
This picture is clicked inside the room. At the bottom of the picture, we see a black dog and a pillow are on the bed. Beside that, we see a white dog. On the right side, we see a black cupboard. Beside that, we see a white door. On the left side, we see a cupboard in which books are placed. We see a lamp and the photo frames are placed on the cupboard. Beside that, we see a musical instrument which looks like a keyboard. Beside that, we see the cartoon boxes and a bag. In the middle, we see a mirror in which we can see the cartoon box, musical instrument, cupboard and a bag. We see a man is sitting on the chair and in front of him, we see a table on which a monitor, keyboard and some other objects are placed. In the background, we see a white wall on which a white board is placed.
In this image there are group of persons standing and walking. In the center the boy in the front is holding stick and walking wearing a pink colour helmet. And in the center there are the boys walking the boy wearing yellow colour jacket is holding a ski-bound along with him, and at the right side the man is standing and the persons at the right side are walking holding a stick in their hands. At the left side the man wearing a white shirt is standing and the person next to him is also standing. In the background the persons are standing. There is a building, trees with snow. On the ground there is a snow. At the left side of the building there are some text and lights on it.

12T: tokens: [g0];
SetSim: 0.7416; k=1
T2I: tokens: [g0];
SetSim: 0.7416; k=1
In this image I can see a ship in red color there is a ladder and a board in the ship, at right there is a flag hanging at the back ground I can see few other buildings and at right I can see a man standing, at the top there is a sky, at the bottom there are water.
12T: tokens: [g0, g1];
SetSim: 0.6633; k=2
T2I: tokens: [g0, g1];
SetSim: 0.6633; k=2
The person wearing white dress is holding a ball with one of his hands and wearing a gloves with his another hand and there is a greenery ground in front of him and there is a fence and few people standing in the background.

12T: tokens: [g0, z1, g1];
SetSim: 0.6140; k=3
T2I: tokens: [g0, z1, g1];
SetSim: 0.6140; k=3
A person wearing jacket, helmet is on a ski board holding ski sticks. There is snow. On the back there is a banner, stand, ropeway, buildings. And it is covered with snow.

12T: tokens: [g0, z1, g1, z2];
SetSim: 0.4531; k=4
T2I: tokens: [g0, z1, g1, z2, z4];
SetSim: 0.4556; k=5
In this image there are group of persons standing and walking. In the center the boy in the front is holding stick and walking wearing a pink colour helmet. And in the center there are the boys walking the boy wearing yellow colour jacket is holding a ski-bound along with him, and at the right side the man is standing and the persons at the right side are walking holding a stick in their hands. At the left side the man wearing a white shirt is standing and the person next to him is also standing. In the background the persons are standing. There is a building, trees with snow. On the ground there is a snow. At the left side of the building there are some text and lights on it.
12T: tokens: [g0, z1, g1, z4, z5, z6];
SetSim: 0.5309; k=6
T2I: tokens: [g0, g1, z4, z5];
SetSim: 0.5152; k=4
In this picture there is a black slip on a road and we observe a wooden stage where the shop materials board. In the background we observe few grasslands in the boat.
12T: tokens: [g0, z1, z2, z3];
SetSim: 0.5242; k=4
T2I: tokens: [g0, z1, z2, z3];
SetSim: 0.5242; k=4
John the background we can see windows. We can see a frame on a wall, here this is a bathub and a towel on it. On the floor we can see a bag and clothes and towels in it. Here in a jar we can see twigs. This is a cupboard and a desk. On the platform we can see towels which are folded, candle with stand, frame and a wash basin. Here in a mirror we can see the reflection of lights, ceiling, wall and a napkin hanged too stand. At the left side of the picture we can see bottles on a platform. These are tips with pipes.
12T: tokens: [g0, z1];
SetSim: 0.6090; k=2
T2I: tokens: [g0, z1];
SetSim: 0.6090; k=2
In the center of the image we can see man standing and holding baseball but on the grass. On the right side of the image we can see persons standing. In the background we can see ball, ground, advertising.
12T: tokens: [g0, z1, g1, z4, z5];
SetSim: 0.5006; k=5
T2I: tokens: [g0, z1, g1, z2, z4, z5];
SetSim: 0.5036; k=6
In this picture we can see a person holding phone in his hand. There is a television into the wall to the right side.
12T: tokens: [g0, z1, g1, z4];
SetSim: 0.6093; k=4
T2I: tokens: [g0, z1, g1, z4];
SetSim: 0.6093; k=4
In this image, we can see few peoples are standing on the floor. Few are holding some items and they are smiling. At the bottom, we can see a table, some items are there on it. On right side and left side, there is a sofa and the middle there is shelf some items are there on it. Background, there is a wall photo frame, posters, stickers, window shades, window, hangings. At the top of the image, there is a roof.
12T: tokens: [g0, z1, g1, z2, z4, z3, z5, z6];
SetSim: 0.4939; k=8
T2I: tokens: [g0, z1, g1, z2, z4, z3, z5, z6];
SetSim: 0.4939; k=8
In this image I can see a cup board in brown color, top of the cup board there is a board in blue and white color, at the background I can see a wall in brown and white color. At left a railing and water.
12T: tokens: [g0, z1, g1];
SetSim: 0.3739; k=3
T2I: tokens: [g0, z1, g1, z2, z3];
SetSim: 0.3865; k=5
Here there are animals grass in the water there are birds and in the back there are green color trees.

12T: tokens: [g0, z1, g1, z2, z4, z5, z6];
SetSim: 0.6300; k=7
T2I: tokens: [g0, z1, g1, z4, z5, z6];
SetSim: 0.6262; k=6
Here is the man running and holding the baseball bat. He wore T-shirt, trouser, shoes, gloves and helmet. I think he is playing baseball game. At the right corner of the image I can see a person standing with a baseball glove. There are few people standing and sitting. They are watching a baseball game. This looks like a fessing with green color poles.
12T: tokens: [g0, g1, z4];
SetSim: 0.4005; k=3
T2I: tokens: [g0, z1, g1, z4, z5];
SetSim: 0.3836; k=5
I can see in this image a board, a building and a couple of trees I can also see a garden with few plants and flowers. In the background I can see couple of vehicles and a person on the ground.
12T: tokens: [g0, g1, z4, z5];
SetSim: 0.5769; k=4
T2I: tokens: [g0, g1, z4];
SetSim: 0.5769; k=3
In the picture a bird is sitting on the stem on the tree.

12T: tokens: [g0, g1, z4, z5, z6];
SetSim: 0.5661; k=5
T2I: tokens: [g0, z1, g1, z2, z4, z5, z6];
SetSim: 0.5649; k=7
Figure 6: Oracle content-adaptive embedding sets on COCO. Each sample shows its narrative and, for both retrieval directions, the oracle-selected tokens, the resulting SetSim score, and the capacity k.
Peter Young, Alice Lai, Micah Hodosh, and Julia Hockenmaier. From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions. Transactions of the association for computational linguistics (TACL), 2014.
Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In IEEE/CVF International Conference on Computer Vision (ICCV), 2023.
Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ade20k dataset. In IEEE conference on computer vision and pattern recognition (CVPR), 2017.
A DETAILED FORMULATION OF ADAPTIVE REPRESENTATION ALLOCATION
This appendix provides the concrete instantiation of the sample-adaptive allocation described formally in Sec. 3.2 and Stage II. We specify the group configuration, the multi-step decision process used by AdaptiveEmbed, the construction of the bank feedback vector, and the oracle upper bound.
A.1 GROUP CONFIGURATION
In our instantiation, the candidate embedding set contains tokens, organized by MGCL into ordered groups of equal size:
Here and denote the coarse (primary) tokens that carry global semantics, while denote fine (complementary) tokens that provide additional discriminative detail. Each group follows an ordered prefix structure, so that shorter prefixes yield compact representations and longer prefixes progressively add fine-grained information. The two coarse tokens head the two groups respectively, making the group boundary aligned with the coarse-to-fine transition.
A.2 MULTI-STEP ADAPTIVE DECISION
Although the group configuration admits many prefix combinations, AdaptiveEmbed does not predict a representation from the full combinatorial space at once. Instead, it constructs the CAES through a short sequence of decisions, each expanding the current representation along an admissible group prefix or terminating with STOP. Our instantiation uses a three-step process, and every step may terminate early.
Starting from the minimal representation , the decisions are:
The first decision determines whether the coarse token already suffices (STOP), whether a second coarse token should be added (), or whether a fine token should be introduced (). If expansion continues, the second decision merges toward the balanced four-token representation , and the third decision optionally completes the full eight-token representation. Each choice corresponds to one ADD/STOP action in Stage II (Eq. 5), and allocation terminates as soon as the predicted expansion probability falls below the threshold .
Reachable representations. Because each step may stop, the policy reaches one of five terminal CAES configurations, spanning capacities from a single token to the full set:
| Capacity | Terminal CAES | Terminating decision |
|---|---|---|
| 1 | STOP at Step 1 | |
| 2 | expand-coarse, STOP at Step 2 | |
| 2 | expand-fine, STOP at Step 2 | |
| 4 | STOP at Step 3 | |
| 8 | expand at Step 3 |
This hierarchical process allocates capacity according to sample-specific retrieval utility rather than assigning a fixed number of tokens to all samples.
Example trajectories. The five reachable configurations correspond to the following decision trajectories:
- Coarse-sufficient. The initial coarse token already discriminates the sample:
- Coarse-expanded. A second coarse token resolves residual global ambiguity, without fine detail:
- Fine-refined. A small amount of complementary detail is added on top of the single coarse token:
- Balanced. Both groups are partially activated to a balanced four-token representation:
- Full-capacity. Rich or ambiguous content triggers expansion to the complete eight-token set:
A.3 ORACLE UPPER BOUND
The Oracle AdaptiveEmbed reported in the main tables is a non-deployable upper bound that measures the potential of sample-adaptive allocation. It follows the same progressive expansion principle as the deployed policy (Appendix A.2)—starting from and repeatedly deciding whether to extend one of the two ordered groups by its next prefix element or to terminate—but at a finer granularity. Whereas the deployed policy expands in coarse blocks and merges branches, terminating in three steps at five terminal configurations, the oracle expands one token at a time and keeps all branches distinct, so its trajectories may take a variable number of steps and reach every admissible configuration rather than a merged subset.
Concretely, we take the ordered prefixes of each group,
(10)
and form all combinations of one prefix from each group, which yields the finite set of reachable configurations
i.e., the full Cartesian product of the two groups' prefixes ( is always active). Representative trajectories include:
The remaining trajectories differ only in the order and depth to which each group is expanded, and all of them terminate in one of the 20 configurations of M.
For each sample x, the oracle scores every reachable configuration under the retrieval objective and selects the best one:
where denotes the retrieval AP obtained when is used as the representation of , consistent with in Stage II. In implementation, we evaluate these 20 configurations directly, since trajectories reaching the same configuration are equivalent under the retrieval objective. The oracle does not correspond to a deployable model, as it requires per-sample exhaustive search under the target metric; it serves only to quantify how closely the learned policy approaches the best achievable sample-wise allocation. The gap between AdaptiveEmbed and this oracle in Tables 1 and 2 therefore separates the potential of the SAMVR setting from the capability of the current allocation model.
A.4 BANK FEEDBACK CONSTRUCTION
The feedback matrix used in Stage II lets the capacity policy observe not only the current sample's tokens but also how those tokens actually respond against a retrieval bank. If a candidate token yields a response pattern that differs from the already-selected tokens on the current top-scoring bank items, it is more likely to carry incremental retrieval information; otherwise the policy can safely stop expanding.
Construction. Let the L2-normalized query tokens be and the tokens of the -th bank item be . For each query token we compute its MaxSim response to bank item :
Table 4: Dataset statistics and unified full-gallery retrieval protocols. The Train column denotes the gallery prefix used for representation or policy training when applicable. Each query has exactly one positive item in the full gallery.
| Modality | Dataset | Train | Queries | Gallery | Query split | Text construction |
|---|---|---|---|---|---|---|
| Image-Text | COCO | 118,287 | 5,000 | 123,287 | val | Full localized narrative |
| Flickr30K | 29,783 | 1,000 | 30,783 | val | Full localized narrative | |
| ADE20K | 20,210 | 2,000 | 22,210 | val | Full localized narrative | |
| OpenImages | 504,413 | 41,620 | 546,033 | val | Full localized narrative | |
| Video-Text | ActivityNet | 10,009 | 4,917 | 14,926 | val1 | Temporally ordered event captions |
| DiDeMo | 8,395 | 1,004 | 9,399 | test | Joined moment descriptions | |
| Audio-Text | MACS | 3,537 | 393 | 3,930 | test | Joined 2–5 captions |
| Clotho | 3,839 | 1,045 | 4,884 | evaluation | Joined five captions |
At decision state with selected token set , the current retrieval score of bank item is
and we retain the Top- bank items under this score, . The feedback matrix collects the responses of all tokens (selected and candidate) to these items:
Because is derived only from the current retrieval score , the policy sees how candidate tokens would respond to the items that currently matter most, without any supervision signal. In our implementation the cached feedback tensor has shape [batch, decision context, 8 tokens, Top-].
Encoding. In the following, and denote the hidden representations of the selected and candidate tokens produced by the TST, and are binary masks indicating selected and candidate positions, standardizes each token's feedback by the response statistics of the selected set, is multi-head attention, LN is layer normalization, and is a learnable decision-context embedding for step . The policy first lets candidate tokens attend to the selected tokens:
The feedback matrix is normalized by the response statistics of the selected tokens and concatenated with selected/candidate masks before encoding:
Candidate tokens then read the encoded database feedback, and a pooled representation combined with a decision-context embedding produces the action logits:
where are the logits over STOP, expansion, and branch choices. The Top- selection depends solely on the current retrieval score ; the policy never observes ground-truth identities, positive/negative labels, retrieval ranks, or AP values. The standardized marginal utilities used in UPO (Eq. 4) are computed with detached retrieval metrics and serve only as optimization targets, strictly separated from the feedback that the policy takes as input.
B DATASETS AND EVALUATION PROTOCOLS
Unified full-gallery retrieval. We evaluate AdaptiveEmbed on eight datasets spanning image-text, video-text, and audio-text retrieval. To make the protocols comparable across modalities, we convert each dataset into a one-to-one retrieval benchmark: each media item is paired with a single complete textual description, and each query has exactly one positive item in the gallery. The text side is constructed as follows. For image–text retrieval, we use the official Localized Narratives annotations (Pont-Tuset et al., 2020), which provide one long-form narrative per image and cover exactly our four image datasets (COCO, Flickr30K, ADE20K, and Open Images). For video–text and audio–text retrieval, each sample’s original captions are concatenated in their original order into a single long text, so that caption count does not change the number of positives across samples. The same text construction is applied to every baseline. Under this protocol, a query q whose positive item has rank satisfies , so mAP and MRR coincide; we report mAP. All baselines are re-evaluated with identical query sets, galleries, text construction, and positive mappings. We adopt Localized Narratives rather than the original short captions deliberately: under the standard 5-caption protocols, strong single-vector embeddings already approach saturation, leaving little room to differentiate multi-vector designs, whereas long-form narratives contain multiple facets per sample and thus stress exactly the fine-grained capacity that multi-vector representations are meant to provide.
Training and zero-shot splits. The representation learner and capacity policy are trained only on the source-domain split of each modality: COCO for image–text, the joint ActivityNet+DiDeMo pairs for video, and the joint MACS+Clotho pairs for audio. Flickr30K, ADE20K, and OpenImages are evaluated strictly zero-shot. Per-dataset statistics and splits are summarized in Table 4.
Baselines. We compare SAMVR with representative single-vector and fixed-capacity multi-vector retrieval methods. Single-vector baselines include CLIP Radford et al. (2021), SigLIP Zhai et al. (2023), VLM2Vec-V2 Meng et al. (2025), Qwen3-VL-Embedding Li et al. (2026), LAION-CLAP Wu et al. (2023), and WAVE-7B Tang et al. (2026) when applicable to the corresponding modalities. Multi-vector baselines include ColQwen2 Faysse et al. (2025) and MetaEmbed Xiao et al. (2026). For MetaEmbed , and represent the numbers of query- and database-side embedding vectors, respectively. We additionally report Oracle AdaptiveEmbed as a non-deployable upper bound, which selects representations according to target retrieval utility and is only used to analyze the potential of sample-adaptive capacity allocation.
Implementation Details. We use frozen Qwen3-VL-Embedding-2B encoders for image-text and video-text retrieval, and a frozen WAVE-7B encoder for audio-text retrieval. The Q-Former is initialized from scratch with four layers, eight attention heads, and a hidden dimension of 512. Stage I produces eight representation tokens per modality—one frozen global token and seven learned tokens—forming two four-token groups and , and is optimized with MGCL for 20 epochs using AdamW (learning rate , effective batch size 2,048, temperature ). In Stage II, the TST uses two four-head attention blocks with hidden dimension 128 and is trained with UPO for 20 epochs, using the top-50 responses from the full source-domain training bank as feedback. Relative utility rewards are normalized independently for each retrieval direction and allocation stage, and the direction-specific MUA threshold is selected on source-domain validation data and fixed at test time. SetSim is computed with a batched dynamic program over token subsets, which finds the exact optimal assignment for tokens efficiently across all query-gallery pairs in a batch.
C ADDITIONAL EXPERIMENTS AND ANALYSES
C.1 ROBUSTNESS ACROSS RETRIEVAL METRICS
The main tables report mAP under the unified full-gallery protocol. To verify that the conclusions are not specific to this metric, we additionally evaluate Recall@K, nDCG, and mean rank on COCO (indomain) and ADE20K (zero-shot), using the same query sets, galleries, and controlled MetaEmbed reproduction as in Sec. 4.1. All numbers are averaged over both retrieval directions; denotes the average number of activated tokens per query.
On COCO, as reported in Table 5, AdaptiveEmbed leads every Recall and nDCG metric against all MetaEmbed configurations while activating the fewest tokens on average. The margins are largest at the top of the ranking, with a bidirectional R@1 gain of 1.1 points and T2I R@1 gains of 1.1 to 1.5 points depending on the configuration. The single exception is mean rank, where the 8/16
Table 5: Additional retrieval metrics on COCO under the unified full-gallery protocol (5,000 queries, 123,287 gallery items), averaged over both directions. AdaptiveEmbed leads every Recall and nDCG metric at the lowest average capacity, indicating that the conclusions of Table 1 are not an artifact of the mAP metric.
| Method | R@1 | R@5 | R@10 | nDCG | mAP | MeanR↓ | |
|---|---|---|---|---|---|---|---|
| MetaEmbed (2/4) | 3 | 51.79 | 72.54 | 79.16 | 69.13 | 61.40 | 30.58 |
| MetaEmbed (4/8) | 6 | 51.52 | 72.10 | 79.30 | 68.96 | 61.17 | 31.34 |
| MetaEmbed (8/16) | 12 | 50.99 | 71.86 | 79.05 | 68.65 | 60.76 | 30.18 |
| MetaEmbed (16/64) | 40 | 50.92 | 71.88 | 78.78 | 68.59 | 60.69 | 30.78 |
| AdaptiveEmbed (Ours) | 2.1 | 52.86 | 73.32 | 79.55 | 69.85 | 62.30 | 31.26 |
Table 6: Additional retrieval metrics on ADE20K under strict zero-shot transfer (2,000 queries, 22,210 gallery items), averaged over both directions. The representation, policy, threshold, and retrieval bank are all taken from COCO without any ADE20K tuning. AdaptiveEmbed outperforms every MetaEmbed configuration on all Recall, nDCG, and mAP metrics at the lowest average capacity.
| Method | R@1 | R@5 | R@10 | nDCG | mAP | MeanR↓ | |
|---|---|---|---|---|---|---|---|
| MetaEmbed (2/4) | 3 | 35.83 | 58.40 | 67.75 | 56.81 | 46.56 | 46.09 |
| MetaEmbed (4/8) | 6 | 37.28 | 59.78 | 68.60 | 57.88 | 47.83 | 44.26 |
| MetaEmbed (8/16) | 12 | 37.33 | 59.88 | 69.25 | 58.03 | 47.99 | 44.49 |
| MetaEmbed (16/64) | 40 | 37.28 | 59.53 | 68.93 | 57.84 | 47.81 | 48.08 |
| AdaptiveEmbed (Ours) | 2.0 | 38.08 | 61.33 | 69.78 | 58.66 | 48.74 | 46.04 |
configuration is marginally better, at 30.2 versus 31.3, indicating that a small number of tail queries rank slightly lower under adaptive allocation; since all top- and ranking-quality metrics favor AdaptiveEmbed, the main conclusions are unaffected.
The zero-shot ADE20K results in Table 6 are stronger still. Against the capacity-matched 2/4 configuration, AdaptiveEmbed improves R@1, R@5, and R@10 by 2.25, 2.93, 2.03, and 1.38 points respectively, and mAP by 2.18 points. Even against the per-metric best among all four fixed configurations, it remains ahead on every Recall, nDCG, and mAP metric, including gains of 0.75 points on both R@1 and mAP. These improvements are driven primarily by the T2I direction, in which AdaptiveEmbed leads on all metrics including mean rank, at 43.4 versus 45.7, whereas I2T is mixed at the level of individual metrics; the T2I advantage is large enough that every bidirectional average favors adaptive allocation. As on COCO, mean rank is the one aggregate exception, at 46.0 versus 44.3 for the 4/8 configuration, again reflecting a small number of poorly ranked tail queries rather than a degradation in overall retrieval quality. Notably, this margin is achieved under strict zero-shot transfer with no ADE20K-specific tuning of any component, indicating that the learned allocation policy generalizes across domains rather than exploiting source-domain particulars.
Retrieval Bank Composition and Robustness. The retrieval bank R used for bank feedback (Appendix A.4) is drawn from the source-domain training split of each modality: the COCO training split for image-text, the joint ActivityNet+DiDeMo training pairs for video-text, and the joint MACS+Clotho training pairs for audio-text. The same bank is used for both UPO training and test-time allocation; in particular, all zero-shot image-text evaluations (Flickr30K, ADE20K, Open-Images) reuse the COCO bank, so no target-domain data enters the feedback path.
To assess sensitivity to the bank domain, we run a bank-replacement experiment on Flickr30K: keeping the trained representation and policy fixed, we swap the COCO bank for a bank built from the Flickr30K training split. The in-domain bank changes Avg. mAP by only +0.07, indicating that the allocation policy is largely insensitive to the domain of the bank. This is consistent with the role the bank plays in our design: it serves as a generic response environment—a population of items against which the distinctiveness of selected and candidate tokens is measured—rather than a source of domain-specific retrieval content. As long as the bank is sufficiently diverse, the marginal-utility
(a) COCO

(b) ActivityNet

(c) MACS

Figure 7: Retrieval utility versus representation cost under adaptive and fixed-capacity allocation, all using the same MGCL-trained representation.
(a) COCO

(b) DiDeMo

(c) MACS

Figure 8: Ablation of single-group and multi-group representation structures. Multi-group contrastive learning consistently improves retrieval performance across different datasets, demonstrating that separating representation capacity into multiple semantic groups provides a more effective basis for adaptive token activation.
signal it induces transfers across domains, and matching the bank to the target domain yields no meaningful additional benefit.
Utility–Cost Trade-off Across Modalities. Figure 7 extends the Flickr30K analysis of Fig. 4(a) to COCO, ActivityNet, and MACS, plotting average mAP against mean activated capacity for fixed-k operating points, the learned policy, and the oracle, all sharing the same MGCL-trained representation. The same qualitative pattern holds across all three modalities: fixed-capacity retrieval does not improve—and often degrades—as the shared budget grows, while AdaptiveEmbed sits above the fixed-capacity frontier at roughly two activated tokens, and the oracle marks substantial further headroom at a comparable or lower average capacity. The consistency across image, video, and audio indicates that the utility–cost advantage of per-sample allocation is a property of the formulation rather than of a particular modality pair.
Single- vs. Multi-Group Structures Across Datasets. Figure 8 complements Fig. 4(b) by comparing single-group and multi-group representation structures on COCO, DiDeMo, and MACS under matched token allocations. Both structures follow the same coarse-to-fine prefix principle, in which the leading token carries global semantics and subsequent tokens add complementary detail; they differ in how many such coarse anchors the representation contains. The single-group structure places all fine tokens behind one coarse token, whereas the multi-group structure maintains two coarse anchors, each refined by its own fine tokens. Multi-group configurations match or outperform their single-group counterparts on all three datasets, with the largest gains on MACS, where the audio-text pairs are shortest and a single global anchor is most easily saturated. Together with the component ablation in Table 3, this indicates that the benefit stems from distributing capacity across multiple semantic anchors rather than from deepening a single coarse-to-fine chain.
Decision Complexity of the Hierarchical Policy. Figure 9 analyzes how allocation difficulty is distributed over the three decision stages. For each stage, the bars report the average number of independent responses required, and the curves report the remaining response distinctiveness after the stage. Both quantities drop sharply after the first decision; on COCO, the required independent
(a) COCO

(b) ActivityNet

(c) MACS

Figure 9: Decision complexity analysis of the hierarchical adaptive policy. The bars show the average number of independent responses required at each decision stage, while the curves indicate the remaining response distinctiveness after each stage. Early decisions provide coarse capacity separation, allowing later stages to operate on a reduced candidate space.
(a) COCO

(b) ActivityNet
(c) MACS
Figure 10: Oracle and AdaptiveEmbed selection distributions on COCO, ActivityNet, and MACS. Each configuration is represented as a binary mask over the eight candidate tokens indicating which are activated; the valid group prefixes yield 20 canonical masks in total. The oracle exhaustively evaluates all 20 masks per sample, whereas AdaptiveEmbed approximates the optimal allocation through its hierarchical policy.
responses fall from 3.8 to 1.8, and the residual distinctiveness becomes substantially weaker. The first coarse decision therefore resolves most of the capacity-allocation ambiguity, leaving later stages to operate on a much-reduced candidate space. This concentration of difficulty in the early stage is what renders the short, three-step hierarchical policy practical: the expensive discrimination is performed once, at the stage where the bank-feedback signal is strongest.
Learned vs. Oracle Allocation Distributions. Figure 10 compares the selection distribution of the learned policy with that of the oracle over the 20 canonical configurations of M defined in Appendix A.3, evaluated on COCO, ActivityNet, and MACS. Two observations stand out. First, the oracle distribution is spread over many configurations on every dataset, reconfirming at the level of concrete masks that no single capacity serves all samples. Second, the learned policy concentrates its mass on a small subset of the oracle's preferred configurations, primarily the low-capacity masks and the full set, and rarely selects the intermediate ones. This coarser coverage mirrors the restricted five-configuration action space of the deployed policy described in Appendix A.2, and localizes the policy–oracle gap observed in Tables 1 and 2. Closing this gap requires finer decision granularity over the intermediate masks rather than a larger representation, and finer granularity in turn places higher demands on the feedback signal: the raw bank responses that suffice for coarse distinctions weaken rapidly across stages, as shown in Figure 9, and discriminating among many intermediate masks would require a richer learned utility signal, for instance a reward model trained to predict the marginal benefit of each expansion. We regard such feedback-driven fine-grained allocation as a natural next step for the SAMVR setting.
C.2 QUALITATIVE EXAMPLES OF SAMPLE-ADAPTIVE ALLOCATION
Figure 6 visualizes oracle CAES on COCO samples, illustrating what optimal sample-wise allocation looks like in practice and thereby characterizing the SAMVR setting itself, independently of any learned policy. Three patterns stand out. First, the optimal capacity spans the entire admissible range from k=1 to k=8: no single operating point serves all samples, which is precisely the premise of the SAMVR formulation. Second, the optimal allocation is direction-specific, as several samples require different token sets for I2T and T2I retrieval, indicating that capacity demand is a property of the retrieval task rather than of the sample alone. Third, optimal capacity does not reduce to surface complexity: the most detailed narrative is resolved with a single coarse token, while a one-sentence caption of a visually ambiguous scene expands to near-full capacity. What determines capacity is how much representation a sample needs to be distinguished within the gallery, not how much content it contains. These cases provide sample-level evidence for the motivation in Figure 1 and the qualitative counterpart to the complexity–capacity discussion in Appendix D.
D DISCUSSION AND LIMITATIONS
Does sample-adaptive capacity allocation come for free? It does not, and we discuss the main limitations of our current instantiation, all of which concern AdaptiveEmbed as one realization of SAMVR rather than the setting itself.
First, a sizable gap remains between the learned policy and the oracle in Tables 1 and 2. The oracle attains substantially higher mAP at comparable or lower average capacity, indicating that our hierarchical, few-step policy captures only part of the achievable sample-wise allocation. Closing this gap requires finer decision granularity over the intermediate configurations, which in turn places higher demands on the feedback signal: the raw MaxSim bank responses that suffice for coarse decisions weaken rapidly across stages, as shown in Figure 9, and discriminating among many intermediate configurations would likely require a richer learned utility signal, such as a reward model trained to predict the marginal benefit of each expansion.
Second, the efficiency of AdaptiveEmbed is a matching-time benefit that is realized per sample and therefore depends on the data distribution: the average activated capacity reflects how many samples the policy resolves with few tokens, and a distribution dominated by hard samples would narrow the speed advantage. Moreover, because the active token positions are determined by the query at retrieval time, each gallery item must still store its full eight-token embedding set so that the query-selected positions can be read off. Reducing gallery-side storage under query-dependent activation remains open.
Third, our allocation is driven purely by retrieval utility and is not tied to any explicit measure of content complexity, since such complexity is difficult to quantify with a single scalar. As a result, the correspondence between a sample’s semantic richness and its allocated capacity can only be examined qualitatively; we provide illustrative cases in Appendix C.2 and leave a principled complexity-aware formulation to future work.