Sample Selection via Contrastive Fragmentation for Noisy Label Regression

Chris Dongjoo Kim, Sangwoo Moon, Jihwan Moon, Dongyeon Woo, Gunhee Kim

Abstract

As with many other problems, real-world regression is plagued by the presence of noisy labels, an inevitable issue that demands our attention. Fortunately, much real-world data often exhibits an intrinsic property of continuously ordered correlations between labels and features, where data points with similar labels are also represented with closely related features. In response, we propose a novel approach named ConFrag, where we collectively model the regression data by transforming them into disjoint yet contrasting fragmentation pairs. This enables the training of more distinctive representations, enhancing the ability to select clean samples. Our ConFrag framework leverages a mixture of neighboring fragments to discern noisy labels through neighborhood agreement among expert feature extractors. We extensively perform experiments on six newly curated benchmark datasets of diverse domains, including age prediction, price prediction, and music production year estimation. We also introduce a metric called Error Residual Ratio (ERR) to better account for varying degrees of label noise. Our approach consistently outperforms fourteen state-of-the-art baselines, being robust against symmetric and random Gaussian label noise.

1. Introduction

Learning with noisy labels is a well-studied challenge in classification but remains significantly underdeveloped for regression tasks. In real-world scenarios, continuous labels—such as age, price, or time—are frequently corrupted by noise from sources like sensor errors or human inaccuracies. Regression is inherently more sensitive to such noise because deviations are continuous rather than categorical. Standard approaches often rely on the "small loss assumption," which posits that clean samples exhibit lower loss. However, in regression, models easily overfit to continuous noise, causing this assumption to fail. Furthermore, common regression losses like Mean Squared Error (MSE) often yield inferior feature representations compared to the Cross-Entropy loss used in classification.

2. Methodology: Contrastive Fragmentation (ConFrag)

We propose ConFrag (Contrastive Fragmentation), a framework that treats noisy label regression as a sample selection problem by discretizing the label space and leveraging contrastive representation learning.

2.1 Fragmentation and Graph Construction

The continuous label space is first partitioned into $F$ disjoint, equal-length segments called "fragments." To model the relationships between these fragments, we construct a graph where each fragment is a node and edge weights $e_{ij}$ represent the distance between fragment centers.

Overview of the ConFrag framework, showing the progression from dataset partitioning to graphical modeling and final fragment matching.

2.2 Contrastive Fragment Pairing

A key innovation of ConFrag is the use of a graph-matching algorithm to identify "contrastive pairs"—pairs of fragments that are maximally distant in the label space. The intuition is that data points with vastly different labels should possess highly distinct features. By training on these distant pairs, we transform "closed-set" noise (noise within the training range) into "open-set" noise (outliers relative to a specific expert), which is significantly easier to detect.

The best perfect matching $\mathcal{P}$ identifies pairs with the largest minimal edge weights to maximize the contrastive signal during training.

2.3 Expert Training and Sample Selection

A small expert network is trained for each contrastive pair using a binary classification objective. To select clean samples, we employ a Mixture of Experts (MoE) approach based on "Neighborhood Agreement." A sample is considered clean if the experts associated with fragments near its observed label reach a consensus. Additionally, "Neighborhood Jittering" is used during training to prevent overfitting at fragment boundaries.

3. Experimental Evaluation

We evaluated ConFrag on six newly curated benchmark datasets: AFAD-B, IMDB-Clean-B, IMDB-WIKI-B, UTKFace-B (age), SHIFT15M-B (price), and MSD-B (year). These datasets were balanced to focus specifically on the challenges of label noise.

3.1 Performance and Robustness

ConFrag and its variant Co-ConFrag consistently outperformed 14 state-of-the-art baselines under both symmetric and random Gaussian noise. For instance, on the IMDB-Clean-B dataset with 40% symmetric noise, ConFrag achieved a Mean Relative Absolute Error (MRAE) of 12.64%, significantly better than the best baseline, C-Mixup (27.74%).

3.2 Error Residual Ratio (ERR)

We introduced the Error Residual Ratio (ERR) to normalize the error of selected samples against the dataset's average error. ConFrag achieved the lowest ERR across all tests, demonstrating its superior ability to select high-quality, clean subsets for training.

4. Discussion

Our analysis reveals that classification-based objectives (Cross-Entropy) are more effective than regression-based ones (MSE) for learning distinguishable features. Contrastive pairing further enhances this by reducing "prediction depth," allowing models to distinguish between labels in earlier layers. This approach effectively separates clean samples from noise by pushing noisy samples into the open-set region of the feature space.

5. Conclusion

ConFrag provides a robust framework for noisy label regression by transforming the problem into a series of contrastive classification tasks. While the current MoE architecture scales linearly with the number of fragments, future work will explore parameter-sharing and more efficient architectures to improve scalability and reduce redundancy.

Summary updated

BibTeX
@inproceedings{kim2024sample,
  author = {Chris Dongjoo Kim and Sangwoo Moon and Jihwan Moon and Dongyeon Woo and Gunhee Kim},
  title = {{Sample Selection via Contrastive Fragmentation for Noisy Label Regression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=GYd5AfZaor},
}
Figure