ESL-former: Event Sparse Linear Transformer for FPGA-Accelerated Malware Detection
Jun Yang, Yumeng Cao, Yingxuan Xiao, Changhong Li, Shangru Zhou
Abstract
Transformer based intrusion detection has shown strong potential for identifying unknown malware variants, but its deployment on resource constrained edge devices remains difficult due to the high computational and memory cost of self attention. This paper presents an event sparse Linear Transformer framework for malware detection on FPGA edge platforms. Instead of relying on an explicit attention matrix, the proposed method derives token and channel importance directly from the accumulated key value state of Linear Transformer. A contribution aware scoring function is introduced to measure the perturbation of each token or kernel channel to the linear attention state, allowing redundant tokens and low contribution channels to be removed without constructing quadratic attention maps. To translate sparsity into practical hardware acceleration, the proposed design further replaces conventional binary mask based execution with a Top K active token buffer and a hardware compaction unit. The selected active tokens and channels are reorganized into dense fixed length data streams, enabling downstream processing elements to execute regular multiply accumulate operations with reduced redundant memory access and control overhead. This design is suitable for low power FPGA based malware detection, where both latency and on chip resource usage are critical. Experimental evaluation demonstrates that the proposed sparse Linear Transformer can reduce hardware cost while preserving malware classification accuracy.
Create a lesson
Related papers
Acceleration of Sparse and Irregular Workloads through Energy-Efficient Stream Extensions
Shared title terminology · Paul Scheffler
Bottom-Up FPGA Reconfigurable Accelerator Overlay Generation
Shared title terminology · Mohamed Bouaziz, Suhaib A. Fahmy
PENSA: A Spatial Accelerator for BitNet b1.58 Inference on an HBM-equipped AMD Alveo FPGA
Shared title terminology · Karthikeyan B. Kalyanasundaram, Ivan S. Maksymov, Philip H. W. Leong
FPGA Acceleration of CNN-BiLSTM for EEG-Based Sleep Staging Featuring FFT-Based Non-Unit Stride Fast Convolution
Shared title terminology · Aaron Zhou, Yaqian Xu, Chen Chen et al.
Energy-Efficient Memristor Accelerator for Depression Detection with a CNN-LSTM Hybrid Model
Shared title terminology · Jiaqi Liu, Yun Yu, Fenglin Xi et al.
Detection of Single Stuck-at and Bridging Faults in Cluster-based FPGA Architectures
Shared title terminology · Nachiketa Das, Sudip Ghosh, H. Rahaman