Confidence Difference Reflects Various Supervised Signals in Confidence-Difference Classification

Yuanchao Dai, Ximing Li, Changchun Li

TL;DR

Standard "confidence-difference" learning—where models learn from the gap in probability between two unlabeled examples—often fails when that gap is small and noisy. This paper introduces CRCR (Consistency Risk and Consistency Regularization), a method that partitions data by reliability and applies consistency regularization to noisy pairs, significantly boosting accuracy and robustness in weakly supervised classification.

What Problem Does This Paper Address?

In many real-world scenarios, getting a human expert to provide a "hard label" (e.g., "This image is definitely a 7") is expensive and prone to error. It is often much easier and more reliable to ask for a pairwise comparison: "Is image A more likely to be a 7 than image B, and by how much?" This is known as Confidence-Difference (ConfDiff) classification.

However, existing ConfDiff methods have a hidden flaw. When the confidence difference between two items is very small, the supervisory signal becomes "noisy." Standard algorithms try to force these two similar items into opposite classes to satisfy the mathematical requirements of the loss function. If the two items actually belong to the same class, this forces the model to learn incorrect patterns. The authors identify that these "weak signals" act as a form of noisy supervision that degrades model performance, especially in complex datasets.

The CRCR Method

The authors propose a two-pronged approach called CRCR to address this vulnerability:

  1. Data Partitioning: They split the pairwise dataset into two subsets based on a threshold ($\theta$).
  2. Reliable Set ($D^S$): Pairs with a large confidence difference. These provide a clear signal that the two items likely belong to different classes.
  3. Noisy Set ($D^C$): Pairs with a small confidence difference. These items are likely similar or belong to the same class.
  4. Consistency Risk and Regularization:
    • For the Reliable Set, they use a standard risk estimator that encourages the model to distinguish between the two items.
  5. For the Noisy Set, they introduce a Consistency Regularization term. Instead of trying to force these items apart, the model is encouraged to produce similar outputs for them. This prevents the model from over-fitting to the noise inherent in small probability differences.
  6. Empirical Risk Correction: To prevent the mathematical "risk" from becoming negative (a common stability issue in unbiased estimators), they apply correction functions like ABS (absolute value) or ReLU.

Datasets and Evaluation

The researchers evaluated their method on several standard machine learning benchmarks and real-world datasets, including computer vision benchmarks (MNIST, Fashion-MNIST, Kuzushiji-MNIST, and CIFAR-10) and UCI Machine Learning Repository datasets (Optdigits and Pendigits).

Dataset Characteristics

To test robustness, they also artificially added White Gaussian Noise (WGN) to the confidence signals to simulate the "judgment bias" humans might exhibit in real-world labeling tasks.

Key Insights and Ideas

  • The "Contrastive" Trap: The paper reveals that standard ConfDiff loss is inherently contrastive. While this is great for items that are different, it is toxic for items that are nearly identical. By identifying the $|c| = 0.5$ boundary as a point of failure, they provide a clear path to fixing weak supervision.
  • Stability through Regularization: Instead of treating every data point as a "ground truth" to be obeyed, CRCR treats low-confidence pairs as "hints" that the items should be treated similarly. This acts as a buffer against noise.
  • Theoretical Convergence: The authors don't just show empirical gains; they provide a formal proof of the estimation error bounds. They demonstrate that as the amount of data increases, the error of their CRCR estimator converges to the true classification risk.

Key Results

CRCR-ABS consistently outperformed state-of-the-art baselines (like Pcomp and standard ConfDiff) across almost all datasets.

Performance Comparison across Datasets and Noise Levels
  • Superior Accuracy: On MNIST, CRCR achieved ~96% accuracy compared to ~94% for the next best baseline.
  • Extreme Noise Robustness: The most impressive results appeared under high-noise conditions. Even when the noise ratio reached 100%, CRCR maintained stable and high accuracy, while traditional methods saw significant performance drops and increased variance.
  • Handling Imbalance: The method proved highly effective in "class-imbalanced" scenarios (where one class is much rarer than the other), a common headache in real-world applications.

Limitations and Future Work

  • Threshold Sensitivity: While the authors suggest a threshold of $\theta = 0.4$ for balanced data, the optimal value can vary. Finding a way to adaptively learn this threshold during training remains an open challenge.
  • Initial Classifier Quality: The method relies on an initial probabilistic classifier to generate the confidence differences. If this initial model is extremely poor, the quality of the "reliable" vs. "noisy" partitioning may suffer.
  • Complex Human Bias: While the authors used Gaussian noise to simulate human error, real human bias is often structured (e.g., confusing a '9' for a '4'). Future work could explore more sophisticated noise models that better mirror specific human cognitive biases.

Summary updated

BibTeX
@inproceedings{dai2025confidence,
  author = {Yuanchao Dai and Ximing Li and Changchun Li},
  title = {{Confidence Difference Reflects Various Supervised Signals in Confidence-Difference Classification}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=7dlzDUaOsY},
}
Figure