Manuscript Offprint
arXiv:2610.11816Chaos in the Text: Revealing the Modality Preference in Mixed-Modality Retrievers
ABSTRACT
Dense retrievers have made significant progress on text and image corpora, but whether these capabilities extend reliably to mixed corpora containing text, image, and fused text-image documents remains unclear. In this paper, we systematically examine retrievers across architectures and find that their performance is highly sensitive to modality composition. As image documents are progressively replaced with semantically corresponding text representations, retrieval performance follows a pronounced V-shaped curve, remaining strong on single-modality corpora but degrading substantially when modalities coexist. In particular, irrelevant text causes more severe degradation than an equal number of irrelevant images, a phenomenon we term “Chaos in the Text”. Further analysis reveals modality preference, whereby text representations receive systematically higher similarity scores, allowing irrelevant text to outrank relevant images. To mitigate this bias, we introduce Trident, which constructs text, image, and fused text-image views of each document as co-equal positives and jointly optimizes relevance discrimination and positive-view balance through Multi-Positive View InfoNCE. Experiments across visual document and natural image benchmarks show that trident improves mixed-modality retrieval on both CLIP-based and VLM-based architectures, reduces sensitivity to modality composition and text distractors, and increases average single-modality retrieval performance.
1 INTRODUCTION
In recent years, image retrieval has made significant progress in natural-image (Jia et al., 2021; Li et al., 2025b) and visual-document retrieval (Faysse et al., 2025; Yu et al., 2025) by directly encoding images and retrieving relevant content from image corpora. This approach preserves visual information often lost in text conversion and provides relevant evidence (Peng et al., 2026; Tanaka et al., 2025) to support better information gathering in multimodal RAG (Sun et al., 2025; Peng et al., 2025; Xiong et al., 2026; Yang et al., 2026). However, real-world corpora often contain a mixture of text-only, image-only, and fused text-image documents, with relevant evidence potentially residing in any modality (Wei et al., 2024; Sun et al., 2026), which requires retrievers to compare query-document relevance across modalities and rank all candidates in a unified list.
Despite its importance, we find that existing multimodal retrievers are highly sensitive to the modality composition of mixed-modality corpora. As illustrated in Figure 1, progressively replacing documents in an image corpus with their semantically corresponding text representations yields a pronounced “V-shaped” performance curve. Models perform well on purely image or purely text corpora, while degrading substantially when the two modalities coexist. Further inspection reveals that models tend to rank irrelevant text documents above highly relevant image documents, pushing visual evidence containing the answer out of the top-K results. We term this phenomenon “Chaos in the Text”. These findings indicate that strong retrieval performance on single-modality corpora does not guarantee reliable access to relevant evidence in mixed-modality settings.

(a)
Query
How many stores did Saint Laurent operate in Western Europe in 2020?

Retrieved Top-K Documents
#1
Saint Laurent continued to expand its global retail network in 2020...
#2
Saint Laurent operated stores across several global regions...
#3
Saint Laurent (YSL) is a famous French luxury fashion brand offering high-end clothing...
Similarity
0.82
0.79
0.72
Text docs dominate the Top-K
Top-K cutoff (K=10)
#12
Number of Saint Laurent Stores
0.51
Pushing the key image doc out of the Top-K.
(b)
Figure 1: (a) Retrieval robustness degrades sharply in mixed-modality corpora. As image documents are progressively replaced by text documents, NDCG@10 follows an asymmetric V-shaped curve. (b) Chaos in the Text: text documents are systematically over-ranked regardless of semantic relevance, pushing key documents out of the top-K when the answer resides in the image modality.
To investigate the cause of this phenomenon, we further analyze similarity distributions across document modalities. Specifically, we construct three semantically corresponding representations for each document: text, image, and fused text-image, and compare their similarities to the same set of queries. We find that multiple retrievers systematically assign higher similarity scores to text representations than to image representations, even when considering only positive query-document pairs. This indicates that retrieval scores reflect not only semantic relevance but also a systematic influence of document modality, revealing a Modality Preference. When documents of different modalities compete in the same candidate pool, this bias translates into a ranking advantage, allowing irrelevant text documents to outrank relevant image documents.
To alleviate this phenomenon, we introduce Trident, a contrastive learning framework that balances modalities through multiple positive views. Specifically, Trident constructs text, image, and fused text-image representations of each document as three co-equal positives for the same query and jointly optimizes them with a Multi-Positive InfoNCE objective under shared normalization. While separating relevant documents from irrelevant ones, this objective discourages positive probability mass from concentrating on a single modality, encouraging the model to account for relevant evidence across modalities and thereby mitigating modality preference in mixed-modality retrieval.
Extensive experiments show that trident substantially mitigates the modality preference while improving overall retrieval performance. After trident training, models exhibit more stable retrieval performance on mixed-modality corpora, with reduced sensitivity to modality proportions and text distractors, while also achieving higher average retrieval performance on the original single-modality corpora. These improvements hold across both CLIP-based and VLM-based retrieval architectures, demonstrating the effectiveness and broad applicability of our training approach.
2.1 EXPERIMENTAL SETUP AND MODELS
Task formulation and metric. Given a text query q, retrieval aims to identify documents containing the information needed to answer it. Let , , and denote the text, image, and fused text-image candidate sets, respectively. Text-to-image retrieval ranks candidates from an image-only

(a) Jina-CLIP-v2 on ChartQA
(b) Qwen3-VL-E-2B on ChartQA
(c) Qwen3-VL-E-8B on ChartQA

(d) Jina-CLIP-v2 on SlideVQA
(e) Qwen3-VL-E-2B on SlideVQA
(f) Qwen3-VL-E-8B on SlideVQA
Figure 2: Retrieval performance is highly sensitive to the proportion of text, image, and fused documents in the corpus. Each surface shows mean NDCG@10 as the corpus’s text and fused document ratios vary, across three models and two benchmarks.
corpus:
Mixed-modality retrieval instead ranks candidates jointly across the three modalities:
where denotes query–document similarity. This requires relevance scores to be comparable across modalities within a unified ranking. Each query may have one or more relevant documents. Following common practice (Muennighoff et al., 2023; Meng et al., 2025), we adopt NDCG@10 as our primary metric.
Benchmarks and mixed-modality corpus construction. We evaluate on ChartQA (Masry et al., 2022) and SlideVQA (Tanaka et al., 2023), following the modality-replacement protocol of Li et al. (2025a). For each image document, we use Qwen3-VL-235B-A22B-Instruct (Team, 2025) to generate a detailed description and a brief summary. The description forms the Text view, the original image forms the Image view, and the summary paired with the image forms the Fused view. Given target proportions of the three modalities, we independently sample one view per document according to these proportions. This preserves document identities and corpus size while varying the modality composition.
Models. We evaluate several state-of-the-art CLIP-based and VLM-based retrieval models under their default settings; for models without native joint image-text input, we construct a combined embedding by averaging the unimodal image and text embeddings with equal weight (0.5 each). CLIP-based: CLIP-ViT-L/14 (Radford et al., 2021), SigLIP2-L/16-384 (Tschannen et al., 2025), AltCLIP (Chen et al., 2023), and Jina-CLIP-v2 (Koukounas et al., 2024), each additionally reported with the post-hoc modality-gap calibration of GR-CLIP (Li et al., 2025a). VLM-based: Qwen3-VL-Embedding-2B/8B (Li et al., 2026), VisRAG-Ret (Yu et al., 2025), UniME-Phi3.5-V-4.2B (Gu et al., 2025), and Jina-embeddings-v5-omni-small (Hönicke et al., 2026).
2.2 RESULTS AND DISCUSSION
To systematically evaluate the robustness of retrieval models in a mixed-modality corpus, we independently scan over compositions of text, image, and fused document ratios in the corpus, and

Text-Doc distractors (up to 200k)
Jina-CLIP-v2 Qwen3-VL-E-2B Qwen3-VL-E-8B
Image-Doc distractors (up to 50k)
Jina-CLIP-v2 Qwen3-VL-E-2B Qwen3-VL-E-8B
Figure 3: Text distractors degrade retrieval performance far more severely than image distractors, despite both being equally irrelevant to every query. We report average NDCG@10 for three retrieval models on ChartQA (left) and SlideVQA (right) as the number of distractor documents increases.
compute the mean NDCG@10 at each composition, yielding a complete performance surface. Figure 2 presents results for three representative models, Jina-CLIP-v2, Qwen3-VL-Embedding-2B, and Qwen3-VL-Embedding-8B, on two benchmarks, ChartQA and SlideVQA .
V-shaped performance under modality mixing. As shown in Figure 2, both CLIP-based and VLM-based visual retrievers exhibit similar V-shaped performance curves on the two benchmarks. Starting from an image-only corpus, retrieval performance drops markedly as image documents are progressively replaced with semantically corresponding text representations, reaches a trough when the two modalities are mixed, and then recovers as the text proportion increases and the corpus approaches a text-only composition. This indicates that models perform well on purely image or purely text corpora but struggle to maintain stable retrieval performance when the two coexist. In contrast, increasing the proportion of fused text-image documents does not induce a similar V-shaped degradation and instead alleviates the performance drop caused by mixing text and image documents. This contrast highlights the degradation arising from the coexistence of text-only and image-only documents as a prominent challenge in mixed-modality retrieval.
“Chaos in the Text” from text distractors. To further investigate this issue, we compare the effects of irrelevant documents of different modalities on retrieval performance in Figure 3. Specifically, we start with each benchmark’s original image-only corpus, separately add irrelevant text passages and images sampled from the Wikipedia corpus (Sun et al., 2026), and track retrieval performance as the number of distractors increases.
We find that, with the same number of distractors, irrelevant images have a relatively modest effect on retrieval performance, whereas irrelevant text causes a sharp decline. This difference persists across models and benchmarks, indicating that candidate-pool expansion alone cannot explain the degradation. We term this substantial deterioration in retrieval performance caused by introducing irrelevant text into an image corpus “Chaos in the Text”. This phenomenon further suggests that models may exhibit systematic scoring biases across document modalities, allowing modality to influence rankings that should be determined by semantic relevance.
3 WHY DO RETRIEVAL MODELS EXHIBIT CHAOS IN THE TEXT?
Given that Chaos in the Text is consistently observed across different models and benchmarks, its underlying cause remains unclear. We hypothesize that retrieval models may not rank documents purely by semantic relevance, but instead exhibit an inherent bias toward text documents. To test this, we construct three semantically identical, modality-distinct corpora (pure text, pure image, and text-image fused) and issue the same queries against each, comparing the resulting similarity distributions to examine whether modality itself systematically influences ranking.
Results for the remaining models are shown in Appendix A.
(b) Text hard negative vs. positive (one dot = one query)

Figure 4: (a) Violin plots show the similarity distributions across document modalities, revealing systematically higher similarity for text documents. (b) Each dot compares a query’s positive similarity with its text hard-negative similarity; points above y=x indicate cases where an irrelevant text document outranks the positive document, with the interference rate reporting their fraction.
3.1 EXPERIMENTAL SETUP
We reuse the SlideVQA benchmark, retrieval models, and the three semantically aligned, modality-distinct parallel corpora (text, image, fused) from Section 2.1. For each corpus, we compute cosine similarities between the same query set and its documents, yielding a similarity distribution per (query, doc modality) combination. We report two statistics: the all-pair mean, averaged over all query-document pairs, characterizing the overall similarity level of that modality; and the positive-pair mean, averaged only over ground-truth relevant pairs annotated in the qrels, characterizing the similarity score when relevance genuinely holds. A systematic discrepancy in these means across the three corpora would indicate that retrieval ranking is not governed purely by semantic relevance, but is confounded by modality itself.
3.2 RESULTS AND DISCUSSION
We analyze modality preference from two perspectives, examining cross-modal similarity differences among relevant documents and ranking interference from irrelevant text.
Cross-Modal Score Differences among Relevant Documents. As shown in Figure 4(a), all three models exhibit similar score disparities for the same queries and their semantically corresponding relevant documents. The mean similarity between text queries and text positives is higher than that for image and fused text-image positives, with image positives showing the largest gap. Although the fused view narrows this gap, its similarity remains below that of the text view. This indicates that even when documents are relevant to the query, models assign different scores depending on their modality. The consistent trend across CLIP-based retrievers and VLM-based retrievers of different scales suggests that this modality preference is not specific to a particular architecture or model size.

Figure 5: Overview of Trident. Left: for each document, we construct tri-modal positive views (text, image, and fused), and all other views in the batch serve as negatives. The three positives and the negatives are jointly normalized by a shared softmax. Right: Multi-Positive View InfoNCE decomposes into relevance discrimination, which increases the total positive probability mass, and positive-view balance, which prevents the mass from being dominated by a single modality.
Ranking Interference from Irrelevant Text. To examine whether these score differences affect the ranking of relevant and irrelevant documents, Figure 4(b) compares each query's similarity to its relevant document and a text hard negative. Each point represents a query, with positive similarity on the horizontal axis and text hard-negative similarity on the vertical axis. Points above the diagonal therefore indicate that irrelevant text receives a higher score than the relevant document.
When the relevant document is presented as an image, most queries lie above the diagonal across all three models, indicating that irrelevant text frequently outscores genuinely relevant images. This interference is substantially reduced when the relevant document is presented as text. Fused views alleviate interference to some extent, but a considerable proportion of queries remain affected, with varying improvements across models. These comparisons show that modality preference extends beyond differences in mean similarity to directly disrupt relevance-based ranking. The scoring advantage of text can outweigh the semantic relevance of image documents.
4 HOW CAN WE MITIGATE MODALITY PREFERENCE?
To alleviate the modality preference and promote joint learning across modalities, we introduce trident, a contrastive learning framework based on multiple positive views. Trident constructs text, image, and fused text-image views as three co-equal positives for the same query and jointly optimizes them within a shared candidate space. This enables relevant evidence across modalities to contribute to retrieval learning while reducing the influence of modality preference on ranking.
4.1 TRIDENT
We introduce trident through modality-balanced data construction and joint optimization of multiple positive views.
Modality-balanced data construction. To mitigate modality preference when matching queries with documents, we introduce Modality-Balanced Data Construction, which provides each query with multiple positive views across modalities. Existing training data typically pairs a query with a relevant document in a single modality, offering limited comparable supervision across modalities for the same query. We extend this single-positive pairing into a three-view pairing, enabling the model to jointly learn the relevance of different modality representations of the same document.
Specifically, we use Qwen3-VL-235B-A22B-Instruct to generate a detailed textual description and a concise summary for each image document. The detailed description forms the Text view, the original image forms the Image view, and the summary paired with the original image forms the Fused view. All three views serve as positives for the corresponding query, providing modality-balanced supervision for joint optimization.
Multi-positive view InfoNCE. After constructing modality-balanced multi-view data, training each modality with an independently normalized InfoNCE objective remains insufficient. Such objectives can learn within-modality rankings without constraining score baselines across modalities. For a query and modality , let denote the candidate documents of modality , including the positive document and the negatives. Let denote the similarity score between and , with , and let denote the temperature. Adding the same modality-specific offset to every candidate score leaves the within-modality softmax probability unchanged:
Thus, even with balanced training samples across modalities, their relevance scores are not necessarily directly comparable.
To constrain cross-modal score baselines and mitigate modality preference, we introduce Multi-Positive View InfoNCE, which places all three positive views and the in-batch negatives in a shared softmax denominator and averages the log-probabilities of the positives. Given the positive-view set for query and the negative set , the training objective is
Within this shared normalization space, each positive is compared against candidate documents across modalities, jointly constraining relative scores both within and across modalities.
Objective interpretation. To understand how this objective mitigates modality preference, we decompose Eq. equation 4 into relevance discrimination and positive-view balance. Let , and define
where is the total probability mass assigned to all positives, and is the relative share of the -th view within the positive set. Let and . The objective can then be rewritten as
The first term encourages the positive set as a whole to capture probability mass from the negatives, thereby distinguishing relevant from irrelevant documents. With this term alone, however, the model may rely primarily on the easiest-to-match text positive while neglecting the image or fused view. The second term penalizes probability imbalance within the positive set, preventing a single modality from monopolizing the positive probability mass and encouraging the model to learn relevant evidence across modalities.
The complete decomposition and gradient derivation are provided in the Appendix E. For the current query, this objective increases the competitiveness of relevant images receiving insufficient probability mass and lowers the scores of high-scoring irrelevant text, while discouraging relevant text from dominating the positive probability mass. By jointly enforcing relevance discrimination and positive-view balance, trident translates modality-balanced supervision into cross-modal ranking constraints, thereby mitigating modality preference.
4.2 RESULTS AND DISCUSSION
We evaluate trident through overall retrieval performance, robustness to changes in modality composition, and relationships between modality representations. The detailed experimental setup is shown in the Appendix D.
Table 1: Main results on six visual document retrieval benchmarks under the Origin (each dataset's original, single-modality corpus) and Mix (mixed-modality corpora merged across all six datasets) settings. The best result in each column is in bold; the second best is underlined. Our proposed models are highlighted in gray, with the ablation (w/o Multi-Positive View InfoNCE) shown below.
| Model | ChartQA | DocVQA | InfoVQA | SlideVQA | ViDoSeek | Dude | Avg | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Origin | Mix | Origin | Mix | Origin | Mix | Origin | Mix | Origin | Mix | Origin | Mix | Origin | Mix | |
| CLIP-based Models | ||||||||||||||
| SigLIP2-L/16-384 | 43.98 | 4.06 | 32.91 | 2.73 | 54.86 | 2.10 | 56.04 | 5.20 | 48.52 | 5.00 | 8.84 | 3.95 | 40.86 | 3.84 |
| + GR-CLIP | 40.09 | 19.59 | 31.74 | 11.07 | 54.95 | 16.88 | 56.80 | 28.00 | 53.62 | 22.62 | 11.60 | 4.45 | 41.47 | 17.10 |
| CLIP-ViT-L/14 | 22.48 | 18.44 | 32.14 | 1.22 | 68.11 | 6.49 | 74.38 | 6.81 | 65.15 | 19.01 | 26.13 | 3.18 | 48.07 | 9.19 |
| + GR-CLIP | 19.77 | 26.87 | 31.31 | 17.81 | 67.07 | 48.25 | 74.39 | 46.55 | 68.10 | 50.34 | 26.76 | 26.22 | 47.90 | 36.01 |
| AltCLIP | 23.30 | 14.64 | 33.84 | 14.13 | 69.18 | 25.01 | 76.24 | 21.66 | 67.99 | 29.85 | 26.61 | 12.73 | 49.53 | 19.67 |
| + GR-CLIP | 20.20 | 26.39 | 32.94 | 24.84 | 68.72 | 51.00 | 75.77 | 47.82 | 69.48 | 46.24 | 25.86 | 24.88 | 48.83 | 36.86 |
| Jina-CLIP-v2 | 37.00 | 45.53 | 46.23 | 31.32 | 64.10 | 45.84 | 71.93 | 52.08 | 64.32 | 53.01 | 24.94 | 28.32 | 51.42 | 42.68 |
| + GR-CLIP | 34.94 | 45.75 | 45.56 | 34.39 | 62.96 | 54.03 | 73.11 | 60.64 | 64.92 | 59.77 | 25.92 | 32.17 | 51.24 | 47.79 |
| Trident-JinaCLIP (Ours) | 31.40 | 50.25 | 54.10 | 46.47 | 68.73 | 67.57 | 75.84 | 67.06 | 61.78 | 61.67 | 26.36 | 40.06 | 53.04 | 55.51 |
| w/o Multi-Positive View InfoNCE | 31.08 | 51.06 | 52.70 | 45.21 | 68.29 | 66.21 | 75.38 | 67.22 | 61.51 | 61.55 | 27.73 | 39.42 | 52.78 | 55.11 |
| VLM-based Models | ||||||||||||||
| UniME-Phi3.5-V-4.2B | 48.54 | 55.84 | 64.77 | 39.68 | 76.77 | 58.50 | 85.73 | 72.46 | 83.97 | 74.93 | 44.02 | 42.71 | 67.30 | 57.35 |
| VisRAG-Ret | 55.57 | 26.91 | 79.27 | 45.49 | 88.88 | 55.32 | 92.46 | 57.58 | 80.32 | 55.63 | 57.80 | 37.28 | 75.72 | 46.37 |
| Jina-embeddings-v5-omni-small | 64.70 | 56.50 | 77.80 | 50.53 | 87.12 | 64.91 | 93.26 | 77.01 | 81.31 | 72.61 | 60.17 | 49.90 | 77.39 | 61.91 |
| Qwen3-VL-Embedding-2B | 67.60 | 50.72 | 81.66 | 18.83 | 90.07 | 36.77 | 93.94 | 45.75 | 85.35 | 59.13 | 46.92 | 29.50 | 77.59 | 40.12 |
| Qwen3-VL-Embedding-8B | 76.35 | 45.13 | 86.64 | 27.56 | 93.62 | 44.56 | 96.09 | 55.30 | 86.26 | 73.57 | 61.85 | 36.87 | 83.47 | 47.17 |
| Trident-Qwen3VL-2B (Ours) | 70.19 | 65.82 | 82.76 | 67.68 | 91.28 | 80.09 | 93.72 | 88.54 | 83.74 | 81.98 | 61.36 | 59.31 | 80.51 | 73.90 |
| w/o Multi-Positive View InfoNCE | 67.41 | 63.12 | 80.57 | 54.44 | 89.47 | 72.26 | 93.06 | 83.97 | 78.43 | 74.76 | 55.20 | 49.58 | 77.36 | 66.36 |

(a) Training Comparison on Jina-Clip-v2
(b) Training Comparison on Qwen3-VL-E-2B
Figure 6: Mean NDCG@10 on SlideVQA as a function of corpus modality composition (Fused Ratio, Text Ratio), before (left) and after (right) Trident training.
Overall performance. Table 1 reports NDCG@10 on six visual document retrieval benchmarks under Origin, each benchmark's original image-only corpus, and Mix, a unified mixed-modality pool merged across the six benchmarks. We compare CLIP-based and VLM-based retrievers, GR-CLIP-calibrated models (Li et al., 2025a), and trident variants.
Trident method achieves the highest Mix average within both architecture categories. Most baselines degrade substantially from Origin to Mix, while GR-CLIP partially improves mixed-modality retrieval but remains below trident, indicating additional benefits from modality-balanced training beyond post-hoc calibration. trident-Qwen3VL-2B also outperforms the larger Qwen3-VL-Embedding-8B on Mix, and both trident variants improve Origin averages over their corresponding baselines. Compared with w/o Multi-Positive View InfoNCE, the full objective further improves average performance on both architectures, particularly the VLM backbone, demonstrating the complementary benefits of balanced data and joint optimization.
Robustness to modality composition. Figure 6 compares retrieval performance across modality proportions before and after training. Consistent with Section 2.2, both architectures initially exhibit pronounced valleys when different modalities coexist. After trident training, these valleys are substantially reduced, and the surfaces become higher and flatter.
The VLM model achieves particularly stable performance, while the CLIP model retains only moderate variation. These consistent changes show that trident's improvements extend across mixing ratios, reducing sensitivity to corpus modality composition.

Figure 7: Distribution of cosine similarities between same-modality and cross-modality positive pairs, before (top) and after (bottom) Trident training, on Jina-CLIP-v2 and Qwen3-VL-E-2B.
Mitigation of modality preference. Figure 7 further examines similarity distributions between same-modality and cross-modality document representations. Before training, distribution centers differ markedly across modality pairs. Jina-CLIP-v2 (Koukounas et al., 2024) exhibits higher Image–Image similarity, whereas Qwen3-VL-Embedding-2B (Li et al., 2026) favors Text–Text similarity, revealing architecture-dependent modality separation.
After trident training, these same-modality advantages diminish, and the distribution centers converge, narrowing the differences between same-modality and cross-modality similarities. Together with the flatter performance surfaces in Figure 6, these changes support the conclusion that trident mitigates modality preference and enables more stable mixed-modality retrieval.
5 RELATED WORK
Multimodal retrieval models. Dense multimodal retrieval was established by dual-tower contrastive encoders such as CLIP (Radford et al., 2021), ALIGN (Jia et al., 2021), and their successors SigLIP/SigLIP 2 (Zhai et al., 2023; Tschannen et al., 2025), which align text and images in a shared space but encode each modality through a separate tower. Research subsequently shifted toward vision-language model (VLM) backbones that ingest interleaved text and image tokens in a single transformer and emit one unified embedding, including VLM2Vec and VLM2Vec-V2 (Jiang et al., 2024; Meng et al., 2025), GME (Zhang et al., 2024), UniME (Gu et al., 2025), and Qwen3-VL-Embedding (Li et al., 2026), which now dominate universal-embedding leaderboards. However, these systems, together with the standard benchmarks used to evaluate them, such as BEIR (Thakur et al., 2021), MTEB (Muennighoff et al., 2023), and the document VQA datasets we adopt, are almost entirely built on single-modality corpora, and therefore cannot assess how multimodal retrieval models perform when retrieving over a mixed-modality corpus.
Modality gap. Prior work has shown that contrastive vision-language embeddings are not modality-agnostic. Liang et al. (2022) first noted the modality gap, in which image and text embeddings occupy disjoint cones of the hypersphere, an artifact of initialization and the contrastive temperature (Shi et al., 2023); later work attributes this to information imbalance across modalities (Schrodi et al., 2025; Fahim et al., 2024) and attempts to close it via geometric interventions such as manifold mixup (Oh et al., 2023; Eslami & De Melo, 2024). Yet these studies measure the gap purely geometrically and evaluate it on cross-modal alignment tasks, where a uniform offset between the two clusters is harmless, since all candidates share a modality and the offset cancels out in ranking. We find, however, that in mixed-modality retrieval, what corrupts the ranking is not the geometric modality gap, but a modality preference internal to the model.
6 CONCLUSION
In this paper, we reveal the sensitivity of multimodal retrieval models to corpus modality composition and identifies “Chaos in the Text”, a phenomenon in which introducing irrelevant text into an image corpus substantially degrades retrieval performance. Further analysis reveals sys-tematic biases in similarity scores across modalities, compromising the comparability of candidate documents. To mitigate this issue, we introduce trident, which combines modality-balanced data construction with Multi-Positive View InfoNCE to jointly promote relevance discrimination and positive-view balance. Experiments on CLIP-based and VLM-based architectures show that trident improves mixed-modality retrieval, reduces sensitivity to modality proportions, and increases average single-modality retrieval performance.
AI USE STATEMENT
We used generative AI tools to assist with writing and language polishing, including improving the clarity, readability, and presentation of the manuscript. All AI-assisted content was reviewed and revised by the authors. The authors take full responsibility for the final content of this work.
REFERENCES
Xinlei Chen, Hao Fang, Tsung-Yi Lin, Ramakrishna Vedantam, Saurabh Gupta, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco captions: Data collection and evaluation server. arXiv preprint arXiv:1504.00325, 2015.
Zhongzhi Chen, Guang Liu, Bo-Wen Zhang, Qinghong Yang, and Ledell Wu. Altclip: Altering the language encoder in clip for extended language capabilities. In Findings of the Association for Computational Linguistics: ACL 2023, pp. 8666–8682, 2023.
Sedigheh Eslami and Gerard De Melo. Mitigate the gap: Investigating approaches for improving cross-modal alignment in clip. arXiv preprint arXiv:2406.17639, 2024.
Abrar Fahim, Alex Murphy, and Alona Fyshe. It’s not a modality gap: Characterizing and addressing the contrastive gap. arXiv preprint arXiv:2405.18570, 2024.
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, volume 2025, pp. 61424–61449, 2025.
Tiancheng Gu, Kaicheng Yang, Ziyong Feng, Xingjun Wang, Yanzhao Zhang, Dingkun Long, Yingda Chen, Weidong Cai, and Jiankang Deng. Breaking the modality barrier: Universal embedding learning with multimodal llms. In Proceedings of the 33rd ACM International Conference on Multimedia, pp. 2860–2869, 2025.
Florian Hönicke, Michael Günther, Andreas Koukounas, Mohammad Kalim Akram, Scott Martens, Saba Sturua, and Han Xiao. jina-embeddings-v5-omni: Geometry-preserving embeddings via locked aligned towers. arXiv preprint arXiv:2605.08384, 2026.
Hexiang Hu, Yi Luan, Yang Chen, Urvashi Khandelwal, Mandar Joshi, Kenton Lee, Kristina Toutanova, and Ming-Wei Chang. Open-domain visual entity recognition: Towards recognizing millions of wikipedia entities. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 12031–12041. IEEE, 2023.
Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In International conference on machine learning, pp. 4904–4916. PMLR, 2021.
Ziyan Jiang, Rui Meng, Xinyi Yang, Semih Yavuz, Yingbo Zhou, and Wenhu Chen. Vlm2vec: Training vision-language models for massive multimodal embedding tasks. arXiv preprint arXiv:2410.05160, 2024.
Andreas Koukounas, Georgios Mastrapas, Sedigheh Eslami, Bo Wang, Mohammad Kalim Akram, Michael Günther, Isabelle Mohr, Saba Sturua, Nan Wang, and Han Xiao. jina-clip-v2: Multilingual multimodal embeddings for text and images. arXiv preprint arXiv:2412.08802, 2024.
Aditya Kusupati, Gantavya Bhatt, Aniket Rege, Matthew Wallingford, Aditya Sinha, Vivek Ramanujan, William Howard-Snyder, Kaifeng Chen, Sham Kakade, Prateek Jain, et al. Matryoshka representation learning. Advances in Neural Information Processing Systems, 35:30233–30249, 2022.
Binxu Li, Yuhui Zhang, Xiaohan Wang, Weixin Liang, Ludwig Schmidt, and Serena Yeung-Levy. Closing the modality gap for mixed modality search. arXiv preprint arXiv:2507.19054, 2025a.
Mingxin Li, Yanzhao Zhang, Dingkun Long, Chen Keqin, Sibo Song, Shuai Bai, Zhibo Yang, Pengjun Xie, An Yang, Dayiheng Liu, Jingren Zhou, and Junyang Lin. 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.
Rui Li, Liyang He, Qi Liu, Zheng Zhang, Heng Yu, Yuyang Ye, Linbo Zhu, and Yu Su. Unirag: Unified query understanding method for retrieval augmented generation. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 14163–14178, 2025b.
Victor Weixin Liang, Yuhui Zhang, Yongchan Kwon, Serena Yeung, and James Y Zou. Mind the gap: Understanding the modality gap in multi-modal contrastive representation learning. Advances in neural information processing systems, 35:17612–17625, 2022.
Fuxiao Liu, Yinghan Wang, Tianlu Wang, and Vicente Ordonez. Visual news: Benchmark and challenges in news image captioning. In Proceedings of the 2021 conference on empirical methods in natural language processing, pp. 6761–6771, 2021.
Ahmed Masry, Jia Qing Tan, Shafiq Joty, Enamul Hoque, et al. Chartqa: A benchmark for question answering about charts with visual and logical reasoning. In Findings of the association for computational linguistics: ACL 2022, pp. 2263–2279, 2022.
Minesh Mathew, Dimosthenis Karatzas, and CV Jawahar. Docvqa: A dataset for vqa on document images. In 2021 IEEE Winter Conference on Applications of Computer Vision (WACV), pp. 2199–2208. IEEE, 2021.
Minesh Mathew, Viraj Bagal, Rubèn Tito, Dimosthenis Karatzas, Ernest Valveny, and CV Jawahar. Infographicvqa. In 2022 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pp. 2582–2591. IEEE, 2022.
Rui Meng, Ziyan Jiang, Ye Liu, Mingyi Su, Xinyi Yang, Yuepeng Fu, Can Qin, Zeyuan Chen, Ran Xu, Caiming Xiong, et al. Vlm2vec-v2: Advancing multimodal embedding for videos, images, and visual documents. arXiv preprint arXiv:2507.04590, 2025.
Niklas Muennighoff, Nouamane Tazi, Loïc Magne, and Nils Reimers. Mteb: Massive text embedding benchmark. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pp. 2014–2037, 2023.
Changdae Oh, Junhyuk So, Hoyoon Byun, YongTaek Lim, Minchul Shin, Jong-June Jeon, and Kyungwoo Song. Geodesic multi-modal mixup for robust fine-tuning. Advances in Neural Information Processing Systems, 36:52326–52341, 2023.
Chunyi Peng, Zhipeng Xu, Zhenghao Liu, Yishan Li, Yukun Yan, Shuo Wang, Yu Gu, Minghe Yu, Ge Yu, and Maosong Sun. Mixture-of-retrieval experts for reasoning-guided multimodal knowledge exploitation. arXiv preprint arXiv:2505.22095, 2025.
Chunyi Peng, Zhipeng Xu, Yukun Yan, Zhenghao Liu, Shi Yu, Sen Mei, Yubo Sun, et al. Conceptformer: Learning adaptive latent concepts for query-document alignment in visual document retrieval. arXiv preprint arXiv:2608.15698, 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, pp. 8748–8763. PmLR, 2021.
Simon Schrodi, David T Hoffmann, Max Argus, Volker Fischer, and Thomas Brox. Two effects, one trigger: On the modality gap, object bias, and information imbalance in contrastive vision-language models. In International Conference on Learning Representations, volume 2025, pp. 27836–27864, 2025.
Peiyang Shi, Michael C Welle, Mårten Björkman, and Danica Kragic. Towards understanding the modality gap in clip. In ICLR 2023 workshop on multimodal representation learning: perks and pitfalls, 2023.
Krishna Srinivasan, Karthik Raman, Jiecao Chen, Michael Bendersky, and Marc Najork. Wit: Wikipedia-based image text dataset for multimodal multilingual machine learning. In Proceedings of the 44th international ACM SIGIR conference on research and development in information retrieval, pp. 2443–2449, 2021.
Yubo Sun, Chunyi Peng, Yukun Yan, Shi Yu, Zhenghao Liu, Chi Chen, Zhiyuan Liu, and Maosong Sun. Visrag 2.0: Evidence-guided multi-image reasoning in visual retrieval-augmented generation. arXiv preprint arXiv:2510.09733, 2025.
Yubo Sun, Chunyi Peng, Yukun Yan, Zhenghao Liu, Sen Mei, Bangrui Xu, Xuanhe Zhou, Chi Chen, and Maosong Sun. Hievidr-bench: A benchmark for hierarchical evidence aggregation in deep research. arXiv preprint arXiv:2607.25151, 2026.
Ryota Tanaka, Kyosuke Nishida, Kosuke Nishida, Taku Hasegawa, Itsumi Saito, and Kuniko Saito. Slidevqa: A dataset for document visual question answering on multiple images. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pp. 13636–13645, 2023.
Ryota Tanaka, Taichi Iki, Taku Hasegawa, Kyosuke Nishida, Kuniko Saito, and Jun Suzuki. Vdocrag: Retrieval-augmented generation over visually-rich documents. In CVPR, 2025.
Qwen Team. Qwen3 technical report, 2025. URL https://arxiv.org/abs/2505.09388.
Nandan Thakur, Nils Reimers, Andreas Rücklé, Abhishek Srivastava, and Iryna Gurevych. Beir: A heterogeneous benchmark for zero-shot evaluation of information retrieval models. arXiv preprint arXiv:2104.08663, 2021.
Michael Tschannen, Alexey Gritsenko, Xiao Wang, Muhammad Ferjad Naeem, Ibrahim Alabdulmohsin, Nikhil Parthasarathy, Talfan Evans, Lucas Beyer, Ye Xia, Basil Mustafa, et al. Siglip 2: Multilingual vision-language encoders with improved semantic understanding, localization, and dense features. arXiv preprint arXiv:2502.14786, 2025.
Jordy Van Landeghem, Rubèn Tito, Łukasz Borchmann, Michał Pietruszka, Pawel Josiak, Rafal Powalski, Dawid Jurkiewicz, Mickaël Coustaty, Bertrand Anckaert, Ernest Valveny, et al. Document understanding dataset and evaluation (dude). In Proceedings of the IEEE/CVF international conference on computer vision, pp. 19528–19540, 2023.
Qiuchen Wang, Ruixue Ding, Zehui Chen, Weiqi Wu, Shihang Wang, Pengjun Xie, and Feng Zhao. Vidorag: Visual document retrieval-augmented generation via dynamic iterative reasoning agents. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 9124–9145, 2025.
Cong Wei, Yang Chen, Haonan Chen, Hexiang Hu, Ge Zhang, Jie Fu, Alan Ritter, and Wenhu Chen. Uniir: Training and benchmarking universal multimodal information retrievers. In European Conference on Computer Vision, pp. 387–404. Springer, 2024.
Yuqi Xiong, Chunyi Peng, Zhipeng Xu, Zhenghao Liu, Zulong Chen, Yukun Yan, Shuo Wang, Yu Gu, and Ge Yu. Lang2act: Fine-grained visual reasoning through self-emergent linguistic toolchains. In Findings of the Association for Computational Linguistics: ACL 2026, pp. 8375–8399, 2026.
Qing Yang, Pengcheng Huang, Xinze Li, Zhenghao Liu, Yukun Yan, Yu Gu, Ge Yu, Gang Li, and Maosong Sun. Memorycard: Topic-aware multi-modal clue compression for long-video question answering. arXiv preprint arXiv:2606.05917, 2026.
Shi Yu, Chaoyue Tang, Bokai Xu, Junbo Cui, Junhao Ran, Yukun Yan, Zhenghao Liu, Shuo Wang, Xu Han, Zhiyuan Liu, et al. Visrag: Vision-based retrieval-augmented generation on multimodality documents. In International Conference on Learning Representations, volume 2025, pp. 21074–21098, 2025.
Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 11941–11952. IEEE, 2023.
Xin Zhang, Yanzhao Zhang, Wen Xie, Mingxin Li, Ziqi Dai, Dingkun Long, Pengjun Xie, Meishan Zhang, Wenjie Li, and Min Zhang. Gme: Improving universal multimodal retrieval by multimodal llms. arXiv preprint arXiv:2412.16855, 2024.
A NDCG@10 SURFACES FOR THE REMAINING RETRIEVERS
Figures 8 (ChartQA) and 9 (SlideVQA) present the complete performance surfaces for the remaining nine models on both benchmarks, further corroborating the conclusion drawn in the main text. The results show that the sensitivity of retrieval performance to the proportion of text, image, and fused documents in the corpus is not an idiosyncrasy of the representative models discussed above, but a deficiency shared by nearly all evaluated retrieval models. With the exception of the GR-CLIP-based subfigures, the remaining models exhibit the same asymmetric V-shaped surface observed in the main text on both benchmarks: as the corpus transitions from purely image documents toward an increasing proportion of text, NDCG@10 first drops markedly, reaching its minimum around some intermediate ratio, before recovering as the text ratio continues to increase toward a purely text corpus. Notably, SigLIP2-L/16-384 and VisRAG-Ret exhibit sharp, localized peaks near the boundaries of the surface (i.e., where one modality's proportion approaches one), indicating that these models achieve their best performance only when the corpus is composed of a single modality (purely text or purely image); performance drops sharply as soon as even a small proportion of another modality is introduced. This suggests that such models rely heavily on the modality "purity" of the corpus, rather than exhibiting genuine adaptability to mixed-modality settings.
In contrast, even GR-CLIP, a post-hoc correction method specifically designed to address mixed-modality retrieval for CLIP-based models, fails to fully resolve this robustness deficiency. As shown in subfigures (d)–(f), applying GR-CLIP correction narrows the overall range of performance fluctuation and reduces the absolute magnitude of degradation relative to the uncorrected models; however, the underlying V-shaped degradation pattern persists-performance still varies systematically with the proportion of text, image, and fused documents in the corpus, rather than being flattened into a stable surface. More importantly, GR-CLIP's correction depends on pre-computing modality-wise statistics over a large domain-specific reference corpus, a requirement that inherently limits its transferability and practicality in open-domain settings or under unknown corpus distributions. This indicates that even a targeted post-hoc correction method can only partially mitigate, rather than eliminate, the sensitivity of multimodal retrieval models to the modality proportions of the corpus.
Taken together, the complete results for all nine models on both benchmarks further reinforce the core conclusion of the main text: regardless of architecture, scale, training paradigm, or the use of targeted post-hoc correction, current mainstream multimodal retrieval models generally lack robustness to variation in the proportion of text, image, and fused documents in the corpus.
B EXTENDED CHAOS-IN-THE-TEXT RESULTS ACROSS RETRIEVERS
Figure 10 extends this analysis to the remaining retrieval models, following the same protocol as Figure 3 in the main text. Across all three groups of models, CLIP-ViT-L/14, SigLIP2-L/16-384, and AltCLIP (top), their GR-CLIP-corrected counterparts (middle), and UniME-Phi3.5-V-4.2B, Jina-embeddings-v5-omni-small, and our Trident-Qwen3VL-2B-2B (bottom), the same asymmetry holds: text distractors depress nDCG@10 far more severely than an equal number of image distractors, and the gap widens as the distractor pool grows. That this pattern reproduces consistently across a substantially broader and architecturally diverse set of encoders confirms that Chaos in the Text is not an idiosyncrasy of a specific model, but a systematic modality bias shared across dense multimodal retrievers.
A direct comparison between the top and middle rows, identical encoders before and after GR-CLIP correction, offers further evidence for the partial-mitigation conclusion drawn above. The gap shrinks visibly once GR-CLIP is applied, indicating that this post-hoc correction does provide a measurable robustness gain even under the distractor setting. Yet the gap does not close: text distractors continue to outrank image distractors of equal irrelevance across the full range of corpus sizes, reaffirming that GR-CLIP alleviates rather than eliminates the underlying modality preference.
The bottom row contrasts UniME-Phi3.5-V-4.2B and Jina-embeddings-v5-omni-small with our Trident-Qwen3VL-2B-2B under the identical distractor protocol. While both baselines retain the characteristic large text-image gap, Trident-Qwen3VL-2B exhibits a markedly smaller on both ChartQA and SlideVQA, with its text- and image-distractor curves remaining close throughout. This indicates that our method directly targets and substantially mitigates the model's modality prefer-

(a) SigLIP2-L on ChartQA
(b) CLIP-ViT-L/14 on ChartQA
(c) AltCLIP on ChartQA

(d) +GR-CLIP on ChartQA
(e) +GR-CLIP on ChartQA
(f) +GR-CLIP on ChartQA

(g) UniME-Phi3.5 on ChartQA
(h) VisRAG-Ret on ChartQA
(i) Jina-V5-small on ChartQA
Figure 8: Mean NDCG@10 as a function of corpus modality composition (text ratio, fused ratio) across nine models on ChartQA. The three ratios sum to one, image ratio = 1 - text ratio - fused ratio, so the surface in the figure is indexed by only two free variables, (text ratio, fused ratio).
ence, suppressing the Chaos in the Text effect and yielding retrieval rankings that are considerably more robust to the modality composition of the corpus.
C ADDITIONAL EVIDENCE OF MODALITY PREFERENCE ACROSS RETRIEVERS
We provide additional results complementing the analysis in Section 3 and Figure 4. Following the same protocol as in the main text, we examine modality preference from two perspectives: (i) score differences among semantically corresponding positive documents presented in different modalities, and (ii) ranking interference caused by irrelevant text documents. The additional results cover a broader set of CLIP-based retrievers and recent multimodal embedding models.
Additional CLIP-based retrievers. Figure 11 extends the analysis to CLIP-ViT-L/14, SigLIP2-L, and AltCLIP, together with their GR-CLIP-corrected counterparts. The positive-pair distributions in Figure 11(a) reproduce the modality-dependent score differences observed in the main text. In particular, the similarity assigned to an image positive is substantially lower than that assigned to its semantically corresponding text positive for CLIP-ViT-L/14, SigLIP2-L, and AltCLIP. The fused view generally reduces this gap but does not consistently eliminate it.

(a) SigLIP2-L on SlideVQA
(b) CLIP-ViT-L/14 on SlideVQA
(c) AltCLIP on SlideVQA

(d) +GR-CLIP on SlideVQA
(e) +GR-CLIP on SlideVQA
(f) +GR-CLIP on SlideVQA

(g) UniME-Phi3.5 on SlideVQA
(h) VisRAG-Ret on SlideVQA
(i) Jina-V5-small on SlideVQA
Figure 9: Mean NDCG@10 as a function of corpus modality composition (text ratio, fused ratio) across nine models on SlideVQA. The three ratios sum to one, image ratio = 1 - text ratio - fused ratio, so the surface in the figure is indexed by only two free variables, (text ratio, fused ratio).
More importantly, the same asymmetry appears at the ranking level in Figure 11(b). When the relevant document is presented as an image, text hard negatives frequently receive higher similarity scores than the positive, producing high interference rates across the three retrievers. The effect is particularly pronounced for CLIP-ViT-L/14 and SigLIP2-L, where nearly all image-positive queries in our sample are affected. In contrast, interference is generally lower when the positive itself is presented as text. These results further support that modality preference is not merely a shift in average similarity, but can directly alter the ranking between relevant and irrelevant documents.
The GR-CLIP variants provide an additional comparison. Although post-hoc correction can reduce the positive-score gap for some models, the ranking-level behavior is not consistently resolved. For example, substantial text-negative interference remains for image positives after correction, and the effect varies considerably across backbone models and positive modalities. This suggests that calibrating the similarity space alone does not necessarily remove the underlying modality-dependent ranking behavior.
Other VLM-based retrievers and Trident. Figure 12 further evaluates UniME-Phi3.5-V-4.2B and Jina-embeddings-v5-omni-small, and compares them with our Trident-Qwen3VL-2B. The two recent baselines exhibit the same qualitative pattern. Their text positives receive higher similarity than image positives, and image positives are more susceptible to being outranked by irrelevant text. For example, the interference rate for image positives reaches 52.6% for UniME-Phi3.5 and 53.2%

Text-Doc distractors (up to 200k)
CLIP-ViT-L/14 SigLIP2-L/16-384 AltCLIP
Image-Doc distractors (up to 50k)
CLIP-ViT-L/14 SigLIP2-L/16-384 AltCLIP

Text-Doc distractors (up to 200k)
CLIP-ViT+GR SigLIP2+GR AltCLIP+GR
Image-Doc distractors (up to 50k)
CLIP-ViT+GR SigLIP2+GR AltCLIP+GR

Text-Doc distractors (up to 200k)
UniME-Phi3.5 Jina-V5-s Trident-Qwen3VL
Image-Doc distractors (up to 50k)
UniME-Phi3.5 Jina-V5-s Trident-Qwen3VL
Figure 10: Text distractors degrade retrieval performance far more severely than image distractors, despite both being equally irrelevant to every query. We report average NDCG@10 for nine retrieval models on ChartQA (left) and SlideVQA (right) as the number of distractor documents increases.
for Jina-V5-small, compared with 18.8% and 12.8%, respectively, when the positive is presented as text.
In contrast, Trident-Qwen3VL-2B produces closely aligned positive similarities across the three document views (0.674, 0.672, and 0.670 for text, image, and fused positives). Correspondingly, the strong modality-dependent ranking asymmetry is largely removed: the interference rates are 10.4%, 11.8%, and 11.8% for text, image, and fused positives, respectively. Thus, Trident not only reduces the score discrepancy among semantically equivalent positive views, but also substantially reduces the tendency of irrelevant text documents to outrank relevant evidence solely because of its modality.
Taken together with the results in the main text, these additional experiments show that modality preference appears across retrievers with different architectures, training objectives, and model
(b) Text hard negative vs. positive (one dot = one query)

Figure 11: (a) Violin plots show the similarity distributions across document modalities, revealing systematically higher similarity for text documents. (b) Each dot compares a query’s positive similarity with its text hard-negative similarity; points above y=x indicate cases where an irrelevant text document outranks the positive document, with the interference rate reporting their fraction.
scales. They also highlight the distinction between globally adjusting similarity scores and learning a representation in which relevance ranking itself is less dependent on document modality.

Text-doc positive
Image-doc positive
Fused-doc positive
Interfered: Text neg. > positive
Mean
Text-doc positive mean
All-pair mean
Figure 12: (a) Violin plots show the similarity distributions across document modalities, revealing systematically higher similarity for text documents. (b) Each dot compares a query's positive similarity with its text hard-negative similarity; points above y=x indicate cases where an irrelevant text document outranks the positive document, with the interference rate reporting their fraction.
Table 2: Backbone configurations. Model-specific configurations used for the two Trident variants.
| Qwen3-VL-2B | jina-clip-v2 | |
|---|---|---|
| Initialization | Qwen3-VL-2B-Instruct | jina-clip-v2 |
| Pooling | Last token | Modality-specific |
| Fine-tuning | LoRA (r=32, α=64) | Full parameters |
| Vision tower | Frozen | Trainable |
| Image input | Dynamic resolution | 512×512 |
| Max. text length | 8192 | 8192 |
| Instruction | Fig. 13 | None |
| Text-image fusion | Joint encoding | Embedding fusion (0.5/0.5) |
D ADDITIONAL TRAINING DETAILS
Training data. We adopt OpenDocVQA (Tanaka et al., 2025), a 41k-sample dataset, as training data, from which we construct tri-modal training instances following the procedure in Section 2.1.
Backbones and baselines. We use the CLIP-based and VLM-based models of Section 2.1 as baselines, and train one representative backbone per category to test the generality of our method: Jina-CLIP-v2 for CLIP-based models, and Qwen3-VL-2B-Instruct (Team, 2025) for VLM-based models, chosen to enable a controlled comparison against Qwen3-VL-Embedding-2B.
Training hyperparameters and implementation details are in Appendix D.
Input Template for Query Embedding
<|im_start>|system Represent the query for retrieving relevant content. <|im_end>|> <|im_start>|user {{Query}} <|im_end>|> <|im_start>|assistant
Input Template for Corpus Document Embedding
<|im_start>|system Represent the candidate content for retrieval. <|im_end>|> <|im_start>|user {{Document}} <|im_end>|> <|im_start>|assistant
Figure 13: Input template for training Trident-Qwen3VL-2B.
Table 3: Optimization hyperparameters. The same optimization setup is used for both backbone variants.
| Hyperparameter | Value |
|---|---|
| Epochs | 1 |
| Batch size / GPU | 8 |
| Gradient accumulation | 2 |
| Learning rate | |
| LR schedule | Cosine |
| Warmup ratio | 5% |
| Weight decay | 0.01 |
| Gradient clipping | 1.0 |
| Precision | bfloat16 |
| Positive views / sample | 3 |
Evaluation benchmarks and settings. Since our training data comes from the Visual Document QA domain, we evaluate generalization on six benchmarks: ChartQA and SlideVQA (Section 2.1), plus DocVQA (Mathew et al., 2021), InfoVQA (Mathew et al., 2022), ViDoSeek (Wang et al., 2025), and Dude (Van Landeghem et al., 2023). We report two settings of increasing difficulty. In Origin, retrieval is performed over each dataset's original, single-modality (pure image) corpus. In Mix, we first convert each corpus into a mixed-modality one using the procedure of Section 2.1, then merge the six resulting corpora into a single pool, so retrieval must additionally contend with a much larger set of visually and semantically similar distractors drawn from the other five datasets.
Training Setup. We implement both backbone variants, Qwen3-VL-2B-Instruct and jina-clip-v2, and extend the training pipeline to support multi-view positive sampling, cross-GPU negative
We further validate trident on natural-image retrieval in Appendix F, beyond the document domain.
sharing, and false-negative masking. All experiments are conducted on 8 NVIDIA A100-80GB GPUs using Distributed Data Paralle. We use bfloat16 mixed-precision training and enable gradient checkpointing to reduce memory consumption. Unless otherwise specified, both models are trained for one epoch with three positive views per sample.
Backbone Configurations. The backbone-specific configurations are summarized in Table 2. For Qwen3-VL-2B-Instruct, we follow the pooling strategy and instruction format of Qwen3-VL-Embedding, using last-token pooling and separate instruction templates for queries and documents, as illustrated in Figure 13. During training, we apply LoRA only to the language tower while keeping the vision tower frozen. This substantially reduces memory consumption while preserving the pretrained visual representations. For jina-clip-v2, which adopts a dual-tower architecture with pretrained vision-language alignment, we fine-tune both the text and vision towers end-to-end. For fused documents, the text and image embeddings are combined with equal weights to obtain the final representation.
Optimization. We train both models for one epoch using a cosine learning-rate schedule with a 5% warmup ratio. The learning rate is set to with a weight decay of 0.01, and gradients are clipped to a maximum norm of 1.0. Each GPU processes a batch of 8 samples with 2 gradient accumulation steps. The main optimization hyperparameters are summarized in Table 3.
E DECOMPOSITION AND GRADIENT ANALYSIS OF MULTI-POSITIVE VIEW INFONCE
E.1 OBJECTIVE DEFINITION
For a query , let denote its set of semantically corresponding positive views, its set of negative documents, and the complete candidate set. In Trident, contains the Text, Image, and Fused views, giving . The following derivation holds for any .
Let denote the similarity between the query and candidate , and let be the temperature. The softmax probability over the shared candidate set is
Multi-Positive View InfoNCE averages the negative log-probabilities of all positive views,
We define the total probability mass assigned to the positive set and the relative share of each positive view as
Here, . We further define , the uniform target distribution over positive views.
E.2 RELEVANCE DISCRIMINATION AND POSITIVE-VIEW BALANCE
Since , Eq. equation 8 can be rewritten as
(10)
The KL divergence between the uniform distribution u and the relative positive-view distribution r is
(11)
Substituting Eq. equation 11 into Eq. equation 10 gives
The first term, , encourages the positive set to capture probability mass from negative documents, making relevant documents collectively more competitive. However, this term depends only on the total positive probability mass, not on its distribution across views. The model can therefore increase primarily through an easy-to-match text positive while assigning little probability to the image or fused positive.
The second term, , constrains the probability allocation within the positive set. It is minimized when for every positive view, thereby penalizing excessive concentration on a subset of views. Together, the two terms encourage the model to distinguish relevant documents from irrelevant ones while avoiding reliance on a single modality to match the positive set. The constant does not affect optimization.
E.3 GRADIENTS WITH RESPECT TO POSITIVE AND NEGATIVE SCORES
The derivative of the log-softmax is
where is the indicator function. Consequently, the gradient of the objective with respect to any candidate score is
Positive views. For a positive view ,
When its probability is below 1/M, the gradient is negative, so gradient descent on the score increases it. When its probability exceeds 1/M, the gradient is positive, and the update instead decreases its score. Thus, a relevant image receiving insufficient probability is encouraged to become more competitive, while a positive view receiving excessive probability mass is suppressed.
Consider two positive views . The difference between their score gradients is
If the scores are treated as independent variables and updated by one gradient descent step with learning rate , then
Whenever , we also have , so the update direction tends to reduce their score difference. Even when both positive probabilities are below 1/M, the weaker positive receives a larger upward score update.
Negative documents. For a negative document ,
Gradient descent on the score therefore decreases it. For a fixed query, a higher-scoring negative receives a larger softmax probability and consequently a stronger downward update. An irrelevant text document assigned a high score is therefore penalized more strongly. This behavior depends on relevance labels and current scores, rather than on an assumption that text documents are necessarily negative.
E.4 COMPLEMENTARY ROLES OF THE TWO COMPONENTS
To distinguish relevance learning from view balancing, let
For a positive view m, the relevance-discrimination gradient is
while the positive-view balance gradient is
Equation equation 20 shows that the relevance-discrimination term pushes all positive scores upward, but its gradient magnitude is proportional to the current relative share . Optimizing this term alone therefore gives larger upward score updates to positives that are already stronger.
Equation equation 21 provides a complementary balancing effect. When a view’s share within the positive set is below 1/M, this term pushes its score upward; when its share exceeds 1/M, the term pushes its score downward. Adding these two gradients recovers Eq. equation 15.
For a negative document n, note that
depends only on positive scores. Hence,
For the current query, the relevance-discrimination term thus penalizes high-scoring irrelevant text, while the positive-view balance term prevents relevant text from monopolizing the positive probability mass and provides additional support for weaker relevant image views.
E.5 CONSTRAINING CROSS-MODAL SCORE BASELINES
When each modality is trained with a separately normalized InfoNCE objective, adding the same offset to all candidate scores within a modality leaves its softmax probabilities unchanged. Such objectives therefore cannot identify relative score offsets between modalities.
Shared normalization removes this invariance to independent modality-specific offsets. Let denote the candidates belonging to modality , and consider adding an offset to all their scores. Evaluated at the current scores, Eq. equation 14 gives
(24)
Table 4: Main results on four natural-image retrieval benchmarks under the Origin (each dataset's original, single-modality corpus) and Mix (mixed-modality corpora merged across all four datasets) settings. Avg is the mean over the four benchmarks, computed separately for Origin and Mix. The best result in each column is in bold; the second best is underlined. Our proposed models are highlighted in gray, with the corresponding ablation (w/o Multi-Positive InfoNCE) shown below.
| Model | Google-WIT | MSCOCO | VisualNews | OVEN | Avg | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Origin | Mix | Origin | Mix | Origin | Mix | Origin | Mix | Origin | Mix | |
| CLIP-based Models | ||||||||||
| SigLIP2-L/16-384 | 22.51 | 6.29 | 81.83 | 40.94 | 50.21 | 17.58 | 57.95 | 22.42 | 53.13 | 21.81 |
| + GR-CLIP | 22.49 | 19.35 | 81.60 | 62.02 | 52.38 | 43.04 | 60.49 | 44.66 | 54.24 | 42.27 |
| CLIP-ViT-L/14 | 61.59 | 51.94 | 71.14 | 37.06 | 90.40 | 49.68 | 54.16 | 13.23 | 69.32 | 37.98 |
| + GR-CLIP | 60.66 | 66.65 | 72.00 | 60.89 | 90.27 | 75.94 | 56.41 | 39.01 | 69.84 | 60.62 |
| AltCLIP | 60.30 | 49.17 | 76.26 | 52.28 | 88.66 | 57.03 | 54.47 | 18.44 | 69.92 | 44.23 |
| + GR-CLIP | 59.63 | 68.08 | 74.95 | 62.96 | 89.30 | 75.69 | 55.68 | 36.61 | 69.89 | 60.84 |
| Jina-CLIP-v2 | 48.83 | 75.59 | 73.81 | 60.31 | 64.82 | 63.91 | 40.37 | 25.90 | 56.96 | 56.43 |
| + GR-CLIP | 50.78 | 82.28 | 73.11 | 71.56 | 67.48 | 76.10 | 40.71 | 26.31 | 58.02 | 64.06 |
| Trident-JinaCLIP (Ours) | 44.60 | 74.11 | 76.20 | 77.12 | 74.29 | 85.08 | 50.51 | 45.70 | 61.40 | 70.50 |
| w/o Multi-Positive InfoNCE | 40.56 | 69.79 | 74.56 | 74.41 | 71.75 | 80.52 | 51.37 | 46.19 | 59.56 | 67.73 |
| VLM-based Models | ||||||||||
| UniME-Phi3.5-V-4.2B | 41.11 | 74.45 | 81.70 | 81.88 | 72.96 | 78.16 | 39.76 | 26.63 | 58.88 | 65.28 |
| VisRAG-Ret | 39.72 | 42.14 | 76.89 | 43.88 | 59.22 | 31.92 | 46.84 | 17.68 | 55.67 | 33.91 |
| Jina-embeddings-v5-omni-small | 42.46 | 79.72 | 80.79 | 74.10 | 63.09 | 73.67 | 44.68 | 25.16 | 57.76 | 63.16 |
| Qwen3-VL-Embedding-2B | 45.92 | 70.66 | 85.60 | 86.11 | 75.85 | 82.06 | 59.03 | 55.85 | 66.60 | 73.67 |
| Qwen3-VL-Embedding-8B | 56.28 | 68.76 | 87.18 | 89.54 | 79.20 | 84.25 | 59.41 | 55.15 | 70.52 | 74.43 |
| Trident-Qwen3VL-2B (Ours) | 56.10 | 83.67 | 84.89 | 86.86 | 80.57 | 88.10 | 57.67 | 48.49 | 69.81 | 76.78 |
| w/o Multi-Positive InfoNCE | 56.10 | 77.06 | 81.82 | 81.17 | 77.54 | 86.81 | 57.79 | 51.03 | 68.31 | 74.02 |
Trident includes one positive per modality, giving
A modality-specific shift now changes the shared probability allocation and is constrained by the training objective. Unlike separately normalized objectives, the shared objective is not invariant to independently raising all scores of one modality. It therefore constrains the relative score baselines that govern competition between modalities.
F MODEL PERFORMANCE ON NATURAL IMAGES
Experimental Setup. To verify that our findings extend to natural images, we train on 170K samples collected from the training sets of MMEB (Jiang et al., 2024), and evaluate on four natural-image retrieval benchmarks: Google-WIT (Srinivasan et al., 2021), MSCOCO (Chen et al., 2015), VisualNews (Liu et al., 2021), and OVEN (Hu et al., 2023) (Table 4). Origin denotes each dataset's original single-modality corpus, while Mix directly adopts the mixed-modality corpus from MixBench (Li et al., 2025a), which merges the four datasets.
Existing models remain non-robust in mixed-modality retrieval on natural images. Most baselines degrade substantially from Origin to Mix: average NDCG@10 drops from 53.13 to 21.81 for SigLIP2, from 69.32 to 37.98 for CLIP-ViT-L/14, and from 55.67 to 33.91 for VisRAG-Ret. Meanwhile, some models, including Trident, score higher in Mix than in Origin (e.g., Qwen3-VL-Embedding-2B rises from 66.60 to 73.67). This contrasts with document images: document images contain abundant text and thus align readily with textual semantics, whereas natural-image semantics are sparser and more abstract, making them harder to match with text queries, while the semantically equivalent text documents substituted in Mix are explicit and easier to retrieve. The Origin-to-Mix change on natural images therefore conflates dataset characteristics with robustness, and is better judged by comparing models on the same Mix corpus.
By mitigating modality preference, Trident remains effective on natural images. On the same Mix corpus, Trident, which trains toward modality balance, achieves the highest Mix average on both backbones (70.50 and 76.78), clearly surpassing the corresponding baselines Jina-CLIP-v2 (56.43) and Qwen3-VL-Embedding-2B (73.67), while its Origin average does not decrease. This shows that mitigating modality preference does not compromise single-modality retrieval. Consistent with the main text, removing Multi-Positive InfoNCE lowers the Mix average on both backbones, confirming that an objective that balances modalities during training is effective.
G FURTHER ABLATION STUDIES
We further examine how the two components of Trident contribute to mitigating modality preference. As shown in Figure 14, the original Qwen3-VL-Embedding-2B exhibits substantial disparity across same- and cross-modality positive pairs, with a standard deviation of across the six group means. Training with our modality-balanced data construction alone (w/o Multi-Positive InfoNCE) reduces to 0.009, indicating that balanced positive sampling already alleviates modality-dependent disparity. Incorporating Multi-Positive InfoNCE further reduces to 0.004, consistent with the positive-view balancing effect characterized by Eq. 6: the shared softmax discourages the positive probability mass from being systematically concentrated in a single modality. Together with the retrieval gains in Table 1, these results show that data-level balance and objective-level coordination provide complementary contributions to mitigating modality preference.
A natural question is whether stronger modality balancing would further improve retrieval. To test this, we augment Multi-Positive InfoNCE with an explicit Modality Balance Loss that directly penalizes similarity differences among the three positive views, and compare with the default . As shown in Figure 15(a), both settings exhibit similar convergence of the retrieval objective. More importantly, the balance loss decreases rapidly even when it is not explicitly optimized ( ; Figure 15(b)), providing additional empirical evidence that Multi-Positive InfoNCE already reduces modality disparity through its shared objective. Explicit balancing pushes this effect further, reducing from 0.004 to 0.003 in Figure 14. However, this lower disparity does not yield better retrieval: although performs slightly better early in training, its advantage disappears and the final NDCG@10 is slightly lower than that of (Figure 15(c)).
This result reveals an important distinction between mitigating modality preference and enforcing similarity equality. The positive-view balance induced by Multi-Positive InfoNCE operates on the relative probability mass within the shared softmax, discouraging systematic dominance by any single modality without directly requiring their cosine similarities to be identical. In contrast, the additional Modality Balance Loss explicitly pushes the similarities of Text, Image, and Fused views toward equality. Such a constraint can be overly restrictive because these views differ inherently in information content and granularity; for example, an image may contain visual evidence that is not fully captured by its textual description. Their optimal similarities to a query therefore need not coincide. The slightly better retrieval performance of w = 0, despite its marginally larger similarity dispersion (0.004 vs. 0.003), supports this distinction. Modality balance does not require different modalities to have identical similarities; rather, it requires preventing any single modality from systematically dominating the shared representation space.
H FULL 3D SURFACE COMPARISONS BEFORE AND AFTER TRIDENT
To further validate the robustness of Trident beyond the two datasets presented in the main text, we extend the 3D surface analysis to four additional benchmarks: ChartQA, InfoVQA, DocVQA, and ViDoSeek. Figure 16 reports Mean NDCG@10 as a function of corpus modality composition (Fused Ratio, Text Ratio) for both Jina-CLIP-v2 and Qwen3-VL-Embedding-2B, before (left) and after (right) Trident training.
Across all four datasets, the pattern observed in the main text is consistently reproduced. Before training, every surface exhibits a pronounced valley concentrated around balanced modality compositions, confirming that the modality preference of baseline retrievers is not an artifact specific to a single dataset but rather a systematic failure mode that generalizes across document types, ranging from natural images in ChartQA to dense text layouts in DocVQA and ViDoSeek. After Trident training, the valley is consistently eliminated, and Mean NDCG@10 remains stable across the full

with Modality Balance Loss
w/o Multi-Positive InfoNCE
Trident-Qwen3VL-2B
Figure 14: Distribution of cosine similarities between same-modality and cross-modality positive pairs, ablation studies on Qwen3-VL-E-2B.
(a)

(b)
Trident-Qwen3VL-2B
(c)
with Modality Balance Loss
Figure 15: Effect of explicit modality balancing. We compare Multi-Positive InfoNCE with and without an additional Modality Balance Loss, corresponding to “with Modality Balance Loss” and “Trident-Qwen3VL-2B” respectively. Although explicit balancing further reduces modality discrepancy, it does not improve the final retrieval performance.
range of Fused Ratio and Text Ratio values. This consistency across datasets with markedly different visual and textual characteristics reinforces our central claim that Trident renders the model insensitive to corpus modality composition, rather than merely overfitting to the modality distribution of a particular training or evaluation set.
Beyond this overall consistency, a closer comparison across the two backbones reveals a subtler distinction. For Jina-CLIP-v2, although the pronounced valley is largely flattened after training, the resulting surface is not perfectly uniform: mild fluctuations remain visible, particularly on InfoVQA and DocVQA, where retrieval performance shows slight sensitivity to extreme modality ratios. We attribute this residual variation to the underlying CLIP-based architecture, in which text and image are encoded through separate towers and subsequently aligned only through a shared embedding space. Such a design inherently treats each modality as a distinct representational subspace, so that even after modality-balanced training, complete invariance to corpus composition is difficult to achieve.
In contrast, Qwen3-VL-Embedding-2B exhibits a markedly flatter surface after training, with performance variation across the entire Fused Ratio and Text Ratio grid becoming almost negligible on every dataset. We attribute this difference to the fact that Qwen3-VL-Embedding-2B is built upon a vision-language model backbone, wherein textual and visual tokens are processed within a single unified transformer rather than through separate modality-specific encoders. This architectural unification allows the model to represent text, image, and fused content within a shared token space from the outset, providing a more favorable inductive bias for eliminating modality preference once explicitly supervised with modality-balanced data. Taken together, these observations suggest that while Trident is effective regardless of backbone architecture, VLM-based embedding models offer a structurally more unified foundation for achieving genuinely modality-agnostic retrieval, whereas

(a) Jina-Clip-v2 on ChartQA
(b) Qwen3-VL-E-2B on ChartQA

(c) Jina-Clip-v2 on InfoVQA
(d) Qwen3-VL-E-2B on InfoVQA

(e) Jina-Clip-v2 on DocVQA
(f) Qwen3-VL-E-2B on DocVQA

(g) Jina-Clip-v2 on ViDoSeek
(h) Qwen3-VL-E-2B on ViDoSeek
Figure 16: Mean NDCG@10 on four datasets as a function of corpus modality composition (Fused Ratio, Text Ratio), before (left) and after (right) Trident training.
CLIP-based models, despite substantial improvement, retain a mild architectural bias toward treating modalities separately.
I PERFORMANCE ACROSS MATRYOSHKA DIMENSIONS
The embedding dimension directly determines the storage and computation cost of a retrieval system, and Matryoshka representation learning (Kusupati et al., 2022) allows a single model to be used at multiple dimensions. To this end, we incorporate Matryoshka representation learning into the training of Trident (dimensions 128–2048) and compare Trident with Qwen3-VL-E-2B in terms of nDCG@10 across embedding dimensions (Figure 17).

(a) Performance on Origin Corpus
(b) Performance on Mixed-Modality Corpus
Figure 17: Performance across Matryoshka embedding dimensions.
Origin Corpus. As shown in Figure 17a, Trident performs at least on par with the baseline at every dimension, and its advantage grows as the dimension decreases: the two models are nearly tied at 2048 dimensions (+0.2), while Trident leads by +7.4 at 128 dimensions. This indicates that Trident does not sacrifice unimodal retrieval ability on the original corpus, and better preserves representation quality at low dimensions.
Mixed-Modality Corpus. As shown in Figure 17b, Trident outperforms the baseline by a large margin at all dimensions (+26.1 to +30.5), and this advantage does not shrink as the dimension increases. The baseline’s nDCG@10 stays between 33 and 40 throughout, so a larger embedding dimension does little to alleviate its degradation on the mixed corpus, whereas Trident at only 128 dimensions already clearly surpasses the baseline at 2048 dimensions. This suggests that Trident’s advantage in the mixed-modality setting stems not from greater representational capacity, but from effectively mitigating Modality Preference.