arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.00130cs.DC
收藏

低精度深度学习推荐模型的有效软错误检测

Efficient Soft-Error Detection for Low-precision Deep Learning Recommendation Models

Sihuan Li, Jianyu Huang, Ping Tak Peter Tang, Daya Khudia, Jongsoo Park, Harish Dattatraya Dixit, Zizhong Chen

摘要:

软错误,即计算机系统中信号或数据的无声损坏,随着计算和通信密度的指数级增长而不能被轻易忽视。软错误检测已经在企业计算、高性能计算以及最近在与自动驾驶相关的卷积神经网络中进行了研究。深度学习推荐系统(DLRM)现在已经无处不在,每天为数十亿用户提供服务。然而,DLRM特定的软错误检测方法迄今缺失。为了填补这一空白,本文提出了第一套低精度量化算术运算符的DLRM软错误检测方法,包括一般矩阵乘法(GEMM)和EmbeddingBag。实用的方法必须检测错误并且以低开销来这样做,以免降低的推理速度使用户体验降级。利用量化算法和算子的特点,我们实现了超过95%的检测准确率GEMM的开销低于20%。对于EmbeddingBag,我们在显著位翻转检测方面实现了99%的有效性,误报率低于10%,同时将开销保持在26%以下。

英文摘要:

Soft error, namely silent corruption of signal or datum in a computer system, cannot be caverlierly ignored as compute and communication density grow exponentially. Soft error detection has been studied in the context of enterprise computing, high-performance computing and more recently in convolutional neural networks related to autonomous driving. Deep learning recommendation systems (DLRMs) have by now become ubiquitous and serve billions of users per day. Nevertheless, DLRM-specific soft error detection methods are hitherto missing. To fill the gap, this paper presents the first set of soft-error detection methods for low-precision quantized-arithmetic operators in DLRM including general matrix multiplication (GEMM) and EmbeddingBag. A practical method must detect error and do so with low overhead lest reduced inference speed degrades user experience. Exploiting the characteristics of both quantized arithmetic and the operators, we achieved more than 95% detection accuracy for GEMM with an overhead below 20%. For EmbeddingBag, we achieved 99% effectiveness in significant-bit-flips detection with less than 10% of false positives, while keeping overhead below 26%.

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

↑