[Paper Review] A Gradient Flow Framework For Analyzing Network Pruning
This paper introduces a gradient flow framework that unifies network pruning methods by analyzing how parameter norms influence model evolution during training. It reveals that magnitude-based pruning accelerates convergence, loss-preservation pruning maintains first-order dynamics, and gradient-norm pruning disrupts second-order dynamics, explaining why early pruning works despite theoretical concerns.
Recent network pruning methods focus on pruning models early-on in training. To estimate the impact of removing a parameter, these methods use importance measures that were originally designed to prune trained models. Despite lacking justification for their use early-on in training, such measures result in surprisingly low accuracy loss. To better explain this behavior, we develop a general framework that uses gradient flow to unify state-of-the-art importance measures through the norm of model parameters. We use this framework to determine the relationship between pruning measures and evolution of model parameters, establishing several results related to pruning models early-on in training: (i) magnitude-based pruning removes parameters that contribute least to reduction in loss, resulting in models that converge faster than magnitude-agnostic methods; (ii) loss-preservation based pruning preserves first-order model evolution dynamics and is therefore appropriate for pruning minimally trained models; and (iii) gradient-norm based pruning affects second-order model evolution dynamics, such that increasing gradient norm via pruning can produce poorly performing models. We validate our claims on several VGG-13, MobileNet-V1, and ResNet-56 models trained on CIFAR-10/CIFAR-100.
Motivation & Objective
- To understand why magnitude-based and other importance measures perform well when pruning models early in training, despite being designed for fully trained models.
- To unify existing pruning methods through a common theoretical framework based on gradient flow and parameter norm evolution.
- To analyze how different pruning strategies affect first- and second-order dynamics of model parameter evolution.
- To validate the framework's predictions on standard architectures like VGG-13, MobileNet-V1, and ResNet-56 across CIFAR-10 and CIFAR-100.
- To provide theoretical justification for the empirical success of early pruning, particularly in minimizing accuracy loss.
Proposed method
- The framework models network training as a continuous gradient flow, tracking how parameter norms evolve over time.
- It expresses pruning criteria—magnitude, loss-preservation, and gradient-norm—through the norm of model parameters and their derivatives.
- Theoretical analysis links pruning methods to the dynamics of model evolution: first-order (loss reduction) and second-order (curvature of loss landscape).
- The framework derives conditions under which pruning preserves or distorts model trajectory, using differential equations to model parameter evolution.
- Empirical validation is performed on VGG-13, MobileNet-V1, and ResNet-56 trained on CIFAR-10 and CIFAR-100, comparing accuracy and convergence speed.
- The analysis distinguishes between pruning that preserves loss dynamics (loss-preservation) and that alters curvature (gradient-norm), linking them to model performance.
Experimental results
Research questions
- RQ1Why do magnitude-based pruning methods achieve low accuracy loss when applied early in training, despite being designed for trained models?
- RQ2How do different pruning criteria relate to the first- and second-order dynamics of model parameter evolution?
- RQ3What conditions ensure that pruning preserves the model's training trajectory and generalization capability?
- RQ4How does pruning based on gradient norm affect model convergence and performance?
- RQ5Can a unified framework explain the behavior of diverse pruning methods through parameter norm evolution?
Key findings
- Magnitude-based pruning removes parameters that contribute least to loss reduction, leading to faster convergence compared to magnitude-agnostic methods.
- Loss-preservation based pruning preserves first-order model evolution dynamics, making it suitable for pruning minimally trained models.
- Gradient-norm based pruning affects second-order dynamics, and increasing gradient norm via pruning can degrade model performance.
- The proposed gradient flow framework successfully unifies and explains the behavior of multiple pruning methods through parameter norm evolution.
- Empirical results on VGG-13, MobileNet-V1, and ResNet-56 confirm that loss-preservation pruning maintains accuracy while magnitude-based pruning accelerates convergence.
- The framework provides theoretical justification for the empirical success of early pruning, even when using importance measures not originally designed for early training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.