Inferensys

Glossary

Conformal e-values

A modern conformal inference tool producing nonnegative random variables with an expected value of at most one under the null hypothesis for flexible sequential testing and anytime-valid uncertainty quantification.
Developer testing AI inference on mobile phone in hand, laptop with optimization code visible, casual tech review moment.
Anytime-Valid Sequential Inference

What is Conformal e-values?

Conformal e-values are nonnegative random variables with an expected value of at most one under the null hypothesis, providing a flexible tool for sequential testing and anytime-valid uncertainty quantification within the conformal inference framework.

A conformal e-value is a nonnegative test statistic derived from a nonconformity measure that satisfies the condition E[e] ≤ 1 under the null hypothesis of exchangeability. Unlike a traditional conformal p-value, which is bounded between 0 and 1, an e-value can take any nonnegative value, enabling its use as a direct measure of evidence against the null. This property makes e-values particularly powerful for anytime-valid inference, where decisions can be made continuously as new data arrives without inflating the false positive rate.

The key advantage of conformal e-values lies in their sequential flexibility. Multiple independent e-values can be multiplied together to accumulate evidence over time while maintaining validity, a property known as e-merging. This contrasts sharply with p-values, which require complex corrections for sequential testing. In practice, conformal e-values are constructed by calibrating a nonconformity score function on a hold-out set, producing a martingale-like sequence that enables rigorous, distribution-free hypothesis testing in streaming data environments.

ANYTIME-VALID INFERENCE

Key Features of Conformal e-values

Conformal e-values represent a fundamental shift from traditional p-value-based conformal inference to a framework built on e-values—nonnegative random variables with expected value at most one under the null. This enables flexible sequential testing, anytime-valid uncertainty quantification, and seamless combination of evidence across multiple studies or time points.

01

E-value Foundation

An e-value is a nonnegative random variable E satisfying E[E] ≤ 1 under the null hypothesis. Unlike p-values, e-values remain valid under optional stopping and optional continuation, meaning you can peek at results, stop early, or continue collecting data without invalidating inference. This property makes them ideal for sequential testing and online conformal prediction scenarios where data arrives in streams.

02

Anytime-Valid Inference

Traditional conformal p-values require a fixed sample size determined in advance. Conformal e-values enable anytime-valid guarantees: at any stopping time τ, the product of sequential e-values forms an e-process that maintains validity. Key properties:

  • Ville's inequality replaces Markov's inequality for sequential bounds
  • No correction for multiple looks at data required
  • Valid under arbitrary stopping rules, including data-dependent ones
03

E-merging Functions

Multiple independent e-values can be combined using e-merging functions to produce a single valid e-value. Common merging strategies include:

  • Arithmetic mean: Simple averaging preserves validity
  • Product merging: Multiplying independent e-values yields a valid combined e-value
  • Calibrated merging: Weighted combinations for heterogeneous evidence sources This enables meta-analysis and federated conformal inference across distributed data silos.
04

Conformal E-prediction Sets

Conformal e-values produce e-prediction sets with a different guarantee than traditional conformal prediction. Instead of marginal coverage at level 1-α, e-prediction sets control the expected false coverage rate: the expected proportion of incorrect labels included is bounded. This provides:

  • Sharper sets in many practical scenarios
  • Natural integration with cost-sensitive decision-making
  • Direct compatibility with sequential decision processes
05

Relationship to P-values

E-values and p-values are connected through calibration:

  • Any e-value E can be converted to a p-value via p = min(1, 1/E)
  • The reverse requires a calibrator function, which always introduces some conservatism
  • E-values are more conservative than p-values for fixed-sample testing but gain power through sequential aggregation
  • The GRO (Growth Rate Optimal) e-value maximizes expected logarithmic growth under the alternative
06

Sequential Conformal Testing

In online conformal inference, e-values enable continuous monitoring with valid error control:

  • Sequential e-values are computed for each new observation
  • The running product forms a test martingale under the null
  • Rejection occurs when the product exceeds 1/α
  • Applications include real-time anomaly detection, A/B testing with peeking, and continual model monitoring without pre-specified sample sizes
CONFORMAL E-VALUES

Frequently Asked Questions

Clear, technically precise answers to common questions about conformal e-values, their mathematical foundations, and their role in anytime-valid uncertainty quantification.

A conformal e-value is a nonnegative random variable with an expected value of at most one under the null hypothesis, constructed within the conformal inference framework. Unlike a conformal p-value, which is a probability-based measure designed for a single, fixed-time hypothesis test, an e-value serves as a sequential betting score against the null. The critical distinction lies in their mathematical properties: while p-values must satisfy P(p ≤ α) ≤ α for all α, e-values satisfy E[e] ≤ 1. This expectation property makes e-values anytime-valid, meaning they can be multiplied across sequential tests to accumulate evidence against the null without requiring correction for multiple testing. In conformal prediction, an e-value for a candidate label y is typically derived from the nonconformity scores of the calibration set, quantifying how extreme the candidate's score is relative to the empirical distribution. The shift from p-values to e-values enables flexible sequential decision-making, where a practitioner can continuously monitor the accumulating evidence and stop the experiment at any time while maintaining rigorous Type I error control.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.