Manuscript Offprint

arXiv:2610.11816

Chaos in the Text: Revealing the Modality Preference in Mixed-Modality Retrievers

Yubo Sun, Chunyi Peng, Yukun Yan, Zhenghao Liu, Zhipeng Xu, Sen Mei, Linlin Xin, Zheni Zeng, Maosong Sun

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.

Figure

(a)

Query

How many stores did Saint Laurent operate in Western Europe in 2020?

Figure

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.

References (75)