arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.13982cs.ARcs.LG
收藏

利用时间并行性加速FPGA上的LSTM自编码器

Exploiting temporal parallelism for LSTM Autoencoder acceleration on FPGA

Aimilios Leftheriotis, Dimosthenis Masouros, Dimitrios Soudris, George Theodoridis

AI总结:

本文提出一种基于FPGA的数据流架构,通过时间并行性实现多层LSTM-AE的并发处理,实验显示在CPU和GPU上具有显著的加速效果和能效提升。

摘要:

循环神经网络(RNNs)在处理序列数据中至关重要。长短期记忆自编码器(LSTM-AEs)尤其有效于时间序列数据的无监督异常检测。然而,固有的序列依赖性限制了并行计算。尽管先前工作已探索了FPGA上的LSTM网络加速,但通常仅优化单个LSTM层。我们引入了一种新颖的FPGA加速器,采用数据流架构,利用时间并行性实现不同时间步的多层并发处理。在四个具有不同宽度和深度的LSTM-AE模型上进行实验评估,结果表明相较于CPU(Intel Xeon Gold 5218R)和GPU(NVIDIA V100)实现具有显著优势。我们的加速器在CPU上实现了高达79.6倍的延迟加速,在GPU上实现了18.2倍的加速,同时能效提升高达1722倍(相对于CPU)和59.3倍(相对于GPU)。这些结果,包括优越的网络深度可扩展性,突显了我们的方法在FPGA上实现高性能、实时、低功耗LSTM-AE异常检测的潜力。

英文摘要:

Recurrent Neural Networks (RNNs) are vital for sequential data processing. Long Short-Term Memory Autoencoders (LSTM-AEs) are particularly effective for unsupervised anomaly detection in time-series data. However, inherent sequential dependencies limit parallel computation. While previous work has explored FPGA-based acceleration for LSTM networks, efforts have typically focused on optimizing a single LSTM layer at a time. We introduce a novel FPGA-based accelerator using a dataflow architecture that exploits temporal parallelism for concurrent multi-layer processing of different timesteps within sequences. Experimental evaluations on four representative LSTM-AE models with varying widths and depths, implemented on a Zynq UltraScale+ MPSoC FPGA, demonstrate significant advantages over CPU (Intel Xeon Gold 5218R) and GPU (NVIDIA V100) implementations. Our accelerator achieves latency speedups up to 79.6x vs. CPU and 18.2x vs. GPU, alongside energy-per-timestep reductions of up to 1722x vs. CPU and 59.3x vs. GPU. These results, including superior network depth scalability, highlight our approach's potential for high-performance, real-time, power-efficient LSTM-AE-based anomaly detection on FPGAs.

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

↑