Skip to main content

AUAAC: Area Under Accuracy-Accuracy Curve forĀ Evaluating Out-of-Distribution Detection

  • Conference paper
  • First Online:
Image and Video Technology (PSIVT 2023)

Abstract

Determining whether input data are out-of-distribution (OOD) is important for real-world applications of machine learning. Various approaches to OOD detection have been proposed, and there is a growing interest in evaluating their performance. A commonly employed approach for OOD detection is training the network model using an in-distribution (IND) task and then applying a threshold to the probability estimated of unknown data. However, current evaluation metrics only assess the OOD detection performance while neglecting the IND task performance. To address this issue, we propose new evaluation metrics for OOD detection. Our novel metric, the area under the accuracy-accuracy curve (AUAAC), is designed to simultaneously evaluate both the IND task and OOD detection performances. Specifically, it calculates the area under the accuracy-accuracy curve after estimating the accuracy of the IND task and OOD detection for all thresholds. Flaws within the training dataset, such as contaminated labels or inaccurate annotations, disturb the network in properly performing the IND task. Nevertheless, the network may distinguish whether new input data are in IND because it was priorly exposed to IND data and trained by their features. The proposed AUAAC can asses such malfunction while existing evaluation metrics overlook the performance of the IND task and cannot identify such issues.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Bibas, K., Feder, M., Hassner, T.: Single layer predictive normalized maximum likelihood for out-of-distribution detection. In: Advances in Neural Information Processing Systems, vol. 34, pp. 1179ā€“1191 (2021)

    Google ScholarĀ 

  2. Dhamija, A.R., GĆ¼nther, M., Boult, T.: Reducing network agnostophobia. In: Advances in Neural Information Processing Systems, vol. 31 (2018)

    Google ScholarĀ 

  3. Dong, X., Guo, J., Li, A., Ting, W.T., Liu, C., Kung, H.: Neural mean discrepancy for efficient out-of-distribution detection. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 19217ā€“19227 (2022)

    Google ScholarĀ 

  4. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770ā€“778 (2016)

    Google ScholarĀ 

  5. Hendrycks, D., Gimpel, K.: A baseline for detecting misclassified and out-of-distribution examples in neural networks. In: Proceedings of International Conference on Learning Representations (2017)

    Google ScholarĀ 

  6. Hendrycks, D., Mazeika, M., Dietterich, T.: Deep anomaly detection with outlier exposure. In: Proceedings of the International Conference on Learning Representations (2019)

    Google ScholarĀ 

  7. Huang, G., Liu, Z., Van Der Maaten, L., Weinberger, K.Q.: Densely connected convolutional networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4700ā€“4708 (2017)

    Google ScholarĀ 

  8. Katz-Samuels, J., Nakhleh, J.B., Nowak, R., Li, Y.: Training OOD detectors in their natural habitats. In: International Conference on Machine Learning, pp. 10848ā€“10865. PMLR (2022)

    Google ScholarĀ 

  9. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980 (2014)

  10. Kong, S., Ramanan, D.: OpenGAN: open-set recognition via open data generation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 813ā€“822 (2021)

    Google ScholarĀ 

  11. Krizhevsky, A., Hinton, G., et al.: Learning multiple layers of features from tiny images (2009)

    Google ScholarĀ 

  12. Le, Y., Yang, X.: Tiny imagenet visual recognition challenge. CS 231N 7(7), 3 (2015)

    Google ScholarĀ 

  13. Lee, K., Lee, H., Lee, K., Shin, J.: Training confidence-calibrated classifiers for detecting out-of-distribution samples. arXiv preprint arXiv:1711.09325 (2017)

  14. Liang, S., Li, Y., Srikant, R.: Enhancing the reliability of out-of-distribution image detection in neural networks. arXiv preprint arXiv:1706.02690 (2017)

  15. Liu, W., Wang, X., Owens, J., Li, Y.: Energy-based out-of-distribution detection. In: Advances in Neural Information Processing Systems, vol. 33, pp. 21464ā€“21475 (2020)

    Google ScholarĀ 

  16. Moller, F., Botache, D., Huseljic, D., Heidecker, F., Bieshaar, M., Sick, B.: Out-of-distribution detection and generation using soft Brownian offset sampling and autoencoders. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 46ā€“55 (2021)

    Google ScholarĀ 

  17. Netzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., Ng, A.Y.: Reading digits in natural images with unsupervised feature learning. In: NIPS Workshop on Deep Learning and Unsupervised Feature Learning 2011 (2011)

    Google ScholarĀ 

  18. Scherreik, M.D., Rigling, B.D.: Open set recognition for automatic target classification with rejection. IEEE Trans. Aerosp. Electron. Syst. 52(2), 632ā€“642 (2016)

    ArticleĀ  Google ScholarĀ 

  19. Sun, Y., Guo, C., Li, Y.: React: Out-of-distribution detection with rectified activations. In: Advances in Neural Information Processing Systems, vol. 34, pp. 144ā€“157 (2021)

    Google ScholarĀ 

  20. Sun, Y., Li, Y.: Dice: Leveraging sparsification for out-of-distribution detection. In: Avidan, S., Brostow, G., CissĆ©, M., Farinella, G.M., Hassner, T. (eds.) ECCV 2022. LNCS, vol. 13684, pp. 691ā€“708. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-20053-3_40

    ChapterĀ  Google ScholarĀ 

  21. Wang, Z., Xu, Q., Yang, Z., He, Y., Cao, X., Huang, Q.: OpenAUC: towards AUC-oriented open-set recognition. In: Advances in Neural Information Processing Systems, vol. 35, pp. 25033ā€“25045 (2022)

    Google ScholarĀ 

  22. Xu, P., Ehinger, K.A., Zhang, Y., Finkelstein, A., Kulkarni, S.R., Xiao, J.: Turkergaze: crowdsourcing saliency with webcam based eye tracking. arXiv preprint arXiv:1504.06755 (2015)

  23. Youden, W.J.: Index for rating diagnostic tests. Cancer 3(1), 32ā€“35 (1950)

    ArticleĀ  Google ScholarĀ 

  24. Yu, F., Seff, A., Zhang, Y., Song, S., Funkhouser, T., Xiao, J.: LSUN: construction of a large-scale image dataset using deep learning with humans in the loop. arXiv preprint arXiv:1506.03365 (2015)

  25. Yu, Q., Aizawa, K.: Unsupervised out-of-distribution detection by maximum classifier discrepancy. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9518ā€“9526 (2019)

    Google ScholarĀ 

Download references

Acknowledgment

This work was supported by JSPS KAKENHI Grant Number JP23K19985.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wonjik Kim .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kim, W., Tanaka, M., Okutomi, M. (2024). AUAAC: Area Under Accuracy-Accuracy Curve forĀ Evaluating Out-of-Distribution Detection. In: Yan, W.Q., Nguyen, M., Nand, P., Li, X. (eds) Image and Video Technology. PSIVT 2023. Lecture Notes in Computer Science, vol 14403. Springer, Singapore. https://doi.org/10.1007/978-981-97-0376-0_4

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-0376-0_4

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-0375-3

  • Online ISBN: 978-981-97-0376-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics