10
3

Blessing of Class Diversity in Pre-training

Abstract

This paper presents a new statistical analysis aiming to explain the recent superior achievements of the pre-training techniques in natural language processing (NLP). We prove that when the classes of the pre-training task (e.g., different words in the masked language model task) are sufficiently diverse, in the sense that the least singular value of the last linear layer in pre-training (denoted as ν~\tilde{\nu}) is large, then pre-training can significantly improve the sample efficiency of downstream tasks. Specially, we show the transfer learning excess risk enjoys an O(1ν~n)O\left(\frac{1}{\tilde{\nu} \sqrt{n}}\right) rate, in contrast to the O(1m)O\left(\frac{1}{\sqrt{m}}\right) rate in the standard supervised learning. Here, nn is the number of pre-training data and mm is the number of data in the downstream task, and typically nmn \gg m. Our proof relies on a vector-form Rademacher complexity chain rule for disassembling composite function classes and a modified self-concordance condition. These techniques can be of independent interest.

View on arXiv
Comments on this paper