[Paper Review] Delta-STN: Efficient Bilevel Optimization for Neural Networks using Structured Response Jacobians
This paper proposes Δ-STN, a novel hypernetwork architecture that improves bilevel optimization in neural networks by focusing on accurate approximation of the best-response Jacobian through reparameterization and linearization. By stabilizing training and reducing variance, Δ-STN achieves faster convergence, higher accuracy, and better generalization in tuning regularization hyperparameters (e.g., weight decay, dropout) compared to prior methods like STNs.
Hyperparameter optimization of neural networks can be elegantly formulated as a bilevel optimization problem. While research on bilevel optimization of neural networks has been dominated by implicit differentiation and unrolling, hypernetworks such as Self-Tuning Networks (STNs) have recently gained traction due to their ability to amortize the optimization of the inner objective. In this paper, we diagnose several subtle pathologies in the training of STNs. Based on these observations, we propose the $Δ$-STN, an improved hypernetwork architecture which stabilizes training and optimizes hyperparameters much more efficiently than STNs. The key idea is to focus on accurately approximating the best-response Jacobian rather than the full best-response function; we achieve this by reparameterizing the hypernetwork and linearizing the network around the current parameters. We demonstrate empirically that our $Δ$-STN can tune regularization hyperparameters (e.g. weight decay, dropout, number of cutout holes) with higher accuracy, faster convergence, and improved stability compared to existing approaches.
Motivation & Objective
- Address training instabilities and pathologies in Self-Tuning Networks (STNs), a leading hypernetwork approach for bilevel optimization.
- Improve the conditioning of the Gauss-Newton Hessian to stabilize bilevel optimization dynamics.
- Reduce variance in hypernetwork parameter updates and eliminate bias from hypernetwork perturbations.
- Enhance accuracy in approximating the best-response Jacobian rather than the full best-response function.
- Enable more efficient and stable tuning of regularization hyperparameters such as weight decay, dropout, and cutout holes.
Proposed method
- Reparameterize the hypernetwork to improve conditioning of the Gauss-Newton Hessian, stabilizing bilevel optimization dynamics.
- Introduce a modified training scheme that reduces variance in hypernetwork updates and removes bias from perturbations.
- Linearize the best-response hypernetwork to produce an affine approximation of the best-response function.
- Focus on accurately approximating the Jacobian of the best-response function by linearizing the dependency between network parameters and predictions.
- Use structured hypernetworks per layer to maintain scalability and efficiency, similar to STNs but with improved training stability.
- Apply Adam optimization with fixed learning rates for hypernetwork parameters and use warm-up epochs to stabilize early training.
Experimental results
Research questions
- RQ1How do training instabilities in STNs arise, and what structural issues in their parameterization contribute to poor convergence?
- RQ2Can reparameterizing the hypernetwork improve the conditioning of the Gauss-Newton Hessian and stabilize bilevel optimization?
- RQ3Does approximating only the Jacobian of the best-response function, rather than the full function, lead to more stable and accurate hyperparameter tuning?
- RQ4How does linearizing the best-response hypernetwork affect convergence speed and generalization performance?
- RQ5To what extent does Δ-STN outperform STNs and other baselines in tuning regularization hyperparameters across diverse tasks?
Key findings
- Δ-STN achieved higher validation accuracy than STNs on VGG16 and ResNet18 for CIFAR-10 and CIFAR-100, with consistent improvements across multiple runs.
- On image classification tasks, Δ-STN reduced validation loss by up to 0.005 compared to STNs, indicating better generalization.
- In language modeling on LSTM, Δ-STN achieved a test loss of 0.054, outperforming STN (0.058) and matching the best baseline (0.054) with more stable schedules.
- On MLPs, Δ-STN found more robust and accurate input dropout schedules than STNs, especially under different weight initializations.
- Δ-STN demonstrated greater robustness to perturbation scale and update interval variations, outperforming STNs on SimpleCNN and AlexNet.
- The final hyperparameter schedule from Δ-STN on MLPs matched the optimal grid search result (p=0.43), while STNs failed to converge to the same optimal value.
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.