提出连续干扰基准,更真实评估图像分类模型在现实场景中的鲁棒性。
CNS-Bench: Benchmarking Image Classifier Robustness Under Continuous Nuisance Shifts
- 用扩散模型加LoRA适配器生成连续变化的干扰图像。
- 在40多个模型上测试发现,不同干扰下排名会变化,且能定位失败点。
- 适合研究模型鲁棒性或需要真实场景测试的研究者使用。
将计算机视觉模型应用于真实世界时,评估其在分布外(OOD)场景下的性能至关重要。尽管常用简单合成扰动测试鲁棒性,但往往无法捕捉真实世界的干扰变化。近期虽有利用扩散模型生成图像进行基准测试,但仅限于二元干扰。本文提出CNS-Bench,一个用于量化图像分类器在连续、真实生成干扰下的分布外鲁棒性的基准。通过在扩散模型中应用LoRA适配器,可生成具有连续严重程度的多种干扰。为解决生成失败问题,提出一种过滤机制,优于以往方法,实现可靠基准测试。基于该基准,对40余种分类器在多种干扰下进行大规模评估。结果表明,模型排名随干扰类型与强度变化而改变,传统二元干扰无法捕捉此现象;同时,连续尺度评估可识别模型失效点,提供更细致的鲁棒性理解。
原文摘要 · Abstract (English)
An important challenge when using computer vision models in the real world is to evaluate their performance in potential out-of-distribution (OOD) scenarios. While simple synthetic corruptions are commonly applied to test OOD robustness, they often fail to capture nuisance shifts that occur in the real world. Recently, diffusion models have been applied to generate realistic images for benchmarking, but they are restricted to binary nuisance shifts. In this work, we introduce CNS-Bench, a Continuous Nuisance Shift Benchmark to quantify OOD robustness of image classifiers for continuous and realistic generative nuisance shifts. CNS-Bench allows generating a wide range of individual nuisance shifts in continuous severities by applying LoRA adapters to diffusion models. To address failure cases, we propose a filtering mechanism that outperforms previous methods, thereby enabling reliable benchmarking with generative models. With the proposed benchmark, we perform a large-scale study to evaluate the robustness of more than 40 classifiers under various nuisance shifts. Through carefully designed comparisons and analyses, we find that model rankings can change for varying shifts and shift scales, which cannot be captured when applying common binary shifts. Additionally, we show that evaluating the model performance on a continuous scale allows the identification of model failure points, providing a more nuanced understanding of model robustness. Project page including code and data: https://genintel.github.io/CNS.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。