An Embedding is Worth a Thousand Noisy Labels
Francesco Di Salvo, Sebastian Doerrich, Ines Rieger, Christian Ledig
TL;DR
This work tackles the persistent problem of noisy labels by shifting to an embedding-space, training-free approach. It introduces WANN, a Weighted Adaptive Nearest Neighbor method that uses a reliability score $\eta$ to adapt the neighborhood size via $k_T = \frac{1}{\eta}$ with $k_{\min}=11$ and $k_{\max}=51$, weighting neighbors accordingly, and complements this with Filtered LDA (FLDA) for robust dimensionality reduction. The method leverages foundation-model embeddings (notably $DINOv2$ Large, 1024-d) to achieve strong robustness across diverse noise types and data regimes, often outperforming robust losses while enabling 10x–100x embedding-size reductions for efficiency. Its explainable neighborhood-based predictions and demonstrated cross-domain generalization—into medical data and long-tailed distributions—highlight its practical potential as a scalable, robust alternative to heavy neural network training in noisy-label settings.
Abstract
The performance of deep neural networks scales with dataset size and label quality, rendering the efficient mitigation of low-quality data annotations crucial for building robust and cost-effective systems. Existing strategies to address label noise exhibit severe limitations due to computational complexity and application dependency. In this work, we propose WANN, a Weighted Adaptive Nearest Neighbor approach that builds on self-supervised feature representations obtained from foundation models. To guide the weighted voting scheme, we introduce a reliability score $η$, which measures the likelihood of a data label being correct. WANN outperforms reference methods, including a linear layer trained with robust loss functions, on diverse datasets of varying size and under various noise types and severities. WANN also exhibits superior generalization on imbalanced data compared to both Adaptive-NNs (ANN) and fixed k-NNs. Furthermore, the proposed weighting scheme enhances supervised dimensionality reduction under noisy labels. This yields a significant boost in classification performance with 10x and 100x smaller image embeddings, minimizing latency and storage requirements. Our approach, emphasizing efficiency and explainability, emerges as a simple, robust solution to overcome inherent limitations of deep neural network training. The code is available at https://github.com/francescodisalvo05/wann-noisy-labels .
