arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.02535cs.LG
收藏

线性分类器预测误差和AUC的直接有效优化

Directly and Efficiently Optimizing Prediction Error and AUC of Linear Classifiers

Lehigh University(利哈伊大学)

Hiva Ghanbari, Katya Scheinberg

摘要:

机器学习模型的预测质量通常根据其(近似)预期预测误差或特定数据分布的所谓曲线下面积(AUC)来衡量。然而,当通过经验风险最小化方法构建模型时,替代函数(如逻辑损失)被优化。这样做是因为预期误差和AUC函数的经验近似是非凸和非光滑的,更重要的是几乎处处都是零导数。在这项工作中,我们表明,在线性预测的情况下,并假设数据具有正态分布,预期误差和预期AUC不仅是光滑的,但有封闭形式的表达式,这取决于正态分布的第一和第二时刻。因此,我们推导出这两个函数的导数,并在优化算法中使用这些导数来直接优化预期误差和AUC。在真实数据集的情况下,可以使用经验矩来近似导数。我们表明,即使当数据不是正态分布,计算的衍生物是足够有用的,使一个有效的优化方法和高质量的解决方案。因此,我们提出了一种基于梯度的优化方法,用于直接优化预测误差和AUC。此外,所提出的算法的每次迭代的复杂性没有依赖于数据集的大小,不像那些优化逻辑回归和所有其他众所周知的经验风险最小化问题。

英文摘要:

The predictive quality of machine learning models is typically measured in terms of their (approximate) expected prediction error or the so-called Area Under the Curve (AUC) for a particular data distribution. However, when the models are constructed by the means of empirical risk minimization, surrogate functions such as the logistic loss are optimized instead. This is done because the empirical approximations of the expected error and AUC functions are nonconvex and nonsmooth, and more importantly have zero derivative almost everywhere. In this work, we show that in the case of linear predictors, and under the assumption that the data has normal distribution, the expected error and the expected AUC are not only smooth, but have closed form expressions, which depend on the first and second moments of the normal distribution. Hence, we derive derivatives of these two functions and use these derivatives in an optimization algorithm to directly optimize the expected error and the AUC. In the case of real data sets, the derivatives can be approximated using empirical moments. We show that even when data is not normally distributed, computed derivatives are sufficiently useful to render an efficient optimization method and high quality solutions. Thus, we propose a gradient-based optimization method for direct optimization of the prediction error and AUC. Moreover, the per-iteration complexity of the proposed algorithm has no dependence on the size of the data set, unlike those for optimizing logistic regression and all other well known empirical risk minimization problems.

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

↑