ReadTwice:用记忆阅读超大文档
ReadTwice: Reading Very Large Documents with Memories
摘要:
诸如问答之类的知识密集型任务通常需要从诸如书籍或文章集合之类的大量输入的不同部分吸收信息。我们提出了ReadTwice,一个简单而有效的技术,结合了几个优势,以前的方法来建模与Transformers的远程依赖关系。其主要思想是以小段的形式并行阅读文本,将每个片段汇总到一个内存表中,以便在第二次阅读文本时使用。我们表明,该方法在几个问答(QA)数据集上的表现优于大小相当的模型,并在具有挑战性的NarrativeQA任务上开创了一个新的领域,其中包括关于整本书的问题。ReadTwice的源代码和预先训练的检查点可以在https://goo.gle/research-readtwice上找到。
英文摘要:
Knowledge-intensive tasks such as question answering often require assimilating information from different sections of large inputs such as books or article collections. We propose ReadTwice, a simple and effective technique that combines several strengths of prior approaches to model long-range dependencies with Transformers. The main idea is to read text in small segments, in parallel, summarizing each segment into a memory table to be used in a second read of the text. We show that the method outperforms models of comparable size on several question answering (QA) datasets and sets a new state of the art on the challenging NarrativeQA task, with questions about entire books. Source code and pre-trained checkpoints for ReadTwice can be found at https://goo.gle/research-readtwice.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。