arXiv:2608.27704cs.LGcs.AI2026-08

通过多信号融合提升机器学习回归测试输入优先级

RiskBlend: A Multi-Signal Framework for Test Input Prioritization in Machine Learning Regression Testing

  • 融合历史故障、预测偏移等四类风险信号
  • 平均APFD比最强基线高0.32,覆盖1200种实验配置
  • 适合关注模型更新后质量保障的工程师

机器学习分类器重训练后,先前正确分类的输入可能被新版本错误分类,产生成本高昂的回归缺陷。验证这些缺陷通常需人工标注或专家评审,远比模型推理昂贵。测试输入优先级方法通过排序输入,在有限验证预算下最大化发现缺陷数量。现有方法主要依赖单一模型置信度,未充分利用版本间预测、决策边界和局部邻域的变化。我们提出RiskBlend,一种与分类器无关的优先级框架,结合四类互补风险信号:历史失败模式、预测偏移、决策边界偏移和邻域变化,并使用验证学习的APFD平方权重进行融合。在四个数据集、五种分类器、四种回归更新场景和15个随机种子共1200种实验配置中,RiskBlend在所有80个数据集-分类器-场景组合中均达到最高平均APFD,较最强基线提升高达0.32。基于置信度的方法仅在稀疏类别特征的线性分类器上表现良好,我们归因于特征空间几何特性。结果表明,跨版本行为信号为机器学习系统回归缺陷优先级提供了重要补充信息。

原文摘要 · Abstract (English)

When machine learning classifiers are retrained, inputs correctly classified by the previous model version may be misclassified by the updated version, creating regression faults that are costly to detect because verifying predictions against ground truth may require human annotation, expert review, or expensive simulation rather than inexpensive model inference. Test input prioritization addresses this problem by ranking inputs so that a limited verification budget reveals as many regression faults as possible. Existing approaches rely predominantly on single-model confidence scores and do not exploit how predictions, decision boundaries, and local neighborhoods change between model versions. We propose RiskBlend, a classifier-agnostic prioritization framework that combines four complementary risk signals: historical failure patterns, prediction shift, decision-boundary shift, and neighborhood change. These signals are combined using validation-learned APFD-squared weighting. Across four datasets, five classifiers, four regression-update scenarios, and 15 random seeds, totaling 1,200 experimental configurations, RiskBlend achieves the highest average APFD in all 80 dataset-classifier-scenario combinations, with improvements of up to 0.32 APFD over the strongest baseline. Confidence-based methods remain competitive primarily for linear classifiers on sparse categorical features, which we attribute to feature-space geometry. The results show that cross-version behavioral signals provide important complementary information for prioritizing regression faults in machine learning systems.

机器学习测试输入优先级回归检测

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