Abstract
BiGeaR is a novel framework designed to binarize graph-based recommender systems, transforming high-dimensional 32-bit floating-point embeddings into compact 1-bit representations. By leveraging multi-faceted "quantization reinforcement," BiGeaR achieves an 8x reduction in memory usage and inference latency while recovering up to 102% of the performance of its full-precision counterparts. This approach addresses the scalability challenges of modern recommender systems, enabling efficient real-time inference on resource-constrained devices.
Introduction
Modern recommender systems rely on learning high-dimensional embeddings for users and items. While effective, these models are massive, posing significant challenges for storage and real-time querying in large-scale applications. Representation quantization, particularly binarization, offers a solution by compressing vectors into bit sequences. However, standard binarization often leads to a significant "information tax," resulting in limited expressivity, degraded ranking performance, and optimization difficulties due to the non-differentiable nature of the sign function.
BiGeaR (Binarized Graph Representations) overcomes these hurdles through a multi-stage reinforcement strategy that preserves ranking information and ensures efficient training.
Methodology
BiGeaR tackles information loss across three distinct stages of the model lifecycle:
1. Pre-stage: Layer-wise Feature Quantization
Unlike traditional methods that binarize only the final output, BiGeaR binarizes features at every layer of the Graph Convolutional Network (GCN). This captures multi-hop semantics and creates a "magnification effect" that preserves the uniqueness of long-tail items, ensuring they remain distinguishable even in a compressed bit-space.
2. Mid-stage: Self-supervised Inference Distillation
To bridge the performance gap between binarized "student" models and full-precision "teacher" models, BiGeaR employs ranking-aware distillation. Instead of matching raw scores, it focuses on the relative order of items, using pseudo-positive samples to teach the student model which items should remain at the top of the recommendation list.
3. Post-stage: Dirac Delta Gradient Estimation
The non-differentiable sign function is handled using a zero-centered Gaussian probability density to approximate the Dirac delta function. This provides more accurate and consistent gradients for backpropagation compared to the standard Straight-Through Estimator (STE).
For inference, BiGeaR replaces floating-point multiplications with bitwise XNOR and Popcount operations, significantly accelerating computation.
Experimental Evaluation
BiGeaR was evaluated on five large-scale benchmarks: MovieLens-1M, Gowalla, Pinterest, Yelp2018, and Amazon-Book.
Key Results
- Performance Recovery: BiGeaR recovered 95% to 102% of the accuracy (Recall and NDCG) of the full-precision LightGCN model.
- State-of-the-Art Comparison: It outperformed existing binarized models like HashGNN and CIGAR by 22% to 40%.
- Efficiency: The framework achieved an 8x reduction in storage and inference latency. For instance, on MovieLens, inference time dropped from 32.54ms to 3.94ms per query.
Discussion and Insights
- Ranking over Values: The success of BiGeaR highlights that in recommendation tasks, preserving the relative order of items is more critical than maintaining exact logit values.
- Bitwise Efficiency: The transition to bitwise operations allows high-performance recommendation models to run efficiently on standard CPUs, reducing the dependency on expensive GPU hardware.
Limitations and Future Work
While BiGeaR is highly effective, it faces the common GCN challenge of "over-smoothing" when depth exceeds 3-4 layers. Future research will focus on making these binarization techniques more model-agnostic and exploring multi-bit quantization (e.g., 2-bit or 4-bit) to further enhance accuracy with minimal overhead.
Summary updated