When Do Cosine Prototypes Mislead? A Whitening-Aware Benchmark for Frozen-Feature Image Classification
Jian Ding, Su Yang
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Out-Distribution Detection Methods · Type: benchmark or dataset · Keywords: cosine prototypes, whitening-aware evaluation, benchmark, frozen-feature classification, spectral decision gap, model selection
Areas: Evaluation & Benchmarks › Model Capability Diagnostics › Out-of-Distribution Detection; Evaluation Methodology & Auditing › Interpretability and Explanation Quality › Evaluation metrics
Summary
The paper introduces the Spectral Decision Gap (SDG), a whitening-aware benchmark and audit protocol that reveals when cosine prototypes mislead model selection in frozen-feature image classification.
Explained to a 5-year-old
We look at pictures that a computer has already learned about. The computer uses a simple rule to decide which picture belongs to which group. Sometimes this rule is not enough, and the computer picks the wrong group. The paper creates a new way to check if the simple rule is trustworthy, by comparing it to a smarter rule that looks at more details. It gives tools so others can see when the simple rule might be wrong.
Explained to a 5-year-old, longer
Imagine you have a bunch of toy animals and a robot that has seen many pictures of them. The robot decides which animal a new picture shows by checking the angles of the picture. This angle check works most of the time, but sometimes it makes mistakes because it ignores other important details. The researchers noticed that the robot’s angle check can pick the wrong animal, especially when the animals look similar. They created a new test that compares the robot’s angle check with a more careful check that looks at extra details. This new test helps us know when we can trust the robot’s simple angle rule and when we need to use the smarter check. They also made a set of tools so anyone can run this test and see if the robot’s decisions are reliable.
For a technical reader
The work shows that relying solely on cosine similarity for evaluating frozen feature classifiers can lead to incorrect model rankings. It proposes a whitening-aware benchmark that measures the gap between cosine and a more robust evaluator, identifies spectral directions where class information is lost, and provides a leave-one-dataset protocol to predict when cosine conclusions are trustworthy. The paper includes an audit protocol and artifacts for reproducibility.
Problem
When using frozen-feature image classifiers, the default cosine nearest-class-mean evaluation assumes raw angular geometry suffices for reliable benchmark conclusions, but this assumption can lead to incorrect model rankings and suboptimal selections.
Method
The approach quantifies the gap between raw cosine nearest-class-mean and whitening-aware reference evaluators across multiple datasets and backbones, identifies low-variance spectral directions where class-discriminative signal appears, and proposes a leave-one-dataset protocol to predict when cosine conclusions are reliable.
Results
Across nine datasets and six backbones, cosine-only evaluation misranks the top backbone on two datasets and incurs up to 37.63 percentage points of error compared to whitening-aware evaluation; a leave-one-dataset protocol predicts this disagreement with Pearson r=0.752 and adds only 0.56pp routing regret.
Contributions
The paper introduces a metric to quantify the discrepancy between raw cosine evaluation and whitening-aware evaluation, provides an audit protocol and artifact suite for detecting and predicting when cosine prototype conclusions are unreliable, and evaluates this across multiple datasets and backbones.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction