Understanding compositional representation learning with the staircase model
The article presents a toy model that studies when and how neural networks learn compositional circuits during training. The author uses mean-field theory[1] to analyze a two-hidden-layer quadratic MLP[2] with symmetric initializations, trained on a staircase dataset where the network must learn the parity[3] of a high-degree subset of Boolean inputs, while simpler related functions are also given as labels.
At early times, the model shows a hierarchy of learning mechanisms. It first learns features from the quadratic labels, then improves its prediction of the quartic label by relying on random features present at initialization, through lazy learning[4]. Next it learns features from the quartic label's gradients, and finally uses the learned features to solve the quartic parity task as a compositional circuit.
The author says the work belongs to a broader research program in mechanistic interpretability, which they consider relevant to some central problems in AI safety. A companion note derives the dynamical mean-field equations, and a separate post by Sergey Alekseev studies a more sophisticated staircase model with a higher-degree parity.
Read the original lesswrong.com
Sources
-
LessWrong
Understanding compositional representation learning with the staircase model



