Coordinate-Free Automatic Differentiation
summary
The gist
The gist Automatic differentiation (AD) is a cornerstone of modern machine learning, and this work introduces a single, basis-independent derivative operator that can represent many geometric
In short
The paper introduces a single, basis-independent derivative operator that works across different coordinate systems and geometric spaces. This operator can represent many complex geometric operations, such as curl or curvature, using existing automatic differentiation tools like JAX. This allows geometry to be handled algebraically rather than through fixed Euclidean coordinates.
Key concepts
- Basis-Independent Derivative Operator
- This is a new mathematical tool that calculates derivatives without relying on a fixed coordinate system (like standard Cartesian coordinates). It uses geometric algebra to incorporate all necessary metric and orientation information algebraically. This makes it possible to perform the same derivative calculations regardless of how you choose to represent the space, like flat space or curved manifolds.
- Geometric Algebra
- Geometric algebra is a mathematical framework that treats vectors, scalars, and higher-grade objects (like bivectors and trivectors) as unified entities. It allows for intrinsic descriptions of geometric objects like rotations and volumes. By using this algebra, the derivative operator becomes coordinate-free, meaning its definition doesn't change when you switch between different coordinate systems.
- Multivector Derivative
- This is the specific derivative operator proposed in the paper. It is defined as a multivector operation that uses geometric products instead of standard vector multiplication. This operator can be mapped onto existing AD primitives like Jacobian-vector products, allowing it to be implemented efficiently within frameworks like JAX for forward and reverse mode differentiation.
Terminology used across episodes
This episode discusses
- Coordinate-Free Automatic Differentiation · Paper Radio
- A Geometric Theory of Higher-Order Automatic Differentiation
- Discrete Exterior Calculus
- Geoopt: Riemannian Optimization in PyTorch
- DeepCurrents: Learning Implicit Representations of Shapes with Boundaries
- Optimistix: modular optimisation in JAX and Equinox
- Neural Conservation Laws: A Divergence-Free Perspective
- The Willing Kingdon Clifford Algebra Library
- Jet Functors and Weil Algebras in Automatic Differentiation: A Geometric Analysis
- A micro Lie theory for state estimation in robotics
The paper
Coordinate-Free Automatic Differentiation · Read on arXiv
Alex Guerra, Joshua Aduol, ¡yaqian Tang, Ĵn Daniel Williams, Ryan P. Adams
Department of Computer Science, Princeton University · Gatsby Computational Neuroscience Unit, University College London
Automatic differentiation (AD) is a cornerstone of modern machine learning. Since all AD frameworks implicitly fix a basis of Euclidean space to define gradients and Jacobians, they natively process mathematical objects that are arrays of a fixed set of coordinates. This makes it awkward to express objects such as rotations, volume forms, and curvatures that arise, for example, in applications of AI to science. Bespoke workarounds lack reusability. We show that (i) a single, basis-independent derivative operator can represent many geometric differential operations, and (ii) this operator can be expressed entirely in terms of existing AD primitives. This reusable transformation can be composed with JAX batching, compilation, and hardware acceleration. Geometry enters as algebraic data. We experimentally demonstrate its reuse across different manifold operators, its composition through a spacetime inverse-problem pipeline, and its use in optimization over different rotor subgroups.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Today's paper: "Coordinate-Free Automatic Differentiation".
Jane: The gist Automatic differentiation (AD) is a cornerstone of modern machine learning, and this work introduces a single,
Tom: First, who's behind it and why it matters.
Title and authors: Jane: Okay, so what does this paper actually propose? It suggests extending the AD philosophy from flat spaces to this geometric algebra approach where geometry enters through algebraic structures rather than just fixed coordinate representations.
Tom: They show how that multivector derivative can be expressed entirely in terms of existing JAX primitives, like Jacobian-vector products, which means it can be implemented as a composable transformation.
Lu: They define the multivector derivative formally as d I F:= X sum J in I b J J d F over d X J, and they show this operator arises from using Jacobian-vector products, specifically the metric aware vectorJacobian product.
Meng: If it maps to existing JAX primitives like vjp and jvp, then at least the implementation side isn't entirely new plumbing; it’s just a different way of calling the tools we already have available for forward and reverse mode AD.
Lalam: The key contribution is showing that this single operator can compute a range of differential operators in "flat" spaces, and they show how to generalize that approach to manifolds by projecting onto tangent spaces.
Tom: That projection step is where they get the automatic computation of things like curl, divergence, and covariant derivatives on any (pseudo-) Riemannian manifold.
The paper's summary: Jane: So, beyond just defining the operator, what are they actually using this for? They apply this formalism to obtain automatic computation of various differential operators on any (pseudo-) Riemannian manifold in any number of dimensions.
Tom: It means you can compute things like curl, divergence, and shape operators on curved spaces without having to manually define all those geometric terms separately.
Lu: By representing a manifold as a vector manifold where points are vectors in the grade one blade one(V), they get an intrinsic derivative by projecting the vector derivative onto the tangent space using (F(x)I-one(x))I.
Meng: That projection step is interesting because it ensures that standard differential operators on manifolds, like curl and divergence, are expressed in terms of this new d M operator and its covariant derivative grad M F.
Lalam: So the idea is that geometric structure enters through the selected index set I, the multivector field being differentiated, and on manifolds, the tangent pseudoscalar I M.
Jane: It sounds like they are showing how to make these differential operators reusable transformations rather than something you have to re-derive for every single application or coordinate system.
The paper's improvements: Tom: They show reuse across different applications, like manifold learning and inverse problems in spacetime, demonstrating that this framework works in several different contexts.
Lu: In manifold learning experiments, they can construct divergence-free vector fields on a manifold by starting with an arbitrary two-form and applying grad M to get that field <ref:2610.12776#pg1>.
Meng: And for optimization on rotor groups, they use the multivector derivative to compute the left-trivialized differential d f e(g) in terms of it, allowing for multiplicative descent updates like g t+one = g t (-eta d f e(g t)) <ref:2610.12776#pg1>.
Lalam: The practical benefit they emphasize is that geometric differential operators become reusable AD transformations instead of being re-derived for every coordinate system or application.
Jane: This capability means geometric structure enters through the index set I, the multivector field you're differentiating, and on manifolds, the tangent pseudoscalar I M.
Tom: And they show that a small set of geometric operators can support several apparently different workflows across manifold learning, inverse problems in spacetime, and optimization on rotor groups all with the same implementation.
Conclusion: Jane: So to wrap up, this paper introduces 'Coordinate-Free Automatic Differentiation' by showing how a single basis-independent derivative operator can handle many geometric operations algebraically.
Tom: They prove it can be expressed using existing JAX primitives, making it composable and usable with JAX batching for forward and reverse mode AD.
Lu: The main takeaway is that geometry enters the computation through the index set I, the multivector field, and on manifolds, the tangent pseudoscalar I M.
Meng: From a deployment standpoint, this means geometric structure can be exposed as reusable AD transformations instead of being re-derived for every application.
Lalam: The paper shows that a small set of these geometric operators can support manifold learning, inverse problems in spacetime, and optimization on rotor groups all with the same implementation.
Jane: It's a lot of capability packed into one framework, showing how geometric algebra can enter through existing machine learning representations already used for equivariant architectures.
Tom: Yeah, it’s about making sure the underlying math—the differential operators—is robust regardless of where you are in space or what coordinate system you choose.
More episodes
- 2610.07559-TAFFY: A Task-Adaptive Tabular Foundation Model with In-Context Diversity
- 2610.07615-AFA-BANDIT: Provably Near-Optimal Online Multi-Feature Classification Under Budget Constraints
- 2610.07704-Independent Multi-Agent Reinforcement Learning with Counterfactual Semantic-Social World Models
- 2610.07859-Tram-FL: Reducing Communication and Computation Costs through Sequential Model Circulation in Decentralized Federated Learning
- 2610.07810-SIFT: Search Intent-to-Filter Transformer for Multi-Task Personalized Filter Ranking at Airbnb
- 2610.07884-Learned Adaptive Multiresolution Diffusion Imaging
- 2610.07857-A Decision-Focused Neural Optimization Framework for Personalized Route Reproduction from Vehicle Trajectories
- 2610.07874-On-Policy Distillation with Negative-Policy Rollouts
- 2610.07938-Generalized Matheron Variational Implicit Processes
- 2610.07973-Learning a Ranking from Human Feedback in Log-Concave Random Utility Models