Quantization is one of the most applied Deep Neural Network (DNN) compression strategies, when deploying a trained DNN model on an embedded system or a cell phone. This is owing to its simplicity and adaptability to a wide range of applications and circumstances, as opposed to specific Artificial Intelligence (AI) accelerators and compilers that are often designed only for certain specific hardware (e.g., Google Coral Edge TPU). With the growing demand for quantization, ensuring the reliability of this strategy is becoming a critical challenge. Traditional testing methods, which gather more and more genuine data for better assessment, are often not practical because of the large size of the input space and the high similarity between the original DNN and its quantized counterpart. As a result, advanced assessment strategies have become of paramount importance. In this paper, we present DiverGet, a search-based testing framework for quantization assessment. DiverGet defines a space of metamorphic relations that simulate naturally-occurring distortions on the inputs. Then, it optimally explores these relations to reveal the disagreements among DNNs of different arithmetic precision. We evaluate the performance of DiverGet on state-of-the-art DNNs applied to hyperspectral remote sensing images. We chose the remote sensing DNNs as they're being increasingly deployed at the edge (e.g., high-lift drones) in critical domains like climate change research and astronomy. Our results show that DiverGet successfully challenges the robustness of established quantization techniques against naturally-occurring shifted data, and outperforms its most recent concurrent, DiffChaser, with a success rate that is (on average) four times higher.
翻译:当在嵌入系统或手机上部署经过训练的 DNN 模型时,量化是应用量最大的一种压缩战略,这是在嵌入系统或手机上部署一个经过训练的 DNN 模型时采用的一种最严格的压缩战略。这是因为其简单和适应广泛的应用和情况,而不是特定的人工智能(AI)加速器和编译器,而后者通常只为某些特定的硬件设计(例如谷歌珊瑚仪(Google Coral Edge TPU) 。随着对量化的需求不断增长,确保这一战略的可靠性正在成为一个严峻的挑战。传统的测试方法在为更好的评估而收集越来越多的真实数据时,往往不切实际,因为输入空间的庞大,以及最初的 DNNNN 及其四级对等的高度相似性。因此,先进的评估战略变得至关重要。在本文件中,DverGet 是一个基于搜索的测试框架,DVerget定义了一个可模拟输入量自然扭曲的元关系空间。然后,它最理想地探索这些关系,以揭示DNNNC 之间在最新遥感精确度上应用的精确度,我们测算的轨道上最精确度数据,我们选择了高水平。