Papers
Topics
Authors
Recent
Search
2000 character limit reached

Conformal PID Control

Updated 6 May 2026
  • Conformal PID control is a technique that combines conformal prediction with PID error feedback to adaptively regulate prediction intervals and ensure nominal coverage under nonstationary conditions.
  • In time-series prediction, the method dynamically updates quantile thresholds using proportional, integral, and derivative gains, maintaining robust performance even with evolving data dynamics.
  • For controller design, conformal mapping approximates fractional-order PID behavior in an integer-order framework, enabling dominant pole placement and reducing control effort.

Conformal PID control encompasses two major, independently developed frameworks: (1) an adaptive online method for time-series prediction sets employing PID-like error regulation in conformal prediction (Angelopoulos et al., 2023), and (2) a conformal mapping-based approach for integer-order PID controller design that preserves key advantages of fractional-order (FO) PID while simplifying implementation (Saha et al., 2012). Both exploit the "conformal" concept to interpolate or adaptively calibrate system parameters, either in the space of confidence thresholds (for uncertainty quantification) or controller zeros (for dominant pole placement).

1. Conformal PID in Online Time Series Prediction

The "Conformal PID control" algorithm for time-series prediction aims to provide distribution-free, formally valid prediction sets with online adaptivity under arbitrary nonstationary or adversarial data sequences. This methodology integrates conformal prediction's nonconformity scoring and classical proportional-integral-derivative (PID) error feedback to tune the quantile thresholds of prediction sets to maintain long-run nominal coverage, regardless of evolving statistical properties (Angelopoulos et al., 2023).

Problem Setup:

  • Let (xt,yt)(x_t, y_t) denote time-indexed covariate-response pairs, with no stationarity assumption.
  • At each tt, a forecasting rule ftf_t (AR, Prophet, Transformer, ensemble, etc.) produces a point or distributional prediction for yty_t.
  • The goal is to output, for each tt, a prediction set

Ct={ y:st(xt,y)≤qt }C_t = \{\,y: s_t(x_t, y) \le q_t\,\}

where sts_t is a conformal score (e.g., ∣y−ft(x)∣|y - f_t(x)|), and qtq_t is a dynamically updated threshold, so that the empirical miscoverage rate converges to the nominal α\alpha:

tt0

Error Signal and PID Law:

  • With miscoverage indicator tt1, define the empirical coverage and error signal:

tt2

  • The quantile threshold tt3 is updated via a PID-style recursion:

tt4

where tt5, tt6, and tt7 are the proportional, integral, and derivative gains.

Theoretical Guarantee:

Under bounded score domains and integrator saturation, the long-run miscoverage error is upper-bounded by

tt8

with tt9 for any sublinear function ftf_t0, ensuring

ftf_t1

independent of the data dynamics (Angelopoulos et al., 2023).

2. Algorithmic Workflow and Pseudocode

The method consists of an online routine:

tt0

3. Empirical Performance in Prediction Tasks

Applied across diverse real-world forecasting tasks, conformal PID control demonstrated robust regulation of empirical coverage while keeping prediction sets concise:

  • COVID-19 Death Forecasting: On CDC Forecast Hub data (80% nominal coverage), the method elevated coverage during local failures (~20% to 70% in the winter 2020–21 wave) and maintained long-run coverage at 80%, with only modest interval widening (Angelopoulos et al., 2023).
  • Electricity Demand: For daily-retrained Transformer models, conformal PID (using a Theta-model scorecaster) consistently achieved 90% coverage while outputting tighter prediction sets than Adaptive Conformal Inference.
  • Financial Returns: Across Amazon, Google, and Microsoft, PID-based quantile tracking suppressed coverage oscillations and avoided the unbounded sets produced by some alternatives.
  • Temperature Forecasting: When nominal regimes shifted rapidly, conformal PID retained valid coverage and eschewed excess conservativeness, outperforming classical conformal and ACI methods.

4. Conformal Mapping and Sub-Optimal PID Tuning

A distinct development of "conformal PID" appears in the context of deterministic control design, exploiting conformal (power) maps to approximate fractional-order PID (FOPID) behavior with integer-order PID controllers, retaining the dominant-pole placement benefits of FO designs (Saha et al., 2012).

Key Procedures:

  • Map the FO controller ftf_t2 via ftf_t3, rendering the controller rational in ftf_t4:

ftf_t5

  • The zeros of ftf_t6, back-mapped to ftf_t7, become ftf_t8, guiding the placement of integer-PID zeros.
  • By varying ftf_t9, the locations of yty_t0 trace an "M-curve," a trajectory in the left half-plane, allowing regulation of closed-loop damping.

Two-Stage Algorithm:

  1. Use LQR-based dominant pole placement to fix canonical integer-PID gains.
  2. Map these gains to nominal FOPID parameters; choose yty_t1 and recalculate integer-PID gains such that the closed-loop poles traverse the M-curve to the prescribed damping.

5. The "M-Curve" and Controller Effort Tradeoff

The "M-curve" phenomenon refers to the trajectory described by the zeros of the mapped controller numerator as yty_t2 varies. For yty_t3, zeros shift toward the imaginary axis (reducing damping); yty_t4 pushes zeros left (increasing damping), but excessive reduction jeopardizes stability. The conformal design enables control of closed-loop pole locations with strict equivalence to LQR step and disturbance timings but requires uniformly lower gain magnitudes, and, consequently, lower peak and RMS control effort, as evidenced through Riccati cost analysis (Saha et al., 2012).

6. Practical Considerations and Implementation

  • Gain selection: For PID-based conformal prediction, yty_t5 is scaled to typical score deviations; yty_t6 to maximum score magnitude; yty_t7 is minimized for noise suppression. Initialization via brief burn-in using empirical quantiles, followed by steady online adaptation, is effective.
  • Computational cost: yty_t8 per timestep for threshold update in conformal prediction; scorecaster inference cost is model-dependent.
  • Extensibility: Both frameworks support plug-and-play modularity—arbitrary forecasters (AR, Prophet, Transformer) or scorecasters, and in the control context, analog/digital PID realization with integer gains derived from conformal mapping.
  • Fractional order in control: In the sub-optimal design, the fractional order yty_t9 serves as a tuning knob (offline), with all physical implementation remaining strictly integer-order.

7. Summary and Scope

Conformal PID control synthesizes conformal prediction with feedback strategies or uses conformal mappings to transfer the benefits of fractional-order design into integer-domain realizations. In online uncertainty quantification, it maintains long-run coverage guarantees for time-series predictions against arbitrary dynamics with minimal user intervention (Angelopoulos et al., 2023). In deterministic controller design, it yields integer PID controllers with dominant-pole placement and reduced control effort, directly matching the closed-loop time response of optimal LQR tuning while lowering associated quadratic cost (Saha et al., 2012). Both approaches demonstrate that conformal techniques, whether in parameter-space mappings or in online error dynamics calibration, afford principled, formally controllable adaptivity in both statistical learning and feedback control frameworks.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Conformal PID Control.