Shape-Adaptive Conditional Calibration for Conformal Prediction via Minimax Optimization

Yajie Bao, Chuchen Zhang, Zhaojun Wang, Haojie Ren, Changliang ZouOpenReview 2026

TL;DR

The paper introduces Minimax Optimization Predictive Inference (MOPI), a novel framework for conformal prediction that achieves valid conditional coverage by dynamically reshaping prediction sets during the calibration phase. By framing calibration as a minimax game, MOPI bypasses the geometric rigidity of traditional fixed-score methods, yielding tighter, more adaptive prediction regions even when sensitive subgroup attributes are masked at test time.

What Problem Does This Paper Address?

Conformal prediction is a popular, model-agnostic tool used to construct prediction sets with rigorous statistical guarantees (e.g., ensuring a true label is covered 90% of the time). However, standard conformal prediction only guarantees marginal coverage—meaning it works on average across the entire dataset. In practice, this can lead to severe under-coverage for specific subgroups or regions of the feature space.

Achieving conditional coverage (valid guarantees for every specific individual or subgroup) is theoretically impossible in finite samples without making restrictive assumptions. Existing workarounds try to approximate conditional coverage by adjusting the threshold of a pretrained, fixed "nonconformity score."

The authors identify two major limitations in this current paradigm:

  1. Geometric Rigidity: Existing methods can only scale the volume of a prediction set up or down during calibration; they cannot rotate the set or alter its aspect ratio to adapt to local correlations or variance (heteroscedasticity), which is especially problematic for multi-dimensional labels.
  2. Masked Attributes: Traditional methods struggle to enforce conditional coverage on sensitive attributes (like race or gender) if those attributes are masked or unavailable at test time.

Methods

MOPI reformulates conditional calibration as a minimax optimization problem.

Instead of calibrating a single threshold for a fixed score function, MOPI optimizes over a flexible class of structured, set-valued functions (such as boxes or ellipsoids). The optimization objective is structured as a two-player game:

  • The Inner Maximizer: Searches over a "weight" function class $\mathcal{F}$ to find the regions or subgroups where the current prediction set performs the worst (i.e., maximizing the coverage error).
  • The Outer Minimizer: Adjusts the geometric parameters of the prediction set (like the mean vector $\mu(x)$ or covariance matrix $\Sigma(x)$) to minimize this worst-case coverage error.
  min         max      E[ f(Z) * (Miscoverage - α) - f²(Z) ]
C ∈ C       f ∈ F
[Reshape     [Find Worst
  Sets]       Subgroups]

Key Technical Innovations:

  • Decoupling Features ($X$) and Conditioning Variables ($Z$): The outer minimization depends on the available test features $X$, while the inner maximization enforces coverage based on the conditioning variable $Z$. This separation allows $Z$ to guide calibration even if $Z$ is masked during deployment.
  • Smoothing Surrogate: Because the standard miscoverage indicator function is non-differentiable (making gradient descent impossible), the authors replace it with a smooth surrogate (such as a Sigmoid or Gaussian error function) to enable efficient, gradient-based optimization.

Datasets

The authors evaluated MOPI against several baselines—including Split Conformal Prediction (SCP), Conditional Calibration (CC), and Randomly-Localized Conformal Prediction (RLCP)—across both synthetic and real-world datasets:

  1. Synthetic Data: Designed to simulate multivariate labels with cross-dimensional dependencies, group-conditional box sets, and equalized coverage under varying feature correlations.
  2. Households Dataset: A real-world dataset with a two-dimensional response variable tracking household expenditures on housing and health, conditioned on income levels.
  3. Communities and Crime Dataset: Used to predict per-capita violent crime rates while treating racial composition variables as sensitive conditioning attributes.
  4. Medical Insurance Dataset: Used to predict medical charges, treating gender as a sensitive attribute that is masked at test time.
  5. FashionMNIST Dataset: The classic image classification dataset, utilized here to evaluate adaptive prediction sets based on image feature representations.

Key Insights and Ideas

  • Shape Adaptivity vs. Scale Adjustment: Traditional calibration is like changing the size of a balloon by blowing more air into it. MOPI can actually change the balloon's shape—stretching it into an ellipse or tilting its orientation—to match the local density of the data.
  • A Rigorous Bridge to MSCE: The authors theoretically prove that under reasonable expressiveness conditions, solving this minimax problem is mathematically equivalent to directly minimizing the Mean Squared Coverage Error (MSCE).
  • Optimal Convergence Rates: The paper provides non-asymptotic oracle inequalities showing that for group-conditional coverage, MOPI achieves the theoretically optimal convergence rate ($n^{-1/2}$) up to logarithmic factors, significantly improving upon previous bounds like $n^{-1/4}$.

Key Results

  • More Compact Prediction Sets: In multivariate experiments (e.g., the Households dataset), MOPI consistently produced significantly smaller prediction volumes (lower log set volume) while maintaining robust conditional coverage.
  • Superior Worst-Case Coverage: Across different calibration sample sizes, MOPI achieved worst-case conditional coverage rates closest to the nominal target (e.g., 90%), whereas baselines frequently suffered from local under-coverage.
  • Fairness via Masked Calibration: On the Medical Insurance and Communities & Crime datasets, when sensitive attributes were masked at test time, baseline methods failed to maintain equalized coverage across subgroups. MOPI successfully leveraged the masked information during calibration to deliver balanced, fair coverage.

Limitations and Future Work

  • Non-Convex Optimization: Replacing the indicator function with a smooth surrogate makes optimization practical, but the underlying objective remains non-convex. Exploring convex surrogate losses with provable theoretical guarantees is an open direction.
  • Downstream Efficiency Trade-offs: While MOPI optimizes for conditional coverage, simultaneously optimizing for downstream task-specific metrics (such as minimizing volume directly or minimizing a specific decision loss) remains a challenging frontier.

Summary updated

BibTeX
@misc{bao2026shape,
  author = {Yajie Bao and Chuchen Zhang and Zhaojun Wang and Haojie Ren and Changliang Zou},
  title = {{Shape-Adaptive Conditional Calibration for Conformal Prediction via Minimax Optimization}},
  year = {2026},
  url = {https://openreview.net/forum?id=JrUhkmF7xl},
  howpublished = {OpenReview},
}
Figure