[论文解读] Out-of-distribution Detection with Implicit Outlier Transformation
本论文介绍 Distributional-agnostic Outlier Exposure (DOE),一种最小-最大学习框架,通过对模型扰动进行隐式数据变换来合成最坏情况的 OOD 数据,以在未见分布上实现统一的 OOD 检测性能。
Outlier exposure (OE) is powerful in out-of-distribution (OOD) detection, enhancing detection capability via model fine-tuning with surrogate OOD data. However, surrogate data typically deviate from test OOD data. Thus, the performance of OE, when facing unseen OOD data, can be weakened. To address this issue, we propose a novel OE-based approach that makes the model perform well for unseen OOD situations, even for unseen OOD cases. It leads to a min-max learning scheme -- searching to synthesize OOD data that leads to worst judgments and learning from such OOD data for uniform performance in OOD detection. In our realization, these worst OOD data are synthesized by transforming original surrogate ones. Specifically, the associated transform functions are learned implicitly based on our novel insight that model perturbation leads to data transformation. Our methodology offers an efficient way of synthesizing OOD data, which can further benefit the detection model, besides the surrogate OOD data. We conduct extensive experiments under various OOD detection setups, demonstrating the effectiveness of our method against its advanced counterparts.
研究动机与目标
- 激发并解决标准离群暴露(OE)方法固有的 OOD 分布差距。
- 提出一种新颖的数据综合方法,利用模型扰动来隐式地将代理 OOD 数据转换为多样化、看似未见的 OOD 分布。
- 开发基于 WOR 的最小-最大学习目标,以确保在候选 OOD 分布上实现一致的 OOD 检测性能。
- 在 CIFAR-10、CIFAR-100 和 ImageNet 上对 DOE 进行实证验证,显示相对于最新基线(包括困难的 OOD 场景)的 OOD 检测性能提升。
提出的方法
- 提出隐式数据变换:对模型权重进行乘法扰动以隐式地变换数据分布(定理 1、命题 1、引理 1)。
- 定义 Worst OOD Regret(WOR)来衡量当前 OOD 性能与候选 OOD 集中最佳性能之间的差距。
- 将 DOE 公式化为对扰动最大化 WOR、对代理 OOD 数据的 OE 损失最小化的最小-最大目标。
- 使用带有 ID 与代理 OOD 小批量的随机实现;通过基于梯度的扰动来估计 WOR(方程 7–9)。
- 训练后采用 MaxLogit 评分进行 OOD 检测(方程 10)。
- 在 CIFAR 与 ImageNet 上与事后分析和微调基线进行比较,使用代理 OOD 数据(tinyImageNet / ImageNet-21K-P)。
实验结果
研究问题
- RQ1通过模型扰动进行的隐式数据变换能否生成有用的 OOD 数据,从而补充代理 OOD 数据?
- RQ2基于分布鲁棒、WOR 的学习目标是否能在未见 OOD 分布上相对于传统的 OE 和 DRO 方法实现统一的 OOD 检测提升?
- RQ3DOE 的增益在多样化基准(CIFAR-10、CIFAR-100、ImageNet)以及困难 OOD 场景中是否一致?
主要发现
- DOE 在 95% 真正身份率下降低假阳性率(FPR 95)并提升 AUROC,相较于 OE 及多种基线在常见 OOD 基准上。
- 在 CIFAR-10、CIFAR-100 和 ImageNet 上,相较于原始 OE,DOE 将 FPR95 分别降低 7.26%、20.30%、13.97%。
- 在困难的 OOD 检测设置中,DOE 获得更强的增益(例如在 LSUN-Fix、ImageNet-Resize、CIFAR-100 上 FPR95 分别降低 7.45%、7.75%、4.09%)。
- 消融研究表明隐式数据变换和基于 WOR 的学习都对 DOE 的性能有贡献,在广泛场景中优于标准 DRO 和对抗性训练基线。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。