MM-R5: MultiModal Reasoning-Enhanced ReRanker via Reinforcement Learning for Document Retrieval
π’ News
- 2025-06-20: Our model MM-R5 is now publicly available on Hugging Face!
- 2025-06-14: Our publication MM-R5: MultiModal Reasoning-Enhanced ReRanker via Reinforcement Learning for Document Retrieval is now available!
π Introduction
We introduce MM-R5, a novel Multimodal Reasoning-Enhanced ReRanker designed to improve document retrieval in complex, multimodal settings. Unlike traditional rerankers that treat candidates as isolated inputs, MM-R5 incorporates explicit chain-of-thought reasoning across textual, visual, and structural modalities to better assess relevance. The model follows a two-stage training paradigm: during the supervised fine-tuning (SFT) stage, it is trained to produce structured reasoning chains over multimodal content. To support this, we design a principled data construction method that generates high-quality reasoning traces aligned with retrieval intent, enabling the model to learn interpretable and effective decision paths. In the second stage, reinforcement learning is applied to further optimize the reranking performance using carefully designed reward functions, including task-specific ranking accuracy and output format validity. This combination of reasoning supervision and reward-driven optimization allows MM-R5 to deliver both accurate and interpretable reranking decisions. Experiments on the MMDocIR benchmark show that MM-R5 achieves state-of-the-art top-k retrieval performance, outperforming strong unimodal and large-scale multimodal baselines in complex document understanding scenarios.
π Getting Started
You can get the reranker from here
from reranker import QueryReranker
reranker = QueryReranker("i2vec/MM-R5")
query = "What is the financial benefit of the partnership?"
image_list = [
"/path/to/images/image1.png",
"/path/to/images/image2.png",
"/path/to/images/image3.png",
"/path/to/images/image4.png",
"/path/to/images/image5.png"
]
predicted_order = reranker.rerank(query, image_list)
print(f"Query: {query}")
print(f"Reranked order: {predicted_order}")
ποΈ Citation
If you use MM-R5 in your research, please cite our project:
@article{xu2025mm,
title={MM-R5: MultiModal Reasoning-Enhanced ReRanker via Reinforcement Learning for Document Retrieval},
author={Xu, Mingjun and Dong, Jinhan and Hou, Jue and Wang, Zehui and Li, Sihang and Gao, Zhifeng and Zhong, Renxin and Cai, Hengxing},
journal={arXiv preprint arXiv:2506.12364},
year={2025}
}
- Downloads last month
- 41