Randomized matrix sketching for neural network training and gradient monitoring
Harbir Antil, Deepanshu Verma
George Mason University · Clemson University
Key points
From the paper's conclusion- We present the first adaptation of control-theoretic matrix sketching to neural network layer activations, enabling memory-efficient gradient reconstruction in backpropagation.
Abstract
Neural network training relies on gradient computation through backpropagation, yet memory requirements for storing layer activations present significant scalability challenges. We present the first adaptation of control-theoretic matrix sketching to neural network layer activations, enabling memory-efficient gradient reconstruction in backpropagation. This work builds on recent matrix sketching frameworks for dynamic optimization problems, where similar state trajectory storage challenges motivate sketching techniques. Our approach sketches layer activations using three complementary sketch matrices maintained through exponential moving averages with adaptive rank adjustment, automatically balancing memory efficiency against approximation quality. Empirical evaluation on MNIST, CIFAR-10, and physics-informed neural networks demonstrates a controllable accuracy-memory tradeoff. We demonstrate a gradient monitoring application on MNIST showing how sketched activations enable real-time gradient norm tracking with minimal memory overhead. These results establish that sketched activation storage provides a viable path toward memory-efficient neural network training and analysis.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Memory-efficient backpropagation through large linear layersOptimization methods & software · 2026
- A Free Lunch: Gradient Averaging Achieves Optimal Statistical Efficiency in Newton SketcharXiv · 2026
- Understanding Practical Optimization in Machine LearningarXiv · 2026
- Efficient Matrix Reconstruction via Randomized Linear-Time Singular Value Decomposition and Adaptive ThresholdingAlgorithms · 2026
- Know What You Need: Efficient Activation CheckpointingarXiv · 2026
- Fast matrix-vector products in tensor-train format via structured sketchingarXiv · 2026