arXiv:2608.18900cs.AI2026-08被引 1

用数学重构方法高效测试深度模型在多种干扰下的稳定性。

TestifAI: Tomography-Based Testing for Deep Learning Systems

论文配图:TestifAI: Tomography-Based Testing for Deep Learning Systems
图 1 · 摘自论文原文
  • 通过低阶测试数据重构高阶干扰下的模型行为。
  • 在5个任务上实现3-4重干扰预测,误差低于7%。
  • 适合安全关键领域(如自动驾驶)的AI系统验证。

随着人工智能系统在自动驾驶等安全关键领域广泛应用,其潜在风险也随之上升。现代AI系统依赖的深度学习模型必须经过充分测试以确保行为正确。单次鲁棒性测试需数千次推理来实证验证模型输出在输入扰动范围内的稳定性。然而,现有测试框架缺乏系统探索和总结组合扰动下鲁棒性的能力。我们提出TestifAI,一种高效的深度学习测试框架,用于准确估计多种扰动组合下的鲁棒性。TestifAI允许用户将操作条件定义为语义输入扰动(如图像模糊、亮度、缩放)及其离散严重程度(如低、中、高)的结构化空间,并可查询任意组合(如“低模糊、高亮度、中等缩放”)下的模型鲁棒性。为实现效率与准确性,TestifAI引入部分模型断层扫描技术,仅需对少量扰动(低阶投影)进行测试即可重建多扰动空间中的模型行为。为估计至少三重扰动的鲁棒性,TestifAI仅使用涉及最多两重扰动的测试结果训练辅助模型,避免执行指数级增长的测试次数。我们在五个图像和语言分类任务上的实验表明,TestifAI可从一重和二重扰动观测中预测三重和四重扰动的测试结果,总鲁棒性估计误差低于7%,同时减少60%-80%的推理次数。

原文摘要 · Abstract (English)

As AI systems are increasingly deployed in safety-critical application domains (e.g., autonomous driving), associated risks increase too. Deep learning models underlying modern AI systems, therefore, must undergo thorough testing to ensure their correct behaviour. A single robustness test involves thousands of inferences to empirically verify if a model's outputs remain stable under a bounded perturbation of its inputs. However, existing testing frameworks lack the means to systematically explore and summarise robustness across a combinatorial space of perturbations. We propose TestifAI, a deep learning testing framework for efficient and accurate estimation of robustness against combinations of perturbations. TestifAI enables users to specify operational conditions as structured spaces of semantic input perturbations (e.g., image blur, brightness and zoom) and discrete severity levels (e.g., low, medium and high). Users can query model robustness for any combination (e.g., "low blur, high brightness, and medium zoom"). To achieve efficiency and accuracy, TestifAI introduces partial model tomography, a novel approach to reconstructing model behaviour in a multi-perturbation space from tests that apply only a small number of perturbations (lower-order projections). To estimate robustness against at least three perturbations, TestifAI trains an auxiliary model on the results of tests involving up to two perturbations only, avoiding execution of an exponential number of tests. Our experiments on five image and language classification tasks show that TestifAI can predict higher-order (3 and 4 perturbations) test outcomes from low-order (1 and 2 perturbations) observations with an aggregate robustness estimation error of less than 7%, while reducing the number of inferences by 60-80%.

AI测试鲁棒性评估深度学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。