Gradient Smoothing: Coupling Layer-wise Updates for Improved Optimization
Abstract
Deep neural networks with repeated architectural blocks, such as transformers, often exhibit structured relationships across layers that emerge during training. Motivated by this observation, we introduce Depth-wise Gradient Augmentation, a general optimization paradigm in which the update applied to each layer is obtained by transforming the collection of block-wise optimizer updates along the depth dimension. Within this framework, we study Gradient Smoothing, a family of depth-wise smoothing methods, and instantiate it with a simple local Window Smoothing operator. The resulting method operates directly on block-wise updates produced by arbitrary base optimizers (e.g., SGD, Adam, Muon), incurs minimal computational overhead, and is compatible with existing optimization pipelines. We evaluate Gradient Smoothing across a diverse set of architectures and training regimes, including language model pretraining, RL post-training of LLMs for reasoning, diffusion modeling, and image classification with Vision Transformers. Across these settings, Gradient Smoothing consistently improves optimization and generalization performance without modifying model architectures or training objectives. We further show that it promotes more structured representation evolution across depth, consistent with its interpretation as a structured depth-wise preconditioning method. Together, these results establish Depth-wise Gradient Augmentation as a promising framework for exploiting cross-depth structure in optimization and demonstrate Gradient Smoothing as a simple and broadly applicable instantiation.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- Published in the Proceedings of the 43rd International Conference on Machine Learning (ICML 2026)
Related papers
Nearly Minimax-Optimal Sample Complexity of Natural Policy Gradient with a Matching Information-Theoretic Lower Bound
Shared title terminologycs.LGAsha Barua, Sajad Khodadadian
IG-Lens: Exact Additive Probability Attribution Across Transformer Layers via Telescoping Integrated Gradients
Shared title terminologycs.LGDuc Anh Nguyen
Training for the Model You Return: Improving Optimization for Iterate-Averaged Language Models
Shared title terminologycs.LGKwok Chun Au, Adam Block
Mean-Field Model for Two-Layer Neural Networks Trained with Consensus-Based Optimization
Shared title terminologycs.LGWilliam De Deyn, Michael Herty, Giovanni Samaey
ITSPACE: Monotone Gaussian Optimal Transport Updates
Shared title terminologycs.LGWoojoo Na, Jennifer Dy
How Multi-Timescale Memory Cools Optimization: Theory and Evidence from AdEMAMix
Shared title terminologycs.LGJacopo Graldi, Antonio Orvieto, Anastasia Koloskova