Asymmetric Hashing for Fast Ranking via Neural Network Measures
Khoa D. Doan, Shulong Tan, Weijie Zhao, Ping Li
Abstract
Fast item ranking is an important task in recommender systems. In previous works, graph-based Approximate Nearest Neighbor (ANN) approaches have demonstrated good performance on item ranking tasks with generic searching/matching measures (including complex measures such as neural network measures). However, since these ANN approaches must go through the neural measures several times during ranking, the computation is not practical if the neural measure is a large network. On the other hand, fast item ranking using existing hashing-based approaches, such as Locality Sensitive Hashing (LSH), only works with a limited set of measures, such as cosine and Euclidean distance, but not with general search measures such as neural networks. Given an arbitrary searching measure, previous learning-to-hash approaches are also not suitable to solve the fast item ranking problem since they can take a significant amount of time and computation to train the hash functions to approximate the searching measure due to a large number of possible training pairs in this problem. Hashing approaches, however, are attractive because they provide a principal and efficient way to retrieve candidate items. In this paper, we propose a simple and effective learning-to-hash approach for the fast item ranking problem that can be used to efficiently approximate any type of measure, including neural network measures. Specifically, we solve this problem with an asymmetric hashing framework based on discrete inner product fitting. We learn a pair of related hash functions that map heterogeneous objects (e.g., users and items) into a common discrete space where the inner product of their binary codes reveals their true similarity defined via the original searching measure. The fast ranking problem is reduced to an ANN search via this asymmetric hashing scheme. Then, we propose a sampling strategy to efficiently select relevant and contrastive samples to train the hashing model. We empirically validate the proposed method against the existing state-of-the-art fast item ranking methods in several combinations of non-linear searching functions and prominent datasets.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f2dae51c-b32c-4621-b354-30e70ee4ac99Cited by top-tier papers1
Ask how each one uses itBuilds on4
- Pre-training Tasks for Embedding-based Large-scale RetrievalWei-Cheng Chang, Felix X. Yu, Yin-Wen Chang, Yiming Yang et al.ICLR 2020 · 325 citations
- SONG: Approximate Nearest Neighbor Search on GPUWeijie Zhao, Shulong Tan, Ping LiICDE 2020 · 103 citations
- One Loss for Quantization: Deep Hashing with Discrete Wasserstein Distributional MatchingKhoa D. Doan, Peng Yang, Ping LiCVPR 2022 · 46 citations
- Efficient Implicit Unsupervised Text Hashing using Adversarial AutoencoderKhoa D. Doan, Chandan K. ReddyWWW 2020 · 15 citations
Related papers
- Fast Neural Ranking on Bipartite Graph IndicesShulong Tan, Weijie Zhao, Ping LiVLDB 2022 · 17 citations
- GUITAR: Gradient Pruning toward Fast Neural RankingWeijie Zhao, Shulong Tan, Ping LiSIGIR 2024 · 1 citation
- Stochastically Robust Personalized Ranking for LSH Recommendation RetrievalDung D. Le, Hady W. LauwAAAI 2020 · 13 citations
- SignRFF: Sign Random Fourier FeaturesXiaoyun Li, Ping LiNeurIPS 2022 · 6 citations
- Learning to Hash with Graph Neural Networks for Recommender SystemsQiaoyu Tan, Ninghao Liu, Xing Zhao, Hongxia Yang et al.WWW 2020 · 106 citations
