用于分类与异常检测的保形半监督随机森林
Conformalized Semi-supervised Random Forest for Classification and Abnormality Detection
AI总结:
本文提出 CSForest,将 Jackknife+aB 保形预测与半监督树集成结合,利用未标记测试样本生成集合预测并以空集检测新离群点,实验验证其在分布变化下的有效性。
摘要:
随机森林分类器是一种被广泛使用的现成分类工具,与其他标准分类器一样,它假设训练样本和测试样本来自同一分布。然而,在医疗诊断和网络攻击检测等安全关键场景中,训练集与测试集之间的差异,包括可能出现训练期间未曾见过的新颖离群样本,可能带来重大挑战。为解决这一问题,我们提出了保形半监督随机森林(Conformalized Semi-Supervised Random Forest,CSForest),它将保形化技术 Jackknife+aB 与半监督树集成相结合,以构建集合值预测 C(x)。CSForest 并非在训练分布上进行优化,而是利用未标记测试样本来提升准确性,并通过生成空集来标记未见离群点。理论上,我们证明了当测试数据中存在任意标签偏移时,CSForest 对先前观测到的内点类别的真实标签具有覆盖性。我们在测试域中不同类型的分布变化下,使用合成示例和多个真实世界数据集,将 CSForest 与最先进方法进行比较。结果突出表明,CSForest 能够有效预测内点,并能检测测试数据所特有的离群样本。此外,随着训练集和测试集规模变化,CSForest 表现出持续良好的性能。CSForest 的代码可在 https://github.com/yujinhan98/CSForest 获取。
英文摘要:
The Random Forests classifier, a widely utilized off-the-shelf classification tool, assumes training and test samples come from the same distribution as other standard classifiers. However, in safety-critical scenarios like medical diagnosis and network attack detection, discrepancies between the training and test sets, including the potential presence of novel outlier samples not appearing during training, can pose significant challenges. To address this problem, we introduce the Conformalized Semi-Supervised Random Forest (CSForest), which couples the conformalization technique Jackknife+aB with semi-supervised tree ensembles to construct a set-valued prediction $C(x)$. Instead of optimizing over the training distribution, CSForest employs unlabeled test samples to enhance accuracy and flag unseen outliers by generating an empty set. Theoretically, we establish CSForest to cover true labels for previously observed inlier classes under arbitrarily label-shift in the test data. We compare CSForest with state-of-the-art methods using synthetic examples and various real-world datasets, under different types of distribution changes in the test domain. Our results highlight CSForest's effective prediction of inliers and its ability to detect outlier samples unique to the test data. In addition, CSForest shows persistently good performance as the sizes of the training and test sets vary. Codes of CSForest are available at https://github.com/yujinhan98/CSForest.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。