arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.09947cs.LGstat.ML
收藏

通过偏差-方差分解理解对抗训练中的泛化

Understanding Generalization in Adversarial Training via the Bias-Variance Decomposition

University of California, Berkeley(加州大学伯克利分校);University of Pennsylvania(宾夕法尼亚大学)

Yaodong Yu, Zitong Yang, Edgar Dobriban, Jacob Steinhardt, Yi Ma

摘要:

逆向训练的模型表现出很大的泛化差距:即使在大的扰动半径下,它们也可以插值训练集,但代价是在干净样本上产生很大的测试误差。为了研究这一差距,我们将测试风险分解为偏差和方差分量,并研究它们作为对抗训练扰动半径($\varepsilon$)的函数的行为。我们发现偏倚随$\varepsilon$单调增加,并且是风险中的主导项。同时,方差作为$\varepsilon$的函数是单峰的,峰值在训练集的插值阈值附近。这种特征行为在不同的数据集上稳健地发生,也适用于其他稳健的训练过程,如随机平滑。因此,它提供了一个测试的泛化差距提出的解释。我们发现,一些现有的解释失败这个测试-例如,通过预测单调增加的方差曲线。这强调了偏差方差分解在现代环境中的作用通过提供两个测量而不是一个测量,他们可以排除比单独测试准确性更多的解释。我们还表明,偏差和方差可以为可扩展地减少泛化差距提供有用的指导,突出预训练和未标记的数据作为有前途的路线。

英文摘要:

Adversarially trained models exhibit a large generalization gap: they can interpolate the training set even for large perturbation radii, but at the cost of large test error on clean samples. To investigate this gap, we decompose the test risk into its bias and variance components and study their behavior as a function of adversarial training perturbation radii ($\varepsilon$). We find that the bias increases monotonically with $\varepsilon$ and is the dominant term in the risk. Meanwhile, the variance is unimodal as a function of $\varepsilon$, peaking near the interpolation threshold for the training set. This characteristic behavior occurs robustly across different datasets and also for other robust training procedures such as randomized smoothing. It thus provides a test for proposed explanations of the generalization gap. We find that some existing explanations fail this test--for instance, by predicting a monotonically increasing variance curve. This underscores the power of bias-variance decompositions in modern settings-by providing two measurements instead of one, they can rule out more explanations than test accuracy alone. We also show that bias and variance can provide useful guidance for scalably reducing the generalization gap, highlighting pre-training and unlabeled data as promising routes.

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

↑