第4章分類のための線形ニューラルネットワーク
4.6.4. Summary4.6.4 まとめ
The most straightforward way to evaluate a model is to consult a test set comprised of previously unseen data. Test set evaluations provide an unbiased estimate of the true error and converge at the desired rate as the test set grows. We can provide approximate confidence intervals based on exact asymptotic distributions or valid finite sample confidence intervals based on (more conservative) finite sample guarantees. Indeed test set evaluation is the bedrock of modern machine learning research. However, test sets are seldom true test sets (used by multiple researchers again and again). Once the same test set is used to evaluate multiple models, controlling for false discovery can be difficult. This can cause huge problems in theory. In practice, the significance of the problem depends on the size of the holdout sets in question and whether they are merely being used to choose hyperparameters or if they are leaking information more directly. Nevertheless, it is good practice to curate real test sets (or multiple) and to be as conservative as possible about how often they are used.
英語のヒント
モデルを評価する最も素直な方法は、これまで見たことのないデータからなるテスト集合を参照することである。テスト集合での評価は、真の誤差の不偏推定値を与え、テスト集合が大きくなるにつれて、望みどおりのの速さで収束する。厳密な漸近分布にもとづいて近似的な信頼区間を示すことも、(より保守的な)有限標本の保証にもとづいて、有限標本で正しい信頼区間を示すこともできる。実際、テスト集合による評価は、現代の機械学習研究の岩盤である。しかし、テスト集合が真のテスト集合であることはめったにない(複数の研究者に何度も使われる)。同じテスト集合が複数のモデルの評価に使われると、偽の発見を抑えるのは難しくなりうる。これは理論上、大きな問題を引き起こしうる。実際には、問題の重大さは、問題のホールドアウト集合の大きさと、それがハイパーパラメータを選ぶのに使われているだけなのか、それとももっと直接に情報を漏らしているのかによる。それでも、本物のテスト集合を(あるいは複数)整備し、それを使う頻度についてはできるだけ保守的であるのがよいやり方である。
Hoping to provide a more satisfying solution, statistical learning theorists have developed methods for guaranteeing uniform convergence over a model class. If indeed every model’s empirical error simultaneously converges to its true error, then we are free to choose the model that performs best, minimizing the training error, knowing that it too will perform similarly well on the holdout data. Crucially, any one of such results must depend on some property of the model class. Vladimir Vapnik and Alexey Chernovenkis introduced the VC dimension, presenting uniform convergence results that hold for all models in a VC class. The training errors for all models in the class are (simultaneously) guaranteed to be close to their true errors, and guaranteed to grow even closer at rates. Following the revolutionary discovery of VC dimension, numerous alternative complexity measures have been proposed, each facilitating an analogous generalization guarantee. See Boucheron et al. (2005) for a detailed discussion of several advanced ways of measuring function complexity. Unfortunately, while these complexity measures have become broadly useful tools in statistical theory, they turn out to be powerless (as straightforwardly applied) for explaining why deep neural networks generalize. Deep neural networks often have millions of parameters (or more), and can easily assign random labels to large collections of points. Nevertheless, they generalize well on practical problems and, surprisingly, they often generalize better, when they are larger and deeper, despite incurring higher VC dimensions. In the next chapter, we will revisit generalization in the context of deep learning.
英語のヒント
もっと満足のいく解決を与えようとして、統計的学習理論家は、モデルのクラス全体での一様収束を保証する方法を開発してきた。実際にすべてのモデルの経験誤差が同時にそれぞれの真の誤差に収束するなら、訓練誤差を最小にする、最も性能のよいモデルを自由に選べる。そのモデルもホールドアウトデータで同じようによい性能を出すとわかっているからである。決定的に重要なことに、そうした結果はどれも、モデルのクラスの何らかの性質に依存しなければならない。Vladimir VapnikとAlexey ChernovenkisはVC次元を導入し、VCクラスのすべてのモデルについて成り立つ一様収束の結果を示した。クラスのすべてのモデルの訓練誤差は、(同時に)それぞれの真の誤差に近いことが保証され、さらにの速さでいっそう近づくことも保証される。VC次元の画期的な発見に続いて、ほかにも数多くの複雑さの尺度が提案され、それぞれが同様の汎化の保証を可能にした。関数の複雑さを測るいくつかの高度な方法についての詳しい議論は、Boucheron et al. (2005)を見てほしい。残念ながら、これらの複雑さの尺度は統計理論で広く役立つ道具になったが、深いニューラルネットワークがなぜ汎化するのかを説明するには、(素直に当てはめるかぎり)無力であることがわかる。深いニューラルネットワークは、しばしば何百万個(かそれ以上)のパラメータをもち、点の大きな集まりに無作為なラベルを簡単に割り当てられる。それにもかかわらず、実用的な問題ではよく汎化し、驚いたことに、より大きく深いときのほうが、VC次元が高くなるにもかかわらず、しばしばよりよく汎化する。次の章では、深層学習の文脈で汎化を再び取り上げる。