Unsupervised Large Language Model Alignment for Information Retrieval Via Contrastive Feedback
Qian Dong,Yiding Liu,Qingyao Ai,Zhijing Wu,Tsinghua University,Yiqun Liu,Shuaiqiang Wang,Dawei Yin,Shaoping Ma
DOI: https://doi.org/10.1145/3626772.3657689
2024-01-01
Abstract:Large language models (LLMs) have demonstrated remarkable capabilities across various research domains, including the field of Information Retrieval (IR). However, the responses generated by off-the-shelf LLMs tend to be generic, i.e., cannot capture the distinctiveness of each document with similar content. This limits the performance of LLMs in IR because finding and distinguishing relevant documents from substantial similar documents is a typical problem in many IR tasks. To address this issue, we propose an unsupervised alignment method, namely Reinforcement Learning from Contrastive Feedback (RLCF), empowering LLMs to generate both high-quality and context-specific responses. Our approach constructs unsupervised contrastive feedback signals based on similar document groups, and adopts a reward function, named group-wise reciprocal rank, to optimize LLMs. We conduct extensive experiments to evaluate the effectiveness of RLCF.