mlsanityData to 14 Oct 2026

Invariance, encodings, and generalization: learning identity effects with neural networks

arXiv 2101.08386 ↗First posted 21 Jan 2021cs.LG cs.CLcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  5. 2015LSTM: A Search Space Odysseycited by 316
  6. 2020Generalizing Outside the Training Set: When Can Neural Networks Learn Identity Effects?cited by 4
  7. 2016Which Learning Algorithms Can Generalize Identity-Based Rules to Novel Inputs?cited by 2
  8. 2019What do AI algorithms actually learn? - On false structures in deep learningcited by 2

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 2.

5 papers.