[Paper Review] Self-Attentive Document Interaction Networks for Permutation Equivariant Ranking
This paper proposes a self-attention-based document interaction network that enforces permutation-equivariance to model cross-document interactions in learning-to-rank, enabling effective and efficient scoring of document sets of varying sizes without training-serving discrepancy. The method outperforms univariate models and existing multivariate approaches on Web30k, Gmail Search, and Google Drive Quick Access datasets, with significant MRR improvements and faster inference.
How to leverage cross-document interactions to improve ranking performance is an important topic in information retrieval (IR) research. However, this topic has not been well-studied in the learning-to-rank setting and most of the existing work still treats each document independently while scoring. The recent development of deep learning shows strength in modeling complex relationships across sequences and sets. It thus motivates us to study how to leverage cross-document interactions for learning-to-rank in the deep learning framework. In this paper, we formally define the permutation-equivariance requirement for a scoring function that captures cross-document interactions. We then propose a self-attention based document interaction network and show that it satisfies the permutation-equivariant requirement, and can generate scores for document sets of varying sizes. Our proposed methods can automatically learn to capture document interactions without any auxiliary information, and can scale across large document sets. We conduct experiments on three ranking datasets: the benchmark Web30k, a Gmail search, and a Google Drive Quick Access dataset. Experimental results show that our proposed methods are both more effective and efficient than baselines.
Motivation & Objective
- To formalize the permutation-equivariance requirement for scoring functions that model cross-document interactions in learning-to-rank.
- To address the training-serving discrepancy and inefficiency in existing multivariate scoring functions like GSFs and RankProb.
- To develop a scalable, efficient, and effective method for capturing document interactions without relying on auxiliary information or fixed-order inputs.
- To demonstrate that self-attention mechanisms naturally satisfy permutation-equivariance and can be integrated into deep learning frameworks for ranking.
Proposed method
- Proposes a self-attention-based document interaction network (attn-DIN) that computes attention scores across all documents in a set, enabling interaction modeling regardless of input order.
- Enforces permutation-equivariance by ensuring the model's output changes predictably with document permutation, preserving consistency across different input orderings.
- Uses a wide-and-deep architecture combining self-attention layers with feed-forward networks to aggregate document representations and produce final relevance scores.
- Extends univariate query-document scoring functions by incorporating cross-document attention pooling, allowing interaction-aware scoring without retraining from scratch.
- Employs a normalized attention mechanism that computes context-aware interactions, focusing on relevant document pairs for improved relevance estimation.
- Applies the model end-to-end in a learning-to-rank framework using listwise loss functions, enabling joint optimization of interaction and relevance signals.
Experimental results
Research questions
- RQ1Can a scoring function that models cross-document interactions be designed to be permutation-equivariant, ensuring consistent behavior regardless of document order?
- RQ2How can self-attention mechanisms be leveraged to model document interactions effectively while maintaining computational efficiency?
- RQ3Does the proposed method outperform univariate models and existing multivariate approaches like GSFs and RankProb in terms of ranking effectiveness and inference speed?
- RQ4To what extent do cross-document interactions improve ranking performance on real-world datasets with diverse feature types and large candidate sets?
Key findings
- The proposed attn-DIN model achieves a statistically significant relative improvement in MRR of +0.237 ± 0.206 over the best GSF model on the Gmail dataset, with p < 0.05.
- On the Quick Access dataset, the proposed method significantly outperforms the univariate model, while GSF models fail to improve over the univariate baseline.
- The model reduces inference time to 13 ms per query on Web30k, compared to 2,240 ms for exact GSF inference, demonstrating superior efficiency.
- The model maintains high performance even at large group sizes (up to 200 documents), where GSF performance deteriorates due to increased complexity and approximation errors.
- The number of parameters in the proposed model is lower than that of multivariate GSF models, indicating that performance gains stem from better interaction modeling, not model capacity.
- The method effectively captures document interactions without requiring auxiliary information like precomputed similarities or clusters, unlike prior approaches.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.