Enabling out-of-distribution (OOD) detection for DNNs is critical for their safe and reliable operation in the "open world". Unfortunately, current works in both methodology and evaluation focus on rather contrived detection problems, and only consider a coarse level of granularity w.r.t.: 1) the in-distribution (ID) classes, and 2) the OOD data's "closeness" to the ID data. We posit that such settings may be poor approximations of many real-world tasks that are naturally fine-grained (e.g., bird species classification), and thus the reported detection abilities may be over-estimates. Differently, in this work we make granularity a top priority and focus on fine-grained OOD detection. We start by carefully constructing five novel fine-grained test environments in which existing methods are shown to have difficulties. We then propose a new DNN training algorithm, Mixup Outlier Exposure (MixupOE), which leverages an outlier distribution and principles from vicinal risk minimization. Finally, we perform extensive experiments and analyses in our custom test environments and demonstrate that MixupOE can consistently improve fine-grained detection performance, establishing a strong baseline in these more realistic and challenging OOD detection settings.
翻译:不幸的是,目前的方法和评价工作都侧重于相当巧妙的检测问题,而只考虑颗粒颗粒浓度的粗粗水平:1)分配(ID)级,2)OOOD数据对ID数据的“接近度”。我们认为,这种环境对于许多自然细化(如鸟类物种分类)的真实世界任务来说可能是差的近似值,因此报告的检测能力可能过高。不同的是,我们在工作中把颗粒度作为重度检测问题的首要优先事项和重点,并且只考虑微粒浓度的OOOD检测。我们首先仔细建造五种新的微粒测试环境,显示现有方法有困难。我们然后提出一个新的DNNN培训算法,即混合外部接触(Mixup OE),利用外延值分布和原则来尽量减少病毒风险。最后,我们在客户测试环境中进行广泛的实验和分析,不断提高ODO的稳定性,并展示这些测试环境的可靠性。