arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.16096cs.CLcs.IR
收藏

开放域问答中的提示生成方法探索

Exploring Hint Generation Approaches in Open-Domain Question Answering

University of Innsbruck(因斯布鲁克大学)

Jamshid Mozafari, Abdelrahman Abdallah, Bhawna Piryani, Adam Jatowt

AI总结:

针对自动问答系统的上下文构建问题,提出采用自动提示生成技术的HINTQA方法,通过LLMs生成问题潜在答案的提示而非直接生成上下文,在三个数据集上的性能优于检索式和生成式方法。

摘要:

自动问答(QA)系统依赖上下文信息提供准确答案,上下文通常通过检索式或生成式方法构建:前者从维基百科等语料库检索相关文档,后者使用大型语言模型(LLMs)等生成式模型生成上下文。本文提出一种名为HINTQA的新型上下文构建方法,采用自动提示生成(HG)技术。与传统方法不同,HINTQA提示LLMs生成关于问题潜在答案的提示而非相关上下文。我们在TriviaQA、NaturalQuestions和Web Questions三个QA数据集上评估该方法,考察提示数量和顺序对性能的影响。结果显示HINTQA优于检索式和生成式方法,提示比检索及生成的上下文更能提升答案准确性。

英文摘要:

Automatic Question Answering (QA) systems rely on contextual information to provide accurate answers. Commonly, contexts are prepared through either retrieval-based or generation-based methods. The former involves retrieving relevant documents from a corpus like Wikipedia, whereas the latter uses generative models such as Large Language Models (LLMs) to generate the context. In this paper, we introduce a novel context preparation approach called HINTQA, which employs Automatic Hint Generation (HG) techniques. Unlike traditional methods, HINTQA prompts LLMs to produce hints about potential answers for the question rather than generating relevant context. We evaluate our approach across three QA datasets including TriviaQA, NaturalQuestions, and Web Questions, examining how the number and order of hints impact performance. Our findings show that the HINTQA surpasses both retrieval-based and generation-based approaches. We demonstrate that hints enhance the accuracy of answers more than retrieved and generated contexts.

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

↑