Theseus: A Library for Differentiable Nonlinear Optimization Luis Pineda
–Neural Information Processing Systems
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.
Neural Information Processing Systems
May-28-2025, 17:13:34 GMT
- Country:
- Genre:
- Research Report (0.46)
- Technology:
- Information Technology > Artificial Intelligence
- Machine Learning > Neural Networks
- Deep Learning (0.90)
- Representation & Reasoning > Optimization (0.94)
- Robots (1.00)
- Vision (0.94)
- Machine Learning > Neural Networks
- Information Technology > Artificial Intelligence