Beyond Two-Tower Matching: Learning Sparse Retrievable Cross-Interactions for Recommendation

Liangcai Su, Fan Yan, Jieming Zhu, Xi Xiao, Haoyi Duan +3 more
11/30/2023
cs.IRcs.AI

No confident code implementation found for this paper.

Abstract

Two-tower models are a prevalent matching framework for recommendation, which have been widely deployed in industrial applications. The success of two-tower matching attributes to its efficiency in retrieval among a large number of items, since the item tower can be precomputed and used for fast Approximate Nearest Neighbor (ANN) search.

Show full abstract

However, it suffers two main challenges, including limited feature interaction capability and reduced accuracy in online serving. Existing approaches attempt to design novel late interactions instead of dot products, but they still fail to support complex feature interactions or lose retrieval efficiency. To address these challenges, we propose a new matching paradigm named SparCode, which supports not only sophisticated feature interactions but also efficient retrieval. Specifically, SparCode introduces an all-to-all interaction module to model fine-grained query-item interactions. Besides, we design a discrete code-based sparse inverted index jointly trained with the model to achieve effective and efficient model inference. Extensive experiments have been conducted on open benchmark datasets to demonstrate the superiority of our framework. The results show that SparCode significantly improves the accuracy of candidate item matching while retaining the same level of retrieval efficiency with two-tower models. Our source code will be available at MindSpore/models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{su2023beyond,
  title  = {Beyond Two-Tower Matching: Learning Sparse Retrievable Cross-Interactions for Recommendation},
  author = {Liangcai Su and Fan Yan and Jieming Zhu and Xi Xiao and Haoyi Duan and Zhou Zhao and Zhenhua Dong and Ruiming Tang},
  year   = {2023},
  eprint = {2311.18213},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.18213v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.18213.svg)](https://codeofpaper.com/paper/2311.18213)

Discussion