A Fully Sparse Transformer Accelerator With Hybrid-Grained Pipeline for 3-D Object Detection
Abstract
Field-programmable gate array (FPGA)-based acceleration for 3-D object detection has attracted significant attention due to its potential for high efficiency and low latency. However, existing fully sparse 3-D Transformer accelerators suffer from inefficient dataflows and limited parallelism, mainly caused by irregular sparsity patterns and global attention dependencies. To address these challenges, this work introduces the fully sparse Transformer pipeline (FST-PIPE). FST-PIPE adopts a hybrid-grained pipeline that integrates coarse-grained inter-layer streaming with fine-grained intra-operator parallelism, and incorporates a memory-efficient storage design to maximize parallelism and memory efficiency. FST-PIPE is enabled by restructuring global sparse attention into an axis-aligned representation through the proposed AxisFormer block, thereby enabling efficient modeling of long-range dependencies among spatially distant nonempty voxels. Furthermore, this work introduces a length-aware pipeline scheduling mechanism to address workload imbalance arising from variable sequence lengths, eliminating pipeline bubbles and sustaining high hardware utilization. Implemented on a ZCU102 FPGA, FST-PIPE achieves 42.59 frames/s with a latency of 23.48 ms and an energy efficiency of 9.5 frames/s/W, providing up to $1.45\times $ higher throughput and around $2\times $ better energy efficiency compared with prior FPGA-based accelerators.