arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.16615cs.IRcs.CLcs.LG
收藏

大语言模型可作为基于隐藏理据检索的基础

Large Language Model Can Be a Foundation for Hidden Rationale-Based Retrieval

Geely AI Lab(吉利人工智能实验室);Beijing Institute of Technology(北京理工大学);Beihang University(北京航空航天大学)

Luo Ji, Feixiang Guo, Teng Chen, Qingqing Gu, Xiaoyu Wang, Ningyuan Xi, Yihong Wang, Peng Yu, Yue Zhao, Hongyang Lei, Zhonglin Jiang, Yong Chen

AI总结:

本文提出隐藏理据检索任务,设计基于指令微调大语言模型和直接偏好优化的RaHoRe框架,将检索转化为二选一生成任务,并在情感支持对话上验证其零样本与微调性能优势。

摘要:

尽管检索增强生成(RAG)系统近期取得了进展,但大多数检索方法通常是为事实检索而开发的,这类检索假设查询与正相关文档在语义上相似。在本文中,我们提出并研究了一种更具挑战性的检索任务类型,称为隐藏理据检索,其中查询与文档并不相似,但可以通过推理链、逻辑关系或经验知识来推断关联。为了解决这类问题,采用具有交叉编码器架构的指令微调大语言模型(LLM)是一个合理的选择。为了进一步加强基于LLM的开创性检索器,我们设计了一种特殊指令,通过提示LLM回答一个二选一问题,将检索任务转化为生成任务。该模型可以通过直接偏好优化(DPO)进行微调。该框架还针对计算效率进行了优化,且没有性能下降。我们将此检索框架命名为RaHoRe,并在情感支持对话(ESC)上验证了其在零样本和微调设置下相较于以往检索工作的性能优势。我们的研究表明,LLM有潜力作为更广泛检索任务范围的基础。我们的代码、模型和数据集可在 https://github.com/flyfree5/LaHoRe 上获取。

英文摘要:

Despite the recent advancement in Retrieval-Augmented Generation (RAG) systems, most retrieval methodologies are often developed for factual retrieval, which assumes query and positive documents are semantically similar. In this paper, we instead propose and study a more challenging type of retrieval task, called hidden rationale retrieval, in which query and document are not similar but can be inferred by reasoning chains, logic relationships, or empirical experiences. To address such problems, an instruction-tuned Large language model (LLM) with a cross-encoder architecture could be a reasonable choice. To further strengthen pioneering LLM-based retrievers, we design a special instruction that transforms the retrieval task into a generative task by prompting LLM to answer a binary-choice question. The model can be fine-tuned with direct preference optimization (DPO). The framework is also optimized for computational efficiency with no performance degradation. We name this retrieval framework by RaHoRe and verify its zero-shot and fine-tuned performance superiority on Emotional Support Conversation (ESC), compared with previous retrieval works. Our study suggests the potential to employ LLM as a foundation for a wider scope of retrieval tasks. Our codes, models, and datasets are available on https://github.com/flyfree5/LaHoRe.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑