arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2109.01078cs.CL
收藏

略读-注意力:通过文档布局学习聚焦

Skim-Attention: Learning to Focus via Document Layout

Sorbonne Université(索邦大学);CNRS(法国国家科学研究中心);LIP6(巴黎第六大学计算机科学实验室);reciTAL(reciTAL公司)

Laura Nguyen, Thomas Scialom, Jacopo Staiano, Benjamin Piwowarski

摘要:

基于transformer的文本和布局的预训练技术已经在许多文档理解任务中被证明是有效的。尽管取得了这一成功,但多模态预训练模型的计算和内存成本非常高。受人类阅读策略的启发,本文提出了一种新的注意力机制--略读注意。略读-注意力只关注文档中单词的二维位置。我们的实验表明,Skim-Attention获得了比以前的作品更低的困惑,同时更有效的计算。Skim-Attention可以进一步与远程Transformers结合使用,以有效地处理长文档。我们还展示了如何使用Skim-Attention作为任何预训练语言模型的掩模,从而在限制注意力的同时提高其性能。最后,我们展示了一个文件结构表示在略读注意的出现。

英文摘要:

Transformer-based pre-training techniques of text and layout have proven effective in a number of document understanding tasks. Despite this success, multimodal pre-training models suffer from very high computational and memory costs. Motivated by human reading strategies, this paper presents Skim-Attention, a new attention mechanism that takes advantage of the structure of the document and its layout. Skim-Attention only attends to the 2-dimensional position of the words in a document. Our experiments show that Skim-Attention obtains a lower perplexity than prior works, while being more computationally efficient. Skim-Attention can be further combined with long-range Transformers to efficiently process long documents. We also show how Skim-Attention can be used off-the-shelf as a mask for any Pre-trained Language Model, allowing to improve their performance while restricting attention. Finally, we show the emergence of a document structure representation in Skim-Attention.

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

↑