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

开放世界中的长尾问答

Long-Tailed Question Answering in an Open World

Tsinghua University(清华大学);Alibaba Group(阿里巴巴集团)

Yi Dai, Hao Lang, Yinhe Zheng, Fei Huang, Yongbin Li

AI总结:

针对开放长尾分布下的统一问答任务,提出OLTQA模型,通过组件池动态组合、检索-重排上下文示例及两阶段知识蒸馏训练,在43个数据集上超越现有最优方法。

摘要:

真实世界的数据通常呈现开放的长尾分布,构建一个支持多种任务的统一问答(QA)模型对于实际QA应用至关重要。然而,扩展先前的QA方法并非易事,因为它们要么需要访问具有足够样本的已见任务,要么不显式建模来自未见任务的样本。在本文中,我们将开放长尾问答(OLTQA)定义为从长尾分布数据中学习,并优化在已见和未见QA任务上的性能。我们提出了一种OLTQA模型,该模型鼓励头部、尾部和未见任务之间的知识共享,并显式地从大型预训练语言模型(LM)中挖掘知识。具体来说,我们通过一个细粒度组件池来组织我们的模型,并针对输入动态组合这些组件以促进知识共享。进一步引入了一种检索-然后-重排框架来选择上下文示例,这些示例引导LM生成表达QA任务知识的文本。此外,引入了一种两阶段训练方法,通过从LM进行知识蒸馏(KD)来预训练框架,然后通过自适应互蒸馏方法联合训练框架和QA模型。在我们从43个现有QA数据集整理的大规模OLTQA数据集上,我们的模型始终优于最先进的方法。我们在\(\url{https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/oltqa}\)发布代码和数据。

英文摘要:

Real-world data often have an open long-tailed distribution, and building a unified QA model supporting various tasks is vital for practical QA applications. However, it is non-trivial to extend previous QA approaches since they either require access to seen tasks of adequate samples or do not explicitly model samples from unseen tasks. In this paper, we define Open Long-Tailed QA (OLTQA) as learning from long-tailed distributed data and optimizing performance over seen and unseen QA tasks. We propose an OLTQA model that encourages knowledge sharing between head, tail and unseen tasks, and explicitly mines knowledge from a large pre-trained language model (LM). Specifically, we organize our model through a pool of fine-grained components and dynamically combine these components for an input to facilitate knowledge sharing. A retrieve-then-rerank frame is further introduced to select in-context examples, which guild the LM to generate text that express knowledge for QA tasks. Moreover, a two-stage training approach is introduced to pre-train the framework by knowledge distillation (KD) from the LM and then jointly train the frame and a QA model through an adaptive mutual KD method. On a large-scale OLTQA dataset we curate from 43 existing QA datasets, our model consistently outperforms the state-of-the-art. We release the code and data at \url{https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/oltqa}.

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

↑