Cost-Effective On-Device Sequential Recommendation with Spiking Neural Networks

Di Yu, Changze Lv, Xin Du, Linshan Jiang, Qing Yin, Wentao Tong, Xiaoqing Zheng, Shuiguang DengIJCAI 2025

Introduction

Sequential Recommendation (SR) systems are the backbone of personalized digital experiences, powering suggestions on platforms like TikTok and Amazon. Traditionally, these systems rely on cloud-based clusters due to the high memory and computational costs of storing millions of item embeddings and processing complex user histories. However, cloud-centric models face significant hurdles regarding user privacy, network latency, and the high energy consumption of standard Artificial Neural Networks (ANNs), which can quickly drain mobile device batteries.

To address these challenges, this research introduces SSR (Spike-wise Sequential Recommendation), a framework designed specifically for resource-constrained edge devices. By leveraging Spiking Neural Networks (SNNs), SSR mimics the energy-efficient, event-driven nature of the human brain to deliver high-performance recommendations on-device.

Methodology

The core innovation of SSR is its transition from continuous 32-bit floating-point representations to discrete 1-bit "spikes" (0s and 1s). This architecture allows the model to perform computations using simple additions rather than power-hungry matrix multiplications.

The overall architecture of the SSR framework, illustrating the flow from item tokens to final prediction through spiking layers.

Key components of the SSR framework include:

  • Spike-wise Embedding Layer: Converts dense item embeddings into temporal 1-bit binary spike trains over $T$ time steps, drastically reducing the storage footprint.
  • Stimulus Encoder: Aggregates these sparse signals to capture both long-term user interests and immediate preferences.
  • Spiking Filter Layer: Inspired by Fourier Transforms, this layer filters "noise" (e.g., accidental clicks) from user behavior in the frequency domain while maintaining a sparse spiking format.
  • Spiking Feed-Forward Network (PSFFN): Utilizes Leaky Integrate-and-Fire (LIF) neurons to project features into higher dimensions, improving representation power without the massive energy cost of traditional ANNs.

Experimental Evaluation

SSR was evaluated on five diverse, real-world datasets: Movielens, Steam, and Amazon records for Music, Video, and Arts. These datasets vary in scale and density, providing a robust testing ground for the model's stability and efficiency.

Results and Discussion

The experimental results demonstrate that SSR achieves a paradigm shift in efficiency without sacrificing recommendation accuracy.

Comparison of memory growth rates between standard 32-bit embeddings and SSR's 1-bit spike-wise encoder as embedding dimensions increase.
  • Memory and Energy Efficiency: SSR achieved a maximum memory reduction of 99.36% for item representations. As shown in Figure 4, the memory footprint for SSR grows at a significantly slower rate than traditional models as embedding dimensions scale. Additionally, SSR reduced theoretical energy consumption by an average of 59.43% compared to equivalent ANN architectures.
  • Competitive Accuracy: Despite extreme compression, SSR maintained comparable or superior performance (measured by Hit Rate and NDCG) against seven state-of-the-art baselines, including SASRec and GRU4REC.
  • Robustness: The Spiking Filter module makes the model more robust to noisy data; in tests with 20% interaction noise, SSR maintained over 98% of its original performance, significantly outperforming its ANN-based counterparts.

Conclusion and Future Work

SSR demonstrates the viability of SNNs for on-device sequential recommendation, offering a solution that balances privacy, latency, and resource efficiency. While its full potential is best realized on specialized neuromorphic hardware (like Intel’s Loihi), the framework provides a scalable blueprint for future edge-AI applications. Future research will explore multi-modal on-device recommendations and further optimization for even longer user sequences.

Summary updated

BibTeX
@inproceedings{yu2025cost,
  author = {Di Yu and Changze Lv and Xin Du and Linshan Jiang and Qing Yin and Wentao Tong and Xiaoqing Zheng and Shuiguang Deng},
  title = {{Cost-Effective On-Device Sequential Recommendation with Spiking Neural Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/398},
}
Figure