通过分段仿射下界实现快速且精确的最小绝对偏差直线拟合
Fast and Exact Least Absolute Deviations Line Fitting via Piecewise Affine Lower-Bounding
AI总结:
PALB方法通过分段仿射下界实现快速且精确的LAD直线拟合,优于现有LP和IRLS方法。
摘要:
最小绝对偏差(LAD)直线拟合对异常值具有鲁棒性,但计算上比最小二乘回归更复杂。尽管文献中包含线性和近线性时间算法用于LAD直线拟合问题,但这些方法难以实现,且据我们所知缺乏维护的公共实现。因此,实践者常常使用基于线性规划(LP)的方法,如基于单纯形的Barrodale-Roberts方法和内点法,或者迭代加权最小二乘(IRLS)近似,后者不保证精确解。为弥补这一差距,我们提出了分段仿射下界(PALB)方法,一种用于LAD直线拟合的精确算法。PALB利用来自子梯度的支撑线构建分段仿射下界,并采用涉及这些下界极值的细分方案。我们证明了正确性,并提供了迭代次数的界限。在具有各种信号类型和噪声的合成数据集以及NOAA的集成表面数据库中的真实数据集上,PALB表现出经验对数线性缩放。它比公开可用的基于LP和IRLS求解器的实现更快。我们提供了一个用Rust编写、具有Python API的参考实现。
英文摘要:
Least-absolute-deviations (LAD) line fitting is robust to outliers but computationally more involved than least squares regression. Although the literature includes linear and near-linear time algorithms for the LAD line fitting problem, these methods are difficult to implement and, to our knowledge, lack maintained public implementations. As a result, practitioners often resort to linear programming (LP) based methods such as the simplex-based Barrodale-Roberts method and interior-point methods, or on iteratively reweighted least squares (IRLS) approximation which does not guarantee exact solutions. To close this gap, we propose the Piecewise Affine Lower-Bounding (PALB) method, an exact algorithm for LAD line fitting. PALB uses supporting lines derived from subgradients to build piecewise-affine lower bounds, and employs a subdivision scheme involving minima of these lower bounds. We prove correctness and provide bounds on the number of iterations. On synthetic datasets with varied signal types and noise including heavy-tailed outliers as well as a real dataset from the NOAA's Integrated Surface Database, PALB exhibits empirical log-linear scaling. It is consistently faster than publicly available implementations of LP based and IRLS based solvers. We provide a reference implementation written in Rust with a Python API.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。