SpikeCLIP: A Contrastive Language-Image Pretrained Spiking Neural Network
Changze Lv, Tianlong Li, Wenhao Liu, Yufei Gu, Jianhan Xu, Cenyuan Zhang, Muling Wu, Xiaoqing Zheng, Xuanjing Huang
TL;DR
SpikeCLIP tackles multimodal integration in spiking neural networks by pairing a dual-stream SNN with a two-stage training regimen: cross-modal alignment through knowledge distillation from CLIP, followed by dual-loss fine-tuning with a KL regularizer to preserve generalization. The approach achieves competitive image classification and zero-shot performance while delivering substantial energy savings on neuromorphic hardware-like computations. Through extensive ablations and architecture choices (e.g., Spikingformer image backbone and MLP text encoder), the work demonstrates the viability of energy-efficient, biologically plausible multimodal learning with SNNs and highlights avenues for scaling to larger datasets and generative tasks.
Abstract
Spiking Neural Networks (SNNs) have emerged as a promising alternative to conventional Artificial Neural Networks (ANNs), demonstrating comparable performance in both visual and linguistic tasks while offering the advantage of improved energy efficiency. Despite these advancements, the integration of linguistic and visual features into a unified representation through spike trains poses a significant challenge, and the application of SNNs to multimodal scenarios remains largely unexplored. This paper presents SpikeCLIP, a novel framework designed to bridge the modality gap in spike-based computation. Our approach employs a two-step recipe: an ``alignment pre-training'' to align features across modalities, followed by a ``dual-loss fine-tuning'' to refine the model's performance. Extensive experiments reveal that SNNs achieve results on par with ANNs while substantially reducing energy consumption across various datasets commonly used for multimodal model evaluation. Furthermore, SpikeCLIP maintains robust image classification capabilities, even when dealing with classes that fall outside predefined categories. This study marks a significant advancement in the development of energy-efficient and biologically plausible multimodal learning systems. Our code is available at https://github.com/Lvchangze/SpikeCLIP.
