mllm prompting multimodal-retrieval text-retrieval mteb hard-negative-mining bi-encoder modality-bias
Abstract
State-of-the-art retrieval models typically address a straightforward search scenario, in which retrieval tasks are fixed (e.g., finding a passage to answer a specific question) and only a single modality is supported for both queries and retrieved results. This paper introduces techniques for advancing information retrieval with multimodal large language models (MLLMs), enabling a broader search scenario, termed universal multimodal retrieval, where multiple modalities and diverse retrieval tasks are accommodated. To this end, we first study fine-tuning an MLLM as a bi-encoder retriever on 10 datasets with 16 retrieval tasks. Our empirical results show that the fine-tuned MLLM retriever is capable of understanding challenging queries, composed of both text and image, but it underperforms compared to a smaller CLIP retriever in cross-modal retrieval tasks due to the modality bias exhibited by MLLMs. To address the issue, we propose modality-aware hard negative mining to mitigate the modality bias exhibited by MLLM retrievers. Second, we propose continuously fine-tuning the universal multimodal retriever to enhance its text retrieval capability while preserving multimodal retrieval capability. As a result, our model, MM-Embed, achieves state-of-the-art performance on the multimodal retrieval benchmark M-BEIR, which spans multiple domains and tasks, while also surpassing the state-of-the-art text retrieval model, NV-Embed-v1, on the MTEB retrieval benchmark. We also explore prompting the off-the-shelf MLLMs as zero-shot rerankers to refine the ranking of the candidates from the multimodal retriever. We find that, through prompt-and-reranking, MLLMs can further improve multimodal retrieval when the user queries (e.g., text-image composed queries) are more complex and challenging to understand. These findings also pave the way for advancing universal multimodal retrieval in the future.
한국어 요약
한 줄 요약
MM-Embed는 다양한 모달리티와 검색 작업을 처리하는 초거대 다중모달 언어 모델 기반의 최적화된 검색 시스템이다.
핵심 기여도
- MLLM 기반의 MM-Embed는 M-BEIR 벤치마크에서 최고 성능을 달성함.
- 모달리티 바이어스를 완화하기 위해 *modality-aware hard negative mining* 기법을 제안함.
- 텍스트 검색 능력을 향상시키는 *continuously fine-tuning*을 통해 텍스트-텍스트 검색에서도 NV-Embed-v1을 초과함.
- MLLM을 제로샷 리랭커로 활용하여 CIRCO 데이터셋에서 기존 SOTA보다 mAP@5 7점 이상 개선함.
핵심 아이디어
기존 검색 모델은 단일 모달리티와 고정된 작업에 제한되었으나, MM-Embed는 다양한 모달리티와 작업을 처리하는 *universal multimodal retrieval*을 목표로 한다. 이를 위해 MLLM을 기반으로 한 *bi-encoder retriever*를 10개 데이터셋, 16개 검색 작업에서 미세조정하여 학습시켰다. 그러나 MLLM은 텍스트-이미지 크로스 모달 검색에서 *modality bias*를 보여 CLIP 기반 모델보다 성능이 낮았다. 이를 해결하기 위해 *modality-aware hard negative mining*을 제안하여, 특정 모달리티에 치우치는 음성 샘플을 효과적으로 제거함으로써 성능을 향상시켰다. 또한, 텍스트 검색 능력을 유지하면서 향상시키기 위해 *continuously fine-tuning*을 도입하였다.
기술적 접근법
- **모델**: LLaVa-Next 기반의 MLLM을 사용.
- **학습 방법**: 10개 데이터셋, 16개 검색 작업에서 *bi-encoder retriever*로 미세조정.
- **모달리티 바이어스 완화**: *modality-aware hard negative mining*을 통해 크로스 모달 검색 성능 향상.
- **텍스트 검색 향상**: *continuously fine-tuning*을 통해 텍스트-텍스트 검색 성능 유지 및 향상.
- **리랭킹**: 제로샷 리랭커로 MLLM을 활용하여 상위 후보를 재정렬함.
주요 결과
- **M-BEIR 벤치마크**: MM-Embed는 다양한 도메인과 작업에서 최고 성능을 달성함.
- **MTEB 텍스트 검색**: NV-Embed-v1을 초과함.
- **CIRCO 데이터셋**: 제로샷 리랭커를 사용하면 기존 SOTA보다 mAP@5 7점 이상 개선됨.
- **모달리티 바이어스 완화**: *modality-aware hard negative mining*을 통해 M-BEIR에서 5점 이상 성능 향상됨.
의의 및 한계
MM-Embed는 다양한 모달리티와 작업을 처리하는 *universal multimodal retrieval*의 가능성을 입증하며, MLLM을 기반으로 한 검색 모델의 성능 한계를 극복하는 방향을 제시한다. 특히, 제로샷 리랭커를 활용한 후처리는 복잡한 텍스트-이미지 쿼리에서의 정확도를 크게 향상시킨다. 그러나 MLLM은 여전히 CLIP보다 크로스 모달 검색에서 성능이 낮으며, 모델 크기와 추론 효율성 측면에서 개선이 필요하다. 또한, 제로샷 리랭커의 성능은 데이터셋에 따라 변동이 크므로, 이를 일반화하기 위한 추가 연구가 필요하다.
실용적 활용
MM-Embed는 복합적인 검색 환경을 요구하는 산업, 예를 들어, 고객 지원, 콘텐츠 추천, 시각적 질문 답변 시스템 등에 적용 가능하다. 특히, 텍스트-이미지 복합 쿼리를 처리해야 하는 검색 엔진 개발에 유용하며, 제로샷 리랭커를 활용한 후처리는 사용자 경험을 향상시키는 데 기여할 수 있다.