arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.06208cs.ARcs.LGhep-ex
收藏

SparsePixels: 用于FPGA上稀疏数据高效卷积的框架

SparsePixels: Efficient Convolution for Sparse Data on FPGAs

University of Pennsylvania, USA(美国宾夕法尼亚大学);Institute of Physics Belgrade, Serbia(塞尔维亚贝尔格莱德物理研究所);Massachusetts Institute of Technology, USA(美国麻省理工学院);Institute for Artificial Intelligence and Fundamental Interactions, USA(美国人工智能与基本相互作用研究所)

Ho Fung Tsoi, Dylan Rankin, Vladimir Loncar, Philip Harris

AI总结:

本文提出SparsePixels框架,通过只计算少量活跃像素实现稀疏卷积,降低FPGA上的推理延迟,实验显示在稀疏LArTPC图像中,稀疏CNN比传统CNN快73倍。

摘要:

标准卷积神经网络(CNN)在FPGA上的推理通常因需要密集卷积每个输入像素的深层嵌套循环而产生高延迟和长初始化间隔。然而,某些图像数据中的输入特征可能是空间稀疏的,其中语义信息可能只占据像素的小部分,大部分计算会浪费在空地区域。本文介绍SparsePixels框架,通过选择性保留和计算少量活跃像素,实现FPGA上的稀疏卷积。由于计算始终运行在单个预指定的像素预算上,推理延迟与输入稀疏性无关,在运行时保持恒定。我们展示,在识别自然稀疏LArTPC图像中的中微子相互作用时,标准CNN在FPGA上具有4k参数的推理延迟为48.665 μs,而相同基础架构的稀疏CNN计算仅在不到1%的输入像素上,实现了73倍的加速到0.665 μs,资源利用在芯片预算内,仅以小百分比的性能损失进行交换。本文旨在为具有微秒或以下延迟要求的现代实验中的高效数据读取未来算法开发提供帮助。

英文摘要:

Inference of standard convolutional neural networks (CNNs) on FPGAs often incurs high latency and a long initiation interval due to the deep nested loops required to densely convolve every input pixel regardless of its feature value. However, input features can be spatially sparse in some image data, where semantic information may occupy only a small fraction of the pixels and most computation would be wasted on empty regions. In this work, we introduce SparsePixels, a framework that implements sparse convolution on FPGAs by selectively retaining and computing on a small subset of active input pixels while ignoring the rest, reducing the per-layer compute from $O(HWK^2C_{\text{in}}C_{\text{out}})$ to $O(n^2C_{\text{in}}C_{\text{out}})$ and the storage from $O(HWC)$ to $O(nC)$ when $n^2\ll HW$. Because computation always runs over a single pre-specified pixel budget that is frozen at synthesis, the inference latency is data-independent and constant at runtime. We show that, for identifying neutrino interactions in naturally sparse LArTPC images with 4k pixels, a standard CNN with a compact size of 4k parameters incurs an inference latency of 48.665 $μ$s on an FPGA, whereas a sparse CNN of the same base architecture, computing on less than 1% of the input pixels, achieves a $\times 73$ speedup to 0.665 $μ$s with resource utilization well within on-chip budgets, trading only a small percent-level performance loss. This work aims to benefit future algorithm development for efficient data readout in modern experiments with strict latency requirements of microseconds or below.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑