面向 tinyML 平台的无乘法器滤波器内计算
Multiplierless In-filter Computing for tinyML Platforms
AI总结:
提出一种基于 MP 近似、无乘法器的滤波器内声学分类核机框架,仅用加减、移位和比较操作,并在 Spartan 7 FPGA 上以不到 1K slices 实现更高效率。
摘要:
利用对环境因素的持续监测和生物医学分类来保护野生动物会产生大量传感器数据;在远程监测场景下,由于带宽有限,这构成了挑战。因此,在数据产生处进行分类、并仅将已分类数据用于监测变得至关重要。我们提出一种新颖的无乘法器框架,用于滤波器内声学分类;该框架采用 Margin Propagation(MP)近似,面向可部署在连接受限偏远地区的低功耗边缘设备。此分类框架的完整设计基于模板化核机,包含特征提取和推理,并使用加/减法、移位和比较器操作等基本原语进行硬件实现。与传统分类的全精度训练方法不同,我们在训练(包括缓解近似误差的反向传播)中使用基于 MP 的近似。所提框架具有足够的通用性,可用于声学分类。不过,我们通过在核机分类器中实现并行有限脉冲响应(FIR)滤波器组,并针对现场可编程门阵列(FPGA)进行优化,展示了该框架的硬件友好性。FIR 滤波器充当核机的特征提取器和非线性核;该核机采用 MP 近似实现,并使用下采样方法降低滤波器阶数。在 Spartan 7 上的 FPGA 实现表明,经 MP 近似的滤波器内核机比传统分类框架更高效,仅占用不到 1K 个 slices。
英文摘要:
Wildlife conservation using continuous monitoring of environmental factors and biomedical classification, which generate a vast amount of sensor data, is a challenge due to limited bandwidth in the case of remote monitoring. It becomes critical to have classification where data is generated, and only classified data is used for monitoring. We present a novel multiplierless framework for in-filter acoustic classification using Margin Propagation (MP) approximation used in low-power edge devices deployable in remote areas with limited connectivity. The entire design of this classification framework is based on template-based kernel machine, which include feature extraction and inference, and uses basic primitives like addition/subtraction, shift, and comparator operations, for hardware implementation. Unlike full precision training methods for traditional classification, we use MP-based approximation for training, including backpropagation mitigating approximation errors. The proposed framework is general enough for acoustic classification. However, we demonstrate the hardware friendliness of this framework by implementing a parallel Finite Impulse Response (FIR) filter bank in a kernel machine classifier optimized for a Field Programmable Gate Array (FPGA). The FIR filter acts as the feature extractor and non-linear kernel for the kernel machine implemented using MP approximation and a downsampling method to reduce the order of the filters. The FPGA implementation on Spartan 7 shows that the MP-approximated in-filter kernel machine is more efficient than traditional classification frameworks with just less than 1K slices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。