Projected Hamming Dissimilarity for Bit-Level Importance Coding in Collaborative Filtering
Christian Hansen, Casper Hansen, Jakob Grue Simonsen, Christina Lioma
Abstract
When reasoning about tasks that involve large amounts of data, a common approach is to represent data items as objects in the Hamming space where operations can be done efficiently and effectively. Object similarity can then be computed by learning binary representations (hash codes) of the objects and computing their Hamming distance. While this is highly efficient, each bit dimension is equally weighted, which means that potentially discriminative information of the data is lost. A more expressive alternative is to use real-valued vector representations and compute their inner product; this allows varying the weight of each dimension but is many magnitudes slower. To fix this, we derive a new way of measuring the dissimilarity between two objects in the Hamming space with binary weighting of each dimension (i.e., disabling bits): we consider a field-agnostic dissimilarity that projects the vector of one object onto the vector of the other. When working in the Hamming space, this results in a novel projected Hamming dissimilarity, which by choice of projection, effectively allows a binary importance weighting of the hash code of one object through the hash code of the other. We propose a variational hashing model for learning hash codes optimized for this projected Hamming dissimilarity, and experimentally evaluate it in collaborative filtering experiments. The resultant hash codes lead to effectiveness gains of up to +7% in NDCG and +14% in MRR compared to state-of-the-art hashing-based collaborative filtering baselines, while requiring no additional storage and no computational overhead compared to using the Hamming distance.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Builds on2
Related papers
- Multi-Feature Discrete Collaborative Filtering for Fast Cold-Start RecommendationYang Xu, Lei Zhu, Zhiyong Cheng, Jingjing Li et al.AAAI 2020 · 29 citations
- Fast Variational AutoEncoder with Inverted Multi-Index for Collaborative FilteringJin Chen, Defu Lian, Binbin Jin, Xu Huang et al.WWW 2022 · 28 citations
- Unsupervised Few-Bits Semantic Hashing with Implicit Topics ModelingFanghua Ye, Jarana Manotumruksa, Emine YilmazEMNLP Findings 2020 · 4 citations
- Weighted Gaussian Loss based Hamming HashingRong-Cheng Tu, Xian-Ling Mao, Cihang Kong, Zihang Shao et al.ACM MM 2021 · 28 citations
- HAP: An Efficient Hamming Space Index Based on Augmented Pigeonhole PrincipleQiyu Liu, Yanyan Shen, Lei ChenSIGMOD 2022 · 10 citations
