Uncertainty-Aware Probabilistic Constrained Clustering from Entangled Pairwise Supervision

Shaojie Zhang, Ke ChenNeurIPS 2026

TL;DR

Clustering algorithms usually rely on clean, binary hints—like "these two data points definitely belong together"—which rarely exist in the messy real world. This paper tackles clustering when human supervision is a tangled mix of genuine data ambiguity, individual expert biases, and random clerical errors. By building a multi-stage framework that teases these factors apart, the authors recover clean underlying structures from deeply flawed, probabilistic hints.

What Problem Does This Paper Address?

Unsupervised clustering is great at finding structure in data, right up until the groups it finds don't match human domain knowledge. To steer the process, pairwise constrained clustering gives the model weak hints: pairs of items labeled as either "must-link" (same group) or "cannot-link" (different groups).

Here is the catch: real-world supervision is rarely binary or infallible. Imagine asking several doctors whether two clinical cases represent the same condition. A recorded similarity score of 0.7 might simultaneously reflect three entangled things:

  1. Intrinsic (aleatoric) ambiguity: The symptoms genuinely overlap (like a cold vs. the flu).
  2. Expert (epistemic) bias: A novice doctor systematically overrates similarity in unfamiliar cases.
  3. Stochastic corruption: Someone fat-fingered a keystroke during data entry.

Existing deep constrained clustering (DCC) methods treat soft, real-valued labels mostly as math tricks rather than meaningful probabilities, and they tend to absorb human biases and random noise straight into their learned geometry. The authors formalize this realistic, messy scenario as Uncertainty-Aware Probabilistic Constrained Clustering (UPCC) and ask: Can we untangle these three factors to learn the true underlying data relationships?

Methods

First, the authors prove mathematically when the true, expert-independent relationship is identifiable from tangled observations. Rather than trying to explicitly estimate every hidden variable in a complex statistical law from sparse data, they operationalize their theory into a two-part deep learning solution:

  • ProbPair (The Base Learner): Instead of forcing data into hard binary clusters early on, an encoder maps data onto a hypersphere (angular space). Cosine similarity between normalized embeddings is calibrated via a sigmoid readout to directly match continuous [0, 1] probabilities, paired with a standard reconstruction loss to preserve global data structure.
  • ECI-PP (Estimator–Corrector–Integrator ProbPair): Built on top of ProbPair, this iterative pipeline refines noisy supervision in three distinct roles:
Overview of the ECI-PP pipeline showing Estimators, Correctors, and the Integrator.
  1. Estimators: Deep networks easily memorize noise if evaluated on their own training data. So, the framework splits constraints into $K$ folds, training $K$ separate ProbPair models to generate clean, out-of-fold baseline beliefs about each pair. (Initially warmed up by weighting decisive labels near 0 or 1 more heavily).
  2. Correctors: Small, regularized, expert-specific networks look at the gap between an expert's label and the Estimator's belief (alongside pair features) to learn and subtract out each expert's predictable, systematic biases.
  3. Integrator: Whatever unexplained gap remains after bias correction is treated as a red flag for random corruption. The Integrator down-weights high-gap pairs, fuses the corrected labels with the original observations via a Bayesian-confidence formula, and learns a unified embedding. Its updated predictions loop back to the Estimators for a few rounds of progressive refinement before standard K-means produces the final clusters.

Datasets

The authors evaluate on eight standard benchmarks—six image datasets (CIFAR100-20, CIFAR10, FMNIST, ImageNet10, MNIST, STL10) and two text datasets (Reuters subset, RCV1-10)—spanning varied class counts and severe class imbalances.

To simulate UPCC without leaking ground-truth binary labels, they train imperfect "expert" classifiers on tiny data subsets or give multiple experts complementary category "blind spots," taking the inner product of predictive distributions as soft judgments before injecting uniform random noise. They also test on CIFAR-10H, which provides genuine human-derived probabilistic annotations.

Key Insights and Ideas

  • Out-of-fold cross-fitting is essential: Flexible pairwise representation learners act like sponges for bad labels. Ablating the cross-fitting step causes one of the sharpest performance drops, proving that holdout beliefs are critical before attempting bias correction.
  • Correct in probability space, not logit space: Even though the theoretical observation model defines expert bias in logit space, tiny probability shifts near 0 or 1 explode into massive logit residuals. Running the Correctors directly in bounded probability space keeps training stable.
  • Zero per-dataset hyperparameter tuning: ECI-PP uses a single global hyperparameter configuration across all image and text benchmarks, demonstrating that separating bias correction from corruption screening makes the system naturally resilient.

Key Results

Across 48 main test evaluations (8 datasets × 2 expert regimes × 3 metrics: ACC, NMI, ARI) with 9,000 constraints and a 30% random corruption rate, ECI-PP ranks first in 41/48 entries and top-two in 46/48.

Table 1: Comparative performance (%) (ACC, NMI, ARI) across datasets for external baselines and our progressive models (ProbPair, Weighted ProbPair, and ECI-PP) under lv0.01 and multi3 settings, with corruption probability 0.3 and 9k constraints. Blue and black represent training and test results, respectively. Best results are in bold, and second-best are underlined.
  • Single-expert (lv0.01): ECI-PP beats the strongest external baseline (SpherePair) by 4–10% absolute NMI across most benchmarks (e.g., jumping from 79.2% to 88.5% test NMI on ImageNet10).
  • Multi-expert with blind spots (multi3): The margin over SpherePair widens dramatically to 6–32% NMI (e.g., Reuters test NMI leaps from 37.2% to 68.7%).
  • Real human uncertainty: On CIFAR-10H, ProbPair-family models take the top spots across all metrics, with ECI-PP achieving 87.1% ACC and 75.3% ARI.
  • Caveat: On the heavily imbalanced RCV1-10 dataset, SpherePair retains the highest raw accuracy (71.4% vs. 68.9% in single-expert), though ECI-PP still wins on NMI and ARI, reflecting better overall grouping consistency.

Limitations and Future Work

The authors candidly note a gap between their exact math and their practical algorithm: the identifiability proof holds at the infinite-sample population level, whereas ECI-PP uses practical surrogates. Specifically, the reliability weight lumps residual expert uncertainty, random corruption, and model approximation errors into a single heuristic score rather than separating them cleanly. Future directions include separately modeling heteroscedastic expert variance and random corruption, designing richer pair descriptors for the Correctors, and establishing principled early-stopping criteria for the iterative refinement loop.

Summary updated

Abstract

Pairwise constrained clustering typically relies on hard must-link/cannot-link labels, whereas realistic pairwise supervision may be real-valued and entangle intrinsic ambiguity, expert judgment, and stochastic corruption. Existing deep constrained clustering (DCC) methods mainly target hard, expert-agnostic constraints, treating soft labels mostly numerically rather than semantically. We formalize this setting as uncertainty-aware probabilistic constrained clustering (UPCC), defining a canonical aleatoric relation through a heterogeneous observation process and analyzing its conditional identifiability. We introduce ProbPair, an angular pairwise objective for probabilistic relations, and build ECI-PP, an estimator--corrector--integrator framework that refines imperfect supervision via belief estimation, correction, and reliability-aware integration. Across challenging probabilistic supervision settings, experiments on diverse benchmarks show that ECI-PP outperforms state-of-the-art DCC methods and remains robust with a shared default configuration. Code is available at our [repository](https://github.com/ecipp/ECI-PP).
BibTeX
@inproceedings{zhang2026uncertainty,
  author = {Shaojie Zhang and Ke Chen},
  title = {{Uncertainty-Aware Probabilistic Constrained Clustering from Entangled Pairwise Supervision}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=EgwTOkzegp},
}
Figure