Learning to Reason with Neural Networks: Generalization, Unseen Data and Boolean Measures

Emmanuel Abbe, Samy Bengio, Elisabetta Cornacchia, Jon Kleinberg, Aryo Lotfi +2 more
5/26/2022
cs.LGstat.ML

Official code: aryol/BooleanPVR (11 stars, Python, last commit 2024-09-03).

Abstract

This paper considers the Pointer Value Retrieval (PVR) benchmark introduced in [ZRKB21], where a 'reasoning' function acts on a string of digits to produce the label. More generally, the paper considers the learning of logical functions with gradient descent (GD) on neural networks.

Show full abstract

It is first shown that in order to learn logical functions with gradient descent on symmetric neural networks, the generalization error can be lower-bounded in terms of the noise-stability of the target function, supporting a conjecture made in [ZRKB21]. It is then shown that in the distribution shift setting, when the data withholding corresponds to freezing a single feature (referred to as canonical holdout), the generalization error of gradient descent admits a tight characterization in terms of the Boolean influence for several relevant architectures. This is shown on linear models and supported experimentally on other models such as MLPs and Transformers. In particular, this puts forward the hypothesis that for such architectures and for learning logical functions such as PVR functions, GD tends to have an implicit bias towards low-degree representations, which in turn gives the Boolean influence for the generalization error under quadratic loss.

View on arXivView PDF

Code Implementations(1)

aryol/BooleanPVROfficial100%
113Python, ShellMay 26, 20222 years agoNOASSERTION

Similar Papers

Cite this paper

@article{abbe2022learning,
  title  = {Learning to Reason with Neural Networks: Generalization, Unseen Data and Boolean Measures},
  author = {Emmanuel Abbe and Samy Bengio and Elisabetta Cornacchia and Jon Kleinberg and Aryo Lotfi and Maithra Raghu and Chiyuan Zhang},
  year   = {2022},
  eprint = {2205.13647},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.13647}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.13647.svg)](https://codeofpaper.com/paper/2205.13647)

Discussion