关键词增强检索:集成语音接口的信息检索新框架
Keyword Augmented Retrieval: Novel framework for Information Retrieval integrated with speech interface
AI总结:
本文提出关键词增强检索框架,用小模型生成并匹配关键词以快速定位文档上下文,再由大模型基于定制提示作答,从而降低推理时间与成本,并集成语音接口实现无缝交互。
摘要:
利用语言模型从结构化和非结构化数据的组合中快速、低成本且不产生幻觉地检索答案是当前面临的主要障碍。这正是阻碍语言模型在知识检索自动化中应用的原因。当人们希望在基于文本的知识检索系统之上集成语音接口时,这一问题变得更加突出。此外,对于商业搜索和聊天机器人应用而言,完全依赖GPT 3.5等商用大型语言模型(LLMs)可能成本极高。在本研究中,作者通过首先开发一个基于关键词的搜索框架来解决上述问题,该框架增强了从文档中发现上下文并将其提供给LLM的能力。关键词由一个相对较小的LLM生成并缓存,用于与同一较小LLM针对所提查询生成的关键词进行比较。这显著减少了在文档中查找上下文的时间和成本。一旦上下文确定,一个更大的LLM便利用它,根据为问答定制的提示来提供答案。本研究表明,在上下文识别中使用关键词可以降低信息检索的整体推理时间和成本。鉴于关键词增强检索框架带来的推理时间和成本的降低,研究集成了一个用于用户输入和响应朗读的语音接口,从而实现了与语言模型的无缝交互。
英文摘要:
Retrieving answers in a quick and low cost manner without hallucinations from a combination of structured and unstructured data using Language models is a major hurdle. This is what prevents employment of Language models in knowledge retrieval automation. This becomes accentuated when one wants to integrate a speech interface on top of a text based knowledge retrieval system. Besides, for commercial search and chat-bot applications, complete reliance on commercial large language models (LLMs) like GPT 3.5 etc. can be very costly. In the present study, the authors have addressed the aforementioned problem by first developing a keyword based search framework which augments discovery of the context from the document to be provided to the LLM. The keywords in turn are generated by a relatively smaller LLM and cached for comparison with keywords generated by the same smaller LLM against the query raised. This significantly reduces time and cost to find the context within documents. Once the context is set, a larger LLM uses that to provide answers based on a prompt tailored for Q\&A. This research work demonstrates that use of keywords in context identification reduces the overall inference time and cost of information retrieval. Given this reduction in inference time and cost with the keyword augmented retrieval framework, a speech based interface for user input and response readout was integrated. This allowed a seamless interaction with the language model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。