Collection of algorithms for approximating Fisher Information Matrix for Natural Gradient (and second order method in general)
☆143May 26, 2019Updated 7 years ago
Alternatives and similar repositories for natural-gradients
Users that are interested in natural-gradients are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- PyTorch implementation of FIM and empirical FIM☆59Jul 10, 2018Updated 8 years ago
- {KFAC,EKFAC,Diagonal,Implicit} Fisher Matrices and finite width NTKs in PyTorch☆225Oct 13, 2026Updated 3 weeks ago
- Limitations of the Empirical Fisher Approximation☆50Mar 3, 2025Updated last year
- Repository containing Pytorch code for EKFAC and K-FAC perconditioners.☆154Jun 22, 2023Updated 3 years ago
- Code for "Accelerating Natural Gradient with Higher-Order Invariance"☆30Jun 28, 2019Updated 7 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ☆12Oct 17, 2018Updated 8 years ago
- code for model-targeted poisoning☆12Oct 3, 2023Updated 3 years ago
- Pytorch Implementation of paper "Noisy Natural Gradient as Variational Inference"☆122Sep 1, 2018Updated 8 years ago
- TensorFlow implementation of "noisy K-FAC" and "noisy EK-FAC".☆61Jan 12, 2019Updated 7 years ago
- An implementation of KFAC for TensorFlow☆198Feb 11, 2022Updated 4 years ago
- Pytorch implementation of KFAC and E-KFAC (Natural Gradient).☆135Jul 2, 2019Updated 7 years ago
- Regularization, Neural Network Training Dynamics☆14Jan 13, 2020Updated 6 years ago
- Example code for the NNGeometry PyTorch library☆11Sep 10, 2026Updated last month
- Understanding Short-Horizon Bias in Stochastic Meta-Optimization☆38Mar 8, 2018Updated 8 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Preconditioned Conjugate Gradient in Pytorch☆142Feb 14, 2024Updated 2 years ago
- Notes for the Deep Learning Book☆20Mar 27, 2019Updated 7 years ago
- Official Implementation of "Transferring Inductive Biases Through Knowledge Distillation"☆16Jun 3, 2020Updated 6 years ago
- Efficient PyTorch Hessian eigendecomposition tools!☆475Oct 23, 2026Updated last week
- ASDL: Automatic Second-order Differentiation Library for PyTorch☆193Dec 5, 2024Updated last year
- Natural Gradient, Variational Inference☆29Jan 13, 2020Updated 6 years ago
- Code for "Differentiable Compositional Kernel Learning for Gaussian Processes" https://arxiv.org/abs/1806.04326☆71Jul 10, 2018Updated 8 years ago
- Official code for FAccT'21 paper "Fairness Through Robustness: Investigating Robustness Disparity in Deep Learning" https://arxiv.org/abs…☆13Mar 9, 2021Updated 5 years ago
- Large-batch Training, Neural Network Optimization☆11Nov 8, 2019Updated 6 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- [ICML 2024] SINGD: KFAC-like Structured Inverse-Free Natural Gradient Descent (http://arxiv.org/abs/2312.05705)☆24Nov 4, 2024Updated 2 years ago
- Pytorch-based python library for continuous reinforcement learning and imitation learning [superseded by @osudrl/apex]☆13Mar 13, 2020Updated 6 years ago
- BackPACK - a backpropagation package built on top of PyTorch which efficiently computes quantities other than the gradient.☆619Jul 17, 2026Updated 3 months ago
- ☆11Nov 23, 2018Updated 7 years ago
- RL Experiments from our paper "Backpropagation Through the Void": https://arxiv.org/abs/1711.00123. Lovingly forked from OpenAI's RL Base…☆39Feb 21, 2018Updated 8 years ago
- Supplementary code for the paper "Meta-Solver for Neural Ordinary Differential Equations" https://arxiv.org/abs/2103.08561☆26Mar 30, 2021Updated 5 years ago
- Python implementation of Dirichlet-vMF (von-Mises-Fisher) mixture model. Includes the evaluation code of topic inference on word embeddin…☆12Mar 1, 2017Updated 9 years ago
- PyHessian is a Pytorch library for second-order based analysis and training of Neural Networks☆795Jul 10, 2025Updated last year
- ☆26Apr 9, 2019Updated 7 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Implementation of Riemannian optimization for skip-gram negative sampling (ACL 2017)☆19Apr 26, 2018Updated 8 years ago
- Pytorch implementation of KFAC - this is a port of https://github.com/tensorflow/kfac/☆33Jun 6, 2024Updated 2 years ago
- Second Order Optimization and Curvature Estimation with K-FAC in JAX.☆332Oct 13, 2026Updated 3 weeks ago
- Code for the paper: Why Transformers Need Adam: A Hessian Perspective☆66Mar 11, 2025Updated last year
- sketch-rnn demo for seoul mediacity biennale 2018☆13Sep 4, 2018Updated 8 years ago
- Code for "EigenDamage: Structured Pruning in the Kronecker-Factored Eigenbasis" https://arxiv.org/abs/1905.05934☆113Mar 3, 2020Updated 6 years ago
- Code for Knowledge-Adaptation Priors based on the NeurIPS 2021 paper by Khan and Swaroop.☆16Feb 1, 2022Updated 4 years ago