Provable Learning of Random Hierarchy Models and Hierarchical Shallow-to-Deep Chaining
Yunwei Ren, Yatin Dandi, Florent Krzakala, Jason D. Lee
TL;DR
The paper proves that deep, gradient-trained convolutional networks can provably exploit hierarchical structure in Random Hierarchy Models (RHMs), a class of hierarchical probabilistic grammars. By formalizing a shallow-to-deep chaining principle and employing layerwise gradient descent with random Fourier feature mappings, it achieves end-to-end learning with sample complexity $O(m^{(1+o(1))L})$, matching the deep-depth conjecture while outperforming shallow-depth limits of $O(m^{s^L})$ in the regime $d = s^L$. The approach hinges on three core conditions—correlation between target and lower-level outputs, clean signal transfer to lower layers, and weak identifiability of lower-level features—and demonstrates how these enable hierarchical learning through successive layerwise optimizations. The results rely on a careful analysis of the RF layer, concentration bounds, and a recursive error-control scheme to ensure the learned proxies at each level faithfully guide subsequent layers. This work advances theoretical understanding of depth efficiency in hierarchical learning and points to broader applicability of the shallow-to-deep chaining framework in other structured target classes.
Abstract
The empirical success of deep learning is often attributed to deep networks' ability to exploit hierarchical structure in data, constructing increasingly complex features across layers. Yet despite substantial progress in deep learning theory, most optimization results sill focus on networks with only two or three layers, leaving the theoretical understanding of hierarchical learning in genuinely deep models limited. This leads to a natural question: can we prove that deep networks, trained by gradient-based methods, can efficiently exploit hierarchical structure? In this work, we consider Random Hierarchy Models -- a hierarchical context-free grammar introduced by arXiv:2307.02129 and conjectured to separate deep and shallow networks. We prove that, under mild conditions, a deep convolutional network can be efficiently trained to learn this function class. Our proof builds on a general observation: if intermediate layers can receive clean signal from the labels and the relevant features are weakly identifiable, then layerwise training each individual layer suffices to hierarchically learn the target function.
