论文

研究揭示双精度浮点是高斯过程最大似然估计的隐藏约束

The Danger of Double Precision: Working Precision as a Hidden Constraint in Gaussian Process Maximum Likelihood

精选理由

如果你用高斯过程做贝叶斯优化或主动学习,这篇值得花时间:它证明双精度浮点会让超参数拟合成另一个模型,平方指数核聚簇设计需要约 70 bits 才收敛。作者给了 43 组设置的量化验证,还证明把似然整体提到 80 bits 比 jitter 更靠谱。

一篇 arXiv 论文指出,高斯过程超参数通常在 IEEE 双精度下最大化边际似然拟合,但对于平滑核和无噪声数据,协方差矩阵的病态程度超出双精度可分辨范围。以 squared-exponential 核加贝叶斯优化聚簇设计为例,在不同有效位宽度下重新拟合并与高精度参考对比,发现双精度拟合实际得到的是另一个模型,只有当有效位超过协方差条件数以 2 为底的对数(约 70 bits)时拟合才收敛。Cholesky 分解失败本质上是核元素舍入造成的隐式条件数约束,仅由工作精度预测的受约束解在 40 到 64 bits 六档精度中的五档与最优 Powell 拟合相差不到 20%。

正文

作者在 43 种核、设计与问题设置上验证(含双精度已足够处理的阴性对照),所需位数遵循参考最优点处的对数条件数加一个容差相关偏移;在最宽松容差下,双精度足以处理 Matern 1.5 核,但不足以处理聚簇设计上的 squared-exponential 核。双精度拟合的超参数会在设计聚簇附近高估后验标准差,并在似然趋于平坦极限的二次目标上令闭环主动学习停滞。将整个似然提升到 80 有效位可恢复所有固定设计上的参考精度,而固定 jitter 只是把数值失败换成了后验偏差。

对使用贝叶斯优化、主动学习或 GP 回归的开发者而言,这意味着双精度默认设置可能在无报错的情况下引入系统性偏差,尤其是聚簇设计与平滑核场景;把似然计算提升精度比调 jitter 更可靠。

原文 · arXiv cs.LG

The Danger of Double Precision: Working Precision as a Hidden Constraint in Gaussian Process Maximum Likelihood

Gaussian process (GP) hyperparameters are routinely fitted by maximizing the marginal likelihood in IEEE double precision, although for smooth kernels and noiseless data the covariance matrix is often more ill conditioned than double precision can resolve. For a squared-exponential kernel on a design with a Bayesian-optimization cluster, refits over a range of significand widths, judged against a high-precision reference, show that the double-precision fit is a different model and that fits converge only once the width exceeds the base-2 logarithm of the covariance condition number, about 70 bits. Cholesky failure acts as an implicit conditioning constraint, caused mostly by rounding of the kernel entries; the constrained solution predicted from the working precision alone is within 20% of the best Powell fits at five of the six precisions from 40 to 64 bits, with a local expansion proved for the idealized problem. Across 43 kernels, designs and problem settings, including negative controls that double precision already resolves, the bits needed follow the log condition number at the reference optimum plus a tolerance-dependent offset, and at the loosest tolerance double precision suffices for the Matern 1.5 kernel but not for the squared-exponential kernel on clustered designs. Double-precision hyperparameters overstate the posterior standard deviation near the design cluster and, on a quadratic objective whose likelihood heads to the flat limit, stall closed-loop active learning. Promoting the whole likelihood to 80 significand bits recovers the reference accuracy on every fixed design tested, whereas a fixed jitter trades failures for a posterior bias.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:高斯过程、贝叶斯优化、数值精度、Cholesky分解,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Thomas A. Scott),经 AITOP 多维评分管线结构化提炼。