Let's derive, from first principles, what properties of functions and data imply good generalization bounds.
First, we clearly want some \(f\) to be able to fit the data \(\mathcal{D}\) well.
Second, we want the Kolmogorov complexity of \(f\) to be small. Specifically, with the dataset of size \(|\mathcal{D}|\), we want to have a function of Kolmogorov complexity \(o(|\mathcal{D}|)\) that fits the data. This constrains the nature of the data. Many works relate this property of natural language to the scaling laws.
Finally, we want to be able to compute such approximators \(f\) that have low Kolmogorov complexity.
Luckily for us, neural networks and next token prediction data happen to experimentally satisfy all of these conditions. Our next goal is to derive precise generalization bounds for LLMs.