arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.10967cs.LGcs.AIcs.CVstat.ML
收藏

分布外数据的价值

The Value of Out-of-Distribution Data

Johns Hopkins University(约翰斯·霍普金斯大学);University of Pennsylvania(宾夕法尼亚大学)

Ashwin De Silva, Rahul Ramesh, Carey E. Priebe, Pratik Chaudhari, Joshua T. Vogelstein

AI总结:

该研究揭示泛化误差随OOD样本量呈非单调变化的反直觉现象,验证少量OOD数据的训练价值,探索已知OOD样本时的加权利用方法,并指出常用策略无法避免未知OOD样本带来的泛化性能下降。

摘要:

我们通常认为,来自相似任务的样本越多,泛化误差会越低;而来自分布外(OOD)任务的样本越多,泛化误差会越高。在本研究中,我们揭示了一个反直觉的现象:一项任务的泛化误差可以是OOD样本数量的非单调函数。随着OOD样本数量增加,目标任务的泛化误差会先下降,在超过某个阈值后才会上升。换言之,使用少量OOD数据进行训练是有价值的。我们在合成数据集上使用Fisher线性判别分析,在MNIST、CIFAR-10、CINIC-10、PACS和DomainNet等计算机视觉基准上使用深度网络,对这一现象进行了验证与分析。在已知哪些样本属于OOD的理想设置下,我们表明可以通过对目标任务与OOD的经验风险采用适当加权的目标函数来利用这些非单调趋势。尽管其实际应用价值有限,但这确实表明,如果我们能检测出OOD样本,或许就有办法从中获益。在我们不知道哪些样本是OOD的情况下,我们证明了数据增强、超参数优化和预训练等多种常用策略,都不足以确保目标泛化误差不会随着数据集中OOD样本数量的增加而上升。

英文摘要:

We expect the generalization error to improve with more samples from a similar task, and to deteriorate with more samples from an out-of-distribution (OOD) task. In this work, we show a counter-intuitive phenomenon: the generalization error of a task can be a non-monotonic function of the number of OOD samples. As the number of OOD samples increases, the generalization error on the target task improves before deteriorating beyond a threshold. In other words, there is value in training on small amounts of OOD data. We use Fisher's Linear Discriminant on synthetic datasets and deep networks on computer vision benchmarks such as MNIST, CIFAR-10, CINIC-10, PACS and DomainNet to demonstrate and analyze this phenomenon. In the idealistic setting where we know which samples are OOD, we show that these non-monotonic trends can be exploited using an appropriately weighted objective of the target and OOD empirical risk. While its practical utility is limited, this does suggest that if we can detect OOD samples, then there may be ways to benefit from them. When we do not know which samples are OOD, we show how a number of go-to strategies such as data-augmentation, hyper-parameter optimization, and pre-training are not enough to ensure that the target generalization error does not deteriorate with the number of OOD samples in the dataset.

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

↑