Grid and data-center schedulers increasingly treat solar forecast uncertainty as a band. A forecaster outputs an interval, and an optimizer promises that renewable output falls below the interval's lower edge on at most, say, 5% of hours. The standard way to build such bands with a guarantee is conformal prediction. It calibrates the band width on past forecast errors and promises coverage when past and future errors are exchangeable, meaning statistically interchangeable in order. Solar errors are not like that. A stalled cloud deck or marine stratus layer produces days of correlated misses, and seasonal or climate drift moves the error distribution. The result is that violations of the promised reliability arrive in clusters, exactly when reserves are scarce.
We propose to replace the exchangeability assumption with a quantity the operator can compute and act on. This quantity is the discrepancy: a measure, from learning theory for non-stationary time series, of how far a weighted set of past errors is from the error distribution of the day being scheduled. With a coverage-specific discrepancy, the band's miscoverage is at most the nominal level plus the discrepancy, with no mixing assumption. Mixing is the usual "memory fades fast" condition that weather routinely violates. The scheduler then gets two things: calibration weights chosen to make that discrepancy small, and an explicit, day-by-day certificate of how weak the guarantee is. That certificate can be priced as extra reserve.
Core Claim
Discrepancy-Based Theory and Algorithms for Forecasting Non-Stationary Time Series and its precursor Learning Theory and Algorithms for Forecasting Non-stationary Time Series bound the forecasting error of a hypothesis by its weighted past loss plus a discrepancy term. They also make the weight choice a convex problem by reparameterizing $r_t = 1/q_t$. Their loss is squared error on scalar series such as temperature and commodity prices. They never treat interval coverage, solar data, or a downstream optimizer.
Our observation is that coverage itself is a loss family: indicators of a nonconformity score exceeding a threshold. Let $s_t$ be the score (for example, the normalized error of a quantile forecaster) on calibration hour $t$, let $q_t \ge 0$ be weights summing to one, and let $S_{T+1}$ be the score on the target hour. The coverage discrepancy is
$$\text{disc}_{\mathrm{cov}}(\mathbf q)=\sup_{\tau}\Big|\sum_{t\le T} q_t\,\mathbf 1\{s_t>\tau\}-\Pr(S_{T+1}>\tau\mid \mathcal F_T)\Big|,$$
which is a Kolmogorov distance between the weighted past score distribution and the conditional future one. Setting the band threshold at the weighted $(1-\alpha)$ quantile of past scores then gives
$$\Pr(S_{T+1}>\hat\tau_\alpha\mid\mathcal F_T)\le \alpha+\text{disc}_{\mathrm{cov}}(\mathbf q)+\max_t q_t .$$
The bound follows directly from the definition plus the jump size of a weighted empirical distribution. The $\max_t q_t$ term is the price of concentrating weight.
The bound itself is easy. The research questions are three: whether the discrepancy can be estimated well enough from data to serve as an honest certificate on real solar errors; whether minimizing it with weather covariates beats simpler reweightings; and whether feeding $\alpha+\widehat{\text{disc}}$ into a chance-constrained scheduler reduces clustered reliability failures at acceptable cost.
Research Program
The mixing literature motivates the problem. It shows that i.i.d.-style concentration and resampling tools fail as memory grows. A Kernel Independence Test for Random Processes shows permutation nulls driving false positives toward 100% under dependence. Extreme expectile estimation for short-tailed data and Sample Average Approximation for Stochastic Optimization with Dependent Data obtain their guarantees only under strong or summable $\phi$-mixing. On the Consistency of Kernel Methods with Dependent Observations drops mixing entirely, but only asymptotically and without a data-driven tuning rule. Discrepancy is the one tool in this set that is both mixing-free and computable from a single path, which is why we build on it rather than on blocking arguments.
The SAA paper also constrains the design. It finds that using the whole single trajectory beats thinning or restarting. Our weights therefore down-weight rather than discard.
The energy side supplies the application and the target to beat. A Conformal Prediction-Based Chance-Constrained Programming Approach for 24/7 Carbon-Free Data Center Operation Scheduling feeds conformal quantile regression bands for PV into a chance-constrained schedule, and its averaged multi-hour variant (AMV-CQR) beats robust and static buffers. Its guarantee rests on exchangeability, which is precisely what persistent weather breaks. Optimal Dispatch of Residential Photovoltaic Inverters Under Forecasting Uncertainties shows the same structural reliance on a static empirical error distribution in risk-aware inverter control. We use it as a secondary downstream task.
We will build four components. The first is a weighting program: the convex discrepancy-based forecaster program, specialized to the coverage loss. Weights are parameterized per calibration day rather than per hour, which cuts the variable count from thousands to a few hundred and addresses the known scaling problem. Weights may depend on day-ahead covariates, including satellite cloud-motion features and clear-sky index regime, so calibration days that resemble the target day count more.
The second is a discrepancy estimator. Following Kuznetsov and Mohri, we use the recent window as a proxy for the target and take the weighted-past versus recent-window Kolmogorov distance. A held-out backtest checks whether the estimate upper-bounds realized miscoverage. This is the weakest link and is tested directly.
The third is a scheduler interface. The chance constraint's level becomes $\alpha-\widehat{\text{disc}}$, floored at a minimum, so high-discrepancy days automatically get wider bands.
The fourth is a theory piece. We aim for a finite-sample bound on the estimation error of $\widehat{\text{disc}}$ under assumptions weaker than mixing, for example bounded drift between consecutive windows. If that bound cannot be obtained, we will state plainly that the certificate is empirical.
Baselines
The naive reference is split conformal with uniform weights over the full calibration history. This is the standard exchangeable procedure and the calibration layer inside AMV-CQR. Its marginal coverage on long backtests may look fine while violations cluster, so it anchors the clustering metrics. The crudest reference is raw, uncalibrated quantiles from the base forecaster.
The strongest existing scheduling method is AMV-CQR from the data-center paper. It reports up to 6.65% lower operational cost and up to 6.96% lower carbon-based energy use than robust optimization over 2010–2019. We will run it on the same traces, the same base quantile forecaster, and the same calibration window. To beat it, we must reduce the longest run of consecutive violated hours and the violation rate on Hard days, at cost no more than about 1–2% above AMV-CQR. Lower cost alone does not count. No reported result was found on Lacuna for AMV-CQR's violation clustering or Hard-day coverage, so we will measure both ourselves.
For forecast quality, the base forecasters are fixed and shared by every calibration method. The strong one is the multi-quantile CrossViViT (paper, code). It reports Hard-day MAE of 50.35 versus 54.91 for the best baseline at the CAB station, and test confidence above 0.90 on unseen stations for its 96% interval. That gap below 0.96 is itself evidence of miscalibration under shift. The cheap one is ensemble-deduction autoregression from Modified Auto Regressive Technique for Univariate Time Series Prediction of Solar Irradiance (MAPE 14.20% at 10 minutes and 22.42% at 1 hour). Comparing the two shows whether the calibration layer's benefit survives a strong forecaster.
The simple competitors described in the next section are run with the same calibration window and a tuning budget equal to ours: a small grid for decay rates and step sizes, selected on a separate validation year. Two ablations isolate the key ingredients. The first uses uniform weights plus discrepancy inflation, which tests whether the certificate alone does the work. The second uses optimized weights without inflation, which tests whether the weighting alone does.
Why not just…?
Why not just use online adaptive conformal updates that widen the band after each miss? This is the real threat. Such updates guarantee long-run average coverage under arbitrary dependence, and they are trivial to run. Their weakness is that they react only after a miss, so at the onset of a multi-day cloud stall they lose the first several hours by construction. Our covariate-dependent weights can anticipate the stall from satellite context. The experiments settle this with onset-aligned violation curves on Hard-day episodes. If adaptive updates match us on run lengths and cost, the contribution shrinks to the certificate, and we will say so.
Why not just weight recent days more with an exponential decay? Recency weighting is a special case of our weight family. It also handles slow drift well. It handles badly the case that matters: a stalled regime whose closest analogs are weeks or seasons back, not yesterday. The weights-only ablation against tuned exponential decay measures exactly this gap. If decay wins, the convex program is not earning its cost.
Why not just stratify calibration by Easy and Hard weather regimes, as SolarCube and CrossViViT do in evaluation? Stratification is a coarse, hand-chosen weighting. It also splits the data, which the single-path results warn against. The weights form a soft, learned version of it. We include a two-regime stratified conformal baseline, using the SolarCube regime labels, to test whether softness matters.
Why not just deseasonalize and fit AR, then calibrate as usual? Ensemble deduction removes the diurnal arc, not persistent cloud regimes. Its residuals remain clustered. It also cannot see approaching weather that satellite inputs capture. We nonetheless run every calibration method on top of it to separate forecaster effects from calibration effects.
Proposed Experiments
The first experiment is controlled. We add synthetic errors to clear-sky irradiance profiles, with errors built from switching regimes, abrupt shifts, and long-memory noise in the spirit of the ads1–ads4 suite. In this setting the true conditional error distribution is known, so we can check whether $\widehat{\text{disc}}$ upper-bounds realized miscoverage as memory length grows. A decisive negative outcome would be estimated discrepancy that is systematically below realized excess miscoverage in long-memory settings. That would kill the certificate claim.
The second experiment is forecast-level. We use BSRN and SURFRAD stations within SolarCube and the European BSRN stations used by CrossViViT. With both base forecasters fixed, we report marginal coverage, coverage on Hard days, mean band width, interval score, and the distribution of consecutive-violation run lengths. Leave-station-out splits test transfer.
The third experiment is downstream. Here we rerun the chance-constrained data-center schedule on the 2010–2019 traces with each calibration layer and report cost, carbon-based energy, and violation clustering. As a smaller secondary task, we repeat this on the 20-node feeder inverter dispatch, replacing its static empirical error sample with each method's band to measure overvoltage-hour clustering against the reported 44.05 kWh curtailment at 95% CVaR.
The proposal succeeds if three things hold: the certificate is honest on held-out years, the weighted bands cut Hard-day violation runs relative to uniform and adaptive conformal, and the cost penalty stays small.
References
- Discrepancy-Based Theory and Algorithms for Forecasting Non-Stationary Time Series
- Learning Theory and Algorithms for Forecasting Non-stationary Time Series
- A Kernel Independence Test for Random Processes
- Extreme expectile estimation for short-tailed data
- Sample Average Approximation for Stochastic Optimization with Dependent Data: Performance Guarantees and Tractability
- On the Consistency of Kernel Methods with Dependent Observations
- A Conformal Prediction-Based Chance-Constrained Programming Approach for 24/7 Carbon-Free Data Center Operation Scheduling
- Optimal Dispatch of Residential Photovoltaic Inverters Under Forecasting Uncertainties
- Improving *day-ahead* Solar Irradiance Time Series Forecasting by Leveraging Spatio-Temporal Context
- Modified Auto Regressive Technique for Univariate Time Series Prediction of Solar Irradiance
- SolarCube: An Integrative Benchmark Dataset Harnessing Satellite and In-situ Observations for Large-scale Solar Energy Forecasting