LGAIAug 22, 2024

A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Language

arXiv:2408.12578v228 citationsh-index: 18
Originality Incremental advance
AI Analysis

This work provides a step towards better defining and predicting emergence in neural networks, which is crucial for AI risk regulation, but it is incremental as it builds on existing concepts from other fields.

The paper tackles the problem of understanding emergent capabilities in neural networks by proposing a phenomenological definition and testing it with Transformers trained on a formal language, showing that learning underlying grammar leads to sudden performance improvements on specific tasks.

Increase in data, size, or compute can lead to sudden learning of specific capabilities by a neural network -- a phenomenon often called "emergence''. Beyond scientific understanding, establishing the causal factors underlying such emergent capabilities is crucial to enable risk regulation frameworks for AI. In this work, we seek inspiration from study of emergent properties in other fields and propose a phenomenological definition for the concept in the context of neural networks. Our definition implicates the acquisition of general structures underlying the data-generating process as a cause of sudden performance growth for specific, narrower tasks. We empirically investigate this definition by proposing an experimental system grounded in a context-sensitive formal language and find that Transformers trained to perform tasks on top of strings from this language indeed exhibit emergent capabilities. Specifically, we show that once the language's underlying grammar and context-sensitivity inducing structures are learned by the model, performance on narrower tasks suddenly begins to improve. We then analogize our network's learning dynamics with the process of percolation on a bipartite graph, establishing a formal phase transition model that predicts the shift in the point of emergence observed in our experiments when changing the data structure. Overall, our experimental and theoretical frameworks yield a step towards better defining, characterizing, and predicting emergence in neural networks.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes