TL;DR
Training neural networks without backpropagation—using only forward passes—usually feels like playing a million-dimensional game of "hot or cold" by stumbling around in the dark. This paper turns on a flashlight: by observing the geometry of a layer's inputs during a normal forward pass, the authors derive a way to aim parameter perturbations along directions that actually matter to the current data. The result is a unified family of "educated guess" estimators that dramatically improve forward-only learning, especially on architectures like CNNs where older methods struggle.
What Problem Does This Paper Address?
Backpropagation is the undisputed engine of deep learning, but it is picky about its environment. It demands exact differentiability, global synchronization, and enough memory to store intermediate states for a separate backward pass. If you want to train models on neuromorphic chips, physical substrates, or extreme memory budgets, you often need forward-only learning.
Enter Zeroth-Order (ZO) optimization. Instead of computing exact derivatives, ZO methods jiggle (perturb) the network's weights or activations, run a forward pass, see if the loss goes up or down, and nudge the parameters accordingly.
The catch? The curse of dimensionality. In a modern network with millions of parameters, injecting blind, isotropic random noise into the weights—known as Weight Perturbation (WP)—is hopelessly inefficient. Almost all of your random guesses point in directions orthogonal to the true gradient, resulting in massive variance and glacial learning. Perturbing neuron activations instead—Node Perturbation (NP)—helps reduce the search space, but breaks down when weights are shared (like in convolutions) or when rewards are aggregated across batches. The authors ask: can we use free information from the forward pass to make an educated guess about where the gradient lives?
Methods
Imagine a linear layer computing $H = WA$, where $W$ is the weight matrix and $A$ is the batch of input activations. If you perturb the weights by $\Psi$, the layer's output changes by $\Delta H = \Psi A$. Notice that if $\Psi$ points in a direction orthogonal to the inputs $A$, $\Delta H$ is zero—you've wasted your perturbation budget without changing the output at all!
While we don't know the downstream error during the forward pass, we do have $A$. Assuming downstream sensitivity is isotropic (uniform in all directions), the best way to get a strong, informative loss signal is to maximize the change in the layer's output. This depends directly on the uncentered input second-moment matrix, $C = AA^\top$, which is a free byproduct of inference.
From this insight, the authors introduce Spectral Zeroth-Order ($\text{SZO-}\kappa$) estimators. Instead of pure random noise $R$, they shape the weight perturbation using the spectrum of the input covariance: $$\Psi_\kappa \propto R C^{\kappa/2}$$ Here, $\kappa$ acts as a smooth dial trading off variance for bias:
- $\kappa = 0$: Ignores input geometry completely, recovering standard, unbiased Weight Perturbation.
- $\kappa = 1$: Acts as a "matched filter," scaling perturbations by the square root of the input spectrum to equalize signal-to-noise across active feature directions.
- $\kappa \to \infty$: Puts the entire perturbation budget onto the single dominant eigenvector of $C$ (a low-variance, high-bias rank-1 search).
Datasets
The authors evaluate their methods on two standard vision benchmarks—Fashion-MNIST (using a 2-layer MLP) and CIFAR-10 (using a 6-layer CNN)—to test both standard fully connected layers and weight-sharing convolutional layers. No new datasets are introduced.
Key Insights and Ideas
- A Grand Unification of Perturbation Learning: $\text{SZO-}\kappa$ reveals that seemingly distinct perturbation algorithms are actually points on a single spectrum. Setting $\kappa=0$ yields Weight Perturbation. For single samples in linear layers, any $\kappa > 0$ mathematically simplifies to Node Perturbation. Furthermore, $\kappa=1$ (under batch credit) matches the expected behavior of a recently proposed heuristic called Node Through Weight Perturbation (NTWP).
- Solving the Convolutional Bottleneck for NP: Standard Node Perturbation struggles on CNNs because perturbing individual spatial activations ignores the fact that convolutional kernels share weights—meaning independent node noise isn't even achievable via actual weight changes. Because $\text{SZO-}\kappa$ perturbs the weights directly while respecting patch-level input geometry, it stays physically realizable and thrives on convolutions.
- Effective Dimension Beats Ambient Dimension: Even when the number of forward "probes" is orders of magnitude smaller than the parameter count, $\text{SZO-}\kappa$ achieves strong cosine alignment with the true backpropagation gradient because real data activations concentrate in a much lower-dimensional subspace.
Key Results
- Gradient Alignment: Across randomly initialized MLP and CNN layers, $\text{SZO-1}$ and $\text{SZO-}\infty$ align dramatically closer to the true backpropagation gradient than blind WP, and significantly beat NP on convolutional layers.
- Training Accuracy: Across all tested settings, $\text{SZO-1}$ beats standard WP by 3.5 to 15 percentage points.
- Scaling with Probes: On the CIFAR-10 CNN trained with SGD for 250 epochs, $\text{SZO-1}$ consistently outperforms NP, with its validation accuracy lead growing from 6 percentage points (at $n=1$ probe per step) to 10 percentage points (at $n=32$ probes). (For context, full backpropagation reaches 89.9% on the MLP and 83.6% on the CNN, while single-probe forward-only methods reach ~85% and ~50%, respectively).
Limitations and Future Work
- Matrix Decomposition Overhead: Literally computing $C^{\kappa/2}$ via eigendecomposition at every step would make training wider networks prohibitively slow. Fortunately, specific values like $\kappa=1$, $\kappa=2$, and $\kappa=\infty$ allow for clever, decomposition-free matrix-product implementations or approximations.
- Inter-Layer Crosstalk: If you perturb all $L$ layers of a deep network simultaneously, noise from layer 1 corrupts the gradient estimate of layer 2. To get clean estimates for their main results, the authors perturb one layer at a time, multiplying the forward-pass compute cost by $\mathcal{O}(L)$. Perturbing all layers at once still works, but hurts peak accuracy. Finding constant-time variance-reduction tricks to eliminate this crosstalk is a prime target for future work.
Summary updated