Abstract
Conformal Prediction (CP) provides a mathematically rigorous framework for uncertainty quantification by generating prediction sets that guarantee a user-specified coverage probability. However, these guarantees rely on the assumption of exchangeability, which is violated in the presence of adversarial attacks. We introduce Verifiably Robust Conformal Prediction (VRCP), a framework that integrates neural network verification with CP to provide robust uncertainty estimates. Unlike previous methods based on randomized smoothing, VRCP supports multiple perturbation norms ($\ell_1, \ell_2, \ell_\infty$) and extends to both classification and regression tasks. Our evaluations on image classification and deep reinforcement learning benchmarks show that VRCP maintains valid coverage under attack while producing significantly more informative (smaller) prediction sets than existing state-of-the-art methods.
Introduction
Deep learning models are increasingly deployed in safety-critical domains, yet they remain notoriously overconfident and vulnerable to adversarial perturbations. Conformal Prediction (CP) has emerged as a popular solution to the overconfidence problem. Instead of a point prediction, CP generates a prediction set that is guaranteed to contain the true label with a high probability (e.g., 95%), provided the test data follows the same distribution as the training data.
Adversarial attacks—small, intentional perturbations to an input—break the fundamental assumption of exchangeability. When an input is perturbed, the true label often falls outside the prediction set, leading to a catastrophic loss of coverage. Previous attempts to address this, such as Randomized Smoothing Conformal Prediction (RSCP), rely on adding noise to inputs. However, these methods are often limited to $\ell_2$ norms, apply primarily to classification, and frequently produce "trivial" sets (including all possible labels) that offer no utility for decision-making. VRCP addresses these limitations by utilizing formal verification to bound model outputs.
Methodology
VRCP replaces probabilistic smoothing with deterministic neural network verification. By using verification tools like CROWN or $\alpha$-CROWN, VRCP calculates the absolute mathematical bounds of a network's output for any possible input within a specified adversarial radius ($\epsilon$). This allows the framework to "inflate" prediction sets just enough to account for any potential adversarial tweak.
The authors propose two distinct algorithmic variants:
1. VRCP-I (Robust Inference)
In this variant, verification is performed at test time. For a given input, the system uses verification to determine the "best-case" score for every possible label within the perturbation set. If the best-case scenario for a label remains plausible according to the conformal threshold, it is included in the prediction set. This ensures that no adversarial perturbation within the radius could have excluded the true label.
2. VRCP-C (Robust Calibration)
This variant shifts the computational burden to the calibration phase. Before deployment, the system uses verification to find the "worst-case" error scores across the calibration set. By using these conservative scores to set the conformal threshold, the model becomes naturally more cautious. At test time, VRCP-C does not require expensive verification, making it significantly faster for real-time applications.
Notably, VRCP is the first robust CP method to support regression. By bounding quantile regressors, VRCP can provide robust intervals for continuous values, a critical requirement for fields like robotics and finance.
Experimental Evaluation
Datasets and Tasks
The framework was evaluated across two domains:
- Image Classification: Benchmarks included CIFAR10, CIFAR100, and TinyImageNet to test high-dimensional visual data under attack.
- Deep Reinforcement Learning (Regression): Tasks from the PettingZoo Multi-Particle Environment (MPE), such as "Adversary," "Spread," and "Push," were used to evaluate the prediction of continuous reward values in adversarial multi-agent settings.
Performance and Precision
VRCP demonstrated a significant advantage in maintaining both safety and informativeness. While vanilla CP coverage dropped well below the 90% target under attack, both VRCP variants consistently maintained the required coverage.
In terms of precision, VRCP outperformed the previous state-of-the-art (RSCP+). For example, on CIFAR10 with an attack radius of $\epsilon = 0.03$, VRCP-I produced an average set size of approximately 4.45. In contrast, RSCP+ produced a set size of 10.0, effectively guessing every possible class and providing no useful information to the user. Furthermore, in the RL "Push" task, VRCP successfully recovered valid coverage for reward predictions where standard methods failed as attack strength increased.
Discussion and Limitations
VRCP offers several key advantages: it is norm-agnostic (supporting $\ell_1, \ell_2, \ell_\infty$ attacks), does not require adversarial retraining (though it benefits from it), and provides much lower variance across data splits compared to smoothing-based methods.
However, the framework faces challenges regarding computational overhead. Neural network verification is mathematically intensive; while VRCP-C is efficient at inference, VRCP-I can take several seconds per input, which may limit its use in high-speed environments like autonomous driving. Additionally, the effectiveness of VRCP is inherently tied to the "tightness" of the underlying verifier. If the verifier provides loose bounds, the resulting prediction sets will be unnecessarily large. Scaling these formal methods to massive architectures, such as large Vision Transformers, remains an ongoing challenge in the field.
Conclusion
Verifiably Robust Conformal Prediction (VRCP) represents a significant step forward in reliable machine learning. By bridging the gap between formal verification and conformal inference, it provides a flexible, norm-agnostic framework for maintaining uncertainty guarantees under adversarial pressure. Future work will likely focus on optimizing verification speed and integrating more advanced "complete" verifiers to further tighten prediction sets.
Summary updated