arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.10812cs.CL
收藏

通过基于程序的提示探索混合问答

Exploring Hybrid Question Answering via Program-based Prompting

Harbin Institute of Technology(哈尔滨工业大学);Research Center for Social Computing and Information Retrieval(社会计算与信息检索研究中心)

Qi Shi, Han Cui, Haofeng Wang, Qingfu Zhu, Wanxiang Che, Ting Liu

AI总结:

本文提出HProPro,一种基于程序的提示框架,通过代码生成与执行范式及函数声明与实现,在无需专门检索器或模态转换的情况下实现混合问答,在HybridQA和MultiModalQA基准上超越所有基线系统并取得最佳少样本性能。

摘要:

异构数据上的问答需要对多样的数据源进行推理,由于信息规模庞大且异构数据有机耦合,这极具挑战性。已有多种方法被提出以应对这些挑战。一种方法是训练专门的检索器来选择相关信息,从而减少输入长度。另一种方法是将多种模态的数据转换为单一模态,以简化任务难度并实现更直接的处理。在本文中,我们提出了HProPro,一种用于混合问答任务的基于程序的新型提示框架。HProPro遵循代码生成与执行范式。此外,HProPro集成了多种函数以应对混合推理场景。具体而言,HProPro包含函数声明和函数实现,用于对来自不同来源和模态的数据执行混合信息查找,从而无需训练专门的检索器或进行模态转换即可对这些数据进行推理。在两个典型的混合问答基准HybridQA和MultiModalQA上的实验结果证明了HProPro的有效性:它超越了所有基线系统,并在两个数据集的少样本设置下取得了最佳性能。

英文摘要:

Question answering over heterogeneous data requires reasoning over diverse sources of data, which is challenging due to the large scale of information and organic coupling of heterogeneous data. Various approaches have been proposed to address these challenges. One approach involves training specialized retrievers to select relevant information, thereby reducing the input length. Another approach is to transform diverse modalities of data into a single modality, simplifying the task difficulty and enabling more straightforward processing. In this paper, we propose HProPro, a novel program-based prompting framework for the hybrid question answering task. HProPro follows the code generation and execution paradigm. In addition, HProPro integrates various functions to tackle the hybrid reasoning scenario. Specifically, HProPro contains function declaration and function implementation to perform hybrid information-seeking over data from various sources and modalities, which enables reasoning over such data without training specialized retrievers or performing modal transformations. Experimental results on two typical hybrid question answering benchmarks HybridQA and MultiModalQA demonstrate the effectiveness of HProPro: it surpasses all baseline systems and achieves the best performances in the few-shot settings on both datasets.

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

↑