Saved in:
Bibliographic Details
Main Authors: Liu, Yuchi, Sun, Yifan, Wang, Jingdong, Zheng, Liang
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.09257
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917693031972864
author Liu, Yuchi
Sun, Yifan
Wang, Jingdong
Zheng, Liang
author_facet Liu, Yuchi
Sun, Yifan
Wang, Jingdong
Zheng, Liang
contents This paper evaluates the generalization ability of classification models on out-of-distribution test sets without depending on ground truth labels. Common approaches often calculate an unsupervised metric related to a specific model property, like confidence or invariance, which correlates with out-of-distribution accuracy. However, these metrics are typically computed for each test sample individually, leading to potential issues caused by spurious model responses, such as overly high or low confidence. To tackle this challenge, we propose incorporating responses from neighboring test samples into the correctness assessment of each individual sample. In essence, if a model consistently demonstrates high correctness scores for nearby samples, it increases the likelihood of correctly predicting the target sample, and vice versa. The resulting scores are then averaged across all test samples to provide a holistic indication of model accuracy. Developed under the vicinal risk formulation, this approach, named vicinal risk proxy (VRP), computes accuracy without relying on labels. We show that applying the VRP method to existing generalization indicators, such as average confidence and effective invariance, consistently improves over these baselines both methodologically and experimentally. This yields a stronger correlation with model accuracy, especially on challenging out-of-distribution test sets.
format Preprint
id arxiv_https___arxiv_org_abs_2406_09257
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Assessing Model Generalization in Vicinity
Liu, Yuchi
Sun, Yifan
Wang, Jingdong
Zheng, Liang
Machine Learning
Computer Vision and Pattern Recognition
This paper evaluates the generalization ability of classification models on out-of-distribution test sets without depending on ground truth labels. Common approaches often calculate an unsupervised metric related to a specific model property, like confidence or invariance, which correlates with out-of-distribution accuracy. However, these metrics are typically computed for each test sample individually, leading to potential issues caused by spurious model responses, such as overly high or low confidence. To tackle this challenge, we propose incorporating responses from neighboring test samples into the correctness assessment of each individual sample. In essence, if a model consistently demonstrates high correctness scores for nearby samples, it increases the likelihood of correctly predicting the target sample, and vice versa. The resulting scores are then averaged across all test samples to provide a holistic indication of model accuracy. Developed under the vicinal risk formulation, this approach, named vicinal risk proxy (VRP), computes accuracy without relying on labels. We show that applying the VRP method to existing generalization indicators, such as average confidence and effective invariance, consistently improves over these baselines both methodologically and experimentally. This yields a stronger correlation with model accuracy, especially on challenging out-of-distribution test sets.
title Assessing Model Generalization in Vicinity
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.09257