Invariance, encodings, and generalization: learning identity effects with neural networks
Not on the map. Why?
Abstract (arXiv)
Often in language and other areas of cognition, whether two components of an object are identical or not determines if it is well formed. We call such constraints identity effects. When developing a system to learn well-formedness from examples, it is easy enough to build in an identify effect. But can identity effects be learned from the data without explicit guidance? We provide a framework in which we can rigorously prove that algorithms satisfying simple criteria cannot make the correct inference. We then show that a broad class of learning algorithms including deep feedforward neural networks trained via gradient-based algorithms (such as stochastic gradient descent or the Adam method) satisfy our criteria, dependent on the encoding of inputs. In some broader circumstances we are able to provide adversarial examples that the network necessarily classifies incorrectly. Finally, we demonstrate our theory with computational experiments in which we explore the effect of different input encodings on the ability of algorithms to generalize to novel inputs. This allows us to show similar effects to those predicted by theory for more realistic methods that violate some of the conditions of our theoretical results.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 8 of its 40 references that are in the map. First posted on arXiv 21 Jan 2021.
Builds on
8 of 40 references.
References · 8
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2015LSTM: A Search Space Odysseycited by 316
- 2020Generalizing Outside the Training Set: When Can Neural Networks Learn Identity Effects?cited by 4
- 2016Which Learning Algorithms Can Generalize Identity-Based Rules to Novel Inputs?cited by 2
- 2019What do AI algorithms actually learn? - On false structures in deep learningcited by 2
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 2.
5 papers.
- 2022Dimensionless machine learning: Imposing exact units equivariancecited by 17
- 2021On the approximation capability of GNNs in node classification/regression taskscited by 9
- 2024Ensembles provably learn equivariance through data augmentationcited by 8
- 2024VC dimension of Graph Neural Networks with Pfaffian activation functionscited by 6
- 2023Generalization Limits of Graph Neural Networks in Identity Effects Learningcited by 3
- 2024Ensembles provably learn equivariance through data augmentation2 Oct 2024
- 2024VC dimension of Graph Neural Networks with Pfaffian activation functions22 Jan 2024
- 2023Generalization Limits of Graph Neural Networks in Identity Effects Learning30 Jun 2023
- 2022Dimensionless machine learning: Imposing exact units equivariance2 Apr 2022
- 2021On the approximation capability of GNNs in node classification/regression tasks16 Jun 2021