Efficient Document Ranking with Learnable Late Interactions

Ziwei Ji, Himanshu Jain, Andreas Veit, Sashank J. Reddi, Sadeep Jayasumana, Ankit Singh Rawat, Aditya Krishna Menon, Felix Yu, Sanjiv Kumar · DOI

Abstract

In the field of Information Retrieval (IR), balancing the high accuracy of Cross-Encoders (CE) with the computational efficiency of Dual-Encoders (DE) remains a significant challenge. This paper introduces LITE (Learnable Late Interaction), a novel architecture that replaces the hand-crafted scoring functions used in late interaction models with learnable Multi-Layer Perceptrons (MLPs). LITE acts as a universal approximator for scoring functions, achieving state-of-the-art accuracy on benchmarks like MS MARCO while requiring significantly less storage and offering lower latency than existing models like ColBERT.

Introduction

Researchers in Information Retrieval have long faced a trade-off between accuracy and speed. Cross-Encoders (CE) are highly accurate because they model all interactions between query and document tokens, but their computational cost makes them impractical for large-scale retrieval. Conversely, Dual-Encoders (DE) are fast due to pre-computed document embeddings but lack the expressivity to capture complex relationships.

Late interaction models, such as ColBERT, attempted to bridge this gap by computing a similarity matrix between query and document tokens. However, these models rely on fixed, hand-crafted operations (like "sum-max") and impose a heavy "storage tax" by requiring the storage of embeddings for every token in a corpus. LITE addresses these limitations by making the interaction layer learnable and more efficient.

Methodology

LITE (Learnable Late Interaction) treats the query-document similarity matrix ($S = Q^\top D$) as an input to a neural network rather than a fixed reduction operation.

Comparison of Cross-Encoder (CE), Dual-Encoder (DE), and the proposed LITE architecture.

Architectural Innovations

  • Separable LITE: To maintain efficiency, the authors utilize a "separable" architecture inspired by MLP-Mixer. Instead of processing a flattened matrix, small MLPs are applied sequentially to the rows (query tokens) and columns (document tokens).
  • Universal Approximation: The paper provides mathematical proof that LITE is a universal approximator. Unlike Dual-Encoders, which are limited by their vector space dimension, LITE can represent any continuous scoring function given sufficient parameters.
  • Compression-Friendly Design: The learnable nature of the scorer allows it to be robust against data reduction. LITE can utilize fewer document tokens (via pooling) and lower-dimensional embeddings without the significant quality degradation observed in models like ColBERT.

Experimental Results

The researchers evaluated LITE across several standard benchmarks, including MS MARCO (passage re-ranking), Natural Questions (NQ), and the BEIR zero-shot suite.

Key Findings

  • State-of-the-Art Accuracy: On MS MARCO, LITE achieved an MRR@10 of 0.393, outperforming ColBERT (0.383) and nearly matching the performance of the much slower Cross-Encoder teacher (0.395).
  • Efficiency and Storage: The "Small Separable LITE" model used only 50 tokens per document, resulting in 0.25× the storage footprint of ColBERT while maintaining superior accuracy and lower latency.
  • Generalization: In zero-shot testing on the BEIR suite, LITE outperformed ColBERT on 11 out of 14 datasets, demonstrating robust generalization across diverse domains without specific fine-tuning.

Discussion and Future Work

LITE demonstrates that learnable logic can significantly improve the efficiency-accuracy trade-off in document ranking. While LITE is currently optimized for the re-ranking phase of search, future work will explore its adaptation for the initial retrieval phase. Additionally, incorporating advanced training techniques like hard-negative mining or joint training of the Transformer encoders and the LITE scorer could further push the boundaries of retrieval performance. For large-scale search systems, LITE offers a path toward higher accuracy with a fraction of the hardware requirements.

Summary updated

BibTeX
@inproceedings{ji2024efficient,
  author = {Ziwei Ji and Himanshu Jain and Andreas Veit and Sashank J. Reddi and Sadeep Jayasumana and Ankit Singh Rawat and Aditya Krishna Menon and Felix Yu and Sanjiv Kumar},
  title = {{Efficient Document Ranking with Learnable Late Interactions}},
  booktitle = {TF2M @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=ryWMImTdhJ},
}
Figure