mlsanityData to 14 Oct 2026

TorchOpt: An Efficient Library for Differentiable Optimization

arXiv 2211.06934 ↗First posted 13 Nov 2022cs.MS cs.AI cs.DCcited by 17

Not on the map. Why?

Abstract (arXiv)

Recent years have witnessed the booming of various differentiable optimization algorithms. These algorithms exhibit different execution patterns, and their execution needs massive computational resources that go beyond a single CPU and GPU. Existing differentiable optimization libraries, however, cannot support efficient algorithm development and multi-CPU/GPU execution, making the development of differentiable optimization algorithms often cumbersome and expensive. This paper introduces TorchOpt, a PyTorch-based efficient library for differentiable optimization. TorchOpt provides a unified and expressive differentiable optimization programming abstraction. This abstraction allows users to efficiently declare and analyze various differentiable optimization programs with explicit gradients, implicit gradients, and zero-order gradients. TorchOpt further provides a high-performance distributed execution runtime. This runtime can fully parallelize computation-intensive differentiation operations (e.g. tensor tree flattening) on CPUs / GPUs and automatically distribute computation to distributed devices. Experimental results show that TorchOpt achieves 5.2× training time speedup on an 8-GPU server. TorchOpt is available at: https://github.com/metaopt/torchopt/.

Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 21 of its 26 references that are in the map. First posted on arXiv 13 Nov 2022.

Builds on

21 of 26 references.

References · 21

  1. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  2. 2018Neural Ordinary Differential Equationscited by 3,779
  3. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  4. 2019Deep Equilibrium Modelscited by 615
  5. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 599
  6. 2017Evolution Strategies as a Scalable Alternative to Reinforcement Learningcited by 574
  7. 2019Meta-Learning with Implicit Gradientscited by 525
  8. 2019Differentiable Convex Optimization Layerscited by 465
  9. 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 304
  10. 2019Differentiation of Blackbox Combinatorial Solverscited by 226
  11. 2021Efficient and Modular Implicit Differentiationcited by 203
  12. 2018Meta-Gradient Reinforcement Learningcited by 159
9 more
  1. 2020On the Iteration Complexity of Hypergradient Computationcited by 155
  2. 2019Generalized Inner Loop Meta-Learningcited by 93
  3. 2020Discovering Reinforcement Learning Algorithmscited by 77
  4. 2020learn2learn: A Library for Meta-Learning Researchcited by 69
  5. 2019ES-MAML: Simple Hessian-Free Meta Learningcited by 57
  6. 2019Torchmeta: A Meta-Learning library for PyTorchcited by 52
  7. 2022Betty: An Automatic Differentiation Library for Multilevel Optimizationcited by 27
  8. 2019CROSSBOW: Scaling Deep Learning with Small Batch Sizes on Multi-GPU Serverscited by 14
  9. 2021A Theoretical Understanding of Gradient Bias in Meta-Reinforcement Learningcited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 4; 2024: 3; 2025: 6; 2026: 4.

17 papers.

Sort:

By area:

  1. 2023A Survey of Contextual Optimization Methods for Decision Making under Uncertaintycited by 82
  2. 2023TorchDEQ: A Library for Deep Equilibrium Modelscited by 21
  3. 2024Differentiation Through Black-Box Quadratic Programming Solverscited by 10
  4. 2025Differentiable Model Predictive Control on the GPUcited by 7
  5. 2023GEAR: A GPU-Centric Experience Replay System for Large Reinforcement Learning Modelscited by 5
  6. 2024FreeAugment: Data Augmentation Search Across All Degrees of Freedomcited by 3
  7. 2025A Fully First-Order Layer for Differentiable Optimizationcited by 3
  8. 2023RAIFLE: Reconstruction Attacks on Interaction-based Federated Learning with Adversarial Data Manipulationcited by 1
  9. 2024Automatic Differentiation of Optimization Algorithms with Time-Varying Updatescited by 1
  10. 2025Exploring the Potential of Bilevel Optimization for Calibrating Neural Networkscited by 1
  11. 2025Adaptive Scaling of Policy Constraints for Offline Reinforcement Learningcited by 1
  12. 2025From Data to Rewards: a Bilevel Optimization Perspective on Maximum Likelihood Estimationcited by 0
5 more
  1. 2025Unified Control for Inference-Time Guidance of Denoising Diffusion Modelscited by 0
  2. 2026Generalized Information Gathering Under Dynamics Uncertaintycited by 0
  3. 2026Bayesian Meta-Learning with Expert Feedback for Task-Shift Adaptation through Causal Embeddingscited by 0
  4. 2026Feed m Birds with One Scone: Accelerating Multi-task Gradient Balancing via Bi-level Optimizationcited by 0
  5. 2026Scalable and Differentiable Point-Cloud Registration Using Maximum Mean Discrepancycited by 0