[Paper Review] Chatting Makes Perfect: Chat-based Image Retrieval
This paper introduces ChatIR, a chat-based image retrieval system that uses large language models to iteratively query users through dialogues, refining search intent over multiple rounds. It achieves 78% retrieval accuracy on a 50K-image dataset after five dialogue rounds—surpassing both single-query text-to-image retrieval (64%) and human-questioned dialogues (75%)—by leveraging foundation models and a novel evaluation pipeline using BLIP2 as a synthetic answerer.
Chats emerge as an effective user-friendly approach for information retrieval, and are successfully employed in many domains, such as customer service, healthcare, and finance. However, existing image retrieval approaches typically address the case of a single query-to-image round, and the use of chats for image retrieval has been mostly overlooked. In this work, we introduce ChatIR: a chat-based image retrieval system that engages in a conversation with the user to elicit information, in addition to an initial query, in order to clarify the user's search intent. Motivated by the capabilities of today's foundation models, we leverage Large Language Models to generate follow-up questions to an initial image description. These questions form a dialog with the user in order to retrieve the desired image from a large corpus. In this study, we explore the capabilities of such a system tested on a large dataset and reveal that engaging in a dialog yields significant gains in image retrieval. We start by building an evaluation pipeline from an existing manually generated dataset and explore different modules and training strategies for ChatIR. Our comparison includes strong baselines derived from related applications trained with Reinforcement Learning. Our system is capable of retrieving the target image from a pool of 50K images with over 78% success rate after 5 dialogue rounds, compared to 75% when questions are asked by humans, and 64% for a single shot text-to-image retrieval. Extensive evaluations reveal the strong capabilities and examine the limitations of CharIR under different settings. Project repository is available at https://github.com/levymsn/ChatIR.
Motivation & Objective
- To address the limitations of single-query text-to-image retrieval, where ambiguous or incomplete descriptions lead to poor results.
- To explore conversational search as a more natural and effective alternative to static queries in image retrieval.
- To develop a scalable evaluation framework for chat-based image retrieval using synthetic human-like answers via BLIP2.
- To investigate how dialogue dynamics, question quality, and model training strategies impact retrieval performance.
Proposed method
- The system uses a two-stage architecture: Image Search (IS) to retrieve images from a dialog history, and Dialog Building (DB) to generate follow-up questions.
- The Image Search model $F$ is a text encoder that maps dialog sequences into visual embedding space, trained with various masking strategies.
- The Dialog Building module $G$ is a question generator based on instruction-tuned LLMs, which produces context-aware follow-up questions based on the full dialog history.
- A synthetic answerer (BLIP2) is used to simulate human responses during evaluation, enabling scalable benchmarking without human-in-the-loop.
- The system is evaluated using the VisDial dataset, repurposed so that each image is the target and the dialog is the retrieval query.
- Retrieval performance is measured by the probability of successful target image retrieval within each dialog round, using Average Target Rank (ATR) and success rate metrics.
Experimental results
Research questions
- RQ1How does iterative, chat-based interaction improve image retrieval performance compared to single-query text-to-image retrieval?
- RQ2What masking strategy during training of the image retriever ($F$) leads to the best performance in a dialog setting?
- RQ3How do different question generator models ($G$) affect retrieval success, and can LLMs match human question quality?
- RQ4To what extent can a vision-language model like BLIP2 substitute for human answerers in evaluating chat-based retrieval systems?
- RQ5What are the limitations of current dialogue-based retrieval systems, particularly in generating diverse and informative follow-up questions?
Key findings
- ChatIR achieves a 78% success rate in retrieving the target image from a 50K-image pool after five dialogue rounds, outperforming single-query text-to-image retrieval (64%) and matching human-questioned dialogues (75%).
- Masking the initial image caption during training of the retriever ($F$) yields the best performance, improving accuracy by 2–3% across all questioner types.
- Human and ChatGPT questioners show consistent improvement in retrieval rank over dialogue rounds, while RL-based methods and pool questioners fail to improve beyond early rounds.
- Using BLIP2 as a synthetic answerer provides a reliable and scalable proxy for human responses, with performance trends closely mirroring human-answered dialogues.
- The RL-based questioners ($RL_{17}$ and $RL_{19}$) perform poorly, especially when paired with their own answerers, and show no improvement in retrieval rank over time.
- The failure of many models to improve over time is attributed to their inability to generate new, distinguishing questions, leading to redundant or uninformative dialogues.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.