Abstract
Graph Neural Networks (GNNs) are highly effective for recommendation but suffer from scalability issues and data noise. LightGNN is a lightweight framework that uses adaptive pruning and hierarchical knowledge distillation to reduce model size significantly while maintaining accuracy. By pruning 80% of edges and 90% of embedding entries, LightGNN achieves a 70% reduction in memory and a 50% speedup, outperforming state-of-the-art models on real-world datasets.
Introduction
Collaborative Filtering (CF) using GNNs leverages high-order connectivity to learn user and item representations. However, real-world graphs are massive and noisy. Large embedding tables create storage bottlenecks, and incidental interactions (noise) lead to over-smoothing, where personalized signals are lost. LightGNN addresses these challenges by intelligently trimming redundant parameters and using a teacher-student distillation process to preserve essential structural information.
Methodology
LightGNN introduces a multi-pronged strategy for model compression and denoising.
The framework's core components include:
- Adaptive Pruning: Rather than random dropping, LightGNN learns sparse weights for edges and embedding dimensions, effectively filtering out noise.
- Hierarchical Knowledge Distillation (KD): A Teacher model guides a Student model through bilevel alignment of predictions and embeddings. An intermediate KD layer augments the graph with high-order relations, ensuring the student retains structural "memory" even after radical pruning.
- Adaptive Uniformity Constraint: This contrastive objective ensures embeddings are evenly distributed, directly combating the over-smoothing problem common in dense GNNs.
Experimental Results
The researchers evaluated LightGNN on Gowalla, Yelp, and Amazon datasets.
Quantitative Performance
As shown in Figure 1(b), LightGNN maintains superior Recall@20 on the Gowalla dataset even at extremely low preservation ratios, significantly outperforming vanilla KD methods. Overall, the framework achieved:
- 80% reduction in edge count and 90% reduction in embedding entries.
- 70% lower memory usage and 90% fewer FLOPs.
- 50% faster physical prediction time.
Qualitative Denoising
One of LightGNN's key strengths is its ability to act as a denoising filter. By assigning low weights to noisy interactions—such as a user visiting a restaurant but leaving a negative review (e.g., "too salty" in Figure 1(a))—the model focuses on high-quality signals, leading to better recommendation accuracy.
Conclusion
LightGNN demonstrates that aggressive pruning, when guided by hierarchical distillation, can improve both the efficiency and accuracy of GNN-based recommenders. By removing noise and redundancy, it provides a scalable solution for large-scale production environments.
Summary updated