How Optimal is Greedy Decoding for Extractive Question Answering?
\nameOr Castel Affiliation: \addrBlavatnik School of Computer Science, Tel Aviv University \nameOri Ram Affiliation: \addrBlavatnik School of Computer Science, Tel Aviv University \nameAvia Efrat Affiliation: \addrBlavatnik School of Computer Science, Tel Aviv University \nameOmer Levy Affiliation: \addrBlavatnik School of Computer Science, Tel Aviv University Affiliation: Meta AI Research
Abstract
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 passage. 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 sug
原文 arXiv:2108.05857;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2108.05857v2