arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.09286cs.CVcs.LG
收藏

基于语义邻近性的背景不变性测试

Background Invariance Testing According to Semantic Proximity

University of Oxford(牛津大学)

Zukang Liao, Min Chen

AI总结:

针对背景不变性测试面临的挑战,提出基于语义邻近性选择背景场景的技术方案,构建对象关系本体实现高效搜索,所提方法相比其他技术在人类标注的多样性与一致性间取得更优平衡,提升了测试可靠性与全面性。

摘要:

在许多应用中,机器学习(ML)模型需要具备某些不变性特质,例如旋转、尺寸和强度不变性。其中,背景不变性测试因涉及庞大且复杂的数据空间而面临重大挑战。为评估不变性特质,我们首先使用基于可视化的测试框架,该框架允许人类分析师评估ML模型的不变性属性并做出知情决策。我们发现,此类信息丰富的测试框架更受青睐,因为具有相同全局统计量(如准确率得分)的ML模型可能表现不同,且具有不同的可视化测试模式。然而,若缺乏系统性抽样方法来选择代表性测试套件,人类分析师可能无法做出一致决策。在这项工作中,我们提出一种技术方案,根据背景场景与包含待测前景对象的目标图像的语义邻近性来选择背景场景。我们利用关联分析构建了一个存储不同对象间关系知识的本体。该本体能够高效且有意义地搜索与目标图像具有不同语义距离的背景场景,从而选择兼具多样性和合理性的测试套件。与其他测试技术(如随机抽样、最近邻或视觉语言模型(VLM)生成的其他抽样测试套件)相比,我们的方法在人类标注的多样性和一致性之间实现了更优平衡,进而提升了背景不变性测试的可靠性和全面性。

英文摘要:

In many applications, machine-learned (ML) models are required to hold some invariance qualities, such as rotation, size, and intensity invariance. Among these, testing for background invariance presents a significant challenge due to the vast and complex data space it encompasses. To evaluate invariance qualities, we first use a visualization-based testing framework which allows human analysts to assess and make informed decisions about the invariance properties of ML models. We show that such informative testing framework is preferred as ML models with the same global statistics (e.g., accuracy scores) can behave differently and have different visualized testing patterns. However, such human analysts might not lead to consistent decisions without a systematic sampling approach to select representative testing suites. In this work, we present a technical solution for selecting background scenes according to their semantic proximity to a target image that contains a foreground object being tested. We construct an ontology for storing knowledge about relationships among different objects using association analysis. This ontology enables an efficient and meaningful search for background scenes of different semantic distances to a target image, enabling the selection of a test suite that is both diverse and reasonable. Compared with other testing techniques, e.g., random sampling, nearest neighbors, or other sampled test suites by visual-language models (VLMs), our method achieved a superior balance between diversity and consistency of human annotations, thereby enhancing the reliability and comprehensiveness of background invariance testing.

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

↑