betaFeedback

WorksComputer Science

Neural LoFi with Backward Coupling: A Spectral Theory of Cross-Layer Feature Learning

Abstract

During joint training, backpropagation allows later layers to reshape earlier representations, a feedback mechanism absent from purely layer-wise learning. We extend Neural Low-Degree Filtering (Neural LoFi), a recently proposed layer-wise spectral surrogate for feature learning, to capture this interaction. Starting from the exact backpropagation gradients, we derive a local coupling between a neuron's incoming weights and its corresponding next-layer column. In a controlled small-initialization regime with smooth activations and fixed surroundings, these dynamics amplify singular modes of a cross-layer correlation operator. Each growing mode pairs an earlier feature with an upper-layer response through shared neuron coefficients. This motivates a backward-coupling algorithm in which upper-layer sensitivities generate sample-dependent effective labels for earlier spectral steps, while corrected features refine upward transmission. A function-space variational principle characterizes the selected feature-response pairs by maximizing the label correlation of their product under kernel-norm constraints. For three-layer networks, we derive self-consistent continuous-time dynamics for the filtered hidden-layer features, the activation kernels, and the network output under the proposed backward coupling. In a hierarchical multi-index model, we establish a feature-recovery separation: backward coupling recovers lower-layer directions invisible to the original forward label-weighted statistic. The linear specialization recovers residual-dependent singular-mode dynamics, while paired modes provide a dynamical mechanism for linked low-rank covariance components consistent with the rainbow-network picture. Experiments with fully connected and convolutional networks on binary CIFAR-10 show improved accuracy over forward Neural LoFi at matched widths.

Introduction

Deep neural networks learn hierarchies of task-adapted representations through backpropagation (Rumelhart et al., 1986; LeCun et al., 2015). Yet a hierarchy in the forward computation does not imply a layer-wise order of learning. During joint training, features emerging in later layers reshape the learning signals received below, while changes in earlier representations alter what the upper layers can learn. Understanding this feedback requires going beyond how features are constructed successively. It raises a central question:

How does learning in later layers change which features earlier layers can discover?

This paper builds on Neural Low-Degree Filtering (Neural LoFi), introduced by Dandi et al. (2026b) as an explicit spectral construction for purely layer-wise learning. Given the current representation, each layer selects directions through low-degree correlations with the labels and passes them through a nonlinear random lift. Depth changes the geometry in which subsequent layers search for signal, making structure that is complex in the input accessible through low-degree statistics of intermediate representations. However, this construction proceeds only forward: features learned above cannot refine the directions selected below. A useful upper representation may therefore become available only after the lower feature-selection step that could benefit from it has already been completed.

Existing theories describe complementary aspects of feature learning. Neural-tangent limits characterize training with essentially fixed representations (Jacot et al., 2018; Lee et al., 2019); mean-field and dynamical-field frameworks describe evolving features in shallow and deep nonlinear networks [17] (Mei et al. 2018; Chizat and Bach 2018; Nguyen and Pham 2020; Hajjar et al. 2024). Feature-space mean-field models and tensor programs further describe feature learning at infinite width (Fang et al., 2021; Yang and Hu, 2021). Deep linear networks admit explicit analyses of coupled singular-mode dynamics (Saxe et al., 2014), while spectral analyses of quadratic and diagonal networks connect learned weight structure to generalization (Defilippis et al., 2026b). Backward feature correction studies how joint training with higher layers can refine lower representations [4].

In this paper, we seek a tractable and interpretable spectral mechanism that identifies how an upper-layer response changes the "earlier" features. We extend Neural LoFi with a tractable and interpretable spectral surrogate that captures backward feature correction and, in addition, identifies a distinct effect of joint training: learning how lower-level cues selectively activate higher-level features. This couples the learning of lower representations to the learning of their transmission upward. Starting from the exact backpropagation gradients, we couple a neuron’s incoming row to the next-layer column that reads its activation. For a jointly trained block at small initialization, with smooth activations and fixed surroundings, we prove that the leading dynamics amplify singular modes of a cross-layer correlation operator. Each mode pairs an earlier feature with an upper response, with the same growing coefficients across intermediate neurons in both weight factors. The paired updates coordinate what a neuron detects with how its activation is transmitted upward: the incoming row acquires the lower feature, while the outgoing column couples it to the selected upper response. A similar mechanism has been seen to spontaneously emerge in the feed-forward blocks of modern LLMs (Geva et al., 2021; 2022) and we note additionally that with linear activations, the residual-driven row–column equations are exact and recover the singular-mode framework of Saxe et al. (2014).

This mechanism motivates BackLoFi, a spectral correction of a forward LoFi network that visits layer boundaries from the top down. Upper-layer sensitivities define sample-dependent effective labels for earlier spectral steps; the corrected nonlinear activations then determine the corresponding upward transmission. The algorithm uses spectral selection and normalized corrections as a surrogate for the local dynamics. Its selection rule has a function-space interpretation: an earlier feature χ\chi and an upper response ψ\psi maximize E~n[yψχ]\tilde{\mathbb{E}}_n[y\psi\chi], subject to the kernel-norm constraints of their respective spaces. The search for a lower feature thus depends on the response learned above as well as on the input representation and the labels. That backward feedback can make a previously invisible lower feature detectable, providing a drastic advantage to cross-layer training over layer-wise one.

We illustrate this in a hierarchical multi-index model (Nichani et al., 2023; Wang et al., 2023; Fu et al., 2025; Dandi et al., 2026a; Tabanelli et al., 2026) with a visible anchor and additional hidden directions. In its Gaussian analysis, the original label-weighted second moment has no signal in the hidden block, while modulation by a sensitivity of the upper conditional predictor creates one. This illustrates a staircase learning mechanism through the backward pass.

A second theoretical contribution is a closed description of coupled nonlinear feature learning in a three-layer network. For a continuous variant with fixed Gaussian lifts, continual forward filtering, and readout gradient flow, we prove convergence to self-consistent feature and kernel dynamics. The evolving kernels determine subsequent feature selection, while an accumulated coupling retains earlier column corrections as lower features change. This provide an unifying description of how multi-layer kernel adaptivity Bach [5] arise through cross-layer feature learning. It generalizes and extend the seminal work of Saxe et al. (2014) that was limited to linear networks. This also provides a dynamical perspective on the key–value organization identified in transformer feed-forward blocks by Geva et al. (2021; 2022): our local analysis shows how feature detectors and their associated output directions can be jointly selected and amplified during training.

Further, this mechanism also allows to provide an explanation for the rainbow-network picture of Guth et al. (2024): Shared neuron coefficients yield linked low-rank covariance components in adjacent weight matrices, providing a local dynamical mechanism predicting the rainbow structure.

Finally, mechanistic experiments with fully connected and convolutional networks on binary CIFAR-10 show considerable improved accuracy over forward Neural LoFi at matched widths. They demonstrates that using upper-layer information to revise earlier representations is useful beyond the controlled theoretical setting, and that the predicted mechanism translate into real data scenarios.

A public implementation, together with codes to reproduce the numerical illustrations, is available at https://github.com/IdePHICS/BackLoFi-Theory.

Neural Low-Degree Filtering with backward coupling

Backpropagation, and the guiding approximation — We first discuss the exact updates of a neuron’s incoming row and outgoing column, then use their local coupling to motivate our spectral algorithm. Consider data Dn={(xμ,yμ)}μ=1nD_n = \{(x_\mu, y_\mu)\}_{\mu=1}^n, with centered scalar labels, and write E^n\widehat{\mathbb{E}}_n for the empirical average. Let z0:X→Rp0z_0 : \mathcal{X} \to\mathbb{R}^{p_0} be a given input feature map; raw inputs are the special case z0(x)=xz_0(x) = x. A depth-LL network constructs

hℓ=Wℓzℓ−1,zℓ=1pℓσ(hℓ),f^=⟨aL,zL⟩+b.(1)h_\ell= W_\ell z_{\ell-1}, \qquad z_\ell= \frac{1}{\sqrt{p_\ell}}\sigma(h_\ell), \qquad\widehat{f} = \langle a_L, z_L\rangle+ b. \tag*{(1)}

Here Wℓ∈Rpℓ×pℓ−1W_\ell\in\mathbb{R}^{p_\ell\times p_{\ell-1}} and the activation acts coordinatewise. The sensitivity of the output to the preactivations, gℓ=∂f^/∂hℓg^\ell= \partial\widehat{f}/\partial h_\ell, obeys the backward recursion

gL=σ′(hL)pL⊙aL,gℓ=σ′(hℓ)pℓ⊙(Wℓ+1Tgℓ+1).(2)g^L = \frac{\sigma'(h_L)}{\sqrt{p_L}} \odot a_L, \qquad g^\ell= \frac{\sigma'(h_\ell)}{\sqrt{p_\ell}} \odot(W_{\ell+1}^{\mathsf{T}}g^{\ell+1}). \tag*{(2)}

For the square loss, write Δ=y−f^\Delta= y - \widehat{f} for the residual; gradient flow then satisfies

W˙ℓ=E^n[Δ gℓzℓ−1T].(3)\dot{W}_\ell= \widehat{\mathbb{E}}_n[\Delta\, g^\ell z_{\ell-1}^{\mathsf{T}}]. \tag*{(3)}

Neuron jj of layer ℓ\ell owns two weight vectors: its incoming row, whose transpose we write wℓ,jw_{\ell,j} (row jj of WℓW_\ell), and its outgoing column wℓ+1,jw_{\ell+1,j} (column jj of Wℓ+1W_{\ell+1}), through which the next layer reads its activation (Figure 1). By (2) and (3), their updates by gradient descent are

w˙ℓ,j=E^n[Δσ′(hℓ,j)pℓ⟨wℓ+1,j,gℓ+1⟩zℓ−1],w˙ℓ+1,j=E^n[Δ zℓ,jgℓ+1].(4)\dot{w}_{\ell,j} = \widehat{\mathbb{E}}_n\left[\Delta\frac{\sigma'(h_{\ell,j})}{\sqrt{p_\ell}}\langle w_{\ell+1,j}, g^{\ell+1}\rangle z_{\ell-1}\right], \qquad\dot{w}_{\ell+1,j} = \widehat{\mathbb{E}}_n[\Delta\, z_{\ell,j}g^{\ell+1}]. \tag*{(4)}

Each update depends on the other vector: the outgoing column sets the sample-dependent gain driving the row, while the row’s activation determines the column update.

Layer-wise vs coupled training — In (Dandi et al., 2026b), the authors considered the layer-wise “Neural LoFi regime” of the first equation in which the layers above are still untrained and vanishingly small. The factor ⟨ωℓ+1,j,gℓ+1(x)⟩\langle\omega_{\ell+1,j}, g^{\ell+1}(x)\rangle, the effective readout of neuron jj, then reduces to a sample-independent random constant aˉj\bar{a}_j, and the residual to the label. For an activation smooth near zero, σ′(hℓ,j)≃σ′(0)+σ′′(0)hℓ,j\sigma'(h_{\ell,j}) \simeq\sigma'(0) + \sigma''(0)h_{\ell,j} gives

w˙ℓ,j≃aˉjpℓ(σ′(0)E^n[yzℓ−1]+σ′′(0)E^n[yzℓ−1zℓ−1T]wℓ,j).(5)\dot{w}_{\ell,j} \simeq\frac{\bar{a}_j}{\sqrt{p_\ell}}\left(\sigma'(0)\widehat{\mathbb{E}}_n[y z_{\ell-1}] + \sigma''(0)\widehat{\mathbb{E}}_n[y z_{\ell-1}z_{\ell-1}^{\mathsf{T}}]w_{\ell,j}\right). \tag*{(5)}

The rows evolve independently under the same label-weighted moments. Neural LoFi retains the first-moment direction and the leading second-moment eigenvectors by absolute eigenvalue, then applies a random lift. This leads to Alg. 1 and weights of the form (9).

We consider now a joint training procedure. With a learned upper representation, the effective readout becomes sample dependent. To isolate the effect of this coupling, we treat gℓ+1g^{\ell+1} and zℓ−1z_{\ell-1} as fixed. For a smooth activation with σ(0)=0\sigma(0)=0, we retain the constant derivative σ′(0)\sigma'(0) in the row update and the linear activation in the column update. Assuming σ′(0)>0\sigma'(0)>0 gives

w˙ℓ,j≃σ′(0)pℓA~ℓTωℓ+1,j,ω˙ℓ+1,j≃σ′(0)pℓA~ℓwℓ,j,A~ℓ:=E^n[Δgℓ+1zℓ−1T].(6)\dot{w}_{\ell,j} \simeq\frac{\sigma'(0)}{\sqrt{p_\ell}}\widetilde{A}_{\ell}^{\mathsf{T}}\omega_{\ell+1,j}, \qquad\dot{\omega}_{\ell+1,j} \simeq\frac{\sigma'(0)}{\sqrt{p_\ell}}\widetilde{A}_{\ell}w_{\ell,j}, \qquad\widetilde{A}_{\ell}:=\widehat{\mathbb{E}}_n[\Delta g^{\ell+1}z_{\ell-1}^{\mathsf{T}}]. \tag*{(6)}

Therefore, the same matrix acts in both directions and its singular pairs determine the growing modes. Close to initialization, under the initialization assumptions of App. B, the prediction is small, so Δ≃y\Delta\simeq y and the frozen coupling matrix becomes

Aℓ:=E^n[ygℓ+1zℓ−1T].(7)A_{\ell}:=\widehat{\mathbb{E}}_n[y g^{\ell+1}z_{\ell-1}^{\mathsf{T}}]. \tag*{(7)}

Write sis_i and (ui,vi)(u_i,v_i) for the singular values and pairs of AℓA_{\ell}. We obtain the following approximation for the joint-evolution of w˙ℓ,j\dot{w}_{\ell,j} and ⟨ωℓ+1,j\langle\omega_{\ell+1,j}:

References

  1. [1]Emmanuel Abbe, Enric Boix-Adsera, Matthew S Brennan, Guy Bresler, and Dheeraj Nagaraj. The staircase property: How hierarchical structure can guide deep learning. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems, volume 34, pages 26989–27002. Curran Associates, Inc., 2021. URL https://proceedings.neurips.cc/paper_files/paper/2021/file/e2db7186375992e72916527626b4c1-Paper.pdf.arxiv.org/abs/2108.10573
  2. [2]Emmanuel Abbe, Enric Boix Adsera, and Theodor Misiakiewicz. The merged-staircase property: a necessary and nearly sufficient condition for SGD learning of sparse functions on two-layer neural networks. In Po-Ling Loh and Maxim Raginsky, editors, Proceedings of Thirty Fifth Conference on Learning Theory, volume 178 of Proceedings of Machine Learning Research, pages 4782–4887. PMLR, 02–05 Jul 2022.arxiv.org/abs/2202.08658
  3. [3]Emmanuel Abbe, Enric Boix-Adserà, and Theodor Misiakiewicz. SGD learning on neural networks: leap complexity and saddle-to-saddle dynamics. In Gergely Neu and Lorenzo Rosasco, editors, Proceedings of Thirty Sixth Conference on Learning Theory, volume 195 of Proceedings of Machine Learning Research, pages 2552–2623. PMLR, 12–15 Jul 2023.arxiv.org/abs/2302.11055
  4. [4]Zeyuan Allen-Zhu and Yuanzhi Li. Backward feature correction: How deep learning performs deep (hierarchical) learning. In Proceedings of Thirty Sixth Conference on Learning Theory, volume 195 of Proceedings of Machine Learning Research, pages 4598–4598, 2023. URL https://proceedings.mlr.press/v195/allen-zhu23a.html.
  5. [5]Francis Bach. The quest for adaptivity. Machine Learning Research Blog, 155, 2021.
  6. [6]Francis R. Bach. Exploring large feature spaces with hierarchical multiple kernel learning. In Advances in Neural Information Processing Systems, volume 21, pages 105–112, 2008. URL https://papers.nips.cc/paper_files/paper/2008/hash/a4a042cf4fd6bfb47701cbc8a1653ada-Abstract.html.arxiv.org/abs/0809.1493
  7. [7]Jinho Baik, Gérard Ben Arous, and Sandrine Péché. Phase transition of the largest eigenvalue for nonnull complex sample covariance matrices. Annals of probability, 33(5):1643–1697, 2005.DOI
  8. [8]Lorenzo Bardone and Sebastian Goldt. Sliding down the stairs: how correlated latent variables accelerate learning with neural networks. In International Conference on Machine Learning, volume 235, pages 3024–3045, 2024.arxiv.org/abs/2404.08602
  9. [9]Daniel Beaglehole, Adityanarayanan Radhakrishnan, Parthe Pandit, and Mikhail Belkin. Mechanism of feature learning in convolutional neural networks. arXiv preprint arXiv:2309.00570, 2023.arxiv.org/abs/2309.00570
  10. [10]Daniel Beaglehole, Peter Súkeník, Marco Mondelli, and Mikhail Belkin. Average gradient outer product as a mechanism for deep neural collapse. In Advances in Neural Information Processing Systems, volume 37, 2024. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/ec045a5ca2d8cfc528591b4c34296370-Abstract-Conference.html.arxiv.org/abs/2402.13728
  11. [11]Eugene Belilovsky, Michael Eickenberg, and Edouard Oyallon. Decoupled greedy learning of cnns. In International Conference on Machine Learning, pages 736–745, 2020.
  12. [12]Gérard Ben Arous, Reza Gheissari, and Aukosh Jagan-nath. Online stochastic gradient descent on non-convex losses from high-dimensional inference. Journal of Machine Learning Research, 22 (106):1–51, 2021.arxiv.org/abs/2003.10409
  13. [13]Gérard Ben Arous, Cédric Gerbelot, and Vanessa Piccolo. Stochastic gradient descent in high dimensions for multi-spiked tensor pca. Communications on Pure and Applied Mathematics, 79 (10):2291–2369, 2026. doi: https://doi.org/10.1002/cpa.70056. URL https://onlinelibrary.wiley.com/doi/abs/10.1002/cpa.70056.
  14. [14]Enric Boix-Adserà, Neil Rohit Mallinar, James B. Simon, and Mikhail Belkin. FACT: A first-principles alternative to the neural feature ansatz for how networks learn representations. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=j4964wtJMz.
  15. [15]Fabrizio Boncoraglio, Vittorio Erba, Emanuele Troiani, Yizhou Xu, Florent Krzakala, and Lenka Zdeborová. Single-head attention in high dimensions: A theory of generalization, weights spectra, and scaling laws. arXiv preprint arXiv:2509.24914, 2025.arxiv.org/abs/2509.24914
  16. [16]Tony Bonnaire, Giulio Biroli, and Chiara Cammarota. The role of the time-dependent hessian in high-dimensional optimization. Journal of Statistical Mechanics: Theory and Experiment, 2025 (8):083401, 2025.arxiv.org/abs/2403.02418
  17. [17]Blake Bordelon and Cengiz Pehlevan. Self-consistent dynamical field theory of kernel evolution in wide neural networks. In Advances in Neural Information Processing Systems, volume 35, pages 32240–32256, 2022. URL https://arxiv.org/abs/2205.09653.

Paper details

vlnc:W_asffnnmt
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents