Reverse Maximum Inner Product Search: How to efficiently find users who would like to buy my item?

Daichi Amagata, Takahiro Hara
10/14/2021
cs.DB

Official code: amgt-d1/Simpfer (8 stars, C++, MIT, last commit 2023-03-03).

Abstract

The MIPS (maximum inner product search), which finds the item with the highest inner product with a given query user, is an essential problem in the recommendation field. It is usual that e-commerce companies face situations where they want to promote and sell new or discounted items.

Show full abstract

In these situations, we have to consider a question: who are interested in the items and how to find them? This paper answers this question by addressing a new problem called reverse maximum inner product search (reverse MIPS). Given a query vector and two sets of vectors (user vectors and item vectors), the problem of reverse MIPS finds a set of user vectors whose inner product with the query vector is the maximum among the query and item vectors. Although the importance of this problem is clear, its straightforward implementation incurs a computationally expensive cost. We therefore propose Simpfer, a simple, fast, and exact algorithm for reverse MIPS. In an offline phase, Simpfer builds a simple index that maintains a lower-bound of the maximum inner product. By exploiting this index, Simpfer judges whether the query vector can have the maximum inner product or not, for a given user vector, in a constant time. Besides, our index enables filtering user vectors, which cannot have the maximum inner product with the query vector, in a batch. We theoretically demonstrate that Simpfer outperforms baselines employing state-of-the-art MIPS techniques. Furthermore, our extensive experiments on real datasets show that Simpfer is at least two orders magnitude faster than the baselines.

View on arXivView PDF

Code Implementations(1)

amgt-d1/SimpferOfficial100%
MIT

Daichi Amagata and Takahiro Hara, RecSys2021

81C++Jul 6, 20213 years agoMIT

Similar Papers

Cite this paper

@article{amagata2021reverse,
  title  = {Reverse Maximum Inner Product Search: How to efficiently find users who would like to buy my item?},
  author = {Daichi Amagata and Takahiro Hara},
  year   = {2021},
  eprint = {2110.07131},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.07131}
}

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/2110.07131.svg)](https://codeofpaper.com/paper/2110.07131)

Discussion