Combining Human Predictions with Model Probabilities via Confusion Matrices and Calibration

Gavin Kerrigan, Padhraic Smyth, Mark Steyvers

TL;DR

This paper introduces a simple, label-efficient Bayesian method to combine hard categorical labels from human annotators with calibrated probabilistic predictions from machine learning models. By modeling the human's reliability via a confusion matrix and calibrating model confidences via temperature scaling, the hybrid system consistently outperforms both the model and the human alone—often requiring as few as 10 labeled examples to fit.

What Problem Does This Paper Address?

In high-stakes domains like clinical radiology or content moderation, hybrid human-AI teams often outperform fully autonomous systems or unassisted humans. However, humans and machines communicate uncertainty very differently:

  • Humans typically output discrete categorical decisions (a hard label). Asking humans for calibrated numeric probabilities is cognitively demanding and unreliable.
  • Machine learning models natively output probability distributions over classes, but these probabilities are notoriously miscalibrated (e.g., modern deep neural networks tend to be wildly overconfident).

Most ensemble techniques either combine categorical votes (majority voting, which cannot beat the best predictor when $N=2$) or average soft probability distributions. This paper addresses how to mathematically fuse instance-level continuous probabilities from a classifier with class-level categorical labels from a human in a data-efficient manner.

Methods

The authors employ a Bayesian framework under a Conditional Independence (CI) assumption: given the true class $y$, the human prediction $h(x)$ and the model output $m(x)$ are conditionally independent.

Using Bayes' rule, the posterior probability of class $j$ is: $$p(y = j \mid h(x) = i, m(x)) \propto \phi_{ij} \cdot m_j^\theta(x)$$ where:

  1. $\phi_{ij} = p(h(x) = i \mid y = j)$ is the human's $K \times K$ confusion matrix. To avoid high variance when data is scarce, the authors place an informative, diagonally dominant Dirichlet prior over each column of $\phi$, centered on the classifier’s training accuracy.
  2. $m^\theta(x)$ is the model's predictive distribution, calibrated post-hoc via Maximum A Posteriori (MAP) temperature scaling with a log-normal prior on temperature $T$.
  3. Unsupervised EM Variant ($P+L\text{-EM}$): When ground-truth labels are absent, the authors treat the true label $y$ as a latent variable and use Expectation-Maximization to jointly learn calibration parameters and confusion matrix entries directly from unlabelled paired predictions.

Datasets

The authors evaluate their framework on two vision benchmarks featuring human annotation data:

  • CIFAR-10H: 10-way image classifications for 10,000 images from the standard CIFAR-10 test set, annotated by crowd workers on Amazon Mechanical Turk. Evaluated with ResNet-110, ResNet-164, PreResNet-164, and DenseNet-BC.
  • ImageNet-16H: 16-way classifications for ImageNet test images degraded by phase noise across four difficulty levels (noise levels 80, 95, 110, and 125), annotated via Mechanical Turk. Evaluated with VGG-19 and GoogLeNet architectures.

Key Insights and Ideas

  • Confidence Ratios Dictate Team Accuracy: The authors define the confidence ratio as the odds of being correct, $r(x) = \frac{p(y)}{1 - p(y)}$. Theorem 1 proves that the combination is correct whenever the model’s confidence ratio exceeds the inverse of the human's confidence ratio: $$\mathbb{E}[\mathbf{1}(c(x) = y)] \ge p\left(r_m(x) \ge r_h(x)^{-1}\right)$$
  • Identical Accuracy $\ne$ Identical Utility: Two models with identical classification accuracy can produce radically different hybrid performance depending on their calibration. Overconfident models drown out human predictions, while underconfident models surrender too easily. Temperature scaling aligns the model's confidence ratio distribution with reality, maximizing team performance.
  • Diversity is Essential: When pairing two neural networks (probabilistic + non-probabilistic), the combination rarely beats the better model. Human-machine pairings succeed because humans and neural networks make fundamentally different, complementary mistakes.
  • Extreme Label Efficiency: Because of the Bayesian Dirichlet and temperature priors, the supervised combination method reaches near-optimal performance with as few as 10 labeled samples.

Key Results

  • Significant Error Reductions:
  • On CIFAR-10H with ResNet-164: Classifier alone achieves 6.10% error, human alone achieves 4.62% error, while the P+L combination drops the error to 2.85%.
  • On ImageNet-16H (noise level 80) with VGG-19: Classifier error is 11.1%, human error is 9.99%, and the combination achieves 6.62%.
  • Improved Calibration: Combining human labels with calibrated model outputs substantially reduced Expected Calibration Error (ECE) and Negative Log-Likelihood (NLL). For ResNet-110, ECE dropped from 5.23% (uncalibrated model) to 1.30% (combination with 10 labeled points).
  • Ground-Truth-Free Learning: The unsupervised $P+L\text{-EM}$ method successfully learned effective combination parameters without access to ground-truth labels, trailing the supervised method only slightly in label efficiency.

Limitations and Future Work

  • Domain Scope: Experiments were restricted to natural image classification; applicability to text, reasoning, or complex medical imaging tasks remains to be verified.
  • Conditional Independence Assumption: While empirical correlation between human and machine errors was weak in these datasets, the conditional independence assumption may fail in tasks where humans and models share the exact same inductive biases or sensory blind spots.
  • Model-Model Limitations: The method does not yield similar gains when applied to ensembles of two machine models due to lack of error diversity.
  • Deployment and Trust: The paper notes that augmenting human decisions without transparent explanations may have psychological consequences, including reduced user trust, diminished agency, or eventual user disengagement.

Summary updated

BibTeX
@inproceedings{kerrigan2021combining,
  author = {Gavin Kerrigan and Padhraic Smyth and Mark Steyvers},
  title = {{Combining Human Predictions with Model Probabilities via Confusion Matrices and Calibration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=Pkzvd9ONEPr},
}
Figure