A unified theory of feature learning in RNNs and DNNs

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Bauer, Jan P., Fischer, Kirsten, Helias, Moritz, Palmigiano, Agostina
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918342966640640
author Bauer, Jan P.
Fischer, Kirsten
Helias, Moritz
Palmigiano, Agostina
author_facet Bauer, Jan P.
Fischer, Kirsten
Helias, Moritz
Palmigiano, Agostina
contents Recurrent and deep neural networks (RNNs/DNNs) are cornerstone architectures in machine learning. Remarkably, RNNs differ from DNNs only by weight sharing, as can be shown through unrolling in time. How does this structural similarity fit with the distinct functional properties these networks exhibit? To address this question, we here develop a unified mean-field theory for RNNs and DNNs in terms of representational kernels, describing fully trained networks in the feature learning ($μ$P) regime. This theory casts training as Bayesian inference over sequences and patterns, directly revealing the functional implications induced by the RNNs' weight sharing. In DNN-typical tasks, we identify a phase transition when the learning signal overcomes the noise due to randomness in the weights: below this threshold, RNNs and DNNs behave identically; above it, only RNNs develop correlated representations across timesteps. For sequential tasks, the RNNs' weight sharing furthermore induces an inductive bias that aids generalization by interpolating unsupervised time steps. Overall, our theory offers a way to connect architectural structure to functional biases.
format Preprint
id arxiv_https___arxiv_org_abs_2602_15593
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A unified theory of feature learning in RNNs and DNNs
Bauer, Jan P.
Fischer, Kirsten
Helias, Moritz
Palmigiano, Agostina
Machine Learning
Disordered Systems and Neural Networks
Recurrent and deep neural networks (RNNs/DNNs) are cornerstone architectures in machine learning. Remarkably, RNNs differ from DNNs only by weight sharing, as can be shown through unrolling in time. How does this structural similarity fit with the distinct functional properties these networks exhibit? To address this question, we here develop a unified mean-field theory for RNNs and DNNs in terms of representational kernels, describing fully trained networks in the feature learning ($μ$P) regime. This theory casts training as Bayesian inference over sequences and patterns, directly revealing the functional implications induced by the RNNs' weight sharing. In DNN-typical tasks, we identify a phase transition when the learning signal overcomes the noise due to randomness in the weights: below this threshold, RNNs and DNNs behave identically; above it, only RNNs develop correlated representations across timesteps. For sequential tasks, the RNNs' weight sharing furthermore induces an inductive bias that aids generalization by interpolating unsupervised time steps. Overall, our theory offers a way to connect architectural structure to functional biases.
title A unified theory of feature learning in RNNs and DNNs
topic Machine Learning
Disordered Systems and Neural Networks
url https://arxiv.org/abs/2602.15593