Abstract
Adversarial Binary Collaborative Filtering (ABinCF) addresses the dual challenges of high-quality negative sampling and efficient retrieval in implicit feedback recommendation systems. By integrating Generative Adversarial Networks (GANs) with hashing techniques, ABinCF achieves state-of-the-art accuracy while significantly reducing storage and computation costs. The authors introduce two novel relaxation methods—Error Function Relaxation (erf) and Normal Gumbel-Softmax (Gn)—to overcome the non-differentiability of binary codes, ensuring stable and effective training via backpropagation.
Introduction: The Implicit Feedback Dilemma
Modern recommendation systems primarily rely on implicit feedback, such as clicks or views. This data presents two major hurdles. First, the Negative Sampling Problem: without explicit "dislike" signals, models often resort to random negative sampling, which fails to capture the nuances of user preferences. Adversarial models like IRGAN address this by training a generator to find difficult negative samples. Second, the Efficiency Bottleneck: real-valued latent factor models are computationally expensive for large-scale retrieval. Hashing—converting vectors into binary codes—offers a solution through fast bitwise operations, but its discrete nature makes it incompatible with standard gradient descent.
Methodology: Bridging the Discrete Gap
ABinCF utilizes a GAN framework where the generator produces binary codes. To make these discrete bits trainable, the authors propose two relaxation techniques:
- ABinCF-erf (Error Function Relaxation): This method uses the Gaussian error function ($erf$) to approximate the $sign$ function. By gradually decreasing a scaling parameter (annealing), the smooth curve eventually sharpens into a discrete step.
- ABinCF-Gn (Normal Gumbel-Softmax): Standard Gumbel-softmax can produce noisy gradients due to its infinite range. ABinCF-Gn uses a Normal distribution for noise, applying the "three-sigma rule" to strictly control noise variance and stabilize the Bernoulli distribution approximation.
Key Results and Efficiency
ABinCF-Gn consistently outperforms existing hashing methods like DCF and BCCF, particularly on sparse datasets like Amazon and Yelp. The model achieves a massive reduction in storage requirements—up to 92% (1/12th the size) compared to real-valued features—while maintaining high recommendation accuracy.
One of the primary strengths of the ABinCF-Gn approach is its ability to produce highly polarized binary values, which is essential for effective hashing. As shown in the value-range distribution, the model successfully pushes latent factors toward the discrete 0 and 1 boundaries, ensuring that the final codes are informative and retrieval-ready.
Discussion and Future Work
While ABinCF leads among hashing-based models, a small accuracy gap remains compared to full-precision real-valued models like IRGAN. The performance is also sensitive to the "temperature" or annealing schedule; if the transition from smooth to discrete happens too quickly, the model may converge to a sub-optimal local minimum. Future research may extend this adversarial hashing framework to other discrete optimization tasks, such as binary neural network compression and large-scale image retrieval.
Summary updated