English

Neural Networks Generalize on Low Complexity Data

Machine Learning 2026-03-03 v6 Artificial Intelligence Statistics Theory Machine Learning Statistics Theory

Abstract

We show that feedforward neural networks with ReLU activation generalize on low complexity data, suitably defined. Given i.i.d.~data generated from a simple programming language, the minimum description length (MDL) feedforward neural network which interpolates the data generalizes with high probability. We define this simple programming language, along with a notion of description length of such networks. We provide several examples on basic computational tasks, such as checking primality of a natural number. For primality testing, our theorem shows the following and more. Suppose that we draw an i.i.d.~sample of nn numbers uniformly at random from 11 to NN. For each number xix_i, let yi=1y_i = 1 if xix_i is a prime and 00 if it is not. Then, the interpolating MDL network accurately answers, with probability 1O((lnN)/n)1- O((\ln N)/n), whether a newly drawn number between 11 and NN is a prime or not. Note that the network is not designed to detect primes; minimum description learning discovers a network which does so. Extensions to noisy data are also discussed, suggesting that MDL neural network interpolators can demonstrate tempered overfitting.

Keywords

Cite

@article{arxiv.2409.12446,
  title  = {Neural Networks Generalize on Low Complexity Data},
  author = {Sourav Chatterjee and Timothy Sudijono},
  journal= {arXiv preprint arXiv:2409.12446},
  year   = {2026}
}

Comments

37 pages. Small corrections made

R2 v1 2026-06-28T18:49:46.598Z