[Paper Review] Revisiting Loss Modelling for Unstructured Pruning
This paper revisits loss modeling for unstructured neural network pruning by comparing linear and quadratic Taylor approximations of the loss landscape. It shows that enforcing locality via iterative pruning and step-size regularization improves performance, and that better loss preservation does not guarantee better fine-tuned accuracy—challenging the assumption that minimizing loss change is sufficient for effective pruning criteria.
By removing parameters from deep neural networks, unstructured pruning methods aim at cutting down memory footprint and computational cost, while maintaining prediction accuracy. In order to tackle this otherwise intractable problem, many of these methods model the loss landscape using first or second order Taylor expansions to identify which parameters can be discarded. We revisit loss modelling for unstructured pruning: we show the importance of ensuring locality of the pruning steps. We systematically compare first and second order Taylor expansions and empirically show that both can reach similar levels of performance. Finally, we show that better preserving the original network function does not necessarily transfer to better performing networks after fine-tuning, suggesting that only considering the impact of pruning on the loss might not be a sufficient objective to design good pruning criteria.
Motivation & Objective
- To re-evaluate the role of loss modeling in unstructured pruning, particularly the use of first- and second-order Taylor expansions.
- To investigate how enforcing locality in pruning steps improves the quality of pruning criteria.
- To assess whether preserving training loss during pruning correlates with better fine-tuned model performance.
- To determine if quadratic models with gradient terms can relax the convergence assumption required by OBD/OBS.
- To evaluate whether simpler linear models can match the performance of more complex quadratic models at lower computational cost.
Proposed method
- Proposes pruning criteria based on first-order (linear) and second-order (quadratic) Taylor expansions of the loss function around converged weights.
- Introduces a modified quadratic model that retains the gradient term, reducing reliance on the convergence assumption of OBD/OBS.
- Employs iterative pruning and step-size regularization to enforce locality in parameter space, improving approximation accuracy.
- Compares pruning performance across multiple models: Magnitude Pruning (MP), OBD, OBS, and the proposed linear and quadratic models.
- Uses hyper-parameter search and fine-tuning to evaluate generalization, measuring validation error gaps after fine-tuning.
- Employs Spearman’s rank correlation to assess the relationship between loss preservation and fine-tuned performance.
Experimental results
Research questions
- RQ1Does enforcing locality through iterative pruning and step-size regularization improve the effectiveness of loss-based pruning criteria?
- RQ2Can first-order Taylor approximations (linear models) achieve performance comparable to second-order approximations (quadratic models) in unstructured pruning?
- RQ3Does minimizing the change in training loss during pruning correlate with better fine-tuned model accuracy?
- RQ4Can the gradient term in the quadratic model replace the need for fine-tuning after each pruning step, relaxing the convergence assumption of OBD/OBS?
- RQ5Is preserving the loss function a sufficient objective for designing effective pruning criteria, or are other factors like fine-tuning dynamics more critical?
Key findings
- Both linear and quadratic loss models achieve similar performance in preserving training loss, with linear models offering lower computational cost.
- Enforcing locality through iterative pruning and step-size regularization significantly improves pruning criterion quality.
- The modified quadratic model that retains the gradient term reduces dependence on the convergence assumption, enabling direct pruning without fine-tuning.
- There is only weak correlation between the magnitude of loss change after pruning and the validation error gap after fine-tuning, indicating that loss preservation alone is insufficient for good performance.
- Fine-tuning rapidly erases the initial loss difference between MP and the best quadratic model, suggesting optimization dynamics dominate post-pruning performance.
- The results challenge the assumption that minimizing loss change is the primary goal in pruning, indicating that future criteria should account for fine-tuning dynamics.
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.