Meta predictive learning model of languages in neural circuits
Chan Li, Junbin Qiu, Haiping Huang
TL;DR
This work develops mean-field meta predictive learning (MPL), a brain-inspired predictive coding framework in recurrent networks where all synaptic weights follow spike-and-slab distributions and only distribution parameters are learned. By minimizing a variational free energy, MPL combines inference, learning, and prediction phases, producing an ensemble of networks whose weights become increasingly deterministic except for the readout layer, which remains more variable. MPL is tested on MNIST with sequential pixels, a toy language task, and the Penn Treebank corpus, revealing a data-load driven phase transition near $\alpha_c \approx 0.02$ and the ability to generate grammatically coherent text after sufficient training. The results suggest a plausible link between brain-like next-token prediction, phase-transition dynamics, and emergent language capabilities, while highlighting gaps relative to transformer architectures and pointing to avenues for integrating attention-like mechanisms in a biologically plausible framework.
Abstract
Large language models based on self-attention mechanisms have achieved astonishing performances not only in natural language itself, but also in a variety of tasks of different nature. However, regarding processing language, our human brain may not operate using the same principle. Then, a debate is established on the connection between brain computation and artificial self-supervision adopted in large language models. One of most influential hypothesis in brain computation is the predictive coding framework, which proposes to minimize the prediction error by local learning. However, the role of predictive coding and the associated credit assignment in language processing remains unknown. Here, we propose a mean-field learning model within the predictive coding framework, assuming that the synaptic weight of each connection follows a spike and slab distribution, and only the distribution, rather than specific weights, is trained. This meta predictive learning is successfully validated on classifying handwritten digits where pixels are input to the network in sequence, and moreover on the toy and real language corpus. Our model reveals that most of the connections become deterministic after learning, while the output connections have a higher level of variability. The performance of the resulting network ensemble changes continuously with data load, further improving with more training data, in analogy with the emergent behavior of large language models. Therefore, our model provides a starting point to investigate the connection among brain computation, next-token prediction and general intelligence.
