arXiv:2610.13249cs.DBOct 2026

Manuscript Offprint

arXiv:2610.13249

CALQA: Conformal Screening of Forecast-Ensemble Configurations from One Mergeable State

Xiufeng Liu, Ruyu Liu, Yusen Liu, Huan Huo, Per Sieverts Nielsen

Xiufeng Liu*, Ruyu Liu*, Yusen Liu†, Huan Huo†, Per Sieverts Nielsen*

*Department of Technology, Management and Economics, Technical University of Denmark, Kongens Lyngby, Denmark

{xiuli, ruyli, pernn}@dtu.dk

†School of Computer Science, University of Technology Sydney, Sydney, Australia

{yusen.liu, huan.huo}@uts.edu.au

Abstract—AutoML systems fit ensemble weights over model libraries; a search can score, per category, market or time pane, thousands of weightings of the quantile-averaged (Vincentized) ensemble for the narrowest conformally calibrated interval; exact calibration scores a group's rows per candidate. We present CALQA, a fixed-size integer aggregate per group and pane that stores histograms of normalised block scores at a net of weight vectors. One GROUP BY builds it; it merges by addition, retracts deletions by subtraction and scores any candidate without reading a row. We prove that its score never falls below the exact split-conformal shift and exceeds it by at most the net distance plus a grid gap; that coverage carries over to each fixed weight vector and, for i.i.d. blocks and up to a union-bound slack, to a searched weight vector deployed with the state's shift; and how small any such state can be. The state is thus a screen: it ranks all candidates, and exact recomputation re-checks the top 100. On five public panels (604 groups, 10,000 candidates each) this two-stage plan matches exact search on held-out blocks (99.95% of its Winkler score), 1.3–59 times faster. On two real panels of about 10810^{8} rows (smart meters, retail sales) it is 44–54 times faster at 99.98–100.01% of that score and beats sample screens with the same re-check in regret at less total time. Picks deployed with their exact shift need a held-out coverage check. The state does not pay off for small or greedy searches, off-net weights at ample memory or full twelve-member support.

Index Terms—uncertain and approximate data, time series, mergeable summaries, conformal prediction, forecast combination, what-if queries

I. INTRODUCTION

Retail, energy and cloud forecasting stacks store the probabilistic forecasts of several member models next to the data they forecast [1], [2], and they serve an ensemble. The usual combiner is quantile averaging, or Vincentization (VI): the pp-quantile of the ensemble is a weighted average of the members' pp-quantiles [3], [4]. AutoML systems already choose ensemble weights after training, over libraries of fitted models, by greedy ensemble selection [5]–[7], also for quantile forecasters [8]. The weights are thus chosen after ingest: at every retraining such a job, or an analyst working in the warehouse, can search for each group (a product category, a market, a quarter) over thousands of candidate weight vectors

TABLE I OPTIONS FOR CALIBRATING POST-HOC CONFIGURATIONS PER GROUP AND WINDOW.

OptionSize per groupPost-hoc wMerge/ retractAnswer per w
Recomputeraw rowsyesrowsexact
Stored counts (e)J+1J+1 per wdeclaredyes/yesexact
One-score summaryone scorenoyes/-one predictor
Block samples blocksyesyes/dropvalid in coverage
CALQA∣N∣(J+1)+1|N|(J+1)+1yesyes/yesdominates exact

w for the one whose interval is narrowest while still covering, say, 90% of future blocks, where a block is all horizons of one forecast origin or the 24 hours of a delivery day. The target needs calibration even when the averaged quantiles look calibrated row by row [9], [10]: on our electricity-price panels the uncalibrated (0.1, 0.9) interval covers 0.813–0.823 of the rows but only 0.296–0.334 of the daily blocks.

Split conformal prediction gives the calibration for one fixed w: the interval is widened by an order statistic of block scores on held-out calibration blocks [11]. Computing it exactly reads every calibration row of the group, so a search over M candidates in G groups costs GM passes over the rows. The data-system options are in Table I. Stored per-configuration counts are a distributive aggregate that rolls up like a data-cube measure [12], [13], but only for configurations declared in advance. Mergeable conformal summaries [14]–[16] summarise the scores of one predictor. A block sample serves any w, but it is valid only in coverage and cannot be refilled after a deletion without a rescan.

CALQA is an aggregate that answers the calibration question for every candidate without reading a row. Once each row is normalised by a scale that does not depend on w and dominates the spread of the member quantiles, the conformal score of a VI interval is 12\frac{1}{2} -Lipschitz in w in ℓ1\ell_{1} , whatever the outcome and the level of the series (Lemma 1). CALQA therefore keeps, per group and time pane, histograms of block scores at a finite net of weight vectors, and scores a candidate

Figure

Fig. 1. Data flow of the two-stage configuration search, with measured times for the largest group of the configuration search in Section VI-B (M4 Daily, K=4, all 755 cells, 10410^{4} Dirichlet candidates). NumPy search times come from the run of Table IV; the build times and those marked SQL (DuckDB) come from a separate run on the same data. The state is built once; screening and re-check run per search.

w by the smallest net threshold plus half the ℓ1\ell_{1} distance to its net point (Figure 2). The state is a vector of integers built by one GROUP BY. It merges by addition, retracts deleted entities by subtraction and takes pane weights, so roll-ups, complements and sliding windows are exact (Figure 1).

The score is a safe screen. For every w it lies between the exact split-conformal shift and that shift plus the net distance and a grid gap (Theorem 1), so the state can rank all candidates, and exact recomputation from the rows of the group needs to re-check only the best few. Over 604 groups of five public panels and 10,000 candidates per group, re-checking the top 100 picks configurations that do as well as exact search on held-out blocks (99.95% of the exact-search pick's block-Winkler score; 100.41% for the state alone), at 1.3–59 times less time than vectorised exact recomputation (Table IV). A block-sample screen with the same re-check is slower and worse at the state's bytes, and larger samples win only at several times the time: on these panels the plan is Pareto-optimal among the plans we ran, not dominant, and its gain is time, not memory. At scale the picture sharpens. On 105,540,816 rows of the CER smart-meter panel [17] and 88,786,880 rows of M5 retail sales [18] (4,005 groups, 16-thread cluster nodes) the plan is 44–54 times faster than exact search at 99.98–100.01% of its held-out score, and it beats sample screens at one and four times the state's bytes with the same re-check in regret at less total time (Table V).

The guarantees are proved, not measured. The interval returned for each fixed w, on or off the net, keeps the weighted conformal coverage bound of Barber et al. [19] with a gap that does not depend on w or on series levels; a weight vector picked by a search on the calibration blocks is covered, for i.i.d. blocks and with the state's shift, up to a union-bound slack of order log⁡∣N∣/n\sqrt{\log |N|/n} over the net (Corollary 2). Picks deployed with their exact shift are not covered, and they cover only 0.84–0.90 of held-out blocks per family. We also show that merge closure forces any deterministic dominating state to have order ϵ−(1+d/2)\epsilon^{-(1+d/2)} coordinates on a d-dimensional face of the weight simplex when the shift window is longer than 12\frac{1}{2} (order ϵ−d/2\epsilon^{-d/2} otherwise), and that net histograms need and achieve ϵ−(1+d)\epsilon^{-(1+d)} (Table XI lists where the state does not pay off).

Our contributions are as follows.

• Operator. Calibration screening over post-hoc ensemble weights, groups and windows as an in-database aggregate: the net-score state, a group homomorphism under merge and retraction, built and queried in SQL (Theorem 1, Figure 3), and a two-stage search plan on top of it.

• Guarantees and limits. A deterministic sandwich against the exact shift for every w; transfers of weighted conformal coverage to each post-hoc w and, for i.i.d. blocks, to data-selected w (Theorem 2, Corollaries 1–2); a merge-closure lower bound for deterministic dominating states and matching exponents for the net-histogram class (Lemma 3, Theorems 3–4).

• Evaluation. An end-to-end configuration search, scored in and out of sample, against exact recomputation, Lipschitz-pruned exact search and block-sample screens, in NumPy and DuckDB on five public panels and in NumPy on two real panels of about 10810^{8} rows each, with build, merge and query in both engines on 10810^{8} smart-meter rows; an equal-bytes regime map with random, realistic, declared and neighbourhood weights; build, merge and query cost for many groups; forward-in-time decay; twelve-member families and deletion (Section VI).

References (66)