Alignment and Convergence Analyses of Gradient Flow in Two-Layer Convolutional Neural Networks

Wang Xiang, Saptarshi ChakrabortyarXiv 2026

TL;DR

Why do neural networks trained from tiny random weights learn to lock onto meaningful signals and ignore background noise? This paper proves that in two-layer ReLU convolutional networks with sum-pooling, training unfolds in two distinct acts: first, filters silently rotate toward a shared "signal axis" while their norms stay tiny; only after they have aligned do their norms grow to fit the data, driving the training loss down at a steady $O(1/t)$ rate.

What Problem Does This Paper Address?

In deep learning theory, we know that neural networks initialized with very small weights enter a "rich" feature-learning regime. For fully connected networks, this regime follows an align, then fit pattern: neurons first rotate toward data-determined directions before growing in magnitude.

Carrying this picture over to convolutional neural networks (CNNs) has been surprisingly tricky. In a CNN, each filter scans multiple patches per image—typically one signal patch and many noise patches. Because noise patches carry no label information and can switch on and off independently of the signal, the standard pairwise-correlation arguments used for fully connected networks break down. Moreover, sum-pooling means each filter contributes $P$ terms (one per patch) to the output, shrinking the time window during which the small-initialization approximation holds. The authors set out to give a complete, non-asymptotic description of whether, when, and toward which direction CNN filters align before fitting the data.

Methods

The authors analyze continuous-time gradient flow on a two-layer ReLU CNN with sum-pooling, trained on either exponential or logistic loss for binary classification ($y_i \in \{\pm 1\}$) from a small, balanced initialization ($W(0) = \epsilon W_0$, $v_j(0) = \pm \|w_j(0)\|$).

To make the geometry tractable, they introduce a two-cone signal–noise patch model:

  • Each input has one signal patch and $P-1$ noise patches.
  • Positive and negative signal patches lie in two narrow, nearly antipodal cones around class axes $\boldsymbol{u}_+$ and $\boldsymbol{u}_-$.
  • When multiplied by their labels ($\boldsymbol{g}_i = y_i \boldsymbol{s}_i$), all signal patches point roughly the same way—within an angle $\theta_\star < \pi/4$ of a common signal axis $\boldsymbol{u}_\star$.
  • Noise patches are orthogonal to the signal subspace.
The two-cone signal model in the signal plane

Instead of counting discrete activation-pattern transitions (which fails when noise patches flicker on and off), the authors track a single scalar for each filter: its cosine similarity with $\boldsymbol{u}_\star$. By bounding the drift of this cosine in every region of the sphere and using a potential function to rescale time, they derive an explicit alignment time $t_1$.

Datasets

  • Synthetic patch data: Inputs with $P=5$ patches of dimension $D=100$ ($n=40$ samples, $h=50$ filters, cone angle $\theta_\star = 24^\circ$, $\text{SNR}=10$, initialization scale $\epsilon = 10^{-6}$).
  • MNIST: 1,000 images each of digits 1 ($y=+1$) and 0 ($y=-1$), centered and split into $P=4$ non-overlapping $14 \times 14$ patches ($D=196$), trained with $h=50$ filters and $\epsilon = 10^{-6}$.

Key Insights and Ideas

  • Self-reinforcing alignment: Because same-class signed signal patches lie in a narrow cone, they are all positively correlated. Whenever a filter activates one signal patch, that patch pulls the filter toward all other signal patches of the same class—and thus toward $\pm \boldsymbol{u}_\star$.
  • One-way signal switching: While noise patches can activate and deactivate freely, signal activations are monotonic: once a filter activates a signal patch of its own class, it never deactivates it, and as long as it activates any such patch, it never activates one from the other class.
  • Noise distilled to a single number: Noise enters the entire alignment analysis through just one deterministic scalar $G$—the largest norm of a signed sum of noise patches that any single direction can activate.
  • No $\log n$ penalty: Unlike fully connected analyses that incur a $\log n$ factor from counting transitions, the explicit alignment time $t_1$ here has no logarithmic dependence on the sample size $n$.

Key Results

  • Phase 1 (Early Alignment): For sufficiently small $\epsilon$, every filter that activates at least one signal patch of its own class at initialization aligns with $\pm \boldsymbol{u}_\star$ (to any prescribed cosine $c^*$) by time $t_1$. From then on, it activates every signal patch of its class and none of the other class.
  • Phase 2 (Final Convergence): After alignment, filters remain inside their signal cones, their projection onto $\pm \boldsymbol{u}_\star$ grows monotonically, and after a transition time $t_2$, the training loss decays at rate $O(1/t)$.
  • Empirical Confirmation: On synthetic data, filters align by iteration $\hat{t}_1 = 5780$ while the loss is still flat at $1.0$; only around $\hat{t}_2 = 12180$ do the norms grow and the loss drops. On MNIST—even without designated signal/noise patches—all 50 filters align within ~2,500 iterations before the loss begins to fall.

Limitations and Future Work

  • Conservative conditions: The theoretical cone-width bound ($\tan \theta_\star \le \kappa/4$) and the second signal-to-noise condition ($G \sin \theta_\star \le \rho_{\min}/48$, which tightens as $n$ grows) are much stricter than what experiments require; alignment still occurs when they are violated.
  • Loose $t_2$ bound: When $\Gamma > 1$, the bound on the transition time $t_2$ grows exponentially in $\epsilon^{-2(\Gamma-1)}$ due to a crude control on the total norm of class filters.
  • Architectural scope: The one-way switching mechanism relies on sum-pooling, and the analysis relies on balancedness. Extending these results to max-pooling or deeper convolutional networks remains an open problem.

Summary updated

BibTeX
@misc{xiang2026alignment,
  author = {Wang Xiang and Saptarshi Chakraborty},
  title = {{Alignment and Convergence Analyses of Gradient Flow in Two-Layer Convolutional Neural Networks}},
  year = {2026},
  eprint = {2612.02304},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.02304},
}
Figure