Manuscript Offprint
arXiv:2610.11957Stochastic Grouping Conformal Prediction for Effective Subgroup Reliability
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Conformal prediction offers a distribution-free coverage guarantee, making it especially attractive for clinical applications. Standard conformal prediction, however, provides such guarantees only at the population level, and its prediction sets can exhibit coverage disparities across clinically important subgroups. A natural remedy is to calibrate within predefined groups. However, this can require access to sensitive subgroup attributes and is prone to a worst-group bottleneck: protecting the most difficult subgroup can inflate prediction sets for all, increasing cognitive burden on decision makers. To this end, we propose Stochastic Grouping Conformal Prediction (SGCP), a conformal framework for subgroup-reliable uncertainty quantification. It learns a stochastic grouping map that allows each sample to draw calibration information from others with similar calibration behavior, yielding a local score law that boosts reliability across subpopulations. We prove that SGCP retains the standard coverage guarantee. Experiments on synthetic and real-world benchmarks show that it consistently reduces subgroup coverage gaps while achieving smaller or comparable prediction set sizes relative to existing baselines.
1 Introduction
Conformal prediction (CP) has emerged as an attractive framework for medical AI, because it converts any predictive model into a prediction set with finite-sample coverage guarantees under minimal assumptions [17, 5, 16]. Consider training data and a future test point , where each feature lies in the feature space and response lies in the label space. The goal is to construct a prediction set that contains the unknown test response with high probability. The appeal of distribution-free prediction is that this guarantee can be obtained without imposing strong assumptions on the underlying data distribution [24, 22, 1], namely,
While this guarantee is highly appealing, it has an important limitation. The coverage in Eq. (1) is averaged over the calibration data and the future test point, thus providing validity only at the population level [10, 21]. In clinical settings, this means that a nominal 90% coverage guarantee may hold on average over all patients, while still failing to provide equally reliable uncertainty estimates for particular demographic groups, disease subtypes, or other clinically meaningful subpopulations.
This concern is tied to fairness in healthcare, where the costs of unreliable uncertainty often fall disproportionately on underrepresented patient populations [9, 4]. Differences in prevalence, data quality, and feature distributions across populations can induce distinct error patterns and nonconformity score distributions [14]. Thus, population-level calibration is prone to masking subgroup failures.
*Corresponding author: fan.zhou@uestc.edu.cn
Preprint.

Figure 1: Tradeoff between subgroup coverage and prediction set size on MIMIC-IV [13] ( ). Results are shown for RLCP [12], CluCP [8], AFCP [29], and FaReG [27]. 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.
by averaging under-coverage in some groups with over-coverage in others. In medical applications, this imbalance matters, as what we care about is not only whether uncertainty is valid on average, but whether it remains reliable for the subgroups for whom prediction errors are most costly.
We empirically observe exactly this tension, as shown in Figure 1. Standard conformal prediction achieves the desired overall coverage, but still exhibits lower coverage on several clinically important subpopulations, suggesting that marginal validity may ‘average out’ group-specific uncertainty. A natural response is to calibrate separately within each group. However, methods [20, 27] that target finer grained group reliability often become increasingly conservative, resulting in larger prediction sets. Such enlarged sets may be less informative in practice and may even hinder downstream decision-making by imposing excessive cognitive burden [28, 7, 6]. One may go even further and calibrate at the individual-sample level, as in localized conformal prediction [12, 20]. Yet our results show that localization, while sometimes improving coverage on subgroups, often incurs substantially larger prediction sets and, more importantly, greater instability across random seeds and data splits.
In sum, these observations pose two coupled challenges. First, the heterogeneity that matters for calibration is often latent: it may not be directly observable at inference, nor align with pre-specified sensitive groups. Second, the groups that most need tailored calibration are often those with limited sample sizes, making fine grained localized calibration conservative and statistically unstable [8]. More broadly, we seek a practical middle ground between global calibration, which can wash out subgroup-specific uncertainty, and calibration strategies that rely too heavily on known groups or local neighborhoods, which can become conservative or unstable when calibration data are limited.
Motivated by this gap, we propose stochastic grouping conformal prediction (SGCP), a fairness-aware conformal prediction method that improves subgroup reliability without relying on known sensitive attributes. Rather than asking coverage to hold for each individual test point, we relax the requirement to a weaker but still meaningful sense – coverage over samples that exhibit similar calibration behavior. In other words, exact 90% coverage may be unattainable for one patient in isolation, yet it may still be possible to achieve more reliable coverage on patients whose scores reflect similar uncertainty patterns and calibration difficulty.
To achieve this, SGCP learns a latent calibration structure that organizes samples according to uncertainty-relevant score behavior. Atop this structure, it learns a stochastic grouping map that determines how each sample should draw calibration information from a small set of latent calibration components. This yields a sample-adaptive local score law: calibration is tailored to each sample, but estimated through structured sharing rather than from a small group or neighborhood alone. Statistically, this design strikes a balance between flexibility and stability. It is flexible enough to capture heterogeneous score behavior across samples, yet structured enough to be reliably estimated from finite data while preserving conformal validity. As a result, SGCP can improve subgroup reliability beyond global calibration without relying on sparse subgroup calibration data. Empirically, across fairness-sensitive clinical and public prediction tasks, SGCP improves coverage on clinically meaningful subgroups while maintaining valid overall coverage and efficient prediction sets.
Our contributions are summarized as follows. First, we propose SGCP, a novel fairness-aware conformal prediction method. It learns a local score law through stochastic grouping, thereby approximating the score distribution of test points. This improves subgroup reliability without relying on rigid predefined groups. Second, we prove that SGCP retains finite-sample marginal validity. We further show that subgroup coverage gaps decrease when the learned local score law better captures the score behavior of meaningful subpopulations. Third, through experiments on synthetic and medical datasets, we demonstrate that SGCP achieves a favorable tradeoff among overall coverage, subgroup reliability, and prediction set efficiency. We expect SGCP to enable more effective and trustworthy decision-making in high-risk medical applications. Code and supplementary materials are included in the anonymous supplementary upload.
In fairness-sensitive applications, the central issue is not merely whether the prediction set is valid on average, but rather how coverage and set size are distributed across heterogeneous subpopulations. Ideally, one desire distribution-free conditional coverage – that is,
which would mitigate uneven coverage across patient demographics, disease patterns, and other meaningful groups. However, non-trivial distribution-free conditional coverage is impossible, since finite samples cannot ensure tight, valid prediction sets for arbitrary conditioning events [10, 12].
We typically classify existing approaches into two broad types. (i) Group-wise calibration. A natural response to subgroup miscoverage is to calibrate separately across groups [17, 25], a type we term Group-wise calibration CP. If denotes a group label, this yields a group-specific threshold , and outputs
In principle, Eq. (3) reduces the mismatch induced by a single global threshold. In practice, however, one issue is that the relevant groups are often not known a priori, and may not align with pre-specified sensitive attributes. Another is that finer grouping fragments the calibration set, leaving some groups with too few samples for calibration, and making the empirical quantiles statistically unstable [8].
This group-wise perspective also includes methods that learn or adapt groups before calibration. AFCP [29], for example, considers groups defined by sensitive attributes and makes the group selection itself adaptive. Let denote the projection of onto a selected sensitive-attribute set . For instance, a subgroup “males with a bachelor’s degree” can be written as . For each test point, AFCP selects either one sensitive attribute or none, , and targets . This reduces to marginal coverage when . Operationally, AFCP combines a marginal conformal set with an equalized-coverage set for each candidate label under the selected attribute. Although less conservative than exhaustive calibration over all attribute combinations, AFCP remains tied to discrete sensitive attributes. Its repeated leave-one-out calibration on pseudo-test points can also be computationally expensive and noisy in sparse-group regimes.
FAREG [27] further improves group discovery by learning groups in a latent representation space rather than enumerating them from raw input features. This expands the class of detectable subgroups, including those defined by nonlinear feature combinations. However, FAREG still frames fairness as subgroup discovery: it identifies explicit subgroups with coverage disparity and enforces coverage over them. It is therefore most suitable when heterogeneity is well captured by identifiable subgroups. It may, however, become conservative in some cases.
(ii) Localized calibration. Localized calibration, as in RLCP [12], avoids explicit group partitions by using nearby samples as the reference set for each test point. RLCP argues that heterogeneity relevant to calibration may be highly sample-specific. Let denote

Figure 2: Overview of SGCP. SGCP learns a local score law by mapping to a stochastic grouping map over latent calibration components . Candidate labels are transformed by this local law and kept when their calibrated scores fall below the conformal threshold.
the candidate neighborhoods containing . A localized threshold can be written as , with prediction set
Compared with group-wise calibration, Eq. (4) avoids rigid group boundaries and adapts to the region around the test point. Yet the supremum over candidate neighborhoods requires the prediction set to cover the worst local subset containing x, which may be overly conservative and yield unnecessarily large sets, particularly when calibration samples are scarce. Moreover, locality is typically defined via feature space similarity, which need not align with the actual error structure most relevant for calibration. RLCP may introduce additional randomness into the prediction intervals, leading to inconsistent outputs across independent runs. Other related works are discussed in Appendix F.
The preceding discussion suggests that the key challenge is to improve subgroup reliability without losing statistical stability or producing overly large prediction sets. We therefore seek a method that can capture calibration heterogeneity while promoting informative prediction sets.
3 Method
3.1 From subgroup reliability to local score laws
Our starting point is that conformal calibration is ultimately governed by the distribution of the nonconformity score. Accordingly, we take the sample-specific score distribution , where denotes the nonconformity score, as the oracle object for reliable calibration to each subgroup. If we could estimate accurately, then each sample could be calibrated according to its own local score law. That said, the difficulty is that directly learning an unconstrained conditional distribution for every is data-hungry and unstable in finite samples, especially when the relevant heterogeneity is latent and high-dimensional. A single test point rarely provides enough local calibration evidence for reliable estimation. This motivates the central question behind SGCP: can other samples help a target point estimate its local score distribution without resorting to a single global calibration? SGCP addresses this by replacing the unconstrained family with a structured mixture family. Concretely, SGCP approximates the oracle local score law by
where are latent calibration components and is a sample-related stochastic grouping map. Thus, each sample has its own effective local score law, but that law is not estimated from scratch. It is represented as a weighted combination of latent calibration components learned from related samples. This makes SGCP more expressive than discrete group-wise calibration, while still allowing samples with similar calibration behavior to share evidence through the components. Posterior averaging further stabilizes the resulting local score law (see Appendix B for details). Figure 2 illustrates how stochastic grouping induces a local score law for each sample.
The key question in Eq. (5) is therefore how to determine, for each sample x, which other samples should be regarded as ‘related’. While there are many ways to define relevance around a point, such as finding similar points through feature embedding or clustering, recall that the ideal object for subgroup reliable calibration is the sample-specific score distribution in Eq. (5). Accordingly, the relevant notion of locality is not simply geometric proximity in the input space, but similarity in calibration relevant score behavior. So we want to identify samples that are governed by similar score behavior. This motivates us to propose the latent calibration state and stochastic grouping map. Together, they determine how each sample should transfer calibration evidence from the latent calibration components. We next formalize these two components and the resulting local score law.
3.2 Learning a differentiable local score law
Latent calibration state. Let denote the feature representation produced by the backbone classifier, and let denote the corresponding predictive probability vector. To capture heterogeneity in score behavior beyond predefined groups, we associate each sample with a latent calibration state . We model this state via a posterior distribution
where and are learned functions of the backbone representation. This stochastic formulation allows calibration behavior to remain ambiguous even when the observed feature vector is fixed. Samples with similar predictions may still display mixed or uncertain score behavior, and such ambiguity is naturally represented through posterior uncertainty in latent space.
Stochastic grouping map. For a latent draw , we obtain a simplex-valued membership vector through a learnable differentiable mapping from the latent state to the probability simplex. A single latent draw represents only one possible realization of the posterior calibration state and therefore only one possible decomposition of the sample's local score law. What we seek, however, is a stable description of how the sample is associated with the latent calibration components. Accordingly, SGCP defines the stochastic grouping map by averaging memberships over the posterior distribution. Let . We define the posterior-averaged membership of sample on the -th latent calibration component
This yields the stochastic grouping map , which determines how the latent calibration components are combined to form the learned local score law.
Aggregate local score law. Each latent calibration component is a monotone mapping that represents one recurring calibration pattern in the score space. When needed, we write for the corresponding density. Given the membership weight , SGCP defines the aggregate local score law at as
with corresponding local density . Equation (8) defines the central local score-law estimator in SGCP. It replaces the infeasible task of estimating an unconstrained for every test point with a structured family generated by a small number of latent calibration components. In our implementation, each is parameterized as a monotone differentiable mapping.
We next explain why local score-law normalization matters for subgroup reliability. If the local score law were known, the probability integral transform would map true-label nonconformity score onto a common percentile scale. The following proposition formalizes this property (proof in Appendix A.1).
Proposition 1. Let denote the transformed score. Suppose that the learned local score law coincides with the oracle local score law, namely, for -almost every , , . Assume furthermore that, for -a.e. , the conditional score distribution is continuous. Then, for any measurable subgroup with ,
Algorithm 1 Procedure for SGCP
Require: Training data , calibration data , test input , nonconformity score , latent calibration components, posterior samples, hyperparameters , , miscoverage level
Ensure: Prediction set
1: Split into and
2: Fit SGCP: on , learn , latent-state posterior in Eq. (6), and stochastic grouping map in Eq. (7); on , fit latent calibration components and local score law in Eq. (8).
3: Calibration: for each , compute and .
4: Quantile: sort as , where , and set , with fallback if .
5: Test transform: for each candidate label , compute .
6: Return: .
Proposition 1 explains why local score law learning can remove subgroup reliability inconsistency in the oracle case. In practice, SGCP learns this transform approximately, using the following objective.
Learning objective. We split the training data into . The split is used to learn the backbone predictor, the latent-state posterior, and the stochastic grouping map, while is used to fit the latent calibration components and the learned local score law. An additional independent calibration set is reserved for split conformal calibration. For each , we compute the true-label nonconformity score , the membership weights , and the component-wise transformed score . Since is monotone, can be viewed as the percentile position of under the -th latent calibration component.
The training objective encourages three complementary properties. First, within each component, the weighted distribution of transformed scores should be close to Unif(0, 1). This yields the rank-uniformization loss . Second, the induced local mixture density should explain the observed true-label scores, yielding the density-fitting loss . Finally, the stochastic grouping map should be informative: it should use the latent components diversely across the population while retaining sample-specific membership weights. We encourage this by maximizing the empirical mutual information between samples and a latent component variable , denoted by , where the membership weights define .
Combining these terms, we optimize
where controls the strength of local density fitting and controls the strength of stochastic grouping information maximization. Detailed parameterizations and explicit loss definitions are deferred to Appendix B. Algorithm 1 summarizes the overall procedure.
The following result, proved in Appendix A.2, shows that SGCP retains the standard finite-sample marginal validity guarantee of split conformal prediction, which contains the true label with probability at least . This guarantee does not depend on how accurately the local score law is learned, and the prediction set remains valid.
Proposition 2. Under the standard split-conformal exchangeability assumption, the prediction set returned by SGCP satisfies .
Marginal validity alone does not explain subgroup reliability. A further question is how the learned transform affects subgroup coverage. The following (proved in Appendix A.3) shows that subgroup coverage is controlled by the mismatch between subgroup and overall transformed-score distributions. In the oracle property of Proposition 1, this mismatch vanishes for every subgroup. In practice, SGCP seeks to reduce it by learning a local score law transform through stochastic grouping. Appendix A.4 shows that uniformly approximating the oracle score law directly controls this mismatch.
Proposition 3. For any measurable subgroup with , let denote the Kolmogorov distance between the distribution of conditional on and its marginal distribution. Under the assumptions of Proposition 2 and a continuous marginal distribution of , subgroup coverage is lower bounded by .
4 Numerical Experiments
Benchmarks and preprocessing. We evaluate SGCP on four benchmarks. For each dataset, let denote the feature vector, class label, and sensitive attributes, respectively. Below, we briefly describe how each dataset is processed and constructed for our evaluation.
(i) We generate synthetic (SYN) multiclass cardiopulmonary diagnosis benchmark with six disease categories, viz. Hypertension, Coronary Artery Disease, Heart Failure, Arrhythmia, Valvular Heart Disease, and Peripheral Artery Disease. Each sample contains four grouping attributes—gender, risk phenotype, age, and region—and six non-sensitive physiological variables. To mimic intersectional heterogeneity, individuals satisfying the XNOR relation between biological sex and risk phenotype, e.g., Female with Type I or Male with Type II, are assigned higher label uncertainty. This subgroup is therefore harder to classify and serves as the disadvantaged population. (ii) Nursery [19] is an admission-decision dataset for ranking nursery school applications, where family, socioeconomic, social, and health-related factors make it well suited for evaluating subgroup reliability. We use four priority ranks as targets and five categorical grouping attributes. Following [29, 27], we simulate controllable algorithmic bias by downsampling the subgroup defined by parents to 10%, adding label noise, and rounding labels to the nearest valid class. (iii) MIMIC-IV [13] is a real-world clinical tabular benchmark. We employ three binary grouping attributes, i.e., race, gender, and insurance status, for subgroup analysis, along with non-sensitive demographic and administrative covariates. We study two tasks: in-hospital mortality prediction and ICU-delay classification, where delays are grouped into short (≤ 4 hours), moderate (4-12 hours), and prolonged (> 12 hours) or no ICU admission. (iv) BACH [2] is a four-class histopathology benchmark for breast cancer diagnosis, viz. Normal, Benign, In Situ Carcinoma, and Invasive Car2cinoma. Since demographic attributes are unavailable, we use the class label as a proxy grouping variable, setting . Images are encoded by a visual backbone as . Subgroup heterogeneity arises from visual variability across tissue and potential acquisition bias [15], so the class-conditional score laws may differ substantially across classes.
Across all datasets, we randomly split data into training, calibration, and test sets; for SGCP, the training set is further divided equally into and . Sensitive attributes are used only for fairness evaluation and never as model inputs. Preprocessing details are given in Appendix D.1.
We benchmark SGCP against AFCP [29], Clustered CP [8], FaReG [27], RLCP [12], marginal CP, Partial Equalized [20], and Exhaustive Equalized. Partial Equalized protects one sensitive attribute at a time and unions the resulting sets, while Exhaustive Equalized protects all candidate attributes jointly as an explicit subgroup-equalization baseline. All methods use the same backbone and nonconformity score. Implementation details and hyperparameters are provided in Appendix D.2. See the Appendix E for additional experiments.
Evaluation criteria. We evaluate all methods in terms of overall validity, subgroup reliability, and efficiency. Let be the test set, and let denote the prediction set at miscoverage level . We report empirical overall coverage , which should be close to the target level . Efficiency is measured by the average set size . Among methods with comparable coverage, smaller is preferable.
Given a grouping attribute and its induced groups, we are interested in coverage conditional on each group. For group , let . We define the estimated conditional coverage, hereafter group coverage, as . We quantify subgroup disparity by the coverage gap (CovGap) . Group coverage closer to and smaller CovGap indicate more reliable subgroup performance. All metrics other than AvgSize are reported as percentages.
4.1 Results and Discussion
Main results. Table 1 compares all methods across the four benchmarks (other experiments cf. Appendix E). AFCP is omitted on MIMIC-IV because its adaptive group selection requires an expensive repeated calibration procedure, making 20-run evaluation computationally prohibitive. We highlight AvgSize values exceeding half of the label space in red, as prediction sets of this size can reduce clinical utility, increase the cognitive burden on decision makers.
Table 1: Each method is run 20 times, and we report the mean and standard deviation. All results are reported for the largest sample size. Results with nominal coverage are shown in blue, optimal values are boldfaced, and AvgSize exceeding half of the total number of categories are highlighted in red.
| Method | SYN | Nursery | MIMIC-IV | BACH | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | |
| Marginal | 89.52±1.52 | 2.309±0.078 | 14.5±1.6 | 84.15±5.20 | 2.170±0.260 | 20.4±5.2 | 90.79±10.62 | 1.226±0.087 | 27.1±7.1 | 89.20±9.64 | 2.894±0.267 | 15.7±1.7 |
| Partial | 94.50±1.12 | 2.419±0.048 | 6.2±0.7 | 88.97±3.80 | 1.850±0.200 | 12.1±2.5 | 94.50±4.54 | 1.258±0.140 | 8.0±3.0 | 96.57±8.08 | 3.385±0.299 | 7.6±1.6 |
| Exhaustive | 95.85±0.91 | 3.342±0.053 | 6.0±0.6 | 96.80±3.10 | 2.850±0.220 | 15.5±3.2 | 96.45±4.22 | 2.800±0.142 | 19.7±3.2 | 97.41±6.89 | 3.867±0.118 | 11.6±1.5 |
| RLCP | 93.10±2.45 | 2.540±0.305 | 4.5±1.8 | 88.67±6.20 | 1.220±0.410 | 13.5±3.8 | 92.50±2.80 | 1.350±0.100 | 1.5±0.8 | 91.88±10.56 | 2.311±0.319 | 8.1±2.5 |
| CluCP | 89.80±1.78 | 2.426±0.050 | 4.9±0.8 | 85.08±1.60 | 1.121±0.064 | 12.8±1.3 | 92.22±1.28 | 1.302±0.059 | 3.5±0.8 | 95.91±3.59 | 3.257±0.220 | 10.7±2.6 |
| AFCP | 91.77±1.23 | 2.432±0.043 | 4.6±0.5 | 92.85±0.84 | 1.085±0.024 | 14.1±0.6 | - | - | - | 95.00±2.60 | 2.830±0.237 | 6.3±1.7 |
| FaReG | 92.61±0.98 | 2.579±0.029 | 4.7±0.5 | 93.21±0.62 | 1.230±0.012 | 13.3±0.6 | 90.23±0.09 | 1.174±0.001 | 0.5±0.0 | 93.60±3.40 | 2.959±0.239 | 7.4±1.5 |
| SGCP | 90.13±0.39 | 2.225±0.035 | 4.2±0.7 | 91.65±0.70 | 1.089±0.035 | 11.8±0.7 | 90.13±0.07 | 1.107±0.001 | 0.8±0.0 | 91.90±2.70 | 2.224±0.215 | 6.2±1.1 |

(a) SYN
(b) Nursery
(c) MIMIC-IV
(d) BACH
Figure 3: Learned latent component densities on four datasets. The components reveal distinct calibration regimes in the nonconformity-score space.
We highlight four main observations. (i) SGCP is the only method that consistently stays close to nominal coverage across all benchmarks while achieving strong subgroup reliability. Its empirical coverage remains near 0.9, and its CovGap is the smallest on SYN, Nursery, and BACH, with values 3.7, 11.8, and 6.2, respectively. On MIMIC-IV, it is close to the best result, with CovGap 0.8 compared with FaReG's 0.5. (ii) The subgroup reliability gains of SGCP are not obtained through indiscriminate conservatism. SGCP achieves the smallest or nearly smallest AvgSize across all datasets. Taken together, these results show that SGCP improves subgroup reliability without enlarging prediction sets. (iii) Existing baselines exhibit less favorable or less consistent tradeoffs. Marginal CP often leaves large subgroup disparities, while explicit subgroup-protection methods reduce disparity at the cost of inflated coverage and larger prediction sets. RLCP, CluCP, AFCP, and FaReG are competitive in some settings, but their gains are less uniform across benchmarks.
Figure 3 visualizes the latent component densities learned by SGCP. Across datasets, the components exhibit diverse shapes in the nonconformity score space. Some components concentrate near small scores, while others are broader or place more mass on larger scores. This suggests that SGCP learns nontrivial score law structure, rather than merely reproducing a single global score distribution. Importantly, these components should not be viewed as demographic groups or semantic subpopulations. They are latent score law building blocks. For each sample, SGCP mixes these shared components to form a sample dependent local score law. In this way, samples with similar calibration behavior can share evidence even when they do not belong to the same observed subgroup. This provides a mechanism for improving subgroup reliability without requiring calibration to be tied to a single observed group label.
Group coverage. To better understand where the improvement comes from, we visualize subgroup coverage against average prediction-set size, together with how set size varies with subgroup sample size. Figure 4 corresponds to BACH, where the subgroup variable is the class label. Two patterns are clear. First, SGCP remains close to the nominal target coverage while lying on the more efficient side of the tradeoff: in the top row, its points stay near the horizontal reference line at 0.9 and are typically located to the left of competing methods. Second, in the bottom row, its prediction sets shrink steadily as subgroup sample size increases, indicating that it can use additional subgroup evidence efficiently while still adapting locally. Overall, these subgroup-level plots show that the gains of SGCP are realized across individual groups rather than only in aggregate.

Figure 4: Group coverage on BACH dataset. SGCP remains close to the target coverage across classes while using smaller prediction sets than more conservative baselines.

Figure 5: Distribution of CovGap over repeated runs under varying sample sparsity.
Distribution of CovGap. Figure 5 shows the distribution of CovGap over repeated runs under varying levels of sample sparsity. Beyond low average disparity, SGCP also exhibits stability: across datasets and sample sizes, it is consistently among the methods with the lowest median CovGap and relatively small variation across runs. This advantage is most pronounced in sparse-data settings, where subgroup calibration is most difficult. As sample size grows, the gap narrows for most methods, but SGCP remains competitive and typically retains one of the lowest CovGap values.
5 Conclusion
In this work, we discussed the limitation of standard split-conformal prediction in fairness-sensitive settings, where marginal validity can mask substantial subgroup miscoverage. We argued that subgroup reliability is closely tied to the local distribution of nonconformity scores, and that modeling this local score law provides a principled way to improve calibration across heterogeneous subpopulations. To this end, we proposed SGCP, a fairness-aware conformal prediction method that improves coverage for clinically meaningful subgroups without relying on predefined sensitive groups. Our theoretical analysis showed that SGCP preserves the standard split-conformal marginal coverage guarantee and accurate local score-law learning reduces subgroup coverage gaps by making calibration behavior more comparable across subpopulations. Extensive experiments across synthetic, and real-world benchmarks demonstrated that SGCP consistently improves subgroup reliability while maintaining efficient prediction sets. In future work, we plan to extend SGCP to personalized medicine, where reliable uncertainty quantification across diverse patient populations is crucial.
References
[1] A. N. Angelopoulos and S. Bates. Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning, 16(4):494–591, 2023.
[2] G. Aresta, T. Araújo, S. Kwok, S. S. Chennamsetty, M. Safwan, V. Alex, B. Marami, M. Prastawa, M. Chan, M. Donovan, G. Fernandez, J. Zeineh, M. Kohl, C. Walz, F. Ludwig, S. Braunewell, M. Baust, Q. D. Vu, M. N. N. To, E. Kim, J. T. Kwak, S. Galal, V. Sanchez-Freire, N. Brancati, M. Frucci, D. Riccio, Y. Wang, L. Sun, K. Ma, J. Fang, I. Kone, L. Boulmane, A. Campilho, C. Eloy, A. Polónia, and P. Aguiar. Bach: Grand challenge on breast cancer histology images. Medical Image Analysis, 56:122–139, 2019.
[3] K. Bairaktari, J. Wu, and S. Wu. Kandinsky conformal prediction: Beyond class- and covariate-conditional coverage. In International Conference on Learning Representations (ICLR), 2025.
[4] R. J. Chen, J. J. Wang, D. F. K. Williamson, T. Y. Chen, J. Lipkova, M. Y. Lu, S. Sahai, and F. Mahmood. Algorithmic fairness in artificial intelligence for medicine and healthcare. Nature Biomedical Engineering, 7(6):719–742, 2023.
[5] M. Y. Cheung, A. Veeraraghavan, and G. Balakrishnan. COMPASS: Robust feature conformal prediction for medical segmentation metrics. In International Conference on Learning Representations (ICLR), 2026.
[6] S. Cortes-Gomez, C. M. Patiño, Y. Byun, S. Wu, E. Horvitz, and B. Wilder. Utility-directed conformal prediction: A decision-aware framework for actionable uncertainty quantification. In International Conference on Learning Representations (ICLR), 2025.
[7] J. C. Cresswell, B. Kumar, Y. Sui, and M. Belbahri. Conformal prediction sets can cause disparate impact. In International Conference on Learning Representations (ICLR), 2025.
[8] T. Ding, A. N. Angelopoulos, S. Bates, M. I. Jordan, and R. J. Tibshirani. Class-conditional conformal prediction with many classes. In Advances in Neural Information Processing Systems (NeurIPS), pages 64555–64576, 2023.
[9] S. G. Finlayson, A. Subbaswamy, K. Singh, J. Bowers, A. Kupke, J. Zittrain, I. S. Kohane, and S. Saria. The clinician and dataset shift in artificial intelligence. New England Journal of Medicine, 385(3):283–286, 2021.
[10] R. Foygel Barber, E. J. Candès, A. Ramdas, and R. J. Tibshirani. The limits of distribution-free conditional predictive inference. Information and Inference: A Journal of the IMA, 10(2):455–482, 2021.
[11] C. Gao, P. B. Gilbert, and L. Han. Bridging fairness and efficiency in conformal inference: a surrogate-assisted group-clustered approach. In Proceedings of the International Conference on Machine Learning (ICML), 2026.
[12] R. Hore and R. F. Barber. Conformal prediction with local weights: randomization enables robust guarantees. Journal of the Royal Statistical Society Series B: Statistical Methodology, 87(2):549–578, 2024.
[13] A. Johnson, L. Bulgarelli, T. Pollard, B. Gow, B. Moody, S. Horng, L. A. Celi, and R. Mark. MIMIC-IV. PhysioNet, 2024. Version 3.1.
[14] H. Kwon and D.-J. Kim. Conformal selective prediction with cost aware deferral for safe clinical triage under distribution shift. Scientific Reports, 16(1):10016, 2026.
[15] J. Lee and R. M. Nishikawa. Identifying women with mammographically-occult breast cancer leveraging gan-simulated mammograms. IEEE Transactions on Medical Imaging, 41(1):225–236, 2022.
[16] C. Lu, A. N. Angelopoulos, and S. Pomerantz. Improving trustworthiness of ai disease severity rating in medical imaging with ordinal conformal prediction sets. In Medical Image Computing and Computer Assisted Intervention (MICCAI), page 545–554, 2022.
[17] C. Lu, A. Lemay, K. Chang, K. Höbel, and J. Kalpathy-Cramer. Fair conformal predictors for applications in medical imaging. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), pages 12008–12016, 2022.
[18] N. Martinez, D. C. Patel, C. Reddy, G. Ganapavarapu, R. Vaculin, and J. Kalagnanam. Identifying homogeneous and interpretable groups for conformal prediction. In The Conference on Uncertainty in Artificial Intelligence (UAI), 2024.
[19] V. Rajkovic. Nursery. UCI Machine Learning Repository, 1989. DOI: https://doi.org/10.24432/C5P88W.
[20] Y. Romano, R. F. Barber, C. Sabatti, and E. Candès. With Malice Toward None: Assessing Uncertainty via Equalized Coverage. Harvard Data Science Review, 2(2), 2020.
[21] Y. Romano, M. Sesia, and E. Candes. Classification with valid and adaptive coverage. In H. Larochelle, M. Ranzato, R. Hadsell, M. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems (NeurIPS), volume 33, pages 3581–3591, 2020.
[22] G. Shafer and V. Vovk. A tutorial on conformal prediction. Journal of Machine Learning Research, 9:371–421, 2008.
[23] A. T. Vadlamani, A. Srinivasan, P. Maneriker, A. Payani, and S. Parthasarathy. A generic framework for conformal fairness. In International Conference on Learning Representations (ICLR), 2025.
[24] V. Vovk, A. Gammerman, and G. Shafer. Algorithmic learning in a random world, pages 1–476. Springer Cham, 2005.
[25] V. Vovk, D. Lindsay, I. Nouretdinov, and A. Gammerman. Mondrian confidence machine. Technical Report, 2003.
[26] Z. Wang and H. Wang. Variational imbalanced regression: Fair uncertainty quantification via probabilistic smoothing. In Advances in Neural Information Processing Systems (NeurIPS), 2023.
[27] S. Xu, Y. Zhou, Y. Tan, Z. Li, Y. Yao, T. Chen, F. Xu, and X. Ma. Fair conformal classification via learning representation-based groups. In International Conference on Learning Representations (ICLR), 2026.
[28] D. Zhang, A. Chatzimparmpas, N. Kamali, and J. Hullman. Evaluating the utility of conformal prediction sets for ai-advised image labeling. In ACM Conference on Human Factors in Computing Systems (CHI), 2024.
[29] Y. Zhou and M. Sesia. Conformal classification with equalized coverage for adaptively selected groups. In Advances in Neural Information Processing Systems (NeurIPS), 2024.
A Mathematical Proofs
A.1 Proof of Proposition 1
Proof. Let and . Let denote the Lebesgue measure on . By the oracle assumption, for -a.e. ,
Moreover, by assumption, the conditional distribution of is continuous for -a.e. . Hence, by the probability integral transform, for -a.e. ,
Since almost surely, it follows that, for every Borel set ,
Now let be any measurable subgroup with . Using the tower property,
Therefore, for every set , , which is precisely the statement that
Remark 1. When this oracle local score law is recovered, the local percentile transform places scores from different inputs and subgroups on a common uniform scale, thereby eliminating subgroup reliability inconsistency. The objective of SGCP is to approximate this. Put differently, this proposition clarifies why we learn instead of operating directly on the raw score s.
A.2 Proof of Proposition 2
Throughout the proof, we condition on the training split . Thus the fitted transformation is fixed. For simplicity, we suppress this conditioning from the notation.
Let and write Define the transformed calibration scores
and the transformed score of the test point under its true label
Let denote the order statistics of the calibration scores, and set
Define the split-conformal cutoff by , with the convention whenever .
Proof. By assumption, conditional on , the calibration examples in and the test point are exchangeable. Since the same deterministic measurable map is applied to each point, it follows that , are exchangeable conditional on .
Let denote the ordered transformed calibration scores, and define the split conformal cutoff by , with the convention whenever . By exchangeability and the standard split conformal order-statistic argument, we have .
It remains to connect this event to the prediction set. By definition,
Substituting the true label gives
Hence,
Taking expectations over gives
Remark 2. In the current implementation, the stochastic grouping map may be approximated by Monte Carlo averaging over latent posterior samples. The validity proof above continues to hold as long as the transformed score is computed using a rule that is fixed conditional on , or, more generally, uses auxiliary randomness that is independent across calibration and test samples.
A.3 Proof of Proposition 3
Proof. By definition of the prediction set,
Therefore,
Now fix a measurable subgroup with . Since the calibration sample is independent of the test point, is independent of . Hence, conditional on ,
where
Taking expectations over gives
Next, let
be the global CDF of the transformed score, and let be an independent draw from this distribution. Since are exchangeable and H is continuous, the standard split-conformal rank argument gives
On the other hand, conditioning on ,
Therefore,
Combining the two identities,
This proves the claimed subgroup coverage gap bound.
Finally, since
we obtain
Since , this result implies that whenever a subgroup's transformed-score distribution is close to the overall transformed-score distribution, the global conformal cutoff keeps its coverage close to the nominal level .
Remark 3. Proposition 3 bounds subgroup miscoverage in terms of the residual transformed-score mismatch . This mismatch can be further related to local score-law estimation error. If the learned transform satisfies
then, by the probability integral transform,
for every measurable subgroup G. Consequently,
Thus, accurate local score-law learning provides a sufficient condition for small subgroup coverage gaps.
A.4 Empirical Subgroup Coverage
We now relate the empirical subgroup coverage measured on an independent test sample to the population subgroup coverage above. Under the assumptions of Proposition 3, let be an i.i.d. test sample drawn from the conditional distribution of given , independent of and .
Corollary 1. Let be the coverage measured on an independent subgroup test sample of size , denoted as . Then, for any , with probability at least ,
In particular,
Corollary 1 connects the theoretical subgroup coverage guarantee to the quantities reported in our experiments. When the learned transform reduces and the subgroup test sample size is sufficiently large, the empirical subgroup coverage concentrates near the nominal level up to the conformal correction .
Proof. Conditional on and , the prediction set is fixed. Since the test points
are i.i.d. draws from the conditional distribution of given , the indicators
are i.i.d. Bernoulli random variables with mean , where the probability is understood conditional on and .
Therefore, by Hoeffding's inequality, for any ,
Equivalently, with probability at least over ,
By Proposition 3, . Combining this with Eq. (A10) and the triangle inequality yields
Next, since , we have . Hence
Finally, Proposition 3 implies . On the same high-probability event as in Eq. (A10),
and therefore
B Model Details
This appendix specifies the concrete instantiation of the aggregate local score law in Eq. (8) and the corresponding training objective. The algorithm 2 demonstrates a specific process.
Latent calibration state. Let denote the backbone feature representation and let denote the corresponding predictive probability vector. We parameterize a Gaussian latent posterior .
Algorithm 2 Detailed Training and Inference Procedure for SGCP
Require: Training data , calibration data , backbone classifier , nonconformity score , latent calibration components, posterior samples, hyperparameters , , miscoverage level
Ensure: Prediction set
1: Split into and
2: Train the backbone predictor on
3: Initialize the stochastic assignment module and component laws
4: for each optimization step on do
5: Sample a mini-batch
6: Compute backbone features, and nonconformity scores
7: Estimate posterior-averaged memberships from
8: Compute component transforms and local densities
9: Compute , , and
10: Update assignment and component parameters by minimizing
11: end for
12: Construct the learned local score transform
13: for each do
14: Compute
15: end for
16: Sort and compute the conformal cutoff with fallback if
17: for each candidate label do
18: Compute
19: end for
20: return
Stochastic grouping map. Let denote learnable prototypes in the latent space. For a latent draw , define the assignment vector
where is a temperature parameter. Given , the posterior-averaged membership vector is estimated by
Remark 4. Marginal conformal validity only requires global exchangeability, so it can hold even when score behavior varies substantially across subgroups. Such heterogeneity can make a single global calibration rule locally unreliable. SGCP addresses this by learning latent calibration components that shift calibration evidence among samples with similar score behavior, providing a practical way to approximate oracle local score laws without assuming exact local exchangeability.
Remark 5. In SGCP, posterior sampling approximates a stable stochastic grouping map rather than adding randomness to conformal calibration. For fixed x, draw and set
The induced local score law is
Samples share calibration evidence through the common components , and posterior averaging reduces Monte Carlo variability in the sample-specific weights. As , the law of large numbers gives almost surely, and therefore
B.1 Training Objective
We train the stochastic assignment module and the component parameters on , while keeping the backbone fixed. For each , define
The latent components are intended to serve as reusable local score laws. Thus, scores routed to the same component should be comparable after being mapped to their component-wise percentile scale, while the induced local mixture density should still explain the observed true-label nonconformity scores. These two requirements lead to the rank-uniformization and local density-fitting terms below.
Rank-uniformization. For a mini-batch of size and a fixed component , let be the sorted values of , and let denote the correspondingly reordered weights. Normalize the weights within component by
The weighted rank midpoint is . We define the component-wise rank-uniformization loss as
Averaging over active components gives
Local density fitting. Let denote the density associated with . The local mixture density at is . We fit the observed true-label scores by the negative log-likelihood
The rank term makes the component transforms behave like percentile maps, whereas the likelihood term ties the learned score laws to the empirical score distribution.
Information maximization for stochastic grouping. The preceding two terms specify how the component score laws should behave, but they do not by themselves ensure that the grouping map uses the components in an informative way. For example, a balance constraint on the average component mass can prevent all samples from collapsing onto a single component, but it still permits the opposite degenerate solution in which every sample is assigned nearly uniformly to all components. Such assignments are balanced in aggregate, yet they carry little sample-specific information and tend to make the learned component laws indistinguishable.
We therefore encourage the component assignment to retain information about the input. For a mini-batch , view the assignment as a conditional categorical distribution , where denotes the latent component index. The induced marginal component distribution on the mini-batch is
The empirical mutual information between inputs and component assignments is
where
We use the normalized form
The marginal entropy term encourages all components to be used at the batch level, while the conditional entropy term encourages each sample to have a sharper, more informative assignment. Thus, maximizing discourages both hard component collapse and soft uniform assignment.
Full objective. Taking the rank-uniformization loss as the reference scale, we optimize
where controls the strength of local density fitting and controls the strength of stochastic-grouping information maximization.
C Complexity Analysis
Beyond backbone training, SGCP adds three sources of computation: stochastic grouping, local score-law fitting, and conformal calibration on transformed scores. Let denote the number of training samples used for learning the grouping map and local score laws, the calibration size, and the number of test samples. Treating the number of epochs, posterior samples, latent components, latent dimension, classes, and batch size as constants, the training overhead is linear in , up to an optional sorting step for constructing empirical component CDFs.
Calibration requires computing one transformed score per calibration sample and selecting a conformal quantile, costing with sorting or with linear-time selection. At test time, the grouping map is evaluated once per input and transformed scores are computed for all candidate labels, giving constant overhead per test sample and total cost .
Overall, under the standard mini-batch implementation, the additional complexity beyond backbone training is , or with linear-time quantile selection.
D Detailed Experimental Setup
D.1 Additional Benchmark Details
Table A2: Summary of datasets and grouping attributes used for evaluation.
| Dataset | Modality | #Classes | #Attrs | Sensitive / grouping attributes |
|---|---|---|---|---|
| SYN | tabular | 6 | 3 | gender, phenotype, age |
| Nursery | tabular | 4 | 5 | parents, children, finance, social, health |
| MIMIC-IV | tabular | 2/3 | 3 | minority, gender, public insurance |
| BACH | image | 4 | - | class label (for class-wise reliability analysis) |
In this section, we describe the dataset preprocessing in detail. A summary is provided in Table A2.
Synthetic. The synthetic benchmark is a controlled multiclass cardiopulmonary diagnosis task with six labels, , corresponding to Hypertension, Coronary Artery Disease, Heart Failure, Arrhythmia, Valvular Heart Disease, and Peripheral Artery Disease.
Each sample contains four grouping attributes, , and six non-sensitive physiological variables , where . We draw
with denoting Female/Male and denoting Type I/Type II. Age is assigned cyclically over {Pediatric, Adult, Geriatric}, and region is sampled uniformly from {North, South, East, West}.
To induce intersection-dependent difficulty, we define the disadvantaged subgroup through the XNOR relation between sex and phenotype,
which includes Female–Type I and Male–Type II individuals.
Labels are generated from a latent multiclass mechanism based on . We first construct a class-probability vector over the six disease classes. Outside ambiguous regions of the feature space, labels follow the dominant class implied by . Inside ambiguous regions, we introduce subgroup-dependent uncertainty by mixing with the uniform distribution :
The parameters and control label ambiguity for the disadvantaged subgroup and the remaining population, respectively. Thus, exhibits systematically higher conditional uncertainty while the global task structure remains unchanged, yielding a controlled setting for studying subgroup-dependent calibration difficulty.
Nursery. Nursery is a public multiclass tabular benchmark derived from a hierarchical decision problem for ranking nursery-school applications. Following standard preprocessing, we remove the recommend class, which contains only two samples, and encode the remaining labels into four admission-priority levels, .
Each instance contains eight categorical covariates describing household background and application context, including parents' occupation, number of children, housing, financial standing, social conditions, and health status. All categorical variables are label-encoded before training. We use five covariates as candidate sensitive attributes,
corresponding to parents’ occupation, number of children, financial standing, social conditions, and health status. These attributes are used only for subgroup construction and fairness evaluation.
To induce controlled subgroup disadvantage, we follow the intervention protocol of prior work [29, 27]. We define
corresponding to a particular preprocessed category of the parents attribute. We then modify only this subgroup by downsampling it to 10% of its original size and injecting label uncertainty. Specifically, labels are perturbed by independent noise , then rounded and clipped to . This creates a subgroup that is both underrepresented and noisier than the rest of the population, serving as the disadvantaged group in our fairness evaluation.
MIMIC-IV. We construct our clinical benchmark from MIMIC-IV at the hospital-admission level. Each admission is linked with ICU-stay information and diagnosis-code counts, yielding tabular covariates from demographic, administrative, and utilization records. Age is computed from anchor_age, adjusted by the difference between admission year and anchor year, and clipped to [0, 89]. We also derive ICU-related features, including ICU length of stay, time from hospital admission to first ICU entry, and the number of diagnosis codes.
Table A3: Dataset specific hyperparameter settings for SGCP.
| Hyperparameter | SYN | Nursery | M-ICU | M-Hosp | BACH | Description |
|---|---|---|---|---|---|---|
| (i) Latent calibration components | ||||||
| K | 3 | 6 | 3 | 3 | 6 | number of latent calibration components |
| 16 | 8 | 8 | 8 | 64 | latent calibration dimension | |
| hidden dim | 64 | 64 | 32 | 32 | 64 | hidden dimension of grouping network |
| (ii) Score law learning | ||||||
| SGCP train epochs | 100 | 100 | 100 | 100 | 100 | number of SGCP training epochs |
| SGCP learning rate | learning rate for SGCP training | |||||
| λ | 0.5 | 0.05 | 0.5 | weight of negative log likelihood loss | ||
| β | 0.1 | 0.5 | weight of balance regularization | |||
| 3 | 6 | 3 | 3 | 8 | posterior samples during training | |
| 8 | 8 | 8 | 16 | 8 | posterior samples during evaluation | |
| (iii) Backbone & optimization | ||||||
| train epochs | 200 | 200 | 40 | 40 | 100 | number of backbone training epochs |
| learning rate | learning rate for backbone training | |||||
| batch size | 32 | 128 | 128 | 128 | 32 | mini batch size |
| weight decay | optimizer weight decay | |||||
Note: M-ICU denotes MIMIC-IV (ICU delay) and M-Hosp denotes MIMIC-IV (in hospital).
Table A4: Ablation study of SGCP over 20 runs. Results with nominal coverage are shown in blue, optimal values are boldfaced, and AvgSize exceeding half of the total number of categories is highlighted in red. CovGap is reported in percent.
| Method | SYN | Nursery | MIMIC | BACH | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cov. | AvgSize | CovGap | Cov. | AvgSize | CovGap | Cov. | AvgSize | CovGap | Cov. | AvgSize | CovGap | |
| Default SGCP | ||||||||||||
| (a) w/o Stochastic | ||||||||||||
| (b) Feature space | ||||||||||||
| (c) w/o rank | ||||||||||||
| (d) w/o NLL | ||||||||||||
| (e) w/o MI | ||||||||||||
For subgroup evaluation, we define three binary grouping attributes. The race indicator minority equals 1 if the recorded race string does not contain WHITE; gender_m equals 1 for male patients; and public_insurance equals 1 if the primary insurance is MEDICARE or MEDICAID. These attributes are used only for subgroup construction and fairness evaluation. Model inputs include age, one-hot indicators for insurance type, admission type, and marital status, ICU length of stay, and the number of diagnosis codes; ICU length of stay is excluded for ICU-delay prediction.
We consider two tasks. The first is in-hospital mortality prediction, with binary labels derived from hospital_expire_flag. Results for this task are reported as MIMIC-IV (in-hospital) in Figures 5, A9, and A10. The second is ICU-delay prediction, reported as MIMIC-IV (ICU delay), where admissions are categorized by the time from hospital admission to first ICU entry:
Together, these tasks provide a real-world clinical benchmark for evaluating fairness across race, gender, and insurance-defined subgroups.
BACH. The Breast Cancer Histology (BACH) dataset [2] is a histopathology benchmark for evaluating subgroup reliability under visual heterogeneity. We use Part A, which contains 400 H&E-stained microscopy images evenly distributed across four classes: normal, benign, in situ carcinoma, and invasive carcinoma. Images were acquired at magnification with resolution , annotated by two pathologists, and collected from 39 patients, though anonymization prevents complete patient-level tracing. The task is four-class classification with
Since demographic sensitive attributes are unavailable, we use the class label as a proxy grouping variable and set . Subgroup reliability is therefore evaluated across disease categories,
Table A5: Performance comparison w.r.t. sample sparsity on the Synthetic Dataset (Target ). Takeaway: SGCP remains consistently close to nominal coverage across all sample sizes while achieving the smallest subgroup coverage gap and comparatively small prediction sets. And the performance of each specific sensitive group is shown in the Fig. A6.
| Method | N = 500 | N = 1000 | N = 2000 | N = 4000 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | |
| Marginal | 90.15±6.50 | 2.150±0.420 | 32.5±6.5 | 90.20±4.20 | 1.950±0.400 | 21.5±6.2 | 90.12±4.10 | 1.820±0.380 | 19.7±6.0 | 89.52±1.52 | 2.309±0.078 | 14.5±1.6 |
| Partial | 95.50±3.20 | 4.520±0.300 | 9.5±2.8 | 94.20±3.00 | 2.950±0.280 | 7.9±2.5 | 93.50±2.80 | 2.820±0.250 | 7.5±2.2 | 94.50±1.12 | 2.419±0.048 | 6.2±0.7 |
| Exhaustive | 100.00±0.00 | 6.000±0.000 | 12.5±3.2 | 98.50±2.20 | 4.850±0.250 | 10.5±3.0 | 98.20±2.10 | 4.150±0.220 | 7.9±2.7 | 95.80±0.91 | 3.342±0.053 | 6.0±0.6 |
| RLCP | 95.80±3.80 | 2.910±0.520 | 9.2±8.2 | 95.10±3.20 | 2.850±0.480 | 8.5±6.8 | 94.60±2.90 | 2.850±0.460 | 6.4±5.5 | 93.15±2.45 | 2.540±0.305 | 4.5±1.8 |
| CluCP | 90.22±2.06 | 3.112±0.332 | 10.7±0.9 | 90.62±0.98 | 2.722±0.269 | 9.9±0.7 | 91.11±1.83 | 2.756±0.250 | 8.9±1.1 | 89.81±1.78 | 2.426±0.050 | 4.9±0.8 |
| AFCP | 90.67±1.44 | 3.162±0.292 | 6.4±0.8 | 91.30±1.24 | 2.854±0.328 | 7.6±0.7 | 91.62±1.71 | 2.848±0.227 | 7.3±0.9 | 91.77±1.23 | 2.432±0.043 | 4.6±0.5 |
| FaReG | 92.18±1.26 | 3.536±0.388 | 7.5±0.6 | 92.41±1.13 | 3.178±0.288 | 8.5±0.6 | 92.49±1.57 | 3.141±0.238 | 8.5±0.9 | 92.61±0.98 | 2.579±0.029 | 4.7±0.5 |
| SGCP | 91.20±1.20 | 2.050±0.120 | 6.1±0.9 | 90.80±1.10 | 1.820±0.110 | 5.1±0.8 | 90.50±1.00 | 1.710±0.090 | 4.7±0.8 | 90.13±0.39 | 2.225±0.035 | 4.2±0.7 |
Table A6: Dataset access and preprocessing sources.
| Dataset | Source | Access note |
|---|---|---|
| Synthetic | Procedurally generated; see Appendix D.1 | Generated from the described simulation protocol |
| Nursery | https://archive.ics.uci.edu/dataset/76/nursery | Public UCI dataset |
| MIMIC-IV | https://physionet.org/content/mimiciv/3.1/ | Credentialed access via PhysioNet |
| BACH | https://zenodo.org/records/3632035 | Public Zenodo record |
which naturally differ in visual complexity, intra-class variability, and class-boundary ambiguity. For preprocessing, images are resized to , augmented during training with random horizontal and vertical flips, and normalized using ImageNet statistics. We train a visual backbone and use the learned representations for downstream prediction and evaluation.
In this benchmark, heterogeneity is primarily visual rather than demographic. Differences in tissue morphology, staining, lesion structure, and acquisition conditions can induce distinct class-conditional score laws, . Thus, BACH complements the tabular benchmarks by testing whether SGCP can maintain reliable conditional coverage when subgroup structure reflects semantic visual heterogeneity rather than explicit sensitive attributes.
D.2 Implementation Details
Computing resources. All experiments are conducted on a workstation equipped with an Intel i5-14600KF CPU, 32 GB of RAM, and a single NVIDIA GeForce RTX 4090 D GPU. All models are implemented in PyTorch, and each experimental setting is trained with multiple random seeds. The hyperparameters for each dataset are reported in Table A3. Data access and code availability are summarized in Tables A6 and A7, respectively.
Open access to data and code. All external datasets used in our experiments are publicly documented and accessible online, subject to their original access requirements. The synthetic dataset is generated procedurally following Appendix D.1. The code for SGCP is provided anonymously in the supplementary material, and baseline implementations are based on the publicly available repositories listed below.
D.2.1 Baseline implementation details
We compare SGCP with six baselines: Partial Equalized, Exhaustive Equalized, CluCP, AFCP, FaReG, and RLCP. Unless otherwise stated, all methods use the same backbone classifier and softmax-based nonconformity score as SGCP. Hyperparameters are adopted from the original papers or released implementations whenever available.
Partial and Exhaustive Equalized. We extend the equalized-coverage framework of [20] to conformal prediction by applying group-conditional calibration over sensitive groups. Partial Equalized calibrates separately for each value of one sensitive attribute, whereas Exhaustive Equalized calibrates over all intersectional groups induced by the full combination of sensitive attributes. In both cases, the classifier is trained on all samples, and only the calibration step is group-conditional.
Table A7: Code availability and baseline implementations.
| Method | Code source |
|---|---|
| SGCP | https://anonymous.4open.science/r/sgcp/ |
| Partial Equalized | https://github.com/yromano/cqr |
| RLCP | https://github.com/rohanhore/RLCP |
| CluCP | https://github.com/tiffanyding/class-conditional-conformal |
| AFCP | https://github.com/FionaZ3696/Adaptively-Fair-Conformal-Prediction |
| FaReG | https://github.com/Xusr1123/FaReG |

Methods
RLCP
Marginal CP
Partial CP
Exhaustive CP
CluCP
AFCP
FaReG
SGCP
Figure A6: Group coverage on SYN dataset. SGCP remains close to the target coverage across classes while using smaller prediction sets than more conservative baselines.
CluCP. We implement CluCP following its original clustered conformal pipeline. The clustering fraction and the number of clusters are selected using the heuristic proposed in the paper. Class embeddings are clustered by weighted -means with the default KMeans implementation. Although CluCP targets class-wise rather than subgroup-fair calibration, it provides a useful non-global calibration baseline.
AFCP. We implement AFCP using its original adaptive attribute-selection procedure, directly applying it to the sensitive attributes available in each dataset.
FaReG. We follow the original FaReG representation-learning pipeline: an encoder-decoder first learns latent representations, representation-based low-coverage groups are then identified, and prediction sets are adjusted accordingly. We use the original three-layer MLP encoder and decoder. For Synthetic and Nursery, we adopt the reported hyperparameters: hidden dimensions [64, 32], batch size 500, learning rates and , respectively, with for Synthetic and (0.1, 0.1, 100) for Nursery. For the remaining datasets, we keep the architecture and optimization settings as close as possible to the released implementation.
RLCP. We implement RLCP following its weighted localization procedure. Calibration samples are weighted by their similarity to each test point, and prediction sets are constructed using the corresponding weighted conformal quantile. For all datasets, we use the Gaussian kernel and the bandwidth-selection rule from the original method, without subgroup-specific tuning.
E Additional Experiments
E.1 Ablation Study
Table A4 studies the contribution of each component in SGCP. The default model achieves nominal marginal coverage on all datasets and obtains the best or tied-best CovGap on three out of four datasets, while maintaining the smallest or near-smallest prediction sets. This suggests that the full objective provides the most favorable balance between validity, subgroup reliability, and efficiency.
Removing posterior stochasticity consistently degrades subgroup reliability. The deterministic variant increases CovGap on all datasets, indicating that posterior averaging is useful for stabilizing the local

Figure A7: Group coverage on Nursery. Top: subgroup coverage vs. average prediction set size at a sample size of 4000, with the dashed line indicating nominal coverage of 0.9. Bottom: prediction set size varies with subgroup sample size. SGCP stays close to the nominal target while remaining among the most efficient methods across subgroup definitions.
Table A8: Performance comparison w.r.t. sample sparsity on the Nursery Dataset (Target ). Takeaway: SGCP remains near nominal coverage even in the sparse regime and consistently achieves the smallest subgroup coverage gap, while competing methods improve subgroup reliability only with larger prediction sets or at the cost of under- or over-coverage. And the performance of each specific sensitive group is shown in the Fig. A7.
| Method | N = 500 | N = 1000 | N = 2000 | N = 4000 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | |
| Marginal | 48.25±8.50 | 1.120±0.350 | 29.5±6.5 | 57.59±8.20 | 1.080±0.330 | 29.1±5.2 | 59.72±7.80 | 1.050±0.310 | 26.2±5.8 | 84.15±5.20 | 2.170±0.260 | 20.4±5.2 |
| Partial | 84.61±4.80 | 2.850±0.310 | 17.7±3.8 | 86.07±4.50 | 2.620±0.280 | 16.8±3.5 | 87.86±4.20 | 2.450±0.250 | 15.2±3.2 | 88.97±3.80 | 1.850±0.200 | 12.1±2.5 |
| Exhaustive | 100.00±0.00 | 4.000±0.000 | 19.5±0.1 | 98.00±0.10 | 3.980±0.001 | 18.8±0.2 | 98.00±0.12 | 3.979±0.001 | 17.5±0.8 | 96.80±3.10 | 2.850±0.220 | 15.5±3.2 |
| RLCP | 82.45±14.20 | 2.250±0.580 | 18.5±9.5 | 83.36±13.80 | 1.720±0.550 | 17.8±6.2 | 83.31±11.50 | 1.480±0.510 | 16.5±5.8 | 88.67±6.20 | 1.220±0.410 | 13.5±3.8 |
| CluCP | 86.26±5.61 | 1.506±0.265 | 17.3±4.5 | 83.80±3.59 | 1.516±0.265 | 17.1±2.9 | 84.42±2.47 | 1.261±0.096 | 16.9±1.8 | 85.08±1.60 | 1.121±0.064 | 12.8±1.3 |
| AFCP | 92.78±4.81 | 1.551±0.345 | 18.7±3.9 | 94.85±3.69 | 1.163±0.074 | 16.4±2.8 | 93.12±1.33 | 1.092±0.031 | 15.6±1.1 | 92.85±0.84 | 1.085±0.024 | 14.1±0.6 |
| FaReG | 93.77±3.66 | 1.879±0.515 | 17.4±2.9 | 92.47±3.04 | 1.346±0.146 | 16.2±2.3 | 94.37±1.44 | 1.257±0.027 | 15.4±1.1 | 93.21±0.62 | 1.230±0.012 | 13.3±0.6 |
| SGCP | 92.72±1.50 | 1.320±0.080 | 15.1±1.5 | 92.10±1.20 | 1.210±0.060 | 14.6±1.2 | 91.97±1.00 | 1.120±0.050 | 12.3±1.0 | 91.65±0.70 | 1.089±0.035 | 11.8±0.7 |
score law rather than committing each sample to a single calibration state. Replacing the learned calibration state with feature-space grouping also leads to larger CovGap and larger prediction sets, especially on MIMIC and BACH. This supports our motivation that similarity in raw feature space is not necessarily the right notion of locality for conformal calibration; what matters is similarity in score behavior.
The loss ablations further clarify the role of each training signal. Without the rank-uniformization loss, coverage becomes less stable and CovGap increases substantially, showing that aligning transformed scores to a common percentile scale is central to subgroup reliability. Removing the density-fitting term also worsens the tradeoff between coverage and efficiency, often producing larger prediction sets, which suggests that likelihood-based fitting helps the learned local law remain faithful to the observed score distribution. Finally, removing the mutual-information term leads to less reliable subgroup calibration and higher variance across runs, consistent with component underuse or less informative stochastic grouping. Overall, the ablation results support the design of SGCP: subgroup reliability improves when local score laws are learned through both distributional fitting and rank-based normalization, and when calibration evidence is shared through informative stochastic components.
E.2 Sensitivity to Hyperparameters and Subgroup Configurations
E.2.1 Effect of sample sparsity
Tables A5–A10 study how performance changes as the effective sample size varies. As the effective sample size decreases, methods based on explicit subgroup equalization or localization tend to become increasingly conservative, while global calibration remains efficient but suffers from large subgroup disparity. By contrast, SGCP degrades more gracefully in the sparse regime and benefits more consistently from additional data as sample size grows. This pattern is strongest on the synthetic
Table A9: Performance comparison w.r.t. sample sparsity on MIMIC-IV (target ). Each method is run 20 times. Takeaway: On the MIMIC-IV dataset, SGCP consistently achieves near-nominal coverage while maintaining the lowest subpopulation disparity (CovGap) in sparse settings (). Even with the full dataset, SGCP provides a highly efficient prediction set with excellent fairness metrics compared to conventional baselines.
| Method | N = 2000 | N = 5000 | Full (All Samples) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | |
| Marginal | 90.06±10.14 | 1.074±0.211 | 34.4±10.9 | 90.79±10.62 | 1.026±0.087 | 29.6±9.3 | 90.79±10.62 | 1.226±0.087 | 27.1±7.1 |
| Partial | 95.73±3.62 | 1.564±0.243 | 11.0±5.6 | 94.50±4.54 | 1.335±0.207 | 9.2±4.0 | 94.50±4.54 | 1.258±0.140 | 8.0±3.0 |
| Exhaustive | 100.00±0.00 | 3.000±0.000 | 18.7±8.0 | 98.86±5.21 | 2.989±0.004 | 21.4±5.3 | 96.45±4.22 | 2.800±0.142 | 19.7±3.2 |
| RLCP | 95.10±2.40 | 1.650±0.120 | 4.2±2.6 | 93.20±2.10 | 1.480±0.150 | 3.5±1.4 | 92.50±2.80 | 1.350±0.100 | 1.5±0.8 |
| CluCP | 95.11±1.92 | 1.654±0.192 | 4.5±1.5 | 93.19±1.28 | 1.422±0.059 | 3.5±1.0 | 92.22±1.28 | 1.302±0.059 | 3.5±0.8 |
| AFCP | 91.81±2.51 | 1.400±0.075 | 3.9±1.0 | 91.40±1.12 | 1.114±0.045 | 3.3±0.8 | - | - | - |
| FaReG | 95.78±2.09 | 1.601±0.078 | 4.1±1.2 | 92.58±1.05 | 1.357±0.050 | 3.0±1.1 | 90.23±0.09 | 1.174±0.001 | 0.5±0.0 |
| SGCP | 90.12±1.91 | 1.060±0.068 | 3.3±0.7 | 90.48±1.36 | 1.116±0.050 | 2.6±0.5 | 90.17±0.07 | 1.107±0.001 | 0.8±0.0 |

Methods
RLCP
Marginal CP
Partial CP
Exhaustive CP
CluCP
AFCP
FaReG
SGCP
Figure A8: Group coverage on MIMIC-IVdataset. SGCP remains close to the target coverage across classes while using smaller prediction sets than more conservative baselines.
benchmark and on BACH, where subgroup heterogeneity is more structured, and remains visible on MIMIC-IV, where SGCP is particularly competitive in the sparse and moderate sample regimes.
For a clearer comparison, we also provide separate box plots for each metric across methods and sample sizes. Figures A9, A10, and 5 show the distributions of overall coverage, average prediction set size, and subgroup coverage gap under varying sample sparsity. Each box summarizes 20 independent trials with different random seeds for a given dataset and sample-size setting. Across datasets, SGCP remains near the nominal target with competitive set sizes and consistently low subgroup disparity, especially in sparse regimes where competing methods become more conservative or more variable.
E.2.2 Effect of the number of latent components
Figure A11 visualizes the learned component densities on SYN under different choices of . When is small, the model learns a few distinct score law patterns that separate low score and high score calibration regimes. As increases, additional components tend to overlap with existing ones or become nearly flat, suggesting that the dominant calibration structure has already been captured by a smaller number of components. This behavior indicates that controls the granularity of stochastic sharing rather than simply increasing model capacity. In practice, overly large may introduce redundant components, while a moderate provides a compact set of reusable score law building blocks for constructing sample dependent local score laws.
Figure A12 shows a similar sensitivity pattern on MIMIC-IV, but with a different score structure. Most learned components concentrate near small nonconformity scores, reflecting the strong mass of the empirical score distribution in the low score region. Increasing refines this region and introduces broader components that capture the remaining tail behavior. However, when becomes large, several components overlap substantially or become weakly differentiated. This suggests that
Table A10: Performance comparison w.r.t. sample sparsity on BACH (target ). Each method is run 20 times. Takeaway: Under extreme sparsity, most methods become conservative, but with the increase in sample size, SGCP recovers the fastest, with near-nominal coverage, a smaller prediction set, and lower subpopulation disparity, outperforming other baseline methods. The performance of each individual subgroup is further shown in Fig. 4.
| Method | N = 50 | N = 150 | N = 200 | N = 300 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | Cov. ↑ | AvgSize ↓ | CovGap ↓ | |
| Marginal | 89.34±3.35 | 3.700±0.474 | 19.0±2.1 | 90.50±3.86 | 3.604±0.494 | 17.6±2.0 | 90.69±15.75 | 3.545±0.445 | 15.9±2.9 | 89.20±9.64 | 2.894±0.267 | 15.7±1.7 |
| Partial | 98.33±2.66 | 3.735±0.316 | 7.8±1.0 | 97.45±3.25 | 3.711±0.290 | 6.2±0.6 | 97.17±11.56 | 3.460±0.258 | 7.5±0.7 | 96.57±8.08 | 3.385±0.299 | 7.6±1.6 |
| Exhaustive | 100.00±0.00 | 4.000±0.105 | 11.7±0.7 | 100.00±0.00 | 4.000±0.115 | 9.2±0.5 | 98.73±0.63 | 3.837±0.233 | 11.0±0.1 | 97.41±6.89 | 3.867±0.118 | 11.6±1.5 |
| RLCP | 91.74±3.06 | 2.855±0.440 | 8.2±3.6 | 92.25±3.80 | 2.763±0.422 | 7.9±3.8 | 91.99±10.88 | 2.611±0.411 | 6.4±3.8 | 91.88±10.56 | 2.311±0.319 | 8.1±2.5 |
| CluCP | 97.80±3.14 | 3.936±0.199 | 8.7±1.5 | 96.60±3.29 | 3.882±0.180 | 8.1±1.9 | 98.34±0.50 | 3.985±0.110 | 10.0±2.6 | 95.91±3.59 | 3.257±0.220 | 10.7±2.6 |
| AFCP | 100.00±0.50 | 4.000±0.120 | 10.0±1.2 | 96.50±2.64 | 3.817±0.116 | 8.3±1.3 | 95.80±2.39 | 3.447±0.297 | 7.5±1.2 | 95.00±2.60 | 2.830±0.237 | 6.3±1.7 |
| FaReG | 99.00±2.00 | 3.946±0.153 | 9.3±1.3 | 98.40±1.78 | 3.914±0.212 | 8.4±1.8 | 96.80±1.93 | 3.769±0.250 | 7.7±1.5 | 93.60±3.40 | 2.959±0.239 | 7.4±1.5 |
| SGCP | 96.44±2.61 | 3.842±0.136 | 6.8±2.2 | 92.63±4.04 | 3.344±0.240 | 5.0±1.58 | 92.22±2.39 | 2.370±0.197 | 4.6±2.1 | 92.00±2.70 | 2.224±0.215 | 6.2±1.1 |
additional components mainly refine existing calibration patterns rather than uncover entirely new score regimes. Together, the SYN and MIMIC-IV results show that a moderate number of latent components is sufficient to capture the dominant score law structure, while larger may lead to redundant calibration sharing.
E.2.3 Hyperparameter sensitivity
Figures A13 and A14 examine the sensitivity of SGCP w.r.t. several key hyperparameters, including , , the number of latent calibration components , and the number of evaluation latent samples , under different split ratios. Across both datasets, the hyperparameter curves are generally flat, indicating that the performance of SGCP does not rely on delicate tuning.
On the SYN, this stability is particularly clear: coverage remains close to the nominal target across all tested settings, while the changes in average prediction set size and subgroup coverage gap are modest. The most visible effect comes from the split ratio, where allocating more data to score law learning consistently improves subgroup reliability and reduces prediction set size. On MIMIC-IV, it show a similar pattern. Coverage remains tightly concentrated around the nominal level across all tested settings, with modest changes in AvgSize and CovGap. Compared with hyperparameter choices, allocation training data to local score law learning has a more visible effect on the final tradeoff. Overall, these results suggest that the gains of SGCP stem primarily from its structured local score law design rather than from aggressive hyperparameter tuning.
E.3 Wall-Clock Time
We compare the wall-clock time of the full SGCP pipeline with all baselines under varying calibration sample sizes. Figure A15 reports the average runtime over repeated runs, with error bars indicating one standard deviation. Marginal CP and Partial CP are the fastest methods, as they require only global calibration. RLCP and SGCP incur additional cost from sample-dependent calibration, but remain moderate and scale smoothly with sample size. AFCP is the most expensive baseline by a large margin, reflecting its repeated adaptive subgroup selection and conformal recalibration, while CluCP and FaReG lie in between. Overall, SGCP provides a favorable computational tradeoff, remaining practical across all tested sample sizes while achieving stronger subgroup reliability than simpler global or rigid group based baselines.
E.4 Limitations
Our study has several limitations. All experiments are conducted on retrospective benchmarks, so prospective validation is needed to understand the practical impact of subgroup reliable prediction sets in real clinical workflows. In addition, our current framework is developed for multiclass classification and does not address regression or other prediction settings. Extending the method beyond classification and evaluating it under deployment level constraints are left to future work.

Figure A9: Distribution of overall coverage over repeated runs under varying sample sparsity. The dashed line marks the nominal target coverage of 0.9. Takeaway: SGCP remains consistently close to the target across datasets and sample sizes, whereas global calibration may under-cover in sparse regimes and stronger equalization baselines often become overly conservative.
F Supplement to Related Work
Group-conditional and fairness-aware conformal prediction. A substantial body of work studies fairness-aware conformal prediction through coverage parity across groups that are either specified in advance or adaptively selected from data. Vadlamani et.al [23] develop a unified post-hoc framework that extends classical fairness notions to prediction sets by adjusting conformity thresholds in a fairness-aware manner. AFCP [29] study conformal classification with equalized coverage for adaptively selected groups, selecting features that reflect potential model limitations or biases in order to balance predictive efficiency and group reliability. FAREG [27] goes beyond predefined sensitive groups by learning representation-based subgroups and adaptively promoting equalized coverage for populations that would otherwise receive unfair treatment. SAGCCI [11] examines the tradeoff between fairness and efficiency by clustering protected groups with similar conformal score distributions and by using surrogate outcomes to improve threshold estimation. This is particularly close in spirit to our work in its use of score-distribution similarity to share calibration information. The key distinction lies in the granularity of the sharing mechanism. SAGCCI shares calibration information across clusters of observed protected groups, whereas SGCP learns a sample-dependent stochastic mixture over latent calibration components and thereby induces a local score law for each individual sample. Consequently, the calibration-sharing structure learned by SGCP need not align with protected-group labels and does not rely on surrogate outcomes.

Figure A10: Distribution of average prediction set size over repeated runs under varying sample sparsity. Smaller values indicate better efficiency. Takeaway: SGCP remains among the most efficient methods across datasets and sample sizes, often matching or improving upon the smallest prediction sets while avoiding the severe conservatism of explicit equalization and localized baselines.

(a) K=3
(b) K=6
(c) K=9
(d) K=12
Figure A11: Effect of K on learned latent component densities for SYN. Increasing K refines the score law components, but large K introduces overlapping or redundant densities.
Structured sharing and learned calibration groups. A related line of work improves upon a single global calibration rule by sharing calibration evidence across structured partitions. Clustered conformal prediction [8] groups labels with similar score distributions in many-class settings and performs calibration at the cluster level, thereby interpolating between standard conformal prediction and fully class-conditional conformal prediction. Conceptually similar ideas also arise beyond conformal prediction. For instance, VIR [26] smooths probabilistic uncertainty estimates across neighboring label regions in imbalanced regression. Together, these works underscore the value of structured sharing: calibration and uncertainty estimation can often benefit from borrowing information across statistically related regions, rather than treating all samples globally or calibrating each group in

(a) K=3
(b) K=6
(c) K=9
(d) K=12
Figure A12: Effect of K on learned latent component densities for MIMIC-IV. Larger K refines the dominant low score region and tail behavior, but also introduces increasingly overlapping components.

Figure A13: Hyperparameter sensitivity of SGCP on SYN. We vary , , K, and , and report coverage, average set size, and subgroup coverage gap under different split ratios. Shaded bands show one standard deviation. Takeaway: SGCP is largely insensitive to these hyperparameters, while larger samples for score-law learning reduce covgap.
isolation. Another line of work enlarges or learns the group structure used for conditional calibration. Kandinsky Conformal Prediction [3] generalizes group-conditional conformal inference to overlapping and fractional group functions defined on , thereby expanding the collection of groups over which weighted coverage deviations can be controlled. Recent work on identifying homogeneous and interpretable groups for conformal prediction likewise uses nonconformity-score behavior to learn explicit partitions of the input space before applying group-conditional calibration [18]. These methods are closely related to ours in their shared emphasis on calibration-relevant structure beyond predefined sensitive attributes.
Our work adopts a complementary perspective. Instead of specifying a family of group functions or assigning each sample to a hard discovered partition, SGCP learns a sample-dependent local score law through stochastic mixing over shared latent calibration components. This enables calibration information to be shared according to learned score behavior, while the final prediction set is still obtained through standard split conformal calibration applied to transformed scores.

Figure A14: Hyperparameter sensitivity of SGCP on MIMIC-IV (ICU delay). Takeaway: SGCP is largely insensitive to these hyperparameters. Coverage remains close to the nominal level, and most of the variation in efficiency and subgroup reliability is driven by the split ratio rather.

Figure A15: Wall clock time comparison w.r. calibration sample. We report the wall-clock time for each method, averaged over repeated runs; error bars indicate one standard deviation. The horizontal axis is shown on a log scale. Takeaway: SGCP has moderate computational cost and is faster than AFCP, while remaining competitive with other subgroup aware baselines across all sample sizes.