arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.02654cs.LGcs.AIcs.AR
收藏

面向资源受限 FPGA 的时间序列 Transformer 模型量化感知训练研究

A Study of Quantisation-aware Training on Time Series Transformer Models for Resource-constrained FPGAs

University of Duisburg-Essen(杜伊斯堡-埃森大学)

Tianheng Ling, Chao Qian, Lukas Einhaus, Gregor Schiele

AI总结:

针对资源受限 FPGA 上的时间序列 Transformer,本文提出在 QAT 中按数据分布自适应选择对称或非对称量化,以低精度混合量化降低开销并保持精度。

摘要:

本研究探索了时间序列 Transformer 模型上的量化感知训练(QAT)。我们提出了一种新颖的自适应量化方案,在 QAT 阶段动态地在对称与非对称方案之间进行选择。我们的方法表明,使量化方案与真实数据分布相匹配,可以在保持可接受精度的同时降低计算开销。此外,该方法在应用于真实世界数据和混合精度量化时具有鲁棒性,其中大多数对象被量化到 4 位。我们的发现为模型量化和部署决策提供了参考,并为推进量化技术奠定了基础。

英文摘要:

This study explores the quantisation-aware training (QAT) on time series Transformer models. We propose a novel adaptive quantisation scheme that dynamically selects between symmetric and asymmetric schemes during the QAT phase. Our approach demonstrates that matching the quantisation scheme to the real data distribution can reduce computational overhead while maintaining acceptable precision. Moreover, our approach is robust when applied to real-world data and mixed-precision quantisation, where most objects are quantised to 4 bits. Our findings inform model quantisation and deployment decisions while providing a foundation for advancing quantisation techniques.

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

↑