Theseus: A Library for Differentiable Nonlinear Optimization
Not on the map. Why?
Abstract (arXiv)
We present Theseus, an efficient application-agnostic open source library for differentiable nonlinear least squares (DNLS) optimization built on PyTorch, providing a common framework for end-to-end structured learning in robotics and vision. Existing DNLS implementations are application specific and do not always incorporate many ingredients important for efficiency. Theseus is application-agnostic, as we illustrate with several example applications that are built using the same underlying differentiable components, such as second-order optimizers, standard costs functions, and Lie groups. For efficiency, Theseus incorporates support for sparse solvers, automatic vectorization, batching, GPU acceleration, and gradient computation with implicit differentiation and direct loss minimization. We do extensive performance evaluation in a set of applications, demonstrating significant efficiency gains and better scalability when these features are incorporated. Project page: https://sites.google.com/view/theseus-ai
Key facts. Cited by 64 papers in the map (data through 7 Oct 2026). Builds on 64 of its 115 references that are in the map. First posted on arXiv 19 Jul 2022.
Builds on
64 of 115 references.
References · 64
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2018On the Continuity of Rotation Representations in Neural Networkscited by 1,186
- 2016Keep it SMPL: Automatic Estimation of 3D Human Pose and Shape from a Single Imagecited by 692
- 2021DROID-SLAM: Deep Visual SLAM for Monocular, Stereo, and RGB-D Camerascited by 673
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
- 2019Differentiable Convex Optimization Layerscited by 458
- 2019Algorithm Unrolling: Interpretable, Efficient Deep Learning for Signal and Image Processingcited by 411
- 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 357
- 2021Vector Neurons: A General Framework for SO(3)-Equivariant Networkscited by 304
- 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 303
38 more
- 2017A General and Adaptive Robust Loss Functioncited by 236
- 2019Differentiation of Blackbox Combinatorial Solverscited by 224
- 2017Learning with Opponent-Learning Awarenesscited by 218
- 2016Unrolled Generative Adversarial Networkscited by 208
- 2021Back to the Feature: Learning Robust Camera Localization from Pixels to Posecited by 199
- 2021Efficient and Modular Implicit Differentiationcited by 199
- 2018Truncated Back-propagation for Bilevel Optimizationcited by 187
- 2018DeepV2D: Video to Depth with Differentiable Structure from Motioncited by 185
- 2019Kimera: an Open-Source Library for Real-Time Metric-Semantic Localization and Mappingcited by 181
- 2018BA-Net: Dense Bundle Adjustment Networkcited by 173
- 2020DIGIT: A Novel Design for a Low-Cost Compact High-Resolution Tactile Sensor with Application to In-Hand Manipulationcited by 164
- 2018CodeSLAM - Learning a Compact, Optimisable Representation for Dense Visual SLAMcited by 151
- 2016Deep Image Homography Estimationcited by 135
- 2018A micro Lie theory for state estimation in roboticscited by 117
- 2020DeepFactors: Real-Time Probabilistic Dense Monocular SLAMcited by 117
- 2016On Differentiating Parameterized Argmin and Argmax Problems with Application to Bi-level Optimizationcited by 108
- 2021Implicit MLE: Backpropagating Through Discrete Exponential Family Distributionscited by 97
- 2015On-Manifold Preintegration for Real-Time Visual-Inertial Odometrycited by 95
- 2019Generalized Inner Loop Meta-Learningcited by 92
- 2015The Fast Bilateral Solvercited by 86
- 2016SE-Sync: A Certifiably Correct Algorithm for Synchronization over the Special Euclidean Groupcited by 80
- 2019Controlling Neural Level Setscited by 76
- 2018Reviving and Improving Recurrent Back-Propagationcited by 69
- 2018Understanding Short-Horizon Bias in Stochastic Meta-Optimizationcited by 68
- 2020NodeSLAM: Neural Object Descriptors for Multi-View Shape Reconstructioncited by 61
- 2015Structured Prediction Energy Networkscited by 59
- 2021Unbiased Gradient Estimation in Unrolled Computation Graphs with Persistent Evolution Strategiescited by 52
- 2017Continuous-Time Gaussian Process Motion Planning via Probabilistic Inferencecited by 49
- 2021Tangent Space Backpropagation for 3D Transformation Groupscited by 40
- 2017Unbiasing Truncated Backpropagation Through Timecited by 37
- 2017End-to-End Learning for Structured Prediction Energy Networkscited by 33
- 2020A Smooth Representation of Belief over SO(3) for Deep Rotation Learning with Uncertaintycited by 29
- 2018LS-Net: Learning to Solve Nonlinear Least Squares for Monocular Stereocited by 28
- 2019Differentiable Gaussian Process Motion Planningcited by 27
- 2019gradSLAM: Automagically differentiable SLAMcited by 27
- 2015Training Deep Neural Networks via Direct Loss Minimizationcited by 25
- 2018Taking a Deeper Look at the Inverse Compositional Algorithmcited by 20
- 2021Revitalizing Optimization for 3D Human Pose and Shape Estimation: A Sparse Constrained Formulationcited by 19
50 most cited of 64 All 64 (JSON)
Built on by
Citing papers per year: 2022: 4; 2023: 17; 2024: 14; 2025: 15; 2026: 14.
64 papers.
Sort:
By area:
- 2025VGGT: Visual Geometry Grounded Transformercited by 1,475
- 2023Visual Geometry Grounded Deep Structure From Motioncited by 225
- 2022SE(3)-DiffusionFields: Learning smooth cost functions for joint grasp and motion optimization through diffusioncited by 125
- 2023A Survey of Contextual Optimization Methods for Decision Making under Uncertaintycited by 81
- 2022Differentiable Integrated Motion Prediction and Planning with Learnable Cost Function for Autonomous Drivingcited by 71
- 2024GeoCalib: Learning Single-image Calibration with Geometric Optimizationcited by 50
- 2023Object Pose Estimation with Statistical Guarantees: Conformal Keypoint Detection and Geometric Uncertainty Propagationcited by 33
- 2023TTA-COPE: Test-Time Adaptation for Category-Level Object Pose Estimationcited by 32
- 2024Motion Planning Diffusion: Learning and Adapting Robot Motion Planning with Diffusion Modelscited by 32
- 2022Learning with Combinatorial Optimization Layers: a Probabilistic Approachcited by 28
- 2023Physics-Informed Machine Learning for Modeling and Control of Dynamical Systemscited by 28
- 2023Neural feels with neural fields: Visuo-tactile perception for in-hand manipulationcited by 28
38 more
- 2024Scaling physics-informed hard constraints with mixture-of-expertscited by 24
- 2023Drivable Avatar Clothing: Faithful Full-Body Telepresence with Dynamic Clothing Driven by Sparse RGB-D Inputcited by 22
- 2022SurCo: Learning Linear Surrogates For Combinatorial Nonlinear Optimization Problemscited by 21
- 2023TorchDEQ: A Library for Deep Equilibrium Modelscited by 21
- 2025Pinet: Optimizing hard-constrained neural networks with orthogonal projection layerscited by 17
- 2023Living Scenes: Multi-object Relocalization and Reconstruction in Changing 3D Environmentscited by 15
- 2023Learning Correspondence Uncertainty via Differentiable Nonlinear Least Squarescited by 14
- 2024LeGo-Drive: Language-enhanced Goal-oriented Closed-Loop End-to-End Autonomous Drivingcited by 12
- 2024Differentiation Through Black-Box Quadratic Programming Solverscited by 10
- 2023Energy-based Potential Games for Joint Motion Forecasting and Controlcited by 9
- 2023Digital Twins in Wind Energy: Emerging Technologies and Industry-Informed Future Directionscited by 7
- 2023A Correct-and-Certify Approach to Self-Supervise Object Pose Estimators via Ensemble Self-Trainingcited by 6
- 2024Bundle Adjustment in the Eager Modecited by 6
- 2024DiffTORI: Differentiable Trajectory Optimization for Deep Reinforcement and Imitation Learningcited by 5
- 2024MambaVO: Deep Visual Odometry Based on Sequential Matching Refinement and Training Smoothingcited by 5
- 2025Differentiable Nonlinear Model Predictive Controlcited by 5
- 2023On a Connection between Differential Games, Optimal Control, and Energy-based Models for Multi-Agent Interactionscited by 4
- 2025Differentiable Model Predictive Control on the GPUcited by 4
- 2025InstantSfM: Towards GPU-Native SfM for the Deep Learning Eracited by 4
- 2023Decentralization and Acceleration Enables Large-Scale Bundle Adjustmentcited by 3
- 2024PP-TIL: Personalized Planning for Autonomous Driving with Instance-based Transfer Imitation Learningcited by 3
- 2024Correspondence-Free SE(3) Point Cloud Registration in RKHS via Unsupervised Equivariant Learningcited by 3
- 2025A General and Streamlined Differentiable Optimization Frameworkcited by 3
- 2025A Fully First-Order Layer for Differentiable Optimizationcited by 3
- 2026torch-sla: Differentiable Sparse Linear Algebra with Adjoint Solvers and Sparse Tensor Parallelism for PyTorchcited by 3
- 2024Algorithmic Language Models with Neurally Compiled Librariescited by 2
- 2026A Penalty Approach for Differentiation Through Black-Box Quadratic Programming Solverscited by 2
- 2026Diff3R: Feed-forward 3D Gaussian Splatting with Uncertainty-aware Differentiable Optimizationcited by 2
- 2023A survey of manifold learning and its applications for multimediacited by 1
- 2024Towards End-to-End GPS Localization with Neural Pseudorange Correctioncited by 1
- 2024From Variance to Veracity: Unbundling and Mitigating Gradient Variance in Differentiable Bundle Adjustment Layerscited by 1
- 2024RandALO: Out-of-sample risk estimation in no time flatcited by 1
- 2025BADGR: Bundle Adjustment Diffusion Conditioned by GRadients for Wide-Baseline Floor Plan Reconstructioncited by 1
- 2025Visuo-Tactile Object Pose Estimation for a Multi-Finger Robot Hand with Low-Resolution In-Hand Tactile Sensingcited by 1
- 2026Learning to Optimize by Differentiable Programmingcited by 1
- 2026Relaxation-Informed Training of Neural Network Surrogate Modelscited by 1
- 2023Reinforcement Learning in a Safety-Embedded MDP with Trajectory Optimizationcited by 0
- 2025Learning Scene-Level Signed Directional Distance Function with Ellipsoidal Priors and Neural Residualscited by 0
50 most cited of 64 All 64 (JSON)
- 2026lapanda: A Matrix-Free Differentiable Solver for Nonconvex Constrained Optimization Layers27 Sep 2026
- 2026Surgical Kinematics from Monocular Video with Learned Articulated Motion Constraints23 Sep 2026
- 2026NSFlow: End-to-End Differentiable Neuro-Symbolic Optical Flow for Visual Odometry5 Sep 2026
- 2026Large Language Model Enhanced Differentiable Trajectory Planning for IoT-Enabled Autonomous Driving11 Jul 2026
- 2026Scalable and Differentiable Point-Cloud Registration Using Maximum Mean Discrepancy26 Jun 2026
- 2026Diff2SP: Diffusion Models for Correlated Scenario Generation in Stochastic Programming4 Jun 2026
- 2026The Lie We Tell: Correcting the Euclidean Fallacy in Vision Language Action Policies via Score Matching on Tangent Space1 Jun 2026
- 2026SCAMP: Sparse-anchor Control is One Small Projection14 May 2026
- 2026CredibleDFGO: Differentiable Factor Graph Optimization with Credibility Supervision7 May 2026
- 2026Relaxation-Informed Training of Neural Network Surrogate Models24 Apr 2026
- 2026Diff3R: Feed-forward 3D Gaussian Splatting with Uncertainty-aware Differentiable Optimization1 Apr 2026
- 2026A Penalty Approach for Differentiation Through Black-Box Quadratic Programming Solvers15 Feb 2026
38 more
- 2026Learning to Optimize by Differentiable Programming23 Jan 2026
- 2026torch-sla: Differentiable Sparse Linear Algebra with Adjoint Solvers and Sparse Tensor Parallelism for PyTorch20 Jan 2026
- 2025OmniEgoCap: Camera-Agnostic Sequence-Level Egocentric Motion Reconstruction22 Dec 2025
- 2025A Fully First-Order Layer for Differentiable Optimization2 Dec 2025
- 2025A General and Streamlined Differentiable Optimization Framework29 Oct 2025
- 2025Leveraging Cycle-Consistent Anchor Points for Self-Supervised RGB-D Registration16 Oct 2025
- 2025InstantSfM: Towards GPU-Native SfM for the Deep Learning Era15 Oct 2025
- 2025Differentiable Model Predictive Control on the GPU7 Oct 2025
- 2025NeRC: Neural Ranging Correction through Differentiable Moving Horizon Location Estimation20 Aug 2025
- 2025Pinet: Optimizing hard-constrained neural networks with orthogonal projection layers14 Aug 2025
- 2025Model-free Reinforcement Learning for Model-based Control: Towards Safe, Interpretable and Sample-efficient Agents17 Jul 2025
- 2025Deep Fictitious Play-Based Potential Differential Games for Learning Human-Like Interaction at Unsignalized Intersections14 Jun 2025
- 2025Differentiable Nonlinear Model Predictive Control2 May 2025
- 2025Learning Scene-Level Signed Directional Distance Function with Ellipsoidal Priors and Neural Residuals25 Mar 2025
- 2025Visuo-Tactile Object Pose Estimation for a Multi-Finger Robot Hand with Low-Resolution In-Hand Tactile Sensing25 Mar 2025
- 2025BADGR: Bundle Adjustment Diffusion Conditioned by GRadients for Wide-Baseline Floor Plan Reconstruction25 Mar 2025
- 2025VGGT: Visual Geometry Grounded Transformer14 Mar 2025
- 2024MambaVO: Deep Visual Odometry Based on Sequential Matching Refinement and Training Smoothing28 Dec 2024
- 2024Motion Planning Diffusion: Learning and Adapting Robot Motion Planning with Diffusion Models27 Dec 2024
- 2024Differentiation Through Black-Box Quadratic Programming Solvers8 Oct 2024
- 2024Bundle Adjustment in the Eager Mode18 Sep 2024
- 2024RandALO: Out-of-sample risk estimation in no time flat15 Sep 2024
- 2024GeoCalib: Learning Single-image Calibration with Geometric Optimization10 Sep 2024
- 2024Correspondence-Free SE(3) Point Cloud Registration in RKHS via Unsupervised Equivariant Learning29 Jul 2024
- 2024PP-TIL: Personalized Planning for Autonomous Driving with Instance-based Transfer Imitation Learning26 Jul 2024
- 2024Algorithmic Language Models with Neurally Compiled Libraries6 Jul 2024
- 2024From Variance to Veracity: Unbundling and Mitigating Gradient Variance in Differentiable Bundle Adjustment Layers12 Jun 2024
- 2024LeGo-Drive: Language-enhanced Goal-oriented Closed-Loop End-to-End Autonomous Driving29 Mar 2024
- 2024Scaling physics-informed hard constraints with mixture-of-experts20 Feb 2024
- 2024DiffTORI: Differentiable Trajectory Optimization for Deep Reinforcement and Imitation Learning8 Feb 2024
- 2024Towards End-to-End GPS Localization with Neural Pseudorange Correction19 Jan 2024
- 2023Neural feels with neural fields: Visuo-tactile perception for in-hand manipulation20 Dec 2023
- 2023Living Scenes: Multi-object Relocalization and Reconstruction in Changing 3D Environments14 Dec 2023
- 2023Visual Geometry Grounded Deep Structure From Motion7 Dec 2023
- 2023Energy-based Potential Games for Joint Motion Forecasting and Control4 Dec 2023
- 2023TorchDEQ: A Library for Deep Equilibrium Models28 Oct 2023
- 2023Reinforcement Learning in a Safety-Embedded MDP with Trajectory Optimization10 Oct 2023
- 2023Drivable Avatar Clothing: Faithful Full-Body Telepresence with Dynamic Clothing Driven by Sparse RGB-D Input9 Oct 2023
50 newest of 64 All 64 (JSON)
- 2022SE(3)-DiffusionFields: Learning smooth cost functions for joint grasp and motion optimization through diffusioncited by 125
- 2024Motion Planning Diffusion: Learning and Adapting Robot Motion Planning with Diffusion Modelscited by 32
- 2025BADGR: Bundle Adjustment Diffusion Conditioned by GRadients for Wide-Baseline Floor Plan Reconstructioncited by 1
- 2026Diff2SP: Diffusion Models for Correlated Scenario Generation in Stochastic Programmingcited by 0
- 2026Diff2SP: Diffusion Models for Correlated Scenario Generation in Stochastic Programming4 Jun 2026
- 2025BADGR: Bundle Adjustment Diffusion Conditioned by GRadients for Wide-Baseline Floor Plan Reconstruction25 Mar 2025
- 2024Motion Planning Diffusion: Learning and Adapting Robot Motion Planning with Diffusion Models27 Dec 2024
- 2022SE(3)-DiffusionFields: Learning smooth cost functions for joint grasp and motion optimization through diffusion8 Sep 2022
- 2022Differentiable Integrated Motion Prediction and Planning with Learnable Cost Function for Autonomous Drivingcited by 71
- 2024PP-TIL: Personalized Planning for Autonomous Driving with Instance-based Transfer Imitation Learningcited by 3
- 2025Deep Fictitious Play-Based Potential Differential Games for Learning Human-Like Interaction at Unsignalized Intersectionscited by 0
- 2026Large Language Model Enhanced Differentiable Trajectory Planning for IoT-Enabled Autonomous Drivingcited by 0
- 2026Large Language Model Enhanced Differentiable Trajectory Planning for IoT-Enabled Autonomous Driving11 Jul 2026
- 2025Deep Fictitious Play-Based Potential Differential Games for Learning Human-Like Interaction at Unsignalized Intersections14 Jun 2025
- 2024PP-TIL: Personalized Planning for Autonomous Driving with Instance-based Transfer Imitation Learning26 Jul 2024
- 2022Differentiable Integrated Motion Prediction and Planning with Learnable Cost Function for Autonomous Driving21 Jul 2022
- 2025VGGT: Visual Geometry Grounded Transformercited by 1,475
- 2023Visual Geometry Grounded Deep Structure From Motioncited by 225
- 2023A Survey of Contextual Optimization Methods for Decision Making under Uncertaintycited by 81
- 2024GeoCalib: Learning Single-image Calibration with Geometric Optimizationcited by 50
- 2023Object Pose Estimation with Statistical Guarantees: Conformal Keypoint Detection and Geometric Uncertainty Propagationcited by 33
- 2023TTA-COPE: Test-Time Adaptation for Category-Level Object Pose Estimationcited by 32
- 2022Learning with Combinatorial Optimization Layers: a Probabilistic Approachcited by 28
- 2023Physics-Informed Machine Learning for Modeling and Control of Dynamical Systemscited by 28
- 2023Neural feels with neural fields: Visuo-tactile perception for in-hand manipulationcited by 28
- 2023Drivable Avatar Clothing: Faithful Full-Body Telepresence with Dynamic Clothing Driven by Sparse RGB-D Inputcited by 22
- 2022SurCo: Learning Linear Surrogates For Combinatorial Nonlinear Optimization Problemscited by 21
- 2023TorchDEQ: A Library for Deep Equilibrium Modelscited by 21
12 most cited of 51 All 51 (JSON)
- 2026lapanda: A Matrix-Free Differentiable Solver for Nonconvex Constrained Optimization Layers27 Sep 2026
- 2026Surgical Kinematics from Monocular Video with Learned Articulated Motion Constraints23 Sep 2026
- 2026NSFlow: End-to-End Differentiable Neuro-Symbolic Optical Flow for Visual Odometry5 Sep 2026
- 2026Scalable and Differentiable Point-Cloud Registration Using Maximum Mean Discrepancy26 Jun 2026
- 2026SCAMP: Sparse-anchor Control is One Small Projection14 May 2026
- 2026CredibleDFGO: Differentiable Factor Graph Optimization with Credibility Supervision7 May 2026
- 2026Relaxation-Informed Training of Neural Network Surrogate Models24 Apr 2026
- 2026Diff3R: Feed-forward 3D Gaussian Splatting with Uncertainty-aware Differentiable Optimization1 Apr 2026
- 2026A Penalty Approach for Differentiation Through Black-Box Quadratic Programming Solvers15 Feb 2026
- 2026Learning to Optimize by Differentiable Programming23 Jan 2026
- 2026torch-sla: Differentiable Sparse Linear Algebra with Adjoint Solvers and Sparse Tensor Parallelism for PyTorch20 Jan 2026
- 2025OmniEgoCap: Camera-Agnostic Sequence-Level Egocentric Motion Reconstruction22 Dec 2025
12 newest of 51 All 51 (JSON)