现有开放集测试时自适应方法难以同时提升已知与未知类识别准确率。
A Closer Look at In-Distribution vs. Out-of-Distribution Accuracy for Open-Set Test-time Adaptation
- 用sigmoid替代softmax,探索更优的未知类检测机制
- 在CIFAR-10-C和ImageNet-C上发现当前方法对未知数据过滤不彻底
- 揭示了已知类准确率与未知类拒绝能力之间的根本矛盾
开放集测试时自适应(TTA)在输入分布变化和未知类别存在时更新模型。尽管近期方法提升了已知类的在分布(InD)准确率,但其对分布外(OOD)未知类的检测能力仍缺乏系统评估。本文在小规模的CIFAR-10-C和大规模的ImageNet-C上基准测试了多种鲁棒且开放集型的TTA方法(SAR、OSTTA、UniEnt、SoTTA)。对于CIFAR-10-C,使用经过污染的SVHN-C和CIFAR-100-C作为OOD数据;对于ImageNet-C,使用污染后的ImageNet-O-C和Textures-C。其中ImageNet-O包含与ImageNet相关但未知的类别(如‘大蒜面包’与‘热狗’),Textures则为非物体模式(如‘裂纹泥土’、‘多孔海绵’)。实验评估了各类方法在InD与OOD识别上的准确率与置信度。验证了各方法自身OOD检测技术在CIFAR-10-C上的有效性,并在ImageNet-C上报告准确率及标准的OOD检测指标。进一步考察了更现实的场景,即未知数据比例与出现速率可变的情况。为探究InD识别与OOD拒识间的权衡,提出新基线:将softmax输出替换为sigmoid多标签输出。分析首次表明,当前开放集TTA方法难以平衡InD与OOD准确率,且其自身适配更新中对未知数据的过滤并不完善。
原文摘要 · Abstract (English)
Open-set test-time adaptation (TTA) updates models on new data in the presence of input shifts and unknown output classes. While recent methods have made progress on improving in-distribution (InD) accuracy for known classes, their ability to accurately detect out-of-distribution (OOD) unknown classes remains underexplored. We benchmark robust and open-set TTA methods (SAR, OSTTA, UniEnt, and SoTTA) on the standard corruption benchmarks of CIFAR-10-C at the small scale and ImageNet-C at the large scale. For CIFAR-10-C, we use OOD data from SVHN and CIFAR-100 in their respective corrupted forms of SVHN-C and CIFAR-100-C. For ImageNet-C, we use OOD data from ImageNet-O and Textures in their respective corrupted forms of ImageNet-O-C and Textures-C. ImageNet-O is nearer to ImageNet, as unknown but related object classes (like ''garlic bread'' vs. ''hot dog'' for food, or ''highway'' vs. ''dam'' for infrastructure), while Textures is farther from ImageNet, as non-object patterns (like ''cracked'' mud, ''porous'' sponge, ''veined'' leaves). We evaluate the accuracy and confidence of TTA methods for InD vs. OOD recognition on CIFAR-10-C and ImageNet-C. We verify the accuracy of each method's own OOD detection technique on CIFAR-10-C. We also evaluate on ImageNet-C and report both accuracy and standard OOD detection metrics. We further examine more realistic settings, in which the proportions and rates of OOD data can vary. To explore the trade-off between InD recognition and OOD rejection, we propose a new baseline that replaces softmax/multi-class output with sigmoid/multi-label output. Our analysis shows for the first time that current open-set TTA methods struggle to balance InD and OOD accuracy and that they only imperfectly filter OOD data for their own adaptation updates.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。