# When Does Trimming Help Conformal Prediction? A Retained-Law Diagnostic under Calibration Contamination

*Congye Wang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148630) · [OpenReview](https://openreview.net/forum?id=wJGWapZaZl) · [alphaXiv](https://www.alphaxiv.org/abs/2605.06204) · [Open on the map](../papers.html#p148630)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Conformal Prediction and Risk Control](../pgroup/659.md) · Type: theory · Keywords: conformal prediction, trimming, contamination, retained law, coverage diagnostic, finite-sample guarantee

## Summary
The paper analyses how trimming calibration points affects conformal prediction coverage, introducing a retained-law diagnostic that separates clean-side and retained-contamination costs.

## Explained to a 5-year-old
In conformal prediction, we make sure predictions are right most of the time. Sometimes some predictions are wrong because of bad data, called contamination. People try to fix this by cutting out the suspicious predictions, which is called trimming. This paper looks at when trimming actually helps and when it might not help. It gives a way to check if trimming will improve the predictions without making them worse.

## Explained to a 5-year-old, longer
Conformal prediction is a method that tries to give predictions that are right most of the time. Sometimes the data used to check the predictions contains some bad or noisy examples. This bad data is called contamination and can make the predictions less reliable. A common way to deal with contamination is to trim, which means removing the suspicious points. Trimming might sound like a good idea, but it can also reduce how often the predictions are correct for the good data. This paper studies what happens when we trim those points and why it helps or hurts. It looks at trimming as a way to condition the predictions rather than just cleaning them. The key idea is to look at a "retained law" that tells how the good and bad parts mix after trimming. By studying this retained law, the authors can separate the cost of the good part from the cost of the bad part. They find that trimming is useful when the scores used to detect bad points also separate the good and bad probabilities. If the scores do not change the good part, trimming cannot fix the contamination much. Finally, they provide simple certificates that give numerical guarantees for real-world use.

## For a technical reader
In conformal prediction, a calibration step ensures that prediction intervals have the desired coverage. When some calibration points are contaminated, practitioners often trim (remove) suspicious points to improve reliability. This paper shows that trimming's effect depends on a retained law that describes how the good and bad points mix after removal. It provides a bound that separates the cost of the clean data from the cost of the retained contamination, and gives finite-sample certificates for guarantees. The result is a diagnostic tool that tells engineers when trimming will actually help and when it may be ineffective.

## Problem
When calibration data is contaminated, trimming suspicious points is a common remedy, but it is unclear how trimming influences coverage of clean targets. This paper addresses the condition under which trimming improves clean-target coverage.

## Method
The approach treats fixed-threshold trimming as conditioning rather than purification, deriving a retained law that transforms the problem into a one-dimensional score-CDF transfer. It provides a componentwise bound on the transfer gap, separating clean-side covariance cost from retained-contamination cost governed by the dirty-to-clean retention ratio.

## Results
The analysis yields a population-level diagnostic and finite-sample certificate templates that give numerical guarantees under independent audit.

## Contributions
It introduces a retained-law diagnostic that separates clean-side covariance cost from retained-contamination cost, provides a componentwise bound on the transfer gap, and offers finite-sample certificate templates for numerical guarantees.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148630)
