arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.10870cs.IR
收藏

Socialformer:面向文档排序的受社交网络启发的长文档建模

Socialformer: Social Network Inspired Long Document Modeling for Document Ranking

Yujia Zhou, Zhicheng Dou, Huaying Yuan, Zhengyi Ma

摘要:

利用预先训练的语言模型在神经文档排序方面取得了巨大成功。受计算和内存需求的限制,长文档建模成为一个关键问题。最近的工作提出修改Transformer中的全注意矩阵,通过设计稀疏的注意模式。然而,它们中的大多数仅关注固定大小窗口内的术语的局部连接。如何在术语之间建立合适的远程连接以更好地建模文档表示仍然有待探索。在本文中,我们提出了模型Socialformer,它引入了社交网络的特点,设计稀疏注意模式的长文档建模中的文档排序。具体来说,我们考虑了几种注意力模式来构建一个像社交网络的图。这种图具有社交网络的特点,在保证稀疏性的前提下,大多数节点对可以通过较短的路径到达。为了便于高效计算,我们将图分割成多个子图来模拟社交场景中的朋友圈。实验结果证实了该模型在长文档建模中的有效性。

英文摘要:

Utilizing pre-trained language models has achieved great success for neural document ranking. Limited by the computational and memory requirements, long document modeling becomes a critical issue. Recent works propose to modify the full attention matrix in Transformer by designing sparse attention patterns. However, most of them only focus on local connections of terms within a fixed-size window. How to build suitable remote connections between terms to better model document representation remains underexplored. In this paper, we propose the model Socialformer, which introduces the characteristics of social networks into designing sparse attention patterns for long document modeling in document ranking. Specifically, we consider several attention patterns to construct a graph like social networks. Endowed with the characteristic of social networks, most pairs of nodes in such a graph can reach with a short path while ensuring the sparsity. To facilitate efficient calculation, we segment the graph into multiple subgraphs to simulate friend circles in social scenarios. Experimental results confirm the effectiveness of our model on long document modeling.

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

↑