Cadence:基于时间序列基础模型的需求时间序列有界误差有损压缩
研究论文 · 2026/09/09
Cadence是一种针对数值时间序列的有界误差有损压缩器,结合了3.3亿参数的时间序列基础模型(Google TimesFM-3)与自适应算术编码器,保证每个样本的误差不超过τ。研究发现,对于无损编码,基础模型几乎没有价值,因为节省的比特数与预测精度的对数成正比。然而,有界误差编码在预测落入误差带内时,残差索引为零,样本几乎免费编码。Cadence的主要贡献包括:自适应范围编码器结合上下文建模的二值化,在真实索引上比xz/zstd压缩率提高9.7%(15/15);确定性结果——预测在不同批次大小下并非比特一致,且没有PyTorch配置能修复,因此将组大小和执行设备纳入容器格式;以及领域定位在可能训练截止日期之后的语料上。在49个EIA-930需求序列(2026年)上,Cadence比六个经典预测器的最佳结果提高13.3%,在50个MTA客流量序列(2026年)上提高28.3%,在297个序列-容差对中位数提高21.4%,全部297个胜出。与降采样相比,在相同大小下,其保证的最坏情况误差严格28-56倍。端到端,一旦上下文引导成本支付,增益从六个月小时数据的6.8%到渐近的15.1%。在SDRBench上尝试证伪领域声明,理论预测失败并实现:中位数-0.8%,27对中0对增益。报告了三个进一步的负面结果和八个撤回声明。
该论文提出了一种创新的有界误差压缩方法,结合了大型时间序列基础模型,并提供了深入的负面结果分析,对时间序列压缩和基础模型应用领域具有重要参考价值。
We present Cadence, an error-bounded lossy compressor for numeric time series pairing a 330M-parameter time-series foundation model (Google TimesFM-3) with an adaptive arithmetic coder, guaranteeing |x_t-x_t|leτ on every sample. One negative result constrains the design space: for lossless coding a foundation model is worth nothing, because bits saved are logarithmic in predictor accuracy, Δb=log_2(MAE_{old}/MAE_{new}). So the 1.51times advantage TimesFM-3 holds over a 32-tap linear predictor buys 0.60 bits of 20.28, a median gain of +0.03%. Error-bounded coding escapes this at one point: once a forecast lands inside the band the residual index is zero and the sample nearly free. Cadence contributes: (1) an adaptive range coder with context-modelled binarization, beating xz/zstd on real indices by 9.7% (15/15) and reversing a finding from a general-purpose back end; (2) a determinism result -- predictions are not bit-identical across batch sizes, and no PyTorch configuration repairs this, forcing group size and execution device into the container format; and (3) domain localization on corpora postdating any plausible training cutoff. On 49 EIA-930 balancing-authority demand series (2026) Cadence gains 13.3% over the best of six classical predictors, and 28.3% on 50 MTA ridership series (2026): 21.4% median over 297 series-tolerance pairs, winning all 297. Against downsampling, what time-series databases deploy for retention, its guaranteed worst-case error is 28--56times tighter at equal size. End-to-end, once the context bootstrap is paid for, gains run from 6.8% at six months of hourly data to 15.1% asymptotically. Attempting to falsify the domain claim on SDRBench, theory predicts failure and delivers: -0.8% median, 0 of 27 pairs gaining. Three further negative results and eight retracted claims are reported in full.