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

Studying Strategically: Learning to Mask for Closed-book QA

Facebook AI(脸书人工智能研究院);University of Southern California(南加州大学);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室)

Qinyuan Ye, Belinda Z. Li, Sinong Wang, Benjamin Bolte, Hao Ma, Wen-tau Yih, Xiang Ren, Madian Khabsa

英文摘要:

Closed-book question-answering (QA) is a challenging task that requires a model to directly answer questions without access to external knowledge. It has been shown that directly fine-tuning pre-trained language models with (question, answer) examples yields surprisingly competitive performance, which is further improved upon through adding an intermediate pre-training stage between general pre-training and fine-tuning. Prior work used a heuristic during this intermediate stage, whereby named entities and dates are masked, and the model is trained to recover these tokens. In this paper, we aim to learn the optimal masking strategy for the intermediate pre-training stage. We first train our masking policy to extract spans that are likely to be tested, using supervision from the downstream task itself, then deploy the learned policy during intermediate pre-training. Thus, our policy packs task-relevant knowledge into the parameters of a language model. Our approach is particularly effective on TriviaQA, outperforming strong heuristics when used to pre-train BART.

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

↑