# RSA-CP: Efficient Conformal Prediction in Small-Sample Regimes via Random Score Alignment

Random score alignment makes conformal prediction efficient with few calibration points

Pankaj Bhagwat, Zhixian Yang, Yihao Wang, Bei Jiang, Linglong Kong · International Conference on Machine Learning · 2026-9-29

- **Problem** Split conformal prediction gives coarse thresholds when there are few calibration scores. With small samples, the threshold can be forced to an extreme value, so the set covers almost the whole label space.
- **Method** RSA-CP adds reference scores to the calibration set instead of a learned generator. It aligns the real scores with draws from a reference distribution, which sharpens the rank grid.
- **Results** Empirical coverage stayed within the certified 0.9048 to 1 range at every reference size N. The reference scores need not match the real score distribution.

## Why small calibration sets inflate prediction sets

Conformal prediction gives coverage guarantees that need only exchangeability, not a model of the data distribution. Its efficiency, though, depends heavily on how many labeled calibration points are available.

Split conformal prediction uses an order statistic of the calibration scores as its threshold, so the threshold is only as fine as the sample behind it. With m calibration scores the available ranks form a grid with spacing 1/(m+1), so a small m leaves coarse steps. When the target miscoverage α is small relative to that spacing, the threshold can be forced to an extreme value and the set can cover almost the whole label space.

The authors illustrate this with Gamma-distributed calibration scores at target coverage 0.95. At m = 20 SCP uses the maximum calibration score as its threshold, and the interval lengths vary widely over 1000 repetitions. At m = 2000 the threshold sits on a stable interior quantile, and the interval lengths concentrate sharply.

## Why augmentation alone doesn't protect validity

Several recent methods enlarge the calibration set with data-derived scores, such as synthetic data or clustering-based calibration. The augmented scores generally don't follow the distribution of the true calibration scores.

Finite-sample coverage then holds only under strong conditions, such as exact distributional equivalence or explicit bounds on the mismatch. Bashari et al. (2025) avoid this with SPI, which controls how the augmentation is made. SPI needs a reliable synthetic generator, which many high-stakes settings lack and which is costly to train and run.

The authors ask a different question: what must augmented scores satisfy to keep finite-sample validity? Their answer is to align the real scores with draws from a reference distribution, so no generator is needed. The reference distribution is chosen by the user and need not match the distribution of the real scores.

## Reading calibration as a rank problem

The analysis starts from the rank of the test score among the real scores, which is uniform under exchangeability. \\\[ P(r\_{m+1,m}=k)=\\frac{1}{m+1}, \\quad k=1,\\ldots,m+1 \\\] In this idealized analysis the N extra scores come from the same continuous distribution, so the augmented rank equals k plus B.

Here B counts the augmented scores that fall at or below the test score. Conditional on rank k, B follows a Beta-Binomial law, with the Beta function appearing in its normalization. \\\[ P(B=b\\mid r\_{m+1,m}=k)=\\binom{N}{b}\\frac{B(b+k,\\,N-b+m+2-k)}{B(k,\\,m+2-k)} \\\]

For a confidence level 1−β, the authors take the β/2 and 1−β/2 conditional quantiles of B to form integers b− and b+. With probability at least 1−β, the augmented rank falls in the window from k+b− to k+b+.

## Turning rank windows into a label rule

The nominal cutoff places the target miscoverage on the augmented rank scale. \\\[ j^\\star=\\lceil (1-\\alpha)(N+m+1)\\rceil \\\] For each candidate label, its real-score rank k selects the window that applies to it.

The rule uses ranks alone, so it doesn't need the numerical score values.

In score space the rule becomes a threshold built from the sorted augmented scores A(1) to A(m+N). \\\[ q\_{\\mathrm{RSA}}(k)=\\min\\{A\_{(k+b\_+)},\\,A\_{(j^\\star)}\\} \\\] Algorithm 1 sorts the augmented scores, computes the window indices for each label, and keeps the labels that pass the test.

Smaller values of β give wider windows and more conservative sets, while larger values give narrower windows.

## What the rank rule guarantees

Theorem 3.1 bounds coverage by two counts taken over the real-score ranks. \\\[ L(\\beta,m)=\\frac{1}{m+1}\\sum\_{k=1}^{m+1}\\mathbf{1}\\{k+b\_+(k,\\beta)\\le j^\\star\\}, \\qquad U(\\beta,m)=\\frac{1}{m+1}\\sum\_{k=1}^{m+1}\\mathbf{1}\\{k+b\_-(k,\\beta)\\le j^\\star\\} \\\] The coverage then lies between L(β,m) and U(β,m).

L counts the ranks whose entire window sits below the cutoff, while U counts the ranks whose window meets the cutoff or sits below it. The gap between the two bounds reflects the uncertainty left by localizing the rank within a window.

The bounds depend only on the window indices and make no assumption about the score distribution induced by P. Proposition 3.2 shows that the score-space sets match the rank-based sets almost surely when the augmented scores are distinct.

Because L(β,m) is a sufficient condition for validity, the authors choose the largest β with L(β,m) at least 1−α. L is nondecreasing in β and U is nonincreasing, so the search is well posed. The authors note that this choice can fail for every β, because of rank discreteness and conservative distribution-free bounds.

## Aligning real scores with optimal transport

When real and reference scores differ in support or scale, the procedure often falls back to the lower bound L. The fix is a transformation T that is strictly increasing, so it keeps the real-score ranks while changing scale and support.

The authors build T from one-dimensional optimal transport between the empirical real distribution and the empirical reference distribution. In one dimension the optimal coupling is monotone, and when m differs from N a real score can split its mass across neighbouring reference scores. \\\[ T\\bigl(S\_{(i)}\\bigr)=\\frac{\\sum\_j \\tilde P\_{ij}\\,\\tilde S\_{(j)}}{\\sum\_j \\tilde P\_{ij}} \\\] Each real score maps to the average of the reference scores it sends mass to, and the denominator normalizes by the mass it sends out.

This construction defines the RSA-CP (OT) variant used in the experiments.

## When alignment tightens the target coverage

Theorem 3.4 assumes continuous real scores that are exchangeable with the test score, and a fixed strictly increasing map T. The mismatch is the average total variation distance between the order-statistic distributions of the aligned real sample and the reference sample. \\\[ \\varepsilon\_m^{(T)}(P\_S,Q)=\\frac{1}{m+1}\\sum\_{r=1}^{m+1} d\_{\\mathrm{TV}}\\!\\left((P\_T)^{(r)}\_{m+1},\\,Q^{(r)}\_{m+1}\\right) \\\]

\\\[ 1-\\alpha-\\tfrac{\\beta}{2}-\\varepsilon\_m^{(T)}(P\_S,Q)\\le P\\{Y\_{m+1}\\in\\hat C\_{\\mathrm{RSA},T}(X\_{m+1})\\}\\le 1-\\alpha+\\tfrac{1}{m+N+1}+\\tfrac{\\beta}{2}+\\varepsilon\_m^{(T)}(P\_S,Q) \\\] When the mismatch is small, these bounds sit tighter around 1−α than the bounds of Proposition 3.3.

When the mismatch is large, Proposition 3.3 still gives computable finite-sample bounds. Under mismatch, incompatible reference scores are rarely admitted, so RSA-CP drifts toward SCP-like behavior. The authors also note that the gains from larger N saturate once the rank grid is fine enough.

## Simulation evidence against SCP and SPI

The simulations use nonlinear regression with X in R^5 and heterogeneous, non-Gaussian marginals. The noise is either log-normal, for skewed errors, or t3, for heavy tails. The reference generator is deliberately misspecified and includes a rare-shock component with probability 0.05.

The compared methods are SCP, SPI, a synthetic-only method, RSA-CP (OT) and a reference-score-only baseline. The settings were m = 20, α = 0.05, β = 0.4 and N from 20 to 3000, with 100 trials.

For these settings the Proposition 3.3 bounds give 0.9048 ≤ P ≤ 1. Empirical coverage stayed inside that range for every value of N.

SCP overcovers and yields wide, unstable sets at m = 20. SPI is sensitive to generator misspecification under skewed and heavy-tailed noise. RSA-CP shows monotonic efficiency gains and stabilizes coverage as N grows, even with imperfect reference generators. The authors link these trends to a finer effective rank grid and to OT alignment absorbing part of the mismatch.

Under heavy-tailed noise with the misspecified Gamma reference, the authors report near-target coverage and the tightest intervals among the methods. RSA-CP also avoids the repeated feature-based simulation and inference that SPI requires. Sensitivity analyses over calibration sizes and reference distributions appear in the appendix.

## ImageNet-derived classification results

The authors use the ImageNet-derived benchmark and protocol introduced with SPI, changing only the calibration and augmentation strategy. The settings are n\_cal = 15, n\_test = 15000, n\_syn = 1000, 100 trials, and α of 0.05 and 0.10.

With 15 calibration points, SCP often returned vacuous sets close to the full label space. SPI and the synthetic-only baseline gave smaller sets, but they under-covered noticeably. RSA-CP (OT) reduced set sizes substantially while staying closer to the target coverage, without a learned generator.

As n\_cal grows, RSA-CP (OT) tracks the target coverage more closely. SPI and the synthetic-only baseline stayed systematically below target in this experiment. Increasing n\_syn stabilizes all augmentation-based methods, and RSA-CP (OT) stabilizes after a few hundred reference scores. The authors attribute this quick stabilization to the augmented rank grid becoming fine enough.

## Limitations

Even after OT alignment, exact finite-sample coverage generally can't be recovered without extra assumptions when m is small.

The certified lower bound can stay below 1−α for every β, because of rank discreteness and conservative distribution-free bounds. When the reference and real scores align poorly, the procedure often falls back to that lower bound.

The simulation's reference generator is deliberately misspecified, so its results describe that setting. The main simulation fixes m = 20, and the sensitivity analyses in the appendix cover other calibration sizes. The real-data study uses a single ImageNet-derived benchmark with n\_cal = 15. Conditional, fairness-aware and group-conditional extensions are left open.

## Paper info

- **Authors**: Pankaj Bhagwat, Zhixian Yang, Yihao Wang, Bei Jiang, Linglong Kong
- **Venue**: International Conference on Machine Learning · Published
- **First published**: 2026-9-29
- **Added**: 2026-11-26
- **Original paper terms**: [Check in the original ↗](https://proceedings.mlr.press/v306/bhagwat26a.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://proceedings.mlr.press/v306/bhagwat26a.html)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Pankaj Bhagwat, Zhixian Yang, Yihao Wang, Bei Jiang, Linglong Kong (2026). RSA-CP: Efficient Conformal Prediction in Small-Sample Regimes via Random Score Alignment. International Conference on Machine Learning. https://proceedings.mlr.press/v306/bhagwat26a.html

**BibTeX**

```
@article{bhagwat2026efficient,
  title = {{RSA-CP: Efficient Conformal Prediction in Small-Sample Regimes via Random Score Alignment}},
  author = {Pankaj Bhagwat and Zhixian Yang and Yihao Wang and Bei Jiang and Linglong Kong},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/bhagwat26a.html}
}
```

## Other paper commentary

- [Effective Model Pruning : Measuring the Redundancy of Model Components](https://refivu.com/en/papers/1e8cd0f7-b3bc-4b55-a972-43c970121d81-effective-model-pruning-measuring-the-redundancy-of-model.md)
- [ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention](https://refivu.com/en/papers/1e763f88-1816-4af3-b7f6-f9f54f343798-prosst-protein-language-modeling-with-quantized-structure.md)
- [$\\textit{Read-ME}$: Refactorizing LLMs as Router-Decoupled Mixture of Experts with System Co-Design](https://refivu.com/en/papers/a806bfd3-525b-49ad-a578-7f75e77b4d70-textit-read-me-refactorizing-llms-as-router-decoupled.md)
- [SeeA\*: Efficient Exploration-Enhanced A\* Search by Selective Sampling](https://refivu.com/en/papers/80e3d55e-cbd4-4f3f-88b9-118fcd1bb5c9-seea-efficient-exploration-enhanced-a-search-by-selective.md)
- [Principled SVD-based Delta Compression via Quantization Error Minimization](https://refivu.com/en/papers/007f6db5-bad8-41e3-a36e-3c5ad8cf77a4-principled-svd-based-delta-compression-via-quantization.md)
- [Make Position Uninformative: Exchangeable Self-Distillation Flattens the Lost-in-the-Middle Curve](https://refivu.com/en/papers/48d101ec-b6d5-4a6c-866d-ab3bd6458801-make-position-uninformative-exchangeable-self-distillation.md)
- [What Does a Skill Vocabulary Cost? A Closed-Loop Decomposition over Demonstrated Motions](https://refivu.com/en/papers/5436c87a-99ef-46a3-afc4-ed0b0a217c6b-what-does-a-skill-vocabulary-cost-a-closed.md)
- [When Repair Accuracy Misleads: Training a VLM on Its Own Failures](https://refivu.com/en/papers/875ef8df-0b84-431d-bb7d-8f512170c313-when-repair-accuracy-misleads-training-a-vlm-on.md)
- [Cross-Layer Characterization and AI-Assisted Diagnosis of C-to-Rust Performance](https://refivu.com/en/papers/b9b8f973-d979-443f-b049-2f0218e3517a-cross-layer-characterization-and-ai-assisted-diagnosis-of.md)
- [When Is Product Decoding of ECOC MAP-Consistent? Pair Structure and the n-vs-Rest Codes](https://refivu.com/en/papers/91c0b439-85c0-4c82-8b80-68deaac338ab-when-is-product-decoding-of-ecoc-map-consistent.md)
- [Escaping Whack-a-Mole: Optimizing Documentation as Repo-Specific Playbooks for Coding Agents](https://refivu.com/en/papers/52e2d558-711f-4753-af6e-c88268527a9b-escaping-whack-a-mole-optimizing-documentation-as-repo.md)
- [When Random Saliency Looks Trained: Architectural Center Bias in CNN Interpretability](https://refivu.com/en/papers/dedacf70-34e7-40a0-b505-6e9e917d078c-when-random-saliency-looks-trained-architectural-center-bias.md)

## Terms in this paper

- [conformal prediction](https://refivu.com/en/terms/8147d0abfe0d-conformal-prediction)
- [marginal coverage](https://refivu.com/en/terms/f7ddfbb416ab-marginal-coverage)
- [split conformal prediction](https://refivu.com/en/terms/a152c0696a56-split-conformal-prediction)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/21bdc1a9-8a21-4757-b322-ec7470296d48-rsa-cp-efficient-conformal-prediction-in-small-sample)
