Official code for our EMNLP 2025 paper:
"Who is in the Spotlight: The Hidden Bias Undermining Multimodal Retrieval-Augmented Generation"
π Paper (arXiv)
This project investigates position bias in Multimodal Retrieval-Augmented Generation (RAG) systems.
We find that model accuracy follows a U-shaped curve with respect to evidence order β
high at the beginning and end, but lowest in the middle.
We propose the Position Sensitivity Index (PSIβ) to quantify this bias and visualize its attention-level causes.
git clone https://github.com/Theodyy/Multimodal-RAG-Position-Bias.git
cd Multimodal-RAG-Position-Bias
pip install -r requirements.txtEvaluate position bias in text retrieval tasks.
cd exp/text-only
python ms-mini.py --output_dir ../../results/ms_miniEvaluate position bias in chart reasoning.
cd exp/image-only
python chart-mini.py --dataset_name chart --output_dir ../../results/chart_miniOr batch run 10 trials:
bash run_mini5.shReproduce Figure 4 (attention heatmaps):
cd vis
jupyter notebook single_3_diff.ipynb@article{yao2025spotlight,
title={Who is in the Spotlight: The Hidden Bias Undermining Multimodal Retrieval-Augmented Generation},
author={Yao, Jiayu and Liu, Shenghua and Wang, Yiwei and Mei, Lingrui and Bi, Baolong and Ge, Yuyao and Li, Zhecheng and Cheng, Xueqi},
journal={arXiv preprint arXiv:2506.11063},
year={2025}
}π§ Contact: yaojiayu25@mails.ucas.ac.cn