arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.28037cs.SE
收藏

基于梯度行为向量的ML系统进化感知回归测试优先级排序

Evolution-Aware Regression Test Prioritization of ML-Enabled Systems Using Gradient-Based Behavior Vectors

KAIST(韩国科学技术院);University of Sheffield(谢菲尔德大学)

Eunho Cho, Donghwan Shin, In-Young Ko

AI总结:

提出GBV-PD方法,利用梯度行为向量和参数更新投影,在不运行进化模型的情况下预测测试用例损失变化方向,实现高效的回归测试优先级排序。

摘要:

机器学习(ML)组件的ML使能系统通过重新训练、微调和优化而进化,因此先前有效的测试结果可能不再成立。单次进化步骤可能在某些测试用例上恶化性能,同时改善其他测试用例,使得回归测试优先级排序固有地具有方向性。我们提出了基于梯度的行为向量-参数增量(GBV-PD),这是第一种将行为向量空间操作化用于进化感知回归测试优先级排序的方法。GBV-PD将每个测试用例表示为基于梯度的向量(GBV),即其在原始模型下损失梯度的低维投影。然后,它将进化模型的观察到的参数更新投影到相同的PCA基上,并利用得到的对齐来估计每个测试用例的损失是可能增加还是减少,而无需在优先级排序期间在测试用例上运行进化模型。在跨分类和回归任务的实证研究中,GBV-PD始终优于非方向性基线,并与全梯度参考保持竞争力,同时通过可重用的GBV缓存为重复更新提供更好的时间和存储配置。这些结果表明,行为空间思想可以操作化为一种实用且高效的机制,用于对进化的ML使能系统进行重复更新的回归测试。

英文摘要:

The machine learning(ML) component of an ML-enabled system evolves through retraining, fine-tuning, and optimization, so previously valid test results may no longer hold. A single evolution step can worsen performance on some test cases while improving others, making regression test prioritization inherently directional. We present Gradient-based Behavior Vector-Parameter Delta(GBV-PD), the first approach to operationalize the behavior vector space for evolution-aware regression test prioritization. GBV-PD represents each test case as a gradient-based vector(GBV), a low-dimensional projection of its loss gradient under the original model. It then projects the observed parameter update of the evolved model onto the same PCA basis and uses the resulting alignment to estimate whether each test case's loss is likely to increase or decrease, without running the evolved model on test cases during prioritization. In an empirical study across classification and regression tasks, GBV-PD consistently outperformed non-directional baselines and remained competitive with a full-gradient reference, while offering better time and storage profiles for repeated updates via reusable GBV caching. These results show that behavior-space ideas can be operationalized into a practical and efficient mechanism for repeated-update regression testing of evolving ML-enabled systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑