Interactive Text-to-Image Retrieval with Large Language Models: A Plug-and-Play Approach
Saehyung Lee, Sangwon Yu, Junsung Park, Jihun Yi, Sungroh Yoon
TL;DR
This work tackles interactive text-to-image retrieval by exposing the limitations of using raw dialogues with zero-shot retrievers. It introduces PlugIR, a plug-and-play framework with two modules: context reformulation, which converts dialogue context into caption-like input for pre-trained vision-language retrievers, and context-aware dialogue generation, which grounds LLM questions in retrieval candidates via retrieval-context extraction and filtering. To fairly evaluate multi-turn retrieval, it proposes Best log Rank Integral (BRI), a K-agnostic metric that jointly captures user satisfaction, efficiency, and ranking improvements, and demonstrates its strong alignment with human judgments. Across VisDial, COCO, and Flickr30k, PlugIR outperforms zero-shot and fine-tuned baselines and remains effective across different retrievers, illustrating practical plug-and-play applicability and robustness to perturbations and model choices.
Abstract
In this paper, we primarily address the issue of dialogue-form context query within the interactive text-to-image retrieval task. Our methodology, PlugIR, actively utilizes the general instruction-following capability of LLMs in two ways. First, by reformulating the dialogue-form context, we eliminate the necessity of fine-tuning a retrieval model on existing visual dialogue data, thereby enabling the use of any arbitrary black-box model. Second, we construct the LLM questioner to generate non-redundant questions about the attributes of the target image, based on the information of retrieval candidate images in the current context. This approach mitigates the issues of noisiness and redundancy in the generated questions. Beyond our methodology, we propose a novel evaluation metric, Best log Rank Integral (BRI), for a comprehensive assessment of the interactive retrieval system. PlugIR demonstrates superior performance compared to both zero-shot and fine-tuned baselines in various benchmarks. Additionally, the two methodologies comprising PlugIR can be flexibly applied together or separately in various situations. Our codes are available at https://github.com/Saehyung-Lee/PlugIR.
