Skip to main content
QUICK REVIEW

[论文解读] Class Imbalance in Anomaly Detection: Learning from an Exactly Solvable Model

Francesco Saverio Pezzicoli, Vutha Ros|ArXiv.org|Jan 20, 2025
Anomaly Detection Techniques and ApplicationsComputer Science被引用 3
一句话总结

论文利用一个精确的师生球面感知机模型建立理论框架,以分析异常/离群不平衡(ADI),并展示最佳训练不平衡通常不是50%,其性能取决于内在不平衡、数据丰富度与学习噪声。

ABSTRACT

Class imbalance (CI) is a longstanding problem in machine learning, slowing down training and reducing performances. Although empirical remedies exist, it is often unclear which ones work best and when, due to the lack of an overarching theory. We address a common case of imbalance, that of anomaly (or outlier) detection. We provide a theoretical framework to analyze, interpret and address CI. It is based on an exact solution of the teacher-student perceptron model, through replica theory. Within this framework, one can distinguish several sources of CI: either intrinsic, train or test imbalance. Our analysis reveals that the optimal train imbalance is generally different from 50%, with a non trivial dependence on the intrinsic imbalance, the abundance of data and on the noise in the learning. Moreover, there is a crossover between a small noise training regime where results are independent of the noise level to a high noise regime where performances quickly degrade with noise. Our results challenge some of the conventional wisdom on CI and offer practical guidelines to address it.

研究动机与目标

  • 澄清内在不平衡、训练不平衡和测试不平衡(rho_0、rho_train、rho_test)如何共同影响异常检测性能。
  • 提供一个精确解析框架,通过带复制理论的师生感知机解释ADI中的类别不平衡。
  • 识别在ADI下哪些性能指标最能反映模型质量,以及它们与内在不平衡和训练条件的关系。
  • 证明普遍认为的rho_train = 0.5是最优的观点并非普遍有效,并给出在何种条件下不同的rho_train更可取。

提出的方法

  • 使用一个解析可解的修改版师生球面感知机,带有不平衡参数rho_train来建模ADI。
  • 将数据建模为高斯分布的输入,植入教师,通过带平方损失的经验风险最小化进行学习。
  • 通过内在rho_0(教师偏置b0)和测试不平衡rho_test处理不平衡,通过复制理论推导自洽的序参量方程(R、b等)。
  • 将泛化指标表示为训练与测试度量的平均值,并以教师-学生重叠R和学习得到的偏置b来表达性能。
  • 分析学习动态中的能量-熵关系,以解释在某些rho_train取值下为何能获得与教师更好的一致性。

实验结果

研究问题

  • RQ1内在不平衡(rho_0)、训练不平衡(rho_train)和测试不平衡(rho_test)如何共同影响异常检测中的学习与性能?
  • RQ2最大化与教师重叠R的最优rho_train是什么,以及它如何依赖数据丰富度(alpha)和学习噪声(T)?
  • RQ3哪些性能指标最能反映ADI下的模型质量,以及它们如何与R和b相关?
  • RQ4异常信息的内容(信息性样本)以及教师边界的几何结构如何影响ADI下的学习?

主要发现

  • 最大化师生重叠R的最优训练不平衡rho_train*通常并非0.5,并且取决于内在不平衡rho_0、数据丰富度alpha和噪声T。
  • 在某些情况下,使用更高的rho_train(>0.5)可以获得更好的平衡准确率a_bal,特别是当异常在决策边界附近更具信息性时。
  • 存在一个低噪声区间,性能对确切噪声水平不敏感;而在高噪声区间,性能会迅速下降,并且取决于rho_train以反映未观测的内在不平衡。
  • 平衡准确率a_bal最好地跟踪教师重叠R,而精度p最好地跟踪学习到的偏置b,表明不同指标在ADI下反映模型质量的不同方面。
  • 研究显示存在能量-熵的相互作用:在某些rho_train下存在许多高偏置解(熵优势),若未仔细选择rho_train,模型可能偏离真实教师。
  • 对SGD样式动力学的实验以及在带ML模型的AD CIFAR-10上的实验验证了来自解析师生框架的理论洞见。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。