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

基于查询导向的稀疏Transformer的长文档排序

Long Document Ranking with Query-Directed Sparse Transformer

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Microsoft Research AI(微软研究院人工智能部门)

Jyun-Yu Jiang, Chenyan Xiong, Chia-Jung Lee, Wei Wang

摘要:

Transformer自我关注的计算成本通常需要打破长文档,以适应文档排序任务中的预训练模型。在本文中,我们设计了查询导向的稀疏注意,诱导IR公理结构的Transformer自我注意。我们的模型,QDS-Transformer,强制执行的原则属性所需的排名:本地上下文,分层表示,面向查询的邻近匹配,同时它也享有效率从稀疏。在一个完全监督和三个Few-Shot TREC文档排序基准上的实验证明了QDS-Transformer与以前的方法相比具有一致和鲁棒的优势,因为它们要么将长文档改造成BERT,要么使用稀疏注意力而不强调IR原则。我们进一步量化了计算复杂度,并证明了我们的稀疏注意与TVM实现是两倍以上的效率比完全连接的自我注意。所有源代码,训练模型和预测这项工作可在https://github.com/hallogameboy/QDS-Transformer。

英文摘要:

The computing cost of transformer self-attention often necessitates breaking long documents to fit in pretrained models in document ranking tasks. In this paper, we design Query-Directed Sparse attention that induces IR-axiomatic structures in transformer self-attention. Our model, QDS-Transformer, enforces the principle properties desired in ranking: local contextualization, hierarchical representation, and query-oriented proximity matching, while it also enjoys efficiency from sparsity. Experiments on one fully supervised and three few-shot TREC document ranking benchmarks demonstrate the consistent and robust advantage of QDS-Transformer over previous approaches, as they either retrofit long documents into BERT or use sparse attention without emphasizing IR principles. We further quantify the computing complexity and demonstrates that our sparse attention with TVM implementation is twice more efficient than the fully-connected self-attention. All source codes, trained model, and predictions of this work are available at https://github.com/hallogameboy/QDS-Transformer.

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

↑