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

DyREx:抽取式问答的动态查询表示

DyREx: Dynamic Query Representation for Extractive Question Answering

FI Group(FI集团);Université Sorbonne Paris Nord(索邦巴黎北大学);CNRS(法国国家科学研究中心)

Urchade Zaratiana, Niama El Khbir, Dennis Núñez, Pierre Holat, Nadi Tomeh, Thierry Charnois

摘要:

抽取式问答是自然语言处理的一项重要任务。ExQA的主要方法是用预训练的Transformer表示输入序列标记(问题和段落),然后使用两个学习的查询向量来计算开始和结束答案跨度位置的分布。这些查询向量缺乏输入的上下文,这可能是模型性能的瓶颈。为了解决这个问题,我们提出了\textit{DyREx},\textit{vanilla}方法的推广,我们动态计算查询向量的输入,通过Transformer层使用的注意力机制。经验观察表明,我们的方法始终提高性能的标准之一。用于运行实验的代码和随附文件可在\url{https://github.com/urchade/DyReX}获得。

英文摘要:

Extractive question answering (ExQA) is an essential task for Natural Language Processing. The dominant approach to ExQA is one that represents the input sequence tokens (question and passage) with a pre-trained transformer, then uses two learned query vectors to compute distributions over the start and end answer span positions. These query vectors lack the context of the inputs, which can be a bottleneck for the model performance. To address this problem, we propose \textit{DyREx}, a generalization of the \textit{vanilla} approach where we dynamically compute query vectors given the input, using an attention mechanism through transformer layers. Empirical observations demonstrate that our approach consistently improves the performance over the standard one. The code and accompanying files for running the experiments are available at \url{https://github.com/urchade/DyReX}.

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

↑