通过基于卷积的错误检测技术使卷积具有弹性
Making Convolutions Resilient via Algorithm-Based Error Detection Techniques
摘要:
卷积神经网络(CNN)准确处理实时遥测的能力促进了其在安全关键和高性能计算系统中的使用。由于此类系统需要对错误具有高水平的弹性,因此CNN必须在存在硬件故障的情况下正确执行。完全复制提供了所需的保证,但会带来令人望而却步的100%开销。众所周知,视频技术提供了低成本的解决方案,但是从未针对CNN部署平台(例如,GPU上的TensorFlow或TensorRT)。在本文中,我们专注于算法验证卷积,这是CNN中最需要资源的操作。我们使用校验和来验证卷积,增加了少量的冗余,远远低于完全重复。我们首先确定了在融合多个网络层并使用精度降低的操作的优化推理平台中使用基于卷积的错误检测(ABED)时出现的挑战,并演示了如何克服这些挑战。我们提出并评估各种ABED技术,提供实现的复杂性,运行时开销和覆盖范围的权衡。结果表明,ABED可以检测到所有可能破坏输出的瞬时硬件错误,并且在产生低运行时开销(6-23%)的同时这样做,与完全复制相比,为工作负载提供至少1.6倍的吞吐量。
英文摘要:
The ability of Convolutional Neural Networks (CNNs) to accurately process real-time telemetry has boosted their use in safety-critical and high-performance computing systems. As such systems require high levels of resilience to errors, CNNs must execute correctly in the presence of hardware faults. Full duplication provides the needed assurance but incurs a prohibitive 100% overhead. Algorithmic techniques are known to offer low-cost solutions, but the practical feasibility and performance of such techniques have never been studied for CNN deployment platforms (e.g., TensorFlow or TensorRT on GPUs). In this paper, we focus on algorithmically verifying Convolutions, which are the most resource-demanding operations in CNNs. We use checksums to verify convolutions, adding a small amount of redundancy, far less than full-duplication. We first identify the challenges that arise in employing Algorithm-Based Error Detection (ABED) for Convolutions in optimized inference platforms that fuse multiple network layers and use reduced-precision operations, and demonstrate how to overcome them. We propose and evaluate variations of ABED techniques that offer implementation complexity, runtime overhead, and coverage trade-offs. Results show that ABED can detect all transient hardware errors that might otherwise corrupt output and does so while incurring low runtime overheads (6-23%), offering at least 1.6X throughput to workloads compared to full duplication.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。