深度神经网络倾向于可预测地外推
Deep Neural Networks Tend To Extrapolate Predictably
AI总结:
本文发现深度神经网络在分布外输入下预测趋向于最优常数解,并提供了跨数据集、损失函数和架构的验证及理论解释,支持风险敏感决策。
摘要:
传统观点认为,当面对分布外(OOD)输入时,神经网络的预测往往不可预测且过度自信。我们的工作重新评估了这一假设对于具有高维输入的神经网络的有效性。我们观察到,神经网络预测并非以任意方式外推,而是随着输入数据越来越偏离分布,其预测往往趋向于一个常数值。此外,我们发现这个值通常接近最优常数解(OCS),即在未观察输入的情况下,最小化训练数据上平均损失的预测。我们展示了这一现象在8个具有不同分布偏移的数据集(包括CIFAR10-C和ImageNet-R、S)、不同的损失函数(交叉熵、均方误差和高斯负对数似然)以及不同的架构(CNN和Transformer)上的结果。此外,我们提出了对这一行为的解释,首先通过实验验证,然后在涉及具有ReLU激活的深度同质网络的简化设置中进行理论研究。最后,我们展示了如何在实践中利用我们的见解,在存在OOD输入的情况下实现风险敏感决策。
英文摘要:
Conventional wisdom suggests that neural network predictions tend to be unpredictable and overconfident when faced with out-of-distribution (OOD) inputs. Our work reassesses this assumption for neural networks with high-dimensional inputs. Rather than extrapolating in arbitrary ways, we observe that neural network predictions often tend towards a constant value as input data becomes increasingly OOD. Moreover, we find that this value often closely approximates the optimal constant solution (OCS), i.e., the prediction that minimizes the average loss over the training data without observing the input. We present results showing this phenomenon across 8 datasets with different distributional shifts (including CIFAR10-C and ImageNet-R, S), different loss functions (cross entropy, MSE, and Gaussian NLL), and different architectures (CNNs and transformers). Furthermore, we present an explanation for this behavior, which we first validate empirically and then study theoretically in a simplified setting involving deep homogeneous networks with ReLU activations. Finally, we show how one can leverage our insights in practice to enable risk-sensitive decision-making in the presence of OOD inputs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。