CAFIN: CUDA-accelerated Adaptive Fisher Information Matrix Network Optimization via GPU-Native Kernel Fusion
Not on the map. Why?
Abstract (arXiv)
Second-order optimizers improve deep neural network training using curvature information, but their practical efficiency is limited by GPU execution overhead. AdaFisher reduces Fisher Information Matrix (FIM) approximation costs through diagonal Kronecker structures and exponential moving averages, yet its PyTorch implementation requires sequential CUDA kernel launches, intermediate tensor allocations, and repeated memory accesses. We introduce CAFIN, a GPU-native CUDA kernel fusion framework that improves AdaFisher execution efficiency without changing its optimization formulation. The proposed approach progressively integrates FIM preconditioner construction, exponential moving average updates, gradient preconditioning, momentum accumulation, weight decay, and parameter updates into fused CUDA kernels. Shared-memory reuse, register-resident computation, and in-place operations further reduce memory traffic and intermediate allocations. Experiments using ResNet-18 on CIFAR-10, CIFAR-100, and Tiny ImageNet across NVIDIA GTX 1660 Ti and RTX 3060 Laptop GPUs demonstrate up to 78.4% lower isolated FIM construction latency and 2.1-26.9% lower optimizer-step latency. The implementation also eliminates approximately 18.91 MB of intermediate GPU memory allocations per optimizer step. Numerical validation confirms consistency within the predefined FP32 tolerance, while convergence accuracy remains comparable across evaluated datasets and random seeds. These findings demonstrate that CUDA kernel fusion can substantially accelerate second-order optimization while preserving AdaFisher's underlying mathematical formulation and learning behavior.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 11 of its 31 references that are in the map. Submitted 10 Nov 2026.
Builds on
11 of 31 references.
References · 11
- 2015Deep Residual Learning for Image Recognitioncited by 53,116
- 2014Adam: A Method for Stochastic Optimizationcited by 38,596
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 842
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 475
- 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 290
- 2020ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learningcited by 210
- 2024AdaFisher: Adaptive Second Order Optimization via Fisher Informationcited by 15
- 2024Fast Kronecker Matrix-Matrix Multiplication on GPUscited by 3
Built on by
Not cited yet.