TriSpark: A Sparse Ternary Spiking Transformer with Event-Driven Acceleration on Edge FPGAs
Jun Yang, Yingxuan Xiao, Feiyang Li, Tingyang Zou, Yumeng Cao, Changhong Li
Abstract
Spiking Transformers have shown strong potential for image classification, but their deployment on resource-constrained edge devices remains difficult due to the limited representation capability of binary spikes and the high computational cost of attention and projection layers. In this work, we present TriSpark, a sparse ternary Spiking Transformer framework for FPGA edge platforms. TriSpark introduces ternary spikes into the Q/K/V branches to preserve positive and negative responses, while block-wise learnable scaling is employed to adjust the magnitude of attention outputs. RIA-guided 8:16 semi-structured weight pruning is further applied to the Q/K/V and MLP projection layers to reduce redundant computation and storage overhead while retaining important weights and preserving classification accuracy. TriSpark adopts an ExSpikeinspired event-driven architecture with nonzero event detection, 8:16 sparsity, and an attention core supporting positive and negative spike computation to translate spike and weight sparsity into practical hardware acceleration. Experimental evaluation demonstrates that TriSpark preserves classification accuracy while turning spike and weight sparsity into measured speed and energy gains. On a PYNQ-Z2 FPGA, TriSpark reaches an areanormalised energy efficiency of 10.32 GOPS/W/kLUTs, which is 1.46x and 2.8x higher than ExSpike and FireFly-T, and RIA 8:16 lowers its energy per image by 25% over dense weights.
Create a lesson
Metadata
- Comments
- 6 pages, 4 figures, 2 tables.This work is supported in part by the Outstanding Young Scholars Program of the Scientific Research Projects of the Education Department of Hunan Province (25B0813)
Related papers
SparseWafer: Fast Dynamic Sparse Prefill on a Wafer-Scale Accelerator
Shared title terminologycs.ARJianchang Su, Yifan Zhang, Wei Zhang
EdgeALM: An Efficient and Unified Edge Accelerator for Large Audio Language Models via Full-Stack Hardware-Software Co-Design and Agent-Driven Recursive Optimization
Shared title terminologycs.ARChenglin Yang, Feifan Xu, Xingyuan Li et al.
Acceleration of Sparse and Irregular Workloads through Energy-Efficient Stream Extensions
Shared title terminologycs.ARPaul Scheffler
EchoChat: An Intelligent Audio SoC Featuring an Ultra-Low Latency, Low-Power Keyword Spotting Accelerator
Shared title terminologycs.ARHuihong Liang, Longtao Huang, Zhiyi Zeng et al.
Cost-Aware cHBM-Array Accelerator for LLM Decoding
Shared title terminologycs.ARDaegun Yoon, Yunki Han, Jinlin Wu et al.
CAMPA: A Cross-Algorithm Multithreaded PQC Accelerator with Dynamic Scheduling
Shared title terminologycs.ARZhengpeng Zhao, Wenbo Xu, Jiayi Li et al.