Saved in:
Bibliographic Details
Main Authors: Xie, Renchunzi, Odonnat, Ambroise, Feofanov, Vasilii, Deng, Weijian, Zhang, Jianfeng, An, Bo
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.18979
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910711685316608
author Xie, Renchunzi
Odonnat, Ambroise
Feofanov, Vasilii
Deng, Weijian
Zhang, Jianfeng
An, Bo
author_facet Xie, Renchunzi
Odonnat, Ambroise
Feofanov, Vasilii
Deng, Weijian
Zhang, Jianfeng
An, Bo
contents Leveraging the models' outputs, specifically the logits, is a common approach to estimating the test accuracy of a pre-trained neural network on out-of-distribution (OOD) samples without requiring access to the corresponding ground truth labels. Despite their ease of implementation and computational efficiency, current logit-based methods are vulnerable to overconfidence issues, leading to prediction bias, especially under the natural shift. In this work, we first study the relationship between logits and generalization performance from the view of low-density separation assumption. Our findings motivate our proposed method MaNo which (1) applies a data-dependent normalization on the logits to reduce prediction bias, and (2) takes the $L_p$ norm of the matrix of normalized logits as the estimation score. Our theoretical analysis highlights the connection between the provided score and the model's uncertainty. We conduct an extensive empirical study on common unsupervised accuracy estimation benchmarks and demonstrate that MaNo achieves state-of-the-art performance across various architectures in the presence of synthetic, natural, or subpopulation shifts. The code is available at \url{https://github.com/Renchunzi-Xie/MaNo}.
format Preprint
id arxiv_https___arxiv_org_abs_2405_18979
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MANO: Exploiting Matrix Norm for Unsupervised Accuracy Estimation Under Distribution Shifts
Xie, Renchunzi
Odonnat, Ambroise
Feofanov, Vasilii
Deng, Weijian
Zhang, Jianfeng
An, Bo
Machine Learning
Leveraging the models' outputs, specifically the logits, is a common approach to estimating the test accuracy of a pre-trained neural network on out-of-distribution (OOD) samples without requiring access to the corresponding ground truth labels. Despite their ease of implementation and computational efficiency, current logit-based methods are vulnerable to overconfidence issues, leading to prediction bias, especially under the natural shift. In this work, we first study the relationship between logits and generalization performance from the view of low-density separation assumption. Our findings motivate our proposed method MaNo which (1) applies a data-dependent normalization on the logits to reduce prediction bias, and (2) takes the $L_p$ norm of the matrix of normalized logits as the estimation score. Our theoretical analysis highlights the connection between the provided score and the model's uncertainty. We conduct an extensive empirical study on common unsupervised accuracy estimation benchmarks and demonstrate that MaNo achieves state-of-the-art performance across various architectures in the presence of synthetic, natural, or subpopulation shifts. The code is available at \url{https://github.com/Renchunzi-Xie/MaNo}.
title MANO: Exploiting Matrix Norm for Unsupervised Accuracy Estimation Under Distribution Shifts
topic Machine Learning
url https://arxiv.org/abs/2405.18979