本文提出 FIUL-Data 故障注入测试框架,通过非随机、单点应用的数据变异器评估 ML 模型对数据故障的韧性,并在分析化学数据上验证了较大训练集下模型韧性更高、梯度提升优于支持向量回归等结论。
摘要:
构建具有韧性的机器学习(ML)系统已成为确保生产就绪型 ML 系统能够无缝获得用户信心的必要条件。在数据敏感型系统中,输入数据的质量和模型本身都会显著影响端到端测试的成功与否。然而,与模型测试相比,针对输入数据的测试方法不够系统化,且数量较少。为弥补这一不足,本文提出了面向输入数据中不良学习的故障注入(FIUL-Data)测试框架,用于测试 ML 模型对多种有意触发的数据故障的韧性。数据变异器探索 ML 系统在不同故障注入影响下的脆弱性。所提出的框架基于三个主要思想设计:变异器不是随机的;在某一时刻只应用一个数据变异器;所选 ML 模型事先经过优化。本文使用分析化学领域的数据对 FIUL-Data 框架进行评估,该数据包含反义寡核苷酸的保留时间测量值。实证评估采用两步过程进行:首先分别分析所选 ML 模型对数据变异的响应,然后相互比较。结果表明,FIUL-Data 框架能够评估 ML 模型的韧性。在大多数实验案例中,ML 模型在较大的训练数据集上表现出更高的韧性,其中梯度提升在较小训练集上的表现优于支持向量回归。总体而言,均方误差指标因其对数据变异具有更高的敏感性,在评估模型韧性方面十分有用。
英文摘要:
Creating resilient machine learning (ML) systems has become necessary to ensure production-ready ML systems that acquire user confidence seamlessly. The quality of the input data and the model highly influence the successful end-to-end testing in data-sensitive systems. However, the testing approaches of input data are not as systematic and are few compared to model testing. To address this gap, this paper presents the Fault Injection for Undesirable Learning in input Data (FIUL-Data) testing framework that tests the resilience of ML models to multiple intentionally-triggered data faults. Data mutators explore vulnerabilities of ML systems against the effects of different fault injections. The proposed framework is designed based on three main ideas: The mutators are not random; one data mutator is applied at an instance of time, and the selected ML models are optimized beforehand. This paper evaluates the FIUL-Data framework using data from analytical chemistry, comprising retention time measurements of anti-sense oligonucleotide. Empirical evaluation is carried out in a two-step process in which the responses of selected ML models to data mutation are analyzed individually and then compared with each other. The results show that the FIUL-Data framework allows the evaluation of the resilience of ML models. In most experiments cases, ML models show higher resilience at larger training datasets, where gradient boost performed better than support vector regression in smaller training sets. Overall, the mean squared error metric is useful in evaluating the resilience of models due to its higher sensitivity to data mutation.
MRFI: An Open Source Multi-Resolution Fault Injection Framework for Neural Network Processing
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Beijing Institute of Control Engineering(北京控制工程研究所)
Enhancing Neural Network Robustness Against Fault Injection Through Non-linear Weight Transformations
Kyushu Institute of Technology(九州工业大学);Graduate School of Life Science and Systems(生命科学与系统研究生院);Research Center for Neuromorphic AI Hardware(神经形态AI硬件研究中心)
Analysis of LLM Vulnerability to GPU Soft Errors: An Instruction-Level Fault Injection Study
School of Computer Science (National Pilot Software Engineering School), Beijing University of Posts and Telecommunications(计算机学院(国家试点软件工程学院),北京邮电大学);State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences(处理器国家重点实验室,中国科学院计算技术研究所)
Characterizing the Fault Response of the Intel Neural Compute Stick 2 Under Single-Pulse Electromagnetic Fault Injection
Faculty of Informatics and Information Technologies, Slovak University of Technology(信息与信息技术学院,斯洛伐克技术大学);State Key Laboratory of Blockchain and Data Security(区块链与数据安全国家重点实验室);TTControl GmbH
Harden Deep Neural Networks Against Fault Injections Through Weight Scaling
Kyushu Institute of Technology(九州工业大学);Graduate School of Life Science and Systems(生命科学与系统研究生院);Research Center for Neuromorphic AI Hardware(神经形态人工智能硬件研究中心)
On Jailbreaking Quantized Language Models Through Fault Injection Attacks
Compumacy for Artificial Intelligence Solutions(人工智能解决方案公司);Electrical and Computer Engineering Department, George Mason University(乔治·马歇尔大学电气与计算机工程系);School of Electronics, Electrical Engineering and Computer Sciences, Queen’s University Belfast(女王大学贝尔法斯特电子、电气与计算机科学学院)