Bayesian Active Clustering with Oracle Noise

Anri Patron, Collin Leiber, Kai PuolamäkiarXiv 2026

TL;DR

Clustering unlabeled data is notoriously subjective, so "active clustering" algorithms ask a human expert simple yes/no questions ("Do these two items belong together?") to steer the grouping toward something useful. The catch? Humans make mistakes, and existing algorithms usually require you to know the human's error rate or the exact number of clusters in advance. This paper introduces BACON, a Bayesian model that gracefully figures out the clusters, the number of clusters, and how clumsy the human is—all at the same time.

What Problem Does This Paper Address?

Unsupervised clustering (like $k$-means) relies purely on geometric distance, which doesn't always match how a human wants data organized. Fully supervised learning fixes this, but labeling thousands of items requires an established taxonomy and way too much coffee.

Active clustering hits a sweet spot: the algorithm looks at the data, picks the most confusing pairs of points, and asks a human "oracle" whether they belong in the same cluster (a must-link) or different clusters (a cannot-link).

However, human oracles are noisy—we misclick, get tired, or misinterpret ambiguous pairs. Because similarity is transitive (if A=B and B=C, then A=C), a single mistaken "must-link" can catastrophically merge two massive, unrelated clusters. Existing methods suffer from rigid trade-offs: they either assume humans are infallible, require you to guess the human's exact error rate upfront, force you to pre-specify the number of clusters ($k$), or completely ignore the underlying geometry of the data.

Methods

The authors propose BACON (Bayesian Active Clustering with Oracle Noise), a probabilistic model that unifies geometric intuition with healthy skepticism toward human input.

Fig. 1: Visual illustration of our BACON algorithm. Shapes denote the ground truth and colors the cluster labels; the last queried pair is annotated. The leftmost panel shows the situation before adjusting the model after the first constraint (an erroneous must-link). After 6 queries (rightmost panel) the errors were corrected by new evidence. The pink cluster was merged without being queried directly due to inferred cluster scale.

Here is what is under the hood:

  • The Geometric Prior (Standard, with a twist): BACON uses a distance-dependent Chinese Restaurant Process (dd-CRP). Instead of assigning points to cluster centers, every point links to another nearby point (restricted to its $\kappa$ nearest neighbors). Clusters emerge naturally as connected components in this graph, allowing BACON to trace out complex, non-spherical shapes (like moons or manifolds) and infer the number of clusters $k$ automatically.
  • The Noisy-Oracle Likelihood (Novel integration): Human answers are incorporated via a likelihood function governed by an unknown error rate $\epsilon$ (capped below 0.5, assuming the human isn't actively malicious). Crucially, BACON treats $\epsilon$ as a latent variable and infers it jointly alongside the clusters using Markov chain Monte Carlo (MCMC) sampling. If later evidence contradicts an earlier human answer, BACON can override the mistake.
  • Query Selection: To decide which pair to ask about next, BACON maximizes Expected Information Gain (how much an answer will reduce posterior uncertainty). Because the model assumes the oracle's error rate is uniform across all pairs, this fancy information-theoretic math neatly simplifies to uncertainty sampling: just ask about the pair whose "must-link" probability is closest to a 50/50 coin flip.
  • Scaling Up: Running MCMC over 70,000 points after every single question would take forever. For large datasets, BACON borrows a standard trick: pre-clustering the data with $k$-means into 50 compact "super-instances" and running active clustering on their representatives.

Datasets

No new benchmarks were introduced. The authors evaluated BACON on 16 established public datasets spanning three domains (ranging from $n = 100$ to $70,000$ samples, and $k = 2$ to $10$ clusters):

  • Tabular (10): Moons, Iris, Wine, BreastCancer, Dermatology, Ecoli, Glass, Parkinsons, Segmentation, and Waveform.
  • Text (3): BBCNews, BBCSports, and Reuters (TF-IDF features compressed to 10D via an autoencoder).
  • Image (3): Optdigits, USPS, and MNIST (also autoencoder-embedded to 10D).

Key Insights and Ideas

  • The probabilistic backbone does the heavy lifting: Even when you lobotomize BACON's active learning and force it to ask random questions (BACON-rand), it still beats existing state-of-the-art active methods on many datasets. Jointly modeling neighborhood geometry and noise tolerance is remarkably powerful on its own.
  • Guessing the error rate hurts: In ablation tests (with a true oracle error rate of 10%), hardcoding a slightly optimistic error rate (1%) caused overconfidence that hurt later performance, while a pessimistic rate (30%) wasted early queries. Inferring $\epsilon$ on the fly performed just as well as magically knowing the exact true rate from the start.
  • Smart queries matter more as $k$ grows: When there are only 2 or 3 clusters, random questions work nearly as well as information-theoretic ones. Once you hit 5+ clusters, active uncertainty sampling pulls clearly ahead.

Key Results

Tested across 0%, 10%, and 20% simulated oracle error rates (up to 100 queries), BACON achieved the #1 average rank across all query budgets and noise levels against competitors COBRAS, NCOBRAS (even when NCOBRAS was handed the true error rate!), and Active Correlation Clustering (ACC).

Fig. 3: Average ranking across datasets and repeats (lower is better).
  • At a 10% error rate after 100 queries, BACON scored 0.83 Adjusted Rand Index (ARI, where 1.0 is perfect) on MNIST, crushing COBRAS (0.45), NCOBRAS (0.11), and ACC (0.69).
  • On 13 of the 16 datasets, BACON landed within 0.05 ARI of the theoretical ceiling allowed by the 50 super-instances.
  • Super-instance compression slashed runtime for 100 queries on the Wine dataset from ~54 minutes (uncompressed) down to 2.5 minutes.

Limitations and Future Work

  • Uniform noise assumption: BACON assumes the oracle is equally clumsy everywhere. In reality, humans rarely mess up obvious pairs and make lots of mistakes near fuzzy cluster boundaries. Modeling pair-specific error rates is an open challenge.
  • Irreversible compression: If the initial $k$-means step accidentally lumps two different classes into the same super-instance, BACON has no mechanism to split them apart later (which capped its accuracy on messy datasets like Glass and Waveform). Adding a super-instance splitting step is a key next step.
  • Speed vs. heuristics: Resampling via MCMC after every query takes ~1.5 seconds per query—totally fine when waiting on a human, though noticeably slower than heuristic methods like COBRAS (0.005s/query). Future work could explore batching queries or looking multiple steps ahead (non-myopic selection).

Summary updated

BibTeX
@misc{patron2026bayesian,
  author = {Anri Patron and Collin Leiber and Kai Puolamäki},
  title = {{Bayesian Active Clustering with Oracle Noise}},
  year = {2026},
  eprint = {2611.36003},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36003},
}
Figure