arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2108.05857cs.CL
收藏

贪心解码在抽取式问答中的最优性如何?

How Optimal is Greedy Decoding for Extractive Question Answering?

Tel Aviv University(特拉维夫大学);Meta AI Research(Meta人工智能研究院)

Or Castel, Ori Ram, Avia Efrat, Omer Levy

摘要:

微调的语言模型使用贪心解码来相对成功地回答阅读理解问题。然而,这种方法并不能确保答案是给定段落中的一个跨度,也不能保证它是最有可能的一个。贪心解码实际上比遵循这些属性的算法性能更差吗?为了研究贪心解码的性能和最优性,我们提出了精确提取,解码算法,有效地找到最可能的答案跨度的上下文中。我们比较了T5与两种解码算法在zero-shot和Few-Shot提取问答上的性能。当没有训练样本可用时,精确提取明显优于贪心解码。然而,随着几个训练样本的引入,贪心解码快速收敛到精确提取的性能,随着训练集的增长,贪婪解码变得更加提取,并且越来越有可能生成最可能的跨度。我们还表明,自监督训练可以使模型偏向于提取行为,提高zero-shot设置中的性能,而无需求助于注释示例。总的来说,我们的研究结果表明,预训练的语言模型在适应提取式问答方面非常出色,因此通常只需在小训练集上进行微调,即可让贪心算法模拟最佳解码策略。

英文摘要:

Fine-tuned language models use greedy decoding to answer reading comprehension questions with relative success. However, this approach does not ensure that the answer is a span in the given passage, nor does it guarantee that it is the most probable one. Does greedy decoding actually perform worse than an algorithm that does adhere to these properties? To study the performance and optimality of greedy decoding, we present exact-extract, a decoding algorithm that efficiently finds the most probable answer span in the context. We compare the performance of T5 with both decoding algorithms on zero-shot and few-shot extractive question answering. When no training examples are available, exact-extract significantly outperforms greedy decoding. However, greedy decoding quickly converges towards the performance of exact-extract with the introduction of a few training examples, becoming more extractive and increasingly likelier to generate the most probable span as the training set grows. We also show that self-supervised training can bias the model towards extractive behavior, increasing performance in the zero-shot setting without resorting to annotated examples. Overall, our results suggest that pretrained language models are so good at adapting to extractive question answering, that it is often enough to fine-tune on a small training set for the greedy algorithm to emulate the optimal decoding strategy.

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

↑