Quantifying Representation Reliability in Self-Supervised Learning Models
Young-Jin Park, Hao Wang, Shervin Ardeshir, Navid Azizan
TL;DR
The paper tackles the problem of quantifying reliability of self-supervised representations when downstream task data are unavailable or private. It introduces a formal definition of representation reliability based on downstream performance and shows standard supervised UQ tools cannot directly assess SSL representations. To estimate reliability without task labels, it develops Neighborhood Consistency (NC): an ensemble-based approach that aligns representation spaces via consistent neighbors across multiple embedding functions, quantified by NC$_k$(x*) = (1/$M^2$) sum_{i<j} Sim(k-NN_i(x*), k-NN_j(x*)). Through extensive experiments across CIFAR variants, transfer tasks, and model types (SimCLR, BYOL, MoCo), NC demonstrates robust correlation with actual downstream performance, enabling model ranking and reliability assessment in privacy-preserving settings. The work provides theoretical and empirical evidence that anchor-based alignment of representation spaces can bound downstream uncertainty, offering a practical tool for safer deployment of SSL foundation models.
Abstract
Self-supervised learning models extract general-purpose representations from data. Quantifying the reliability of these representations is crucial, as many downstream models rely on them as input for their own tasks. To this end, we introduce a formal definition of representation reliability: the representation for a given test point is considered to be reliable if the downstream models built on top of that representation can consistently generate accurate predictions for that test point. However, accessing downstream data to quantify the representation reliability is often infeasible or restricted due to privacy concerns. We propose an ensemble-based method for estimating the representation reliability without knowing the downstream tasks a priori. Our method is based on the concept of neighborhood consistency across distinct pre-trained representation spaces. The key insight is to find shared neighboring points as anchors to align these representation spaces before comparing them. We demonstrate through comprehensive numerical experiments that our method effectively captures the representation reliability with a high degree of correlation, achieving robust and favorable performance compared with baseline methods.
