Conformal Prediction Offers Businesses a Measurable Way to Flag Model Uncertainty
Machine-learning systems often deliver a single answer even when their confidence is weak. Conformal prediction offers a way to make that uncertainty visible: rather than changing a trained model, the method uses held-out examples to produce a set of plausible labels or a prediction interval, with a chosen coverage target. A practical demonstration using movie-review data shows how the approach can help teams distinguish straightforward cases from decisions that may need human review.
The example applies the technique to the Rotten Tomatoes Movies Rating Prediction project, which includes 50,000 critic reviews. Its text-based route classifies individual reviews as Fresh or Rotten. A random-forest model trained on review words achieved about 69% accuracy on 1,000 held-out reviews. That leaves many instances where a single label may not be a dependable basis for an automated decision. The feature-based route performs much better, at about 99% accuracy, but relies on Tomatometer-related inputs closely tied to the status being predicted.
Turning a point prediction into a useful signal
Conventional classifiers can return probability scores, but those scores do not necessarily correspond to real-world accuracy. A model that reports a 90% probability may be correct less often than that. Research cited in the demonstration has found overconfidence in modern neural networks, while random forests can compress their probability estimates away from the extremes. Calibration methods such as Platt scaling and isotonic regression can improve probability estimates, but they do not provide the same finite-sample coverage guarantee described for conformal prediction.
Conformal prediction instead measures how the model behaves on labeled calibration examples. In the split-conformal approach, data is separated into a training portion and a calibration portion. The model is trained only on the former. For each calibration example, the method calculates a nonconformity score, a measure of how poorly the model supports the correct label. It then sets a threshold using a corrected empirical quantile. For a new case, every label whose score falls within that threshold is included in the output set. A clear-cut example may receive one label; a borderline case may receive several.
The method is associated with work by Vladimir Vovk, Alexander Gammerman and Glenn Shafer, and the classification approach used in the demonstration draws on a 2019 paper by Sadinle, Lei and Wasserman. Its central promise is marginal coverage: with a chosen error rate of 10%, the true label should appear in the prediction set at least 90% of the time across exchangeable examples. Exchangeability means the calibration and new examples come from a distribution that does not change in a way that distinguishes their order. It is a meaningful assumption, not a guarantee against shifts in the data arriving in production.
What the movie-review test found
For the example, the project’s 1,000 test reviews were divided into 500 calibration reviews and 500 evaluation reviews. The model was left unchanged, and the target was set at 90% coverage. Calibration produced a probability cutoff of 0.37 for including a label. On the evaluation half, the prediction sets covered the true label in 91.8% of cases. But 53.4% of the reviews received both Fresh and Rotten, rather than a single answer. The result illustrates the trade-off: higher coverage can mean less decisive outputs.
That trade-off matters to organizations deciding which model outputs can safely trigger automated action. In a review workflow, a one-label result could continue through an automated process, while a two-label result could be routed for review or assessed under a fallback rule. In areas such as lending or medical screening, where the cost of an incorrect automated decision can be significant, uncertainty sets could help teams identify cases for additional scrutiny. They do not establish that a model is fair, correct, or suitable for a particular decision, and the source example does not test those questions.
Coverage is not an individual-case guarantee
The demonstration also aggregates review-level sets into a movie-level Fresh or Rotten assessment, using the project’s 60% positive-review cutoff. It compares the share of reviews with Fresh-only sets against the share whose sets include Fresh. All three example movies have ranges crossing the decision threshold, so the method cannot certify either outcome. For The Duchess, the project’s ordinary pipeline put positive reviews at 60.74%, just above the cutoff. The conformal range indicates that the aggregate call could change if ambiguous reviews resolved differently.
That movie-level result is a heuristic, not a new 90% guarantee. The coverage claim applies marginally to exchangeable examples; it does not promise 90% coverage for every individual review or every subgroup. Nor does a review-level guarantee automatically transfer to a movie-level decision, particularly when reviews of the same movie may be related. Teams also need to monitor whether live data remains comparable to the calibration data, choose a calibration set large enough for a stable threshold, and decide what to do with empty or overly broad sets. Conformal prediction can make uncertainty operationally visible, but its value depends on those design choices and on treating ambiguous output as a signal for action rather than certainty.