NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Stochastic Grouping Conformal Prediction for Effective Subgroup Reliability

Meihui Zhong, Wenxin Tai, Ting Zhong, Fan ZhouNeurIPS 2026

TL;DR

Standard conformal prediction guarantees that an AI’s shortlist of possible answers contains the right one, say, 90% of the time—but only on average across everyone, often leaving vulnerable subgroups under-covered. Fixing this usually requires explicitly labeling sensitive groups and producing bloated, unhelpful prediction lists. This paper introduces Stochastic Grouping Conformal Prediction (SGCP), which learns how to share calibration information across samples with similar uncertainty patterns, achieving fair subgroup reliability and crisp, compact prediction sets—without ever needing sensitive demographic labels.

What Problem Does This Paper Address?

Imagine a clinical AI diagnosing diseases. Instead of spitting out a single guess, conformal prediction (CP) wraps the model to output a prediction set—a shortlist of plausible diagnoses guaranteed to contain the true disease 90% of the time, regardless of the underlying data distribution.

There’s a catch: that 90% guarantee is marginal (population-wide). The model might hit 95% accuracy on a majority demographic while quietly dropping to 75% on an underrepresented minority or rare disease subtype, averaging out to 90%.

How do we fix this? Existing remedies fall into two traps:

  1. Group-wise calibration: Calibrating each demographic separately requires knowing sensitive attributes at test time (often unavailable or restricted) and chops calibration data into tiny, statistically unstable buckets.
  2. Localized/Fairness-aware calibration: Calibrating based on nearby data points or worst-case subgroups often triggers a "worst-group bottleneck." To protect the hardest-to-predict patients, the algorithm panics and inflates prediction sets for everyone. Giving a busy doctor a shortlist containing five out of six possible diseases is technically "safe," but practically useless.
Figure 1: Tradeoff between subgroup coverage and prediction set size on MIMIC-IV [13] (1 −α = 0.9). Results are shown for RLCP [12], CluCP [8], AFCP [32], and FaReG [30]. The red dashed line marks half of the total number of classes. Several fairness-aware CP methods improve sensitive-group coverage, but often do so with much larger prediction sets, making them less informative in practice.

Methods

Instead of grouping patients by demographics or raw feature similarity, the authors ask: what if samples share calibration data based on having similar uncertainty behavior?

Standard CP measures how "strange" a candidate label $y$ looks for input $x$ using a nonconformity score $s(x,y)$ (here, $1 -$ predicted probability), and compares it against one global threshold. SGCP replaces that global ruler with a personalized "local score law" $\widehat{F}(s \mid x)$—an estimate of the cumulative distribution of scores specifically for $x$.

Estimating a unique score distribution for every single point from scratch is impossible with finite data. SGCP solves this via a clever middle ground:

  1. Latent Calibration Components: It learns $K$ shared, monotone curves $\{F_1, \dots, F_K\}$, each representing a recurring "uncertainty archetype" (e.g., sharp certainty vs. broad ambiguity).
  2. Stochastic Grouping Map: An input $x$ passes through a backbone network to form a probabilistic latent state $z$ (a Gaussian distribution capturing ambiguity). Drawing multiple samples of $z$ and averaging their outputs yields a soft membership weight vector $w(x)$ that sums to 1.
  3. Local Score Normalization: $x$’s local score law is the weighted mixture $\widehat{F}(s \mid x) = \sum_{k=1}^K w_k(x) F_k(s)$. This transforms raw scores onto a universal percentile scale (0 to 1)—an application of the probability integral transform.

During training (split into two subsets to prevent overfitting), SGCP optimizes three goals: making transformed scores uniform on $[0,1]$, fitting the true score density, and maximizing mutual information so the model actually uses all $K$ components diversely. Finally, standard split-conformal calibration is applied to these percentile-transformed scores, mathematically preserving the finite-sample $1-\alpha$ marginal coverage guarantee.

Datasets

SGCP is evaluated across four classification benchmarks (sensitive attributes are withheld from the models and used strictly for auditing fairness):

  • SYN (Newly introduced): A synthetic 6-class cardiopulmonary diagnosis dataset. The authors engineered an intersectional trap: patients matching an XNOR condition between sex and risk phenotype (e.g., Female + Type I, Male + Type II) have higher label noise.
  • Nursery: A 4-class school admission ranking dataset, modified by downsampling a specific parental subgroup to 10% and injecting label noise to simulate algorithmic bias.
  • MIMIC-IV: A real-world clinical tabular dataset evaluated on in-hospital mortality and ICU-delay (3 classes), audited across race, gender, and insurance status.
  • BACH: A 4-class breast cancer histopathology image dataset, where the true tissue classes themselves serve as proxy subgroups due to visual and acquisition heterogeneity.

Key Insights and Ideas

  • Locality in "calibration space," not feature space: Two patients might look different demographically—or even in raw feature space—yet trigger the exact same kind of model uncertainty. Sharing statistical strength across calibration behavior bypasses the need for predefined group labels.
  • Building blocks, not demographics: Visualizing the learned components $\{f_k\}$ reveals distinct score regimes (some peaking near zero error, others wide and heavy-tailed). These aren't secret demographic detectors; they are basis functions mixed uniquely for each test point.
Learned latent component densities across the four datasets, showing distinct uncertainty regimes.
  • Uniformizing scores closes subgroup gaps: Theoretically (Propositions 1 & 3), if the local score law accurately approximates the true conditional score distribution, every subgroup's transformed scores become $\text{Uniform}(0,1)$. Thus, a single global threshold on transformed scores automatically treats all subgroups fairly without worst-case set inflation.

Key Results

Across 20 runs at a 90% target coverage ($1-\alpha = 0.90$), SGCP hits the sweet spot of valid overall coverage, minimal subgroup disparity (CovGap, lower is better), and compact prediction sets (AvgSize, lower is better):

  • Lowest Subgroup Disparity: SGCP achieves the lowest CovGap on SYN (4.2% vs. Marginal CP’s 14.5%), Nursery (11.8% vs. Marginal’s 20.4%), and BACH (6.2% vs. Marginal’s 15.7%). On MIMIC-IV, it achieves 0.8% (second only to FaReG’s 0.5%, while Marginal sits at a staggering 27.1%).
  • Smallest Prediction Sets: Unlike fairness baselines that bloat sets past half the total classes, SGCP yields the smallest AvgSize on SYN (2.225), MIMIC-IV (1.107), and BACH (2.224), and virtually ties for smallest on Nursery (1.089 vs. AFCP's 1.085).
  • Data Sparsity Stability: When training/calibration sizes are throttled down, SGCP maintains consistently low median CovGap and tight variance across random seeds, whereas localized methods like RLCP fluctuate wildly.

Limitations and Future Work

  • Training Data Splitting: SGCP requires splitting the training set into two halves ($\mathcal{D}_0$ for the backbone and grouping map, $\mathcal{D}_1$ for the calibration components) in addition to holding out $\mathcal{D}_{\text{cal}}$, which reduces the data available to train the base classifier.
  • Approximation-Dependent Subgroup Bounds: While marginal 90% coverage is ironclad regardless of model quality, subgroup reliability depends on how closely the K-component mixture approximates the true oracle score distribution (captured by the Kolmogorov distance $\Delta_G$ in Proposition 3).
  • Future Work: The authors aim to extend SGCP toward personalized medicine, tailoring uncertainty quantification to diverse, fine-grained patient populations in clinical workflows.

Summary updated

BibTeX
@inproceedings{zhong2026stochastic,
  author = {Meihui Zhong and Wenxin Tai and Ting Zhong and Fan Zhou},
  title = {{Stochastic Grouping Conformal Prediction for Effective Subgroup Reliability}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nFBHPHZ66f},
}
Figure