Deep Learning as Neural Low-Degree Filtering: A Theory of Hierarchical Feature Learning

Yatin Dandi, Matteo Vilucchio, Luca Arnaboldi, Hugo Tabanelli, Florent Krzakala

TL;DR

Neural Low-Degree Filtering (Neural LoFi) provides an analytically tractable, spectral surrogate for hierarchical feature learning in deep neural networks. By alternating between filtering (projecting representations onto the leading eigendirections of a label-weighted covariance operator) and lifting (expanding them via random nonlinear features), Neural LoFi demystifies how depth turns globally complex, high-degree targets into a sequence of statistically learnable low-degree problems.

What Problem Does This Paper Address?

Understanding how deep networks build internal representations beyond the "lazy" Neural Tangent Kernel (NTK) regime remains one of deep learning theory's hardest challenges. While empirical networks build representations hierarchically—moving from simple edges to abstract concepts—theoretical tools often treat these representations either as static kernels or as intractable, non-convex dynamical systems.

The authors address a fundamental question: Can we mathematically predict which features are discovered across layers, in what order, and at what sample complexity?

Methods

Neural LoFi models feature learning as an explicit, decoupled, layer-by-layer filter–lift mechanism, formally derived from an early-time, vanishing-initialization limit of gradient descent:

  1. Filtering (Low-Degree Spectral Selection): At layer $\ell$, given the current representation $z_{\ell-1}(x)$, the algorithm constructs the label-weighted first- and second-order moment operators: $$\hat{u}_\ell = \frac{1}{n} \sum_{\mu=1}^n y_\mu z_{\ell-1}(x_\mu), \quad \hat{C}^{(\ell)} = \frac{1}{n} \sum_{\mu=1}^n y_\mu z_{\ell-1}(x_\mu) z_{\ell-1}(x_\mu)^\top$$ The top $k_\ell$ eigendirections of $\hat{C}^{(\ell)}$ (and the linear direction $\hat{u}_\ell$) are retained, projecting the data to a lower-dimensional feature subspace: $g_\ell(x) = \hat{V}_\ell^\top z_{\ell-1}(x)$.

  2. Lifting (Nonlinear Expansion): The filtered features are re-expanded through a frozen random nonlinear feature map: $$z_\ell(x) = p_\ell^{-1/2} \sigma(R_\ell g_\ell(x))$$ This lifts the coordinates so the next layer can expose new low-degree correlations.

  3. Dual / Kernel Interpretation: In the Reproducing Kernel Hilbert Space (RKHS) $\mathcal{H}_{\ell-1}$ induced by the current layer, the algorithm solves a variational problem maximizing $\mathbb{E}_n[y \phi(x)^2]$ subject to $\|\phi\|_{\mathcal{H}_{\ell-1}} = 1$. Thus, deep learning acts as an adaptive sequence of task-dependent kernels: $K_0 \to K_1 \to \dots \to K_L$.

Datasets

  • Synthetic Hierarchical Gaussian Target: Inputs $x \sim \mathcal{N}(0, I_d)$ mapping through a planted polynomial hierarchy: degree-$q$ Hermite features $h^{(1)}(x)$, followed by a quadratic form $h^{(2)}(x)$, and output $y = \tanh(h^{(2)}(x))$.
  • CIFAR-10: Binary classification task (animals vs. vehicles) on natural images.
  • CelebA: High-resolution face attribute classification across binary targets including High Cheekbones, Smiling, and Gender.

Key Insights and Ideas

  • Low-Degree Compositionality: A target function may be globally intractable (e.g., degree $2q$ in the raw input), but compositionally simple. Depth helps because each layer only needs to solve a local, low-degree spectral problem.
  • Feature Emergence as a Phase Transition: A feature emerges only when its population correlation $\rho_\ell^{(k)}$ exceeds the empirical noise floor $\tau_\ell^k(n)$, which is governed by the residual effective dimension of the current kernel: $$\tau_\ell^k(n) \lesssim r_\ell^k \sqrt{\frac{D_{\ell,k}^{\text{eff}}(r_\ell^k)}{n}}$$ Analogous to BBP-type spectral phase transitions, features remain buried in the noise bulk until sample size $n$ crosses an explicit threshold.

  • Why Pruning Works: Large network width provides a rich, overcomplete space for discovery, while spectral filtering discards noise-dominated dimensions—explaining why overparameterization and post-hoc pruning coexist harmoniously.

  • Features Emerge Without Backpropagation: When applied to convolutional architectures, diagonalizing the label-weighted moment operator directly yields edge detectors, Gabor-like filters, and color-opponent channels at early layers without any end-to-end backprop.

Key Results

  • Matches Early SGD Dynamics: On CIFAR-10, the feature subspace overlap between Neural LoFi and standard SGD grows rapidly during early training steps, demonstrating that LoFi mirrors the initial feature-discovery phase of gradient descent.
  • Outperforms Random Baselines: On binary CIFAR-10, fully connected Neural LoFi achieves significantly lower test error (~12–14%) compared to fixed random feature models and ridge regression (~18–24%).
  • U-Shaped Error Landscape: Varying the retained feature rank $k$ displays a strict U-shape: retaining too few features discards signal, while retaining too many incorporates unseparated noise eigendirections. As sample size $n$ increases from $5\text{k}$ to $50\text{k}$, the optimal rank $k^*$ shifts rightward.
  • Sample Complexity in Solvable Models: In synthetic teacher-student networks, the sharp drop in test MSE and sudden recovery of hidden variables $h^{(1)}$ match the theoretically predicted threshold of $n \gg d^{q+\epsilon}$ (for $q=2$, $n \gg d^{2.5}$).

Limitations and Future Work

  • Early-Time Approximation: LoFi is derived from the initial, small-initialization phase of training. It does not account for late-stage, multi-pass SGD dynamics where features undergo iterative, fine-scale refinement.
  • Second-Order Truncation: The method focuses on first- and second-order statistics ($\hat{u}_\ell$ and $\hat{C}^{(\ell)}$). Higher-degree dependencies (information exponent $\ge 3$) cannot be captured in a single layer without tensor spectral methods, unless revealed through intermediate representations.
  • Future Directions: Developing "multi-pass" Neural LoFi that alternates spectral filtering with residual updates to bridge the gap with full training runs and higher-order Statistical Query (SQ) learnability.

Summary updated

BibTeX
@inproceedings{dandi2026deep,
  author = {Yatin Dandi and Matteo Vilucchio and Luca Arnaboldi and Hugo Tabanelli and Florent Krzakala},
  title = {{Deep Learning as Neural Low-Degree Filtering: A Theory of Hierarchical Feature Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ZRp3Qmrbhu},
}
Figure