ConformalGuard: False-Positive-Controlled Action Gating for LM Classifiers

Bishnu Bista, Dhanraj Haibatrao Jadhav, Vibha Choudhary, Gaurav Saxena, Arun Pandiyan Perumal, Arjun Subedi, Jignesh AmmineniCOLM 2026

TL;DR

ConformalGuard is a model-agnostic calibration layer that provides finite-sample guarantees on the false-positive rate (FPR) for language model classifiers. By applying conformal prediction to the "coarse" outputs of zero-shot LLMs, it allows teams to strictly control analyst workload and automated intervention risks, even when standard calibration methods like temperature scaling fail.

What Problem Does This Paper Address?

When deploying LLMs for high-stakes classification—like flagging phishing emails or toxic content—the most critical operational constraint is often the False Positive Rate (FPR). If a security team processes 50,000 emails a day, a mere 0.5% increase in miscalibration can result in hundreds of additional unnecessary manual reviews, drowning analysts in "noise."

The standard industry approach is to tune a threshold on a validation set. However, this provides no formal guarantee that the performance will hold up on new, unseen data. Furthermore, the authors highlight a specific challenge with modern LLMs: score granularity. While a fine-tuned BERT model might output a smooth range of probabilities, zero-shot LLMs (like GPT-4o or Claude) often return "coarse" scores—sometimes as few as 10 unique values. On such sparse grids, traditional calibration methods like temperature scaling or isotonic regression become "operationally inert," failing to hit precise low-FPR targets.

Methods

The authors introduce ConformalGuard, which wraps any frozen scoring function (e.g., an LLM API) and maps its raw scores to calibrated p-values.

  1. Scoring: A frozen model produces a "suspiciousness" score.
  2. Conformal Calibration: Using a small set of confirmed-legitimate examples (the calibration set), the system calculates a p-value for new inputs based on their rank relative to the calibration pool. This provides a mathematically sound, finite-sample bound: the probability of a legitimate event being flagged at a significance level $\alpha$ is guaranteed to be $\le \alpha$, provided the data is exchangeable.
  3. Action Gating: These p-values are mapped to ordered intervention tiers, such as "auto-clear," "analyst review," or "autonomous blocking."
Comparison of ConformalGuard against existing calibration techniques.

What makes this approach novel is its application to the specific quirks of LLMs. For instance, to combat the "coarse score" problem in GPT-4o, the authors use stochastic averaging—running the model multiple times at a non-zero temperature to create a richer, more granular score grid that allows for better trade-offs between recall and FPR.

Datasets

The study uses a unified public email corpus (39,935 emails) assembled from four sources:

  • Nazario Phishing Corpus: Real-world phishing with full headers.
  • Phishing Pot: Honeypot-captured phishing emails.
  • SpamAssassin: A classic public ham/spam corpus.
  • Enron-Spam AUEB: Legitimate baseline emails and spam.

The authors performed significant data cleaning, including deduplication and the removal of synthetic datasets that didn't represent realistic phishing behavior.

Breakdown of the corpus splits and class distribution.

Key Insights and Ideas

  • The Granularity Gap: The "aha moment" is that standard calibration fails on LLMs not because the math is wrong, but because the output space is too small. If a model only outputs 10 possible scores, you can't "fine-tune" a threshold to hit a 1% FPR; you're stuck jumping from 0.5% to 4% with nothing in between.
  • Calibration $\neq$ Discrimination: Conformal calibration doesn't make a model "smarter" (it doesn't change the ranking of items). Instead, it acts as a safety valve, choosing the most conservative boundary that satisfies the safety guarantee.
  • Stochasticity as a Feature: While engineers usually want deterministic outputs, this paper shows that stochasticity (via multiple runs) can be used to "fill in" the score grid, significantly improving the recall achievable at low FPRs.

Key Results

The researchers compared ConformalGuard against raw thresholds, temperature scaling, and isotonic regression across BERT, Claude Sonnet 4, and GPT-4o.

  • Claude Sonnet 4: Conformal calibration successfully reined in the FPR from a dangerous 0.040 (4%) down to 0.008 (0.8%), staying within the 1% target where all other methods failed.
  • GPT-4o: For deterministic scores, the 1% target was so conservative that recall dropped to 0.564. However, using three-run stochastic averaging boosted recall to 0.732 while maintaining a tiny FPR of 0.005.
  • Operational Impact: In a simulated 2% prevalence environment (typical for high-volume mail), ConformalGuard reduced the number of false-positive reviews by 25 per 10,000 emails compared to standard tuning.
Table 3: FPR control across three LMs and four calibration methods (α = 0.01)
Table 5: Low-prevalence evaluation (2% phishing, BERT scorer)

Limitations and Future Work

  • Exchangeability: The guarantee relies on the assumption that the calibration data and deployment data come from the same distribution. If the nature of "legitimate" email shifts significantly, the guarantee weakens.
  • Recall Trade-offs: While ConformalGuard protects the FPR, it can lead to very low recall if the underlying model is poorly resolved or highly uncertain. It tells you when to trust a model, but it can't fix a bad one.
  • Selection Bias: The authors note that "confirmed-legitimate" examples in production are rarely a random sample (they are often just the ones analysts had time to check), which can introduce bias into the calibration set.

Future work includes exploring weighted or adaptive conformal methods to handle distribution shifts and extending the framework to multiclass prediction sets.

Summary updated

BibTeX
@inproceedings{bista2026conformalguard,
  author = {Bishnu Bista and Dhanraj Haibatrao Jadhav and Vibha Choudhary and Gaurav Saxena and Arun Pandiyan Perumal and Arjun Subedi and Jignesh Ammineni},
  title = {{ConformalGuard: False-Positive-Controlled Action Gating for LM Classifiers}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=bPUdqX3pCF},
}
Figure