Paper deep dive
Stochastic Grouping Conformal Prediction for Effective Subgroup Reliability
Meihui Zhong, Wenxin Tai, Ting Zhong, Fan Zhou
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 91%
Last extracted: 10/10/2026, 2:44:18 AM
Summary
The paper introduces Stochastic Grouping Conformal Prediction (SGCP), a framework designed to improve subgroup reliability in conformal prediction without relying on sensitive attributes. SGCP learns a latent calibration structure and a stochastic grouping map to create sample-adaptive local score laws, balancing flexibility and stability. It theoretically retains standard coverage guarantees and empirically reduces subgroup coverage gaps while maintaining efficient prediction set sizes compared to existing methods like RLCP, CluCP, AFCP, and FaReG.
Entities (10)
Relation Signals (10)
SGCP → improves → subgroup reliability
confidence 95% · SGCP improves subgroup reliability beyond global calibration without relying on sparse subgroup calibration data.
SGCP → retains → standard coverage guarantee
confidence 95% · We prove that SGCP retains the standard coverage guarantee.
SGCP → uses → stochastic grouping map
confidence 95% · It learns a stochastic grouping map that allows each sample to draw calibration information from others with similar calibration behavior
SGCP → evaluatedon → MIMIC-IV
confidence 90% · We empirically observe exactly this tension, as shown in Figure 1... on MIMIC-IV
standard conformal prediction → exhibits → coverage disparities
confidence 90% · Standard conformal prediction, however, provides such guarantees only at the population level, and its prediction sets can exhibit coverage disparities across clinically important subgroups.
SGCP → reduces → subgroup coverage gaps
confidence 90% · Experiments on synthetic and real-world benchmarks show that it consistently reduces subgroup coverage gaps
RLCP → isbaselinefor → SGCP
confidence 85% · Results are shown for RLCP... relative to existing baselines.
CluCP → isbaselinefor →
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
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.
Tags
Links
- Source: https://arxiv.org/abs/2610.11957v1
- Canonical: https://arxiv.org/abs/2610.11957v1
Trouble viewing inline? Open PDF directly →
Full Text
110,275 characters extracted from source content.
Expand or collapse full text
Stochastic Grouping Conformal Prediction for Effective Subgroup Reliability Meihui Zhong Affiliation: University of Electronic Science and Technology of China Wenxin Tai Affiliation: University of Electronic Science and Technology of China Ting Zhong Affiliation: University of Electronic Science and Technology of China Affiliation: Kashi Institute of Electronics and Information Industry Fan Zhou †thanks: Corresponding author: fan.zhou@uestc.edu.cn Affiliation: University of Electronic Science and Technology of China Affiliation: Intelligent Digital Media Technology, Key Laboratory of Sichuan Province Affiliation: Kashi Institute of Electronics and Information Industry 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 Lu et al. (2022b); Cheung et al. (2026); Lu et al. (2022a). Consider training data (Xi,Yi)i=1n\(X_i,Y_i)\_i=1^n and a future test point (Xn+1,Yn+1)(X_n+1,Y_n+1), where each feature Xi∈X_i lies in the feature space and response Yi∈Y_i lies in the label space. The goal is to construct a prediction set C^n(Xn+1)⊆ C_n(X_n+1) that contains the unknown test response Yn+1Y_n+1 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 Vovk et al. (2005); Shafer and Vovk (2008); Angelopoulos and Bates (2023), namely, ℙYn+1∈C^n(Xn+1)≥1−α.P\Y_n+1∈ C_n(X_n+1)\≥ 1-α. (1) 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 Foygel Barber et al. (2021); Romano et al. (2020b). 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 Finlayson et al. (2021); Chen et al. (2023). Differences in prevalence, data quality, and feature distributions across populations can induce distinct error patterns and nonconformity score distributions Kwon and Kim (2026). Thus, population-level calibration is prone to masking subgroup failures 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 Romano et al. (2020a); Xu et al. (2026) 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 Zhang et al. (2024); Cresswell et al. (2025); Cortes-Gomez et al. (2025). One may go even further and calibrate at the individual-sample level, as in localized conformal prediction Hore and Barber (2024); Romano et al. (2020a). 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. Figure 1: Tradeoff between subgroup coverage and prediction set size on MIMIC-IV Johnson et al. (2024) (1−α=0.91-α=0.9). Results are shown for RLCP (Hore and Barber, 2024), CluCP (Ding et al., 2023), AFCP (Zhou and Sesia, 2024), and FaReG (Xu et al., 2026). 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. 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 (Ding et al., 2023). 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. 2 Preliminaries We consider multiclass conformal classification with an exchangeable dataset =(Xi,Yi)i=1ND=\(X_i,Y_i)\_i=1^N, where Xi∈X_i and Yi∈=1,…,CY_i =\1,…,C\. Let fθ:→ΔC−1f_θ:X→ ^C-1 be a base classifier, with fθy(x)f_θ^y(x) denoting the predicted probability of class y. We use the nonconformity score s(x,y)=1−fθy(x)s(x,y)=1-f_θ^\,y(x). For an observed example (Xi,Yi)(X_i,Y_i), we write si=s(xi,yi)s_i=s(x_i,y_i), and it measures how inconsistent a point is with the true label. Given a training set traD_tra and a calibration set calD_cal, we are interested in constructing, for a test point Xn+1X_n+1, a confidence set C^(x)⊆ C(x) such that ℙYn+1∈C^(Xn+1)≥1−αP\Y_n+1∈ C(X_n+1)\≥ 1-α, for a miscoverage level α, without distributional assumptions beyond exchangeability. 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, ℙY∈C^(x)∣X=x≥1−αPX-a.e. x.P\Y∈ C(x) X=x\≥ 1-α P_X-a.e. x. (2) 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 Foygel Barber et al. (2021); Hore and Barber (2024). 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 Lu et al. (2022b); Vovk et al. (2003), a type we term Group-wise calibration CP. If G(x)∈1,…,KG(x)∈\1,…,K\ denotes a group label, this yields a group-specific threshold q^k=Quantile(si:(xi,yi)∈cal,G(xi)=k, 1−α) q_k=Quantile (\s_i:\,(x_i,y_i) _cal,\ G(x_i)=k\,\,1-α ), and outputs C^GW(x)=y∈:s(x,y)≤q^G(x). C_GW(x)=\y :\ s(x,y)≤ q_G(x)\. (3) 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 q^k q_k statistically unstable (Ding et al., 2023). This group-wise perspective also includes methods that learn or adapt groups before calibration. AFCP (Zhou and Sesia, 2024), for example, considers groups defined by sensitive attributes and makes the group selection itself adaptive. Let ϕ(x,)φ(x,A) denote the projection of x onto a selected sensitive-attribute set A. For instance, a subgroup “males with a bachelor’s degree” can be written as ϕ(x,k,ℓ)∈[Mk]×[Mℓ]φ(x,\k, \)∈[M_k]×[M_ ]. For each test point, AFCP selects either one sensitive attribute or none, A^(Xn+1)∈∅,1,…,K A(X_n+1)∈\ ,\1\,…,\K\\, and targets ℙ[Yn+1∈C^(Xn+1)∣ϕ(Xn+1,A^(Xn+1))]≥1−αP\! [Y_n+1∈ C(X_n+1) φ (X_n+1, A(X_n+1) ) ]≥ 1-α. This reduces to marginal coverage when A^(Xn+1)=∅ A(X_n+1)= . 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 (Xu et al., 2026) 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. (i) Localized calibration. Localized calibration, as in RLCP (Hore and Barber, 2024), 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 x=∈:x∈ X_x=\X∈ X:\,x \ denote the candidate neighborhoods containing x. A localized threshold can be written as q^loc(x)=sup∈xQuantile(si:(xi,yi)∈cal,xi∈, 1−α) q_loc(x)= _X∈ X_xQuantile (\s_i:\,(x_i,y_i) _cal,\ x_i \,\,1-α ), with prediction set C^loc(x)=y∈:s(x,y)≤q^loc(x). C_loc(x)=\y :\ s(x,y)≤ q_loc(x)\. (4) 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 introduces 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. Figure 2: Overview of SGCP. SGCP learns a local score law by mapping x to a stochastic grouping map w(x)w(x) over latent calibration components Fkk=1K\F_k\_k=1^K. Candidate labels are transformed by this local law and kept when their calibrated scores fall below the conformal threshold. 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 Fx⋆(s):=ℙ(S≤s∣X=x)F_x (s):=P(S≤ s X=x), where S denotes the nonconformity score, as the oracle object for reliable calibration to each subgroup. If we could estimate Fx⋆F_x 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 Fx⋆F_x for every x 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 Fx⋆:x∈\F_x :x \ with a structured mixture family. Concretely, SGCP approximates the oracle local score law by Fx⋆(s)≈F^(s∣x)=∑k=1Kwk(x)Fk(s),F_x (s)≈ F(s x)= _k=1^Kw_k(x)\,F_k(s), (5) where F1,…,FKF_1,…,F_K are latent calibration components and w(x)w(x) 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 Fx⋆F_x 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 hθ(x)∈ℝdh_θ(x) ^d denote the feature representation produced by the backbone classifier, and let fθ(x)∈ΔC−1f_θ(x)∈ ^C-1 denote the corresponding predictive probability vector. To capture heterogeneity in score behavior beyond predefined groups, we associate each sample with a latent calibration state z. We model this state via a posterior distribution qϕ(z∣x)=(μϕ(hθ(x)),diag(σϕ2(hθ(x)))),q_φ(z x)=N\! ( _φ (h_θ(x) ),diag ( _φ^2(h_θ(x)) ) ), (6) 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 z∼qϕ(z∣x)z q_φ(z x), we obtain a simplex-valued membership vector w~(x,z)=(w~1(x,z),…,w~K(x,z))∈ΔK−1 w(x,z)= ( w_1(x,z),…, w_K(x,z) )∈ ^K-1 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 z(1),…,z(M)∼i.i.d.qϕ(z∣x)z^(1),…,z^(M) i.i.d. q_φ(z x). We define the posterior-averaged membership of sample x on the k-th latent calibration component wk(x)=z∼qϕ(⋅∣x)[w~k(x,z)]≈1M∑m=1Mw~k(x,z(m)),k=1,…,K.w_k(x)=E_z q_φ(· x)[ w_k(x,z)]≈ 1M _m=1^M w_k (x,z^(m) ), k=1,…,K. (7) This yields the stochastic grouping map w(x)=(w1(x),…,wK(x))∈ΔK−1w(x)= (w_1(x),…,w_K(x) )∈ ^K-1, which determines how the latent calibration components are combined to form the learned local score law. Aggregate local score law. Each latent calibration component Fk:[0,1]→[0,1]F_k:[0,1]→[0,1] is a monotone mapping that represents one recurring calibration pattern in the score space. When needed, we write fkf_k for the corresponding density. Given the membership weight wk(x)w_k(x), SGCP defines the aggregate local score law at x as F^(s∣x)=∑k=1Kwk(x)Fk(s), F(s x)= _k=1^Kw_k(x)\,F_k(s), (8) with corresponding local density f^(s∣x)=∑k=1Kwk(x)fk(s) f(s x)= _k=1^Kw_k(x)\,f_k(s). Equation (8) defines the central local score-law estimator in SGCP. It replaces the infeasible task of estimating an unconstrained Fx⋆F_x for every test point with a structured family generated by a small number of latent calibration components. In our implementation, each FkF_k 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 V(x,y):=F^(s(x,y)∣x)V(x,y):= F (s(x,y) x ) denote the transformed score. Suppose that the learned local score law coincides with the oracle local score law, namely, for PXP_X-almost every x, F^(t∣x)=Fx⋆(t):=ℙ(S≤t∣X=x) F(t x)=F_x (t):=P(S≤ t X=x), ∀t∈[0,1]∀ t∈[0,1]. Assume furthermore that, for PXP_X-a.e. x, the conditional score distribution S|X=xS X=x is continuous. Then, for any measurable subgroup G⊆G with ℙ(X∈G)>0P(X∈ G)>0, V(X,Y)∣X∈G∼Unif(0,1).V(X,Y) \X∈ G\ (0,1). 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 tra=0∪1D_tra=D_0 _1. The split 0D_0 is used to learn the backbone predictor, the latent-state posterior, and the stochastic grouping map, while 1D_1 is used to fit the latent calibration components and the learned local score law. An additional independent calibration set calD_cal is reserved for split conformal calibration. For each (Xi,Yi)∈1(X_i,Y_i) _1, we compute the true-label nonconformity score si=s(Xi,Yi)s_i=s(X_i,Y_i), the membership weights wik=wk(Xi)w_ik=w_k(X_i), and the component-wise transformed score Cik=Fk(si)C_ik=F_k(s_i). Since FkF_k is monotone, CikC_ik can be viewed as the percentile position of sis_i under the k-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)Unif(0,1). This yields the rank-uniformization loss ℒrankL_rank. Second, the induced local mixture density f^(si∣Xi)=∑k=1Kwikfk(si) f(s_i X_i)= _k=1^Kw_ikf_k(s_i) should explain the observed true-label scores, yielding the density-fitting loss ℒnllL_nll. 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 Z, denoted by I^norm(X,Z) I^\,norm(X;Z), where the membership weights define qϕ(Z=k∣Xi)=wikq_φ(Z=k X_i)=w_ik. Combining these terms, we optimize ℒSGCP=ℒrank+λℒnll−βI^norm(X,Z),L_SGCP=L_rank+ _nll-β I^\,norm(X;Z), (9) 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. Algorithm 1 Procedure for SGCP 1: Training data traD_tra, calibration data calD_cal, test input Xn+1X_n+1, nonconformity score s(⋅,⋅)s(·,·), K latent calibration components, M posterior samples, hyperparameters λ,βλ,β, miscoverage level α 2: Prediction set C^α(Xn+1) C_α(X_n+1) 3: Split traD_tra into 0D_0 and 1D_1 4: Fit SGCP: on 0D_0, learn fθf_θ, latent-state posterior qϕ(z∣x)q_φ(z x) in Eq. (6), and stochastic grouping map w(x)w(x) in Eq. (7); on 1D_1, fit latent calibration components Fkk=1K\F_k\_k=1^K and local score law F^(⋅∣x) F(· x) in Eq. (8). 5: Calibration: for each (Xi,Yi)∈cal(X_i,Y_i) _cal, compute si=s(Xi,Yi)s_i=s(X_i,Y_i) and Vi=F^(si∣Xi)V_i= F(s_i X_i). 6: Quantile: sort Vi:(Xi,Yi)∈cal\V_i:(X_i,Y_i) _cal\ as V(1)≤⋯≤V(m)V_(1)≤·s≤ V_(m), where m=|cal|m=|D_cal|, and set q^1−α=V(⌈(m+1)(1−α)⌉) q_1-α=V_ ( (m+1)(1-α) ), with fallback q^1−α=1 q_1-α=1 if ⌈(m+1)(1−α)⌉>m (m+1)(1-α) >m. 7: Test transform: for each candidate label y∈y , compute Vn+1y=F^(s(Xn+1,y)∣Xn+1)V_n+1^\,y= F (s(X_n+1,y) X_n+1 ). 8: Return: C^α(Xn+1)=y∈:Vn+1y≤q^1−α C_α(X_n+1)= \y :\;V_n+1^\,y≤ q_1-α \. 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 1−α1-α. This guarantee does not depend on how accurately the local score law is learned, and the prediction set C^α(Xn+1) C_α(X_n+1) remains valid. Proposition 2. Under the standard split-conformal exchangeability assumption, the prediction set returned by SGCP satisfies ℙYn+1∈C^α(Xn+1)≥1−αP\! \Y_n+1∈ C_α(X_n+1) \≥ 1-α. 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 G with ℙ(X∈G)>0P(X∈ G)>0, let ΔG _G denote the Kolmogorov distance between the distribution of V(X,Y)V(X,Y) conditional on X∈GX∈ G and its marginal distribution. Under the assumptions of Proposition 2 and a continuous marginal distribution of V(X,Y)V(X,Y), subgroup coverage is lower bounded by ℙYn+1∈C^α(Xn+1)∣Xn+1∈G≥1−α−ΔGP\! \Y_n+1∈ C_α(X_n+1) X_n+1∈ G \≥ 1-α- _G. 4 Numerical Experiments Benchmarks and preprocessing. We evaluate SGCP on four benchmarks. For each dataset, let (X,Y,A)(X,Y,A) 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 I, are assigned higher label uncertainty. This subgroup is therefore harder to classify and serves as the disadvantaged population. (i) Nursery Rajkovic (1989) 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 (Zhou and Sesia, 2024; Xu et al., 2026), 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. (i) MIMIC-IV Johnson et al. (2024) 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≤ 4 hours), moderate (44-1212 hours), and prolonged (>12>12 hours) or no ICU admission. (iv) BACH Aresta et al. (2019) 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 A:=YA:=Y. Images are encoded by a visual backbone as Xi=Φ(Ii)∈ℝdX_i= (I_i) ^d. Subgroup heterogeneity arises from visual variability across tissue and potential acquisition bias Lee and Nishikawa (2022), so the class-conditional score laws Fc(s):=ℙ(S≤s∣Y=c)F_c(s):=P(S≤ s Y=c) 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 0D_0 and 1D_1. 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 (Zhou and Sesia, 2024), Clustered CP (Ding et al., 2023), FaReG (Xu et al., 2026), RLCP (Hore and Barber, 2024), marginal CP, Partial Equalized (Romano et al., 2020a), 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 (Xi′,Yi′)i=1N′\(X _i,Y _i)\_i=1^N be the test set, and let (Xi′)C(X _i) denote the prediction set at miscoverage level α. We report empirical overall coverage Cov.=1N′∑i=1N′Yi′∈(Xi′)Cov.= 1N _i=1^N 1\Y _i (X _i)\, which should be close to the target level 1−α1-α. Efficiency is measured by the average set size AvgSize=1N′∑i=1N′|(Xi′)|AvgSize= 1N _i=1^N |C(X _i)|. Among methods with comparable coverage, smaller AvgSize is preferable. Given a grouping attribute A and its induced groups, we are interested in coverage conditional on each group. For group g∈(A)g (A), let ℐg:=i:A(Xi′)=gI_g:=\i:A(X _i)=g\. We define the estimated conditional coverage, hereafter group coverage, as c^g=1|ℐg|∑i∈ℐgYi′∈(Xi′) c_g= 1|I_g| _i _g1\Y _i (X _i)\. We quantify subgroup disparity by the coverage gap (CovGap) CovGap(A)=1|(A)|∑g∈(A)|c^g−(1−α)|CovGap(A)= 1|G(A)| _g (A) | c_g-(1-α) |. Group coverage closer to 1−α1-α and smaller CovGap indicate more reliable subgroup performance. All metrics other than AvgSize are reported as percentages. 4.1 Results and Discussion 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. 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. 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. 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.90.9, and its CovGap is the smallest on SYN, Nursery, and BACH, with values 3.73.7, 11.811.8, and 6.26.2, respectively. On MIMIC-IV, it is close to the best result, with CovGap 0.80.8 compared with FaReG’s 0.50.5. (i) 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. (i) 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.90.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. 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 (2023) Conformal prediction: a gentle introduction. Foundations and Trends in Machine Learning 16 (4), p. 494–591. Cited by: §1. [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 (2019) BACH: grand challenge on breast cancer histology images. Medical Image Analysis 56, p. 122–139. Cited by: §D.1, §4. [3] K. Bairaktari, J. Wu, and S. Wu (2025) Kandinsky conformal prediction: beyond class- and covariate-conditional coverage. In International Conference on Learning Representations (ICLR), Cited by: Appendix F. [4] R. J. Chen, J. J. Wang, D. F. K. Williamson, T. Y. Chen, J. Lipkova, M. Y. Lu, S. Sahai, and F. Mahmood (2023) Algorithmic fairness in artificial intelligence for medicine and healthcare. Nature Biomedical Engineering 7 (6), p. 719–742. Cited by: §1. [5] M. Y. Cheung, A. Veeraraghavan, and G. Balakrishnan (2026) COMPASS: robust feature conformal prediction for medical segmentation metrics. In International Conference on Learning Representations (ICLR), Cited by: §1. [6] S. Cortes-Gomez, C. M. Patiño, Y. Byun, S. Wu, E. Horvitz, and B. Wilder (2025) Utility-directed conformal prediction: a decision-aware framework for actionable uncertainty quantification. In International Conference on Learning Representations (ICLR), Cited by: §1. [7] J. C. Cresswell, B. Kumar, Y. Sui, and M. Belbahri (2025) Conformal prediction sets can cause disparate impact. In International Conference on Learning Representations (ICLR), Cited by: §1. [8] T. Ding, A. N. Angelopoulos, S. Bates, M. I. Jordan, and R. J. Tibshirani (2023) Class-conditional conformal prediction with many classes. In Advances in Neural Information Processing Systems (NeurIPS), p. 64555–64576. Cited by: Appendix F, Figure 1, §1, §2, §4. [9] S. G. Finlayson, A. Subbaswamy, K. Singh, J. Bowers, A. Kupke, J. Zittrain, I. S. Kohane, and S. Saria (2021) The clinician and dataset shift in artificial intelligence. New England Journal of Medicine 385 (3), p. 283–286. Cited by: §1. [10] R. Foygel Barber, E. J. Candès, A. Ramdas, and R. J. Tibshirani (2021) The limits of distribution-free conditional predictive inference. Information and Inference: A Journal of the IMA 10 (2), p. 455–482. Cited by: §1, §2. [11] C. Gao, P. B. Gilbert, and L. Han (2026) Bridging fairness and efficiency in conformal inference: a surrogate-assisted group-clustered approach. In Proceedings of the International Conference on Machine Learning (ICML), Cited by: Appendix F. [12] R. Hore and R. F. Barber (2024) Conformal prediction with local weights: randomization enables robust guarantees. Journal of the Royal Statistical Society Series B: Statistical Methodology 87 (2), p. 549–578. Cited by: Figure 1, §1, §2, §2, §4. [13] A. Johnson, L. Bulgarelli, T. Pollard, B. Gow, B. Moody, S. Horng, L. A. Celi, and R. Mark (2024) MIMIC-IV. PhysioNet. Note: Version 3.1 Cited by: Figure 1, §4. [14] H. Kwon and D. Kim (2026) Conformal selective prediction with cost aware deferral for safe clinical triage under distribution shift. Scientific Reports 16 (1), p. 10016. External Links: Document, Link, ISSN 2045-2322 Cited by: §1. [15] J. Lee and R. M. Nishikawa (2022) Identifying women with mammographically- occult breast cancer leveraging gan-simulated mammograms. IEEE Transactions on Medical Imaging 41 (1), p. 225–236. Cited by: §4. [16] C. Lu, A. N. Angelopoulos, and S. Pomerantz (2022) Improving trustworthiness of ai disease severity rating in medical imaging with ordinal conformal prediction sets. In Medical Image Computing and Computer Assisted Intervention (MICCAI), p. 545–554. Cited by: §1. [17] C. Lu, A. Lemay, K. Chang, K. Höbel, and J. Kalpathy-Cramer (2022) Fair conformal predictors for applications in medical imaging. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), p. 12008–12016. Cited by: §1, §2. [18] N. Martinez, D. C. Patel, C. Reddy, G. Ganapavarapu, R. Vaculin, and J. Kalagnanam (2024) Identifying homogeneous and interpretable groups for conformal prediction. In The Conference on Uncertainty in Artificial Intelligence (UAI), Cited by: Appendix F. [19] V. Rajkovic (1989) Nursery. Note: UCI Machine Learning RepositoryDOI: https://doi.org/10.24432/C5P88W Cited by: §4. [20] Y. Romano, R. F. Barber, C. Sabatti, and E. Candès (2020) With Malice Toward None: assessing Uncertainty via Equalized Coverage. Harvard Data Science Review 2 (2). Cited by: §D.2.1, §1, §4. [21] Y. Romano, M. Sesia, and E. Candes (2020) Classification with valid and adaptive coverage. In Advances in Neural Information Processing Systems (NeurIPS), H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (Eds.), Vol. 33, p. 3581–3591. Cited by: §1. [22] G. Shafer and V. Vovk (2008) A tutorial on conformal prediction. Journal of Machine Learning Research 9, p. 371–421. Cited by: §1. [23] A. T. Vadlamani, A. Srinivasan, P. Maneriker, A. Payani, and S. Parthasarathy (2025) A generic framework for conformal fairness. In International Conference on Learning Representations (ICLR), Cited by: Appendix F. [24] V. Vovk, A. Gammerman, and G. Shafer (2005) Algorithmic learning in a random world. p. 1–476. Cited by: §1. [25] V. Vovk, D. Lindsay, I. Nouretdinov, and A. Gammerman (2003) Mondrian confidence machine. Technical Report. Cited by: §2. [26] Z. Wang and H. Wang (2023) Variational imbalanced regression: fair uncertainty quantification via probabilistic smoothing. In Advances in Neural Information Processing Systems (NeurIPS), Cited by: Appendix F. [27] S. Xu, Y. Zhou, Y. Tan, Z. Li, Y. Yao, T. Chen, F. Xu, and X. Ma (2026) Fair conformal classification via learning representation-based groups. In International Conference on Learning Representations (ICLR), Cited by: §D.1, Appendix F, Figure 1, §1, §2, §4, §4. [28] D. Zhang, A. Chatzimparmpas, N. Kamali, and J. Hullman (2024) Evaluating the utility of conformal prediction sets for ai-advised image labeling. In ACM Conference on Human Factors in Computing Systems (CHI), Cited by: §1. [29] Y. Zhou and M. Sesia (2024) Conformal classification with equalized coverage for adaptively selected groups. In Advances in Neural Information Processing Systems (NeurIPS), Cited by: §D.1, Appendix F, Figure 1, §2, §4, §4. Appendix A Mathematical Proofs A.1 Proof of Proposition 1 Proof. Let S:=s(x,y)S:=s(x,y) and V:=F^(S∣X)V:= F(S X). Let λ denote the Lebesgue measure on [0,1][0,1]. By the oracle assumption, for PXP_X-a.e. x, F^(⋅∣x)=Fx⋆(⋅),Fx⋆(t):=ℙ(S≤t∣X=x). F(· x)=F_x (·), F_x (t):=P(S≤ t X=x). Moreover, by assumption, the conditional distribution of S|X=xS X=x is continuous for PXP_X-a.e. x. Hence, by the probability integral transform, for PXP_X-a.e. x, Fx⋆(S)|X=x∼Unif(0,1).F_x (S) X=x (0,1). Since V=F^(S∣X)=FX⋆(S)V= F(S X)=F_X (S) almost surely, it follows that, for every Borel set A⊆[0,1]A [0,1], [V∈A∣X]=λ(A)a.s.E\! [1_\V∈ A\ X ]=λ(A) .s. Now let G⊆G be any measurable subgroup with ℙ(X∈G)>0P(X∈ G)>0. Using the tower property, ℙ(V∈A∣X∈G) (V∈ A X∈ G) =[V∈AX∈G]ℙ(X∈G) = E\! [1_\V∈ A\1_\X∈ G\ ]P(X∈ G) =[X∈G[V∈A∣X]]ℙ(X∈G) = E\! [1_\X∈ G\E\! [1_\V∈ A\ X ] ]P(X∈ G) =[X∈Gλ(A)]ℙ(X∈G) = E\! [1_\X∈ G\λ(A) ]P(X∈ G) =λ(A). =λ(A). Therefore, for every set A⊆[0,1]A [0,1], ℙ(V∈A∣X∈G)=λ(A)P(V∈ A X∈ G)=λ(A), which is precisely the statement that V∣X∈G∼Unif(0,1).V \X∈ G\ (0,1). ∎ 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 F^(s∣x) F(s x) instead of operating directly on the raw score s. A.2 Proof of Proposition 2 Throughout the proof, we condition on the training split traD_tra. Thus the fitted transformation (x,y)↦F^(s(x,y)∣x)(x,y) F(s(x,y) x) is fixed. For simplicity, we suppress this conditioning from the notation. Let m:=|cal|m:=|D_cal| and write cal=(Xi,Yi)i=1mD_cal=\(X_i,Y_i)\_i=1^m Define the transformed calibration scores Vi:=F^(s(Xi,Yi)∣Xi),i=1,…,m,V_i:= F(s(X_i,Y_i) X_i), i=1,…,m, and the transformed score of the test point under its true label Vtest:=F^(s(Xn+1,Yn+1)∣Xn+1).V_test:= F(s(X_n+1,Y_n+1) X_n+1). Let V(1)≤⋯≤V(m)V_(1)≤·s≤ V_(m) denote the order statistics of the calibration scores, and set k:=⌈(m+1)(1−α)⌉.k:= (m+1)(1-α) . Define the split-conformal cutoff by q^1−α=V(k) q_1-α=V_(k), with the convention q^1−α=1 q_1-α=1 whenever k>mk>m. Proof. By assumption, conditional on traD_tra, the calibration examples in calD_cal and the test point (Xn+1,Yn+1)(X_n+1,Y_n+1) are exchangeable. Since the same deterministic measurable map is applied to each point, it follows that V1,…,Vm,VtestV_1,…,V_m,V_test are exchangeable conditional on traD_tra. Let V(1)≤⋯≤V(mCLOSEV_(1)≤·s≤ V_(m denote the ordered transformed calibration scores, and define the split conformal cutoff by q^1−α=V(⌈(m+1)(1−α)⌉) q_1-α=V_ ( (m+1)(1-α) ), with the convention q^1−α=1 q_1-α=1 whenever ⌈(m+1)(1−α)⌉>m (m+1)(1-α) >m. By exchangeability and the standard split conformal order-statistic argument, we have ℙ(Vtest≤q^1−α|tra)≥1−α.P (V_test≤ q_1-α\; |\;D_tra )≥ 1-α. It remains to connect this event to the prediction set. By definition, C^α(Xn+1)=y∈:F^(s(Xn+1,y)∣Xn+1)≤q^1−α. C_α(X_n+1)= \y :\; F (s(X_n+1,y) X_n+1 )≤ q_1-α \. Substituting the true label Yn+1Y_n+1 gives Yn+1∈C^α(Xn+1)=F^(s(Xn+1,Yn+1)∣Xn+1)≤q^1−α=Vtest≤q^1−α. \Y_n+1∈ C_α(X_n+1) \= \ F (s(X_n+1,Y_n+1) X_n+1 )≤ q_1-α \= \V_test≤ q_1-α \. Hence, ℙ(Yn+1∈C^α(Xn+1)|tra)≥1−α.P\! (Y_n+1∈ C_α(X_n+1)\, |\,D_tra )≥ 1-α. Taking expectations over traD_tra gives ℙYn+1∈C^α(Xn+1)=[ℙYn+1∈C^α(Xn+1)|tra]≥1−α.P \Y_n+1∈ C_α(X_n+1) \=E [P \Y_n+1∈ C_α(X_n+1)\, |\,D_tra \ ]≥ 1-α. ∎ Remark 2. In the current implementation, the stochastic grouping map w(x)w(x) 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 traD_tra, 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, C^α(Xn+1)=y∈:F^(s(Xn+1,y)∣Xn+1)≤q^1−α. C_α(X_n+1)= \y : F(s(X_n+1,y) X_n+1)≤ q_1-α \. Therefore, Yn+1∈C^α(Xn+1)=Vtest≤q^1−α. \Y_n+1∈ C_α(X_n+1) \= \V_test≤ q_1-α \. Now fix a measurable subgroup G⊆G with ℙ(X∈G)>0P(X∈ G)>0. Since the calibration sample is independent of the test point, q^1−α q_1-α is independent of (Xn+1,Yn+1)(X_n+1,Y_n+1). Hence, conditional on q^1−α q_1-α, ℙ(Yn+1∈C^α(Xn+1)|Xn+1∈G,q^1−α) \! (Y_n+1∈ C_α(X_n+1)\, |\,X_n+1∈ G, q_1-α ) =ℙ(Vn+1≤q^1−α|Xn+1∈G,q^1−α) =P\! (V_n+1≤ q_1-α\, |\,X_n+1∈ G, q_1-α ) =HG(q^1−α), =H_G( q_1-α), where HG(t):=ℙ(V(X,Y)≤t∣X∈G).H_G(t):=P(V(X,Y)≤ t X∈ G). Taking expectations over q^1−α q_1-α gives ℙ(Yn+1∈C^α(Xn+1)|Xn+1∈G)=[HG(q^1−α)].P\! (Y_n+1∈ C_α(X_n+1)\, |\,X_n+1∈ G )=E\! [H_G( q_1-α) ]. Next, let H(t):=ℙ(V(X,Y)≤t)H(t):=P(V(X,Y)≤ t) be the global CDF of the transformed score, and let V†V be an independent draw from this distribution. Since V1,…,Vm,V†V_1,…,V_m,V are exchangeable and H is continuous, the standard split-conformal rank argument gives ℙ(V†≤q^1−α)=km+1.P\! (V ≤ q_1-α )= km+1. On the other hand, conditioning on q^1−α q_1-α, ℙ(V†≤q^1−α|q^1−α)=H(q^1−α).P\! (V ≤ q_1-α\, |\, q_1-α )=H( q_1-α). Therefore, [H(q^1−α)]=km+1.E\! [H( q_1-α) ]= km+1. Combining the two identities, |ℙ(Yn+1∈C^α(Xn+1)|Xn+1∈G)−km+1| |P\! (Y_n+1∈ C_α(X_n+1)\, |\,X_n+1∈ G )- km+1 | =|[HG(q^1−α)]−[H(q^1−α)]| = |E\! [H_G( q_1-α) ]-E\! [H( q_1-α) ] | =|[HG(q^1−α)−H(q^1−α)]| = |E\! [H_G( q_1-α)-H( q_1-α) ] | ≤[|HG(q^1−α)−H(q^1−α)|] \! [ |H_G( q_1-α)-H( q_1-α) | ] ≤supt∈[0,1]|HG(t)−H(t)|=ΔG. ≤ _t∈[0,1] |H_G(t)-H(t) |= _G. This proves the claimed subgroup coverage gap bound. Finally, since km+1=⌈(m+1)(1−α)⌉m+1≥1−α, km+1= (m+1)(1-α) m+1≥ 1-α, we obtain ℙ(Yn+1∈C^α(Xn+1)|Xn+1∈G)≥1−α−ΔG.P\! (Y_n+1∈ C_α(X_n+1)\, |\,X_n+1∈ G )≥ 1-α- _G. ∎ Since k/(m+1)≥1−αk/(m+1)≥ 1-α, 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 1−α1-α. Remark 3. Proposition 3 bounds subgroup miscoverage in terms of the residual transformed-score mismatch ΔG _G. This mismatch can be further related to local score-law estimation error. If the learned transform satisfies supx,s|F^(s∣x)−Fx⋆(s)|≤ε, _x,s| F(s x)-F_x (s)|≤ , then, by the probability integral transform, ΔG≤2ε _G≤ 2 for every measurable subgroup G. Consequently, |ℙYn+1∈C^α(Xn+1)∣Xn+1∈G−(1−α)|≤2ε+1m+1. |P\Y_n+1∈ C_α(X_n+1) X_n+1∈ G\-(1-α) |≤ 2 + 1m+1. 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 Gtest=(Xj(G),Yj(G))j=1nGD_G^test=\(X_j^(G),Y_j^(G))\_j=1^n_G be an i.i.d. test sample drawn from the conditional distribution of (X,Y)(X,Y) given X∈GX∈ G, independent of traD_tra and calD_cal. Corollary 1. Let Cov^G Cov_G be the coverage measured on an independent subgroup test sample of size nGn_G, denoted as Cov^G:=1nG∑j=1nGYj(G)∈C^α(Xj(G)) Cov_G:= 1n_G _j=1^n_G1 \Y_j^(G)∈ C_α(X_j^(G)) \. Then, for any δ∈(0,1)δ∈(0,1), with probability at least 1−δ1-δ, |Cov^G−(1−α)|≤ΔG+log(2/δ)2nG+1m+1. | Cov_G-(1-α) |≤ _G+ (2/δ)2n_G+ 1m+1. In particular, Cov^G≥1−α−ΔG−log(2/δ)2nG. Cov_G≥ 1-α- _G- (2/δ)2n_G. Corollary 1 connects the theoretical subgroup coverage guarantee to the quantities reported in our experiments. When the learned transform reduces ΔG _G and the subgroup test sample size nGn_G is sufficiently large, the empirical subgroup coverage concentrates near the nominal level 1−α1-α up to the conformal correction 1/(m+1)1/(m+1). Proof. Conditional on traD_tra and calD_cal, the prediction set C^α C_α is fixed. Since the test points (Xj(G),Yj(G)),j=1,…,nG,(X_j^(G),Y_j^(G)), j=1,…,n_G, are i.i.d. draws from the conditional distribution of (X,Y)(X,Y) given X∈GX∈ G, the indicators Zj:=Yj(G)∈C^α(Xj(G)),j=1,…,nG,Z_j:=1 \Y_j^(G)∈ C_α(X_j^(G)) \, j=1,…,n_G, are i.i.d. Bernoulli random variables with mean CovG:=ℙY∈C^α(X)|X∈GCov_G:=P \Y∈ C_α(X)\; |\;X∈ G \, where the probability is understood conditional on traD_tra and calD_cal. Therefore, by Hoeffding’s inequality, for any δ∈(0,1)δ∈(0,1), ℙ(|Cov^G−CovG|≥log(2/δ)2nG|tra,cal)≤δ.P ( | Cov_G-Cov_G |≥ (2/δ)2n_G\; |\;D_tra,D_cal )≤δ. Equivalently, with probability at least 1−δ1-δ over GtestD_G^test, |Cov^G−CovG|≤log(2/δ)2nG. | Cov_G-Cov_G |≤ (2/δ)2n_G. (A10) By Proposition 3, |CovG−km+1|≤ΔG |Cov_G- km+1 |≤ _G. Combining this with Eq. (A10) and the triangle inequality yields |Cov^G−km+1|≤|Cov^G−CovG|+|CovG−km+1|≤log(2/δ)2nG+ΔG. | Cov_G- km+1 |≤ | Cov_G-Cov_G |+ |Cov_G- km+1 |≤ (2/δ)2n_G+ _G. Next, since k=⌈(m+1)(1−α)⌉k= (m+1)(1-α) , we have 0≤km+1−(1−α)≤1m+10≤ km+1-(1-α)≤ 1m+1. Hence |Cov^G−(1−α)|≤|Cov^G−km+1|+|km+1−(1−α)|≤ΔG+log(2/δ)2nG+1m+1. | Cov_G-(1-α) |≤ | Cov_G- km+1 |+ | km+1-(1-α) |≤ _G+ (2/δ)2n_G+ 1m+1. Finally, Proposition 3 implies CovG≥km+1−ΔG≥1−α−ΔGCov_G≥ km+1- _G≥ 1-α- _G. On the same high-probability event as in Eq. (A10), Cov^G≥CovG−log(2/δ)2nG, Cov_G _G- (2/δ)2n_G, and therefore Cov^G≥1−α−ΔG−log(2/δ)2nG. Cov_G≥ 1-α- _G- (2/δ)2n_G. ∎ Appendix 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 hθ(x)∈ℝdh_θ(x) ^d denote the backbone feature representation and let fθ(x)∈ΔC−1f_θ(x)∈ ^C-1 denote the corresponding predictive probability vector. We parameterize a Gaussian latent posterior qϕ(z∣x)=(μϕ(hθ(x)),diag(σϕ2(hθ(x))))q_φ(z x)=N ( _φ(h_θ(x)),diag( _φ^2(h_θ(x))) ). Algorithm 2 Detailed Training and Inference Procedure for SGCP 1: Training data traD_tra, calibration data calD_cal, backbone classifier fθf_θ, nonconformity score s(⋅,⋅)s(·,·), K latent calibration components, M posterior samples, hyperparameters λ,βλ,β, miscoverage level α 2: Prediction set C^α(XN+1) C_α(X_N+1) 3: Split traD_tra into 0D_0 and 1D_1 4: Train the backbone predictor fθf_θ on 0D_0 5: Initialize the stochastic assignment module and component laws Fkk=1K\F_k\_k=1^K 6: for each optimization step on 1D_1 do 7: Sample a mini-batch ℬ=(Xi,Yi)i=1BB=\(X_i,Y_i)\_i=1^B 8: Compute backbone features, and nonconformity scores si=s(Xi,Yi)s_i=s(X_i,Y_i) 9: Estimate posterior-averaged memberships from qϕ(z∣Xi)q_φ(z X_i) 10: Compute component transforms Cik=Fk(Si)C_ik=F_k(S_i) and local densities f^(Si∣Xi)=∑k=1Kwikfk(Si) f(S_i X_i)= _k=1^Kw_ikf_k(S_i) 11: Compute ℒrankL_rank, ℒnllL_nll, and I^ℬnorm(X,Z) I_B^\,norm(X;Z) 12: Update assignment and component parameters by minimizing ℒSGCPL_SGCP 13: end for 14: Construct the learned local score transform F^(s∣x)=∑k=1Kwk(x)Fk(s) F(s x)= _k=1^Kw_k(x)F_k(s) 15: for each (Xi,Yi)∈cal(X_i,Y_i) _cal do 16: Compute Vi=F^(s(Xi,Yi)∣Xi)V_i= F(s(X_i,Y_i) X_i) 17: end for 18: Sort Vii=1m\V_i\_i=1^m and compute the conformal cutoff q^1−α=V(⌈(m+1)(1−α)⌉) q_1-α=V_( (m+1)(1-α) ) with fallback q^1−α=1 q_1-α=1 if ⌈(m+1)(1−α)⌉>m (m+1)(1-α) >m 19: for each candidate label y∈y do 20: Compute Vtesty=F^(S(Xn+1,y)∣XN+1)V_test^y= F(S(X_n+1,y) X_N+1) 21: end for 22: return C^α(Xn+1)=y∈:Vn+1y≤q^1−α C_α(X_n+1)=\y :V_n+1^y≤ q_1-α\ Stochastic grouping map. Let c1,…,cK∈ℝrc_1,…,c_K ^r denote K learnable prototypes in the latent space. For a latent draw z∼qϕ(z∣x)z q_φ(z x), define the assignment vector w~k(x,z)=exp(−∥z−ck∥22/T)∑j=1Kexp(−∥z−cj∥22/T),k=1,…,K, w_k(x,z)= (-\|z-c_k\|_2^2/T) _j=1^K (-\|z-c_j\|_2^2/T), k=1,…,K, where T>0T>0 is a temperature parameter. Given z(1),…,z(M)∼i.i.d.qϕ(z∣x)z^(1),…,z^(M) i.i.d. q_φ(z x), the posterior-averaged membership vector w(x)=(w1(x),…,wK(x))∈ΔK−1w(x)=(w_1(x),…,w_K(x))∈ ^K-1 is estimated by wk(x)=z∼qϕ(⋅∣x)[w~k(x,z)]≈1M∑m=1Mw~k(x,z(m)),k=1,…,K.w_k(x)=E_z q_φ(· x)[ w_k(x,z)]≈ 1M _m=1^M w_k(x,z^(m)), k=1,…,K. 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 z(1),…,z(M)∼i.i.d.qϕ(z∣x)z^(1),…,z^(M) i.i.d. q_φ(z x) and set w^k(M)(x)=1M∑m=1Mw~k(x,z(m)),wk(x)=z∼qϕ(⋅∣x)[w~k(x,z)]. w_k^(M)(x)= 1M _m=1^M w_k(x,z^(m)), w_k(x)=E_z q_φ(· x)[ w_k(x,z)]. The induced local score law is F^(M)(s∣x)=∑k=1Kw^k(M)(x)Fk(s) F^(M)(s x)= _k=1^K w_k^(M)(x)F_k(s). Samples share calibration evidence through the common components Fkk=1K\F_k\_k=1^K, and posterior averaging reduces Monte Carlo variability in the sample-specific weights. As M→∞M→∞, the law of large numbers gives w^k(M)(x)→wk(x) w_k^(M)(x)→ w_k(x) almost surely, and therefore F^(M)(s∣x)→F^(s∣x)=∑k=1Kwk(x)Fk(s)a.s. F^(M)(s x)→ F(s x)= _k=1^Kw_k(x)F_k(s) .s. B.1 Training Objective We train the stochastic assignment module and the component parameters on 1D_1, while keeping the backbone fixed. For each (Xi,Yi)∈1(X_i,Y_i) _1, define Si:=s(Xi,Yi),wik:=wk(Xi),Cik:=Fk(Si).S_i:=s(X_i,Y_i), w_ik:=w_k(X_i), C_ik:=F_k(S_i). 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 ℬB of size B and a fixed component k, let C(1)k,…,C(B)k\C_(1)k,…,C_(B)k\ be the sorted values of Cik:i∈ℬ\C_ik:i \, and let w(1)k,…,w(B)kw_(1)k,…,w_(B)k denote the correspondingly reordered weights. Normalize the weights within component k by π(b)k=w(b)k∑ℓ=1Bw(ℓ)k. _(b)k= w_(b)k _ =1^Bw_( )k. The weighted rank midpoint is r(b)k=∑ℓ<bπ(ℓ)k+12π(b)kr_(b)k= _ <b _( )k+ 12 _(b)k. We define the component-wise rank-uniformization loss as ℓrank(k)=∑b=1Bπ(b)k(C(b)k−r(b)k)2. _rank^(k)= _b=1^B _(b)k (C_(b)k-r_(b)k )^2. Averaging over active components gives ℒrank=1|act|∑k∈actℓrank(k),act=k:∑i∈ℬwik>τ.L_rank= 1|K_act| _k _act _rank^(k), _act= \k: _i w_ik>τ \. Local density fitting. Let fkf_k denote the density associated with FkF_k. The local mixture density at (Xi,Si)(X_i,S_i) is f^(Si∣Xi)=∑k=1Kwikfk(Si) f(S_i X_i)= _k=1^Kw_ikf_k(S_i). We fit the observed true-label scores by the negative log-likelihood ℒnll=−1|ℬ|∑i∈ℬlogf^(Si∣Xi).L_nll=- 1|B| _i f(S_i X_i). 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 ℬB, view the assignment as a conditional categorical distribution qϕ(Z=k∣Xi)=wikq_φ(Z=k X_i)=w_ik, where Z denotes the latent component index. The induced marginal component distribution on the mini-batch is w¯k=1|ℬ|∑i∈ℬwik,w¯=(w¯1,…,w¯K). w_k= 1|B| _i w_ik, w=( w_1,…, w_K). The empirical mutual information between inputs and component assignments is I^ℬ(X,Z)=H(w¯)−1|ℬ|∑i∈ℬH(wi), I_B(X;Z)=H( w)- 1|B| _i H(w_i), where H(w¯)=−∑k=1Kw¯klogw¯k,H(wi)=−∑k=1Kwiklogwik.H( w)=- _k=1^K w_k w_k, H(w_i)=- _k=1^Kw_ik w_ik. We use the normalized form I^ℬnorm(X,Z)=1logK[H(w¯)−1|ℬ|∑i∈ℬH(wi)]. I_B^\,norm(X;Z)= 1 K [H( w)- 1|B| _i H(w_i) ]. 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 I^ℬnorm(X,Z) I_B^\,norm(X;Z) discourages both hard component collapse and soft uniform assignment. Full objective. Taking the rank-uniformization loss as the reference scale, we optimize ℒSGCP=ℒrank+λℒnll−βI^ℬnorm(X,Z),L_SGCP=L_rank+ _nll-β I_B^\,norm(X;Z), where λ controls the strength of local density fitting and β controls the strength of stochastic-grouping information maximization. Appendix 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 N denote the number of training samples used for learning the grouping map and local score laws, NcalN_cal the calibration size, and NtestN_test 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 N, up to an optional (NlogN)O(N N) sorting step for constructing empirical component CDFs. Calibration requires computing one transformed score per calibration sample and selecting a conformal quantile, costing (NcallogNcal)O(N_cal N_cal) with sorting or (Ncal)O(N_cal) 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 (Ntest)O(N_test). Overall, under the standard mini-batch implementation, the additional complexity beyond backbone training is (N+NcallogNcal+Ntest)O(N+N_cal N_cal+N_test), or (N+Ncal+Ntest)O(N+N_cal+N_test) with linear-time quantile selection. Appendix 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 A1=A_1= gender, A2=A_2= phenotype, A3=A_3= age Nursery tabular 4 5 A1=A_1= parents, A2=A_2= children, A3=A_3= finance, A4=A_4= social, A5=A_5= health MIMIC-IV tabular 2/3 3 A1=A_1= minority, A2=A_2= gender, A3=A_3= 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, Y∈1,…,6Y∈\1,…,6\, corresponding to Hypertension, Coronary Artery Disease, Heart Failure, Arrhythmia, Valvular Heart Disease, and Peripheral Artery Disease. Each sample contains four grouping attributes, A=(Asex,Apheno,Aage,Aregion)A=(A_sex,A_pheno,A_age,A_region), and six non-sensitive physiological variables Z=(Z1,…,Z6)Z=(Z_1,…,Z_6), where Zj∼i.i.d.(0,1)Z_j i.i.d. U(0,1). We draw Asex∼Bernoulli(1/2),Apheno∼Bernoulli(1/2),A_sex (1/2), A_pheno (1/2), with Asex∈0,1A_sex∈\0,1\ denoting Female/Male and Apheno∈0,1A_pheno∈\0,1\ denoting Type I/Type I. Age is assigned cyclically over Pediatric,Adult,Geriatric\Pediatric,Adult,Geriatric\, and region is sampled uniformly from North,South,East,West\North,South,East,West\. To induce intersection-dependent difficulty, we define the disadvantaged subgroup through the XNOR relation between sex and phenotype, Gbias=i:Asex,i=Apheno,i,G_bias=\i:\;A_sex,i=A_pheno,i\, which includes Female–Type I and Male–Type I individuals. Labels are generated from a latent multiclass mechanism based on Xi=(Ai,Zi)X_i=(A_i,Z_i). We first construct a class-probability vector π(Xi)∈Δ5π(X_i)∈ ^5 over the six disease classes. Outside ambiguous regions of the feature space, labels follow the dominant class implied by π(Xi)π(X_i). Inside ambiguous regions, we introduce subgroup-dependent uncertainty by mixing π(Xi)π(X_i) with the uniform distribution u=(1/6,…,1/6)u=(1/6,…,1/6): Yi∼Cat((1−δ1)π(Xi)+δ1u),i∈Gbias,Cat((1−δ0)π(Xi)+δ0u),i∉Gbias,δ1>δ0.Y_i casesCat ((1- _1)π(X_i)+ _1u ),&i∈ G_bias,\\[2.84526pt] Cat ((1- _0)π(X_i)+ _0u ),&i∉ G_bias, cases _1> _0. The parameters δ1 _1 and δ0 _0 control label ambiguity for the disadvantaged subgroup and the remaining population, respectively. Thus, GbiasG_bias 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, Y∈0,1,2,3Y∈\0,1,2,3\. 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, A=(Aparents,Achildren,Afinance,Asocial,Ahealth),A=(A_parents,A_children,A_finance,A_social,A_health), 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 Gnur=i:Xparents,i=1,G_nur=\i:X_parents,i=1\, corresponding to a particular preprocessed category of the parents attribute. We then modify only this subgroup by downsampling it to 10%10\% of its original size and injecting label uncertainty. Specifically, labels are perturbed by independent noise εi∼(−4,4) _i (-4,4), then rounded and clipped to 0,1,2,3\0,1,2,3\. 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][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. For subgroup evaluation, we define three binary grouping attributes. The race indicator minority equals 11 if the recorded race string does not contain WHITE; gender_m equals 11 for male patients; and public_insurance equals 11 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: Y=0,if ICU delay ≤4 hours,1,if ICU delay ∈(4,12] hours,2,if ICU delay >12 hours or no ICU admission occurs.Y= cases0,&if ICU delay ≤ 4 hours,\\ 1,&if ICU delay ∈(4,12] hours,\\ 2,&if ICU delay >12 hours or no ICU admission occurs. cases Together, these tasks provide a real-world clinical benchmark for evaluating fairness across race, gender, and insurance-defined subgroups. 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 dzd_z 16 8 8 8 64 latent calibration dimension hidden dim 64 64 32 32 64 hidden dimension of grouping network (i) Score law learning SGCP train epochs 100 100 100 100 100 number of SGCP training epochs SGCP learning rate 10−310^-3 10−210^-2 10−310^-3 10−310^-3 10−310^-3 learning rate for SGCP training λ 0.5 0.05 10−310^-3 10−310^-3 0.5 weight of negative log likelihood loss β 0.1 10−310^-3 0.5 10−310^-3 5×10−55× 10^-5 weight of balance regularization MtrainM_train 3 6 3 3 8 posterior samples during training MevalM_eval 8 8 8 16 8 posterior samples during evaluation (i) Backbone & optimization train epochs 200 200 40 40 100 number of backbone training epochs learning rate 5×10−45× 10^-4 10−310^-3 5×10−45× 10^-4 10−310^-3 10−310^-3 learning rate for backbone training batch size 32 128 128 128 32 mini batch size weight decay 5×10−45× 10^-4 5×10−45× 10^-4 5×10−45× 10^-4 5×10−45× 10^-4 5×10−45× 10^-4 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 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) w/o Stochastic 89.82±1.48 2.348±0.081 7.35±1.18 91.38±1.15 1.123±0.051 13.42±1.76 89.94±0.96 1.053±0.013 2.36±0.48 91.76±4.42 2.447±0.308 8.84±2.35 (b) Feature space 90.96±1.96 2.476±0.127 7.18±1.46 90.92±1.43 1.248±0.079 14.16±2.05 90.48±1.47 1.179±0.044 4.08±1.08 89.61±5.74 3.094±0.446 12.41±3.16 (c) w/o rank 89.21±4.42 1.898±0.246 8.42±4.10 88.63±2.94 1.302±0.118 15.31±2.41 90.03±5.41 1.334±0.146 5.49±3.71 91.18±6.31 3.491±0.541 9.26±3.02 (d) w/o NLL 88.36±1.17 2.074±0.108 5.39±1.08 92.39±0.92 1.446±0.094 12.43±1.19 90.02±2.96 1.351±0.078 2.96±0.77 93.11±2.96 2.846±0.317 7.44±1.47 (e) w/o MI 92.28±3.41 2.438±0.241 6.53±2.72 91.26±2.43 1.149±0.147 14.72±1.42 89.84±6.31 1.047±0.116 4.95±2.31 90.91±7.82 2.347±0.472 9.31±2.11 Table A5: Performance comparison w.r.t. sample sparsity on the Synthetic Dataset (Target 1−α=0.901-α=0.90). 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 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 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 20×20× magnification with resolution 2048×15362048× 1536, annotated by two pathologists, and collected from 39 patients, though anonymization prevents complete patient-level tracing. The task is four-class classification with Y∈Normal,Benign,InSituCarcinoma,InvasiveCarcinoma.Y∈\Normal,Benign,In\ Situ\ Carcinoma,Invasive\ Carcinoma\. Since demographic sensitive attributes are unavailable, we use the class label as a proxy grouping variable and set A:=YA:=Y. Subgroup reliability is therefore evaluated across disease categories, which naturally differ in visual complexity, intra-class variability, and class-boundary ambiguity. For preprocessing, images are resized to 224×224224× 224, augmented during training with random horizontal and vertical flips, and normalized using ImageNet statistics. We train a visual backbone Φ and use the learned representations Xi=Φ(Ii)∈ℝdX_i= (I_i) ^d 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, Fc(s):=ℙ(S≤s∣Y=c)F_c(s):=P(S≤ s Y=c). 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. CluCP. We implement CluCP following its original clustered conformal pipeline. The clustering fraction γ and the number of clusters M are selected using the heuristic proposed in the paper. Class embeddings are clustered by weighted k-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][64,32], batch size 500500, learning rates 10−310^-3 and 10−210^-2, respectively, with (β,δ,T)=(2.0,0.3,20)(β,δ,T)=(2.0,0.3,20) for Synthetic and (0.1,0.1,100)(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. Appendix E Additional Experiments 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. 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.90.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 1−α=0.901-α=0.90). 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 Table A9: Performance comparison w.r.t. sample sparsity on MIMIC-IV (target 1−α=0.901-α=0.90). 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 (N=2000,5000N=2000,5000). 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 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 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. 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. Table A10: Performance comparison w.r.t. sample sparsity on BACH (target 1−α=0.901-α=0.90). 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 Figure A9: Distribution of overall coverage over repeated runs under varying sample sparsity. The dashed line marks the nominal target coverage of 0.90.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. 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. E.2 Sensitivity to Hyperparameters and Subgroup Configurations (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. (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. 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 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 K. When K is small, the model learns a few distinct score law patterns that separate low score and high score calibration regimes. As K 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 K controls the granularity of stochastic sharing rather than simply increasing model capacity. In practice, overly large K may introduce redundant components, while a moderate K 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 K refines this region and introduces broader components that capture the remaining tail behavior. However, when K becomes large, several components overlap substantially or become weakly differentiated. This suggests that 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 K may lead to redundant calibration sharing. Figure A13: Hyperparameter sensitivity of SGCP on SYN. We vary λnll _nll, λbal _bal, K, and MevalM_eval, and report coverage, average set size, and subgroup coverage gap under different D1D_1 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. 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 D1D_1 split ratio rather. 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 K, and the number of evaluation latent samples MevalM_eval, under different D1D_1 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 D1D_1 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. 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. 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. Appendix 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. 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 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 (X,Y)(X,Y), 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.