arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.21922stat.COmath.STstat.TH
收藏

扩展Sheldon M. Ross方法用于高效大规模方差计算

Extending Sheldon M. Ross's Method for Efficient Large-Scale Variance Computation

School of Computer Science and Engineering, University of New South Wales(新南威尔士大学计算机科学与工程学院)

Jiawen Li

AI总结:

本文提出PKA方法,通过重用已计算的充分统计量避免全量重新计算,分析了批量更新在不同数据规模下的加速效果,并验证了Ross方法仅在新批次含单个样本时更优。

摘要:

我们引入Prior Knowledge Acceleration (PKA),一种用于方差的批量更新方法,通过重用之前计算的充分统计量来避免全量重新计算。更新公式在代数上等价于Chan、Golub和LeVeque (1983)的成对公式;我们的贡献是运行时成本分析,推导出显式的加速因子τ_a,并确定批量更新在数据规模范围内优于朴素重新计算和Ross的单样本方法。我们证明Ross的方法仅在新批次包含单个样本(N₂=1)时更优。我们进一步将框架推广到协方差和其他可分解的统计量。在合成和现实流数据上与Welford、Chan成对和朴素双遍基线的基准测试验证了理论预测,当先前数据集相对于新批次较大时,加速效果可达454倍。

英文摘要:

We introduce Prior Knowledge Acceleration (PKA), a batch-update method for variance that reuses previously computed sufficient statistics to avoid full recomputation. The update identity is algebraically equivalent to the pairwise formula of Chan, Golub, and LeVeque (1983); our contribution is a runtime-cost analysis that derives an explicit acceleration factor $τ_a$ and identifies the data-size regime where batch updating outperforms both naïve recomputation and Ross's single-sample method. We prove that Ross's approach is preferable only when the new batch contains a single sample ($N_2 = 1$). We further generalise the framework to covariance and other decomposable statistics. Benchmarks against Welford, Chan pairwise, and naïve two-pass baselines on synthetic and real-world streaming data confirm the theoretical predictions, with speedups of up to $454\times$ when the prior dataset is large relative to the new batch.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑