Abstract
Modern recommender systems (RecSys) rely on massive embedding models that are computationally expensive to deploy. While Knowledge Distillation (KD) is typically used to compress these models, feature-based KD—mimicking internal representations—has historically underperformed in RecSys compared to simpler response-based methods. This paper introduces FreqD, a method that identifies and prioritizes "low-frequency" knowledge (essential user-item commonalities) using graph signal processing. FreqD allows student models with just 10% of the parameters to match or exceed teacher performance, reducing inference latency by approximately 75%.
The Problem: Why Feature-based KD Fails in RecSys
In fields like Computer Vision, feature-based KD is highly effective. In RecSys, however, it often falls behind. The authors identify an "equal-weight" fallacy: standard Mean Squared Error (MSE) loss treats every feature pattern as equally important. In reality, the most critical information for recommendation—the low-frequency signals representing collaborative filtering patterns—is the hardest for compressed student models to learn. Consequently, students often "master the wrong things" by focusing on easy-to-learn high-frequency noise.
A Frequency Perspective on Knowledge
By applying Graph Signal Processing (GSP), the authors categorize features into frequency components based on the user-item interaction graph:
- Low-frequency components: Capture similarities between a node and its neighbors (the core collaborative signal).
- High-frequency components: Capture differences and local noise.
Theoretical analysis reveals that standard KD doesn't distinguish between these. Experiments show that small students naturally struggle with vital low-frequency patterns while finding high-frequency patterns easy to grasp.
FreqD: Prioritizing Essential Signals
To address this, the authors propose FreqD. Instead of raw MSE, FreqD applies a lightweight graph filter to the features before distillation. This filter acts as an "equalizer," amplifying important low-frequency signals and suppressing high-frequency noise. To maintain efficiency on large-scale graphs, FreqD utilizes polynomial approximations, avoiding the computational bottleneck of full spectral analysis.
Key Results and Evaluation
The authors evaluated FreqD on CiteULike, Gowalla, and Yelp2018 datasets using BPRMF, LightGCN, and SimpleX backbones.
Performance and Compression
FreqD consistently outperformed state-of-the-art KD baselines like DE and FitNet. Notably, a student model with only 10% of the teacher's parameters achieved accuracy comparable to the original teacher. This compression led to a 75% reduction in inference latency, significantly improving real-time performance.
Ablation Study: The Importance of Low Frequencies
The authors conducted an ablation study by zeroing out specific frequency weights ($w_i$). As shown in the table below, removing the lowest frequency component ($w_1=0$) leads to the most significant performance degradation, confirming that low-frequency knowledge is the primary driver of recommendation accuracy.
Conclusion
FreqD demonstrates that not all knowledge is created equal in recommender systems. By shifting the focus of distillation toward hard-to-learn low-frequency patterns, FreqD provides a highly efficient path toward deploying state-of-the-art recommendation models on resource-constrained devices. Future work includes adapting this frequency-aware approach to dynamic, evolving graphs.
Summary updated