単純な階層言語におけるスケーリング則と表現学習:Transformer対畳み込みアーキテクチャ
Francesco Cagnetta1, Alessandro Favero2, Antonio Sclocchi3
1Scuola Internazionale Superiore di Studi Avanzati, (SISSA), Via Bonomea 265, 34136 Trieste, Italy.
Abstract:
How do neural language models acquire a language's structure when trained for next-token prediction? We address this question by deriving theoretical scaling laws for neural network performance on synthetic datasets generated by the random hierarchy model (RHM)-an ensemble of probabilistic context-free grammars designed to capture the hierarchical structure of natural language while remaining analytically tractable. Previously, we developed a theory of representation learning based on data correlations that explains how deep learning models capture the hierarchical structure of the data sequentially, one layer at a time. Here, we extend our theoretical framework to account for architectural differences. In particular, we predict and empirically validate that convolutional networks, whose structure aligns with that of the generative process through locality and weight sharing, enjoy a faster scaling of performance compared to transformer models, which rely on global self-attention mechanisms. This finding clarifies the architectural biases underlying neural scaling laws and highlights how representation learning is shaped by the interaction between model architecture and the statistical properties of data.
関連する概念動画
Convolution Properties II
The width property indicates that if the durations of input signals are T1 and T2, then the width of the output response equals the sum of both durations, irrespective of the shapes of the two functions. For instance, convolving two rectangular pulses with durations of 2 seconds and 1 second results in a function with a width of 3 seconds.
The area property asserts that the area under the...
Second Law of Thermodynamics
First Law of Thermodynamics
First Law of Thermodynamics
Language
Corballis and Suddendorf (2007) and Tomasello and Rakoczy (2003) highlight the role of language in...
Gas Laws: Boyle's, Gay-Lussac, Charles', Avogadro's, and Ideal Gas Law


