Skip to main content
QUICK REVIEW

[Paper Review] Efficient Document Ranking with Learnable Late Interactions

Ziwei Ji, Himanshu Jain|arXiv (Cornell University)|Jun 25, 2024
Text and Document Classification TechnologiesComputer Science3 citations
TL;DR

This paper proposes LITE, a learnable late-interaction model that improves document ranking by applying a lightweight, learnable MLP to query-document token similarity matrices, achieving superior accuracy over ColBERT and DE models while reducing latency and storage by 75%. LITE is theoretically proven to be a universal approximator of continuous scoring functions, even with low embedding dimensions.

ABSTRACT

Cross-Encoder (CE) and Dual-Encoder (DE) models are two fundamental approaches for query-document relevance in information retrieval. To predict relevance, CE models use joint query-document embeddings, while DE models maintain factorized query and document embeddings; usually, the former has higher quality while the latter benefits from lower latency. Recently, late-interaction models have been proposed to realize more favorable latency-quality tradeoffs, by using a DE structure followed by a lightweight scorer based on query and document token embeddings. However, these lightweight scorers are often hand-crafted, and there is no understanding of their approximation power; further, such scorers require access to individual document token embeddings, which imposes an increased latency and storage burden. In this paper, we propose novel learnable late-interaction models (LITE) that resolve these issues. Theoretically, we prove that LITE is a universal approximator of continuous scoring functions, even for relatively small embedding dimension. Empirically, LITE outperforms previous late-interaction models such as ColBERT on both in-domain and zero-shot re-ranking tasks. For instance, experiments on MS MARCO passage re-ranking show that LITE not only yields a model with better generalization, but also lowers latency and requires 0.25x storage compared to ColBERT.

Motivation & Objective

  • To address the limitations of existing late-interaction models, such as hand-crafted scorers and high storage/latency costs in ColBERT.
  • To develop a learnable, lightweight scorer that maintains high relevance prediction quality while reducing computational and storage overhead.
  • To formally establish the approximation power of late-interaction models using theoretical analysis.
  • To achieve better latency-quality trade-offs than both Cross-Encoder and Dual-Encoder baselines in document ranking.

Proposed method

  • LITE uses a two-Transformer encoder setup similar to Dual-Encoders, computing separate query and document token embeddings.
  • Instead of a dot product or sum-max reduction, LITE computes a similarity matrix S = Q^T D from query and document token embeddings.
  • A shared, shallow multi-layer perceptron (MLP) processes the similarity matrix by applying separate MLPs to rows and columns, followed by a projection to a scalar score.
  • The model employs a separable scoring mechanism that applies shared MLPs to query and document sides independently, enabling parameter efficiency.
  • The method is theoretically grounded as a universal approximator of continuous scoring functions in ℓ₂ distance, even under tight storage constraints.
  • The architecture avoids storing full document embeddings by computing scores on-the-fly, reducing storage and latency.

Experimental results

Research questions

  • RQ1Can a learnable late-interaction model outperform hand-crafted scorers like ColBERT’s sum-max reduction in ranking accuracy while maintaining low latency?
  • RQ2What is the theoretical approximation capacity of late-interaction models, and can they universally approximate complex relevance functions?
  • RQ3How does model capacity (e.g., embedding dimension) affect the performance of late-interaction models under storage and latency constraints?
  • RQ4Can a learnable scorer reduce the need to pre-store document embeddings, thereby lowering storage and latency compared to ColBERT?
  • RQ5To what extent can LITE generalize to zero-shot re-ranking scenarios without fine-tuning?

Key findings

  • LITE outperforms ColBERT on in-domain MS MARCO passage re-ranking, achieving better generalization and higher accuracy.
  • On MS MARCO, LITE reduces storage requirements by 75% (0.25×) compared to ColBERT while maintaining or improving performance.
  • LITE achieves lower inference latency than ColBERT by avoiding the need to pre-compute and store full document embeddings.
  • Theoretical analysis proves LITE is a universal approximator of continuous scoring functions in ℓ₂ distance, even with low embedding dimensions.
  • LITE demonstrates superior performance over Dual-Encoder models, especially in capturing complex query-document interactions.
  • LITE generalizes well to zero-shot re-ranking tasks, indicating strong robustness and transferability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.