arXiv:2609.10905cs.ROSep 2026

Manuscript Offprint

arXiv:2609.10905

Planning along Differentiable Charts of Constraint Manifolds with General-Purpose IK Solvers

Thomas Cohn, Seiji Shaw, Harel Biggie, Travis Manderson, Nicholas Roy, Russ Tedrake

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Thomas Cohn*, Seiji Shaw*, Harel Biggie, Travis Manderson, Nicholas Roy, and Russ Tedrake

Abstract—Planning trajectories for robot manipulators under kinematic equality constraints restricts feasible motions to a measure-zero submanifold of the configuration space, requiring special algorithmic treatment. A promising strategy is parametrizing the set of feasible configurations using analytic inverse kinematics (IK). Bespoke analytic IK functions can be written to be differentiable, a necessary property for gradient-based trajectory optimization. But the vast majority of IK functions are computed by automated meta-solvers like IKFast, and are difficult to modify for differentiability. We present a new approach for computing gradients of analytic IK parameterizations: we leverage the inverse function theorem to recover the desired gradients from the ordinary forward kinematic Jacobian. Furthermore, we present a least-squares domain extension and an optimization-amenable description of the reachability constraint, which preserves gradient signal outside the reachable workspace. We demonstrate the efficacy of our approach through numerical experiments and downstream tasks, including a hardware demonstration of an RB-Y1 picking up a box and placing it on a table. Project website: https://cohnt.github.io/inverse-function-theorem-parameterization/

Figure

Fig. 1. A constraint-satisfying motion planned with our minimal coordinates trajectory optimization framework, using the RB-Y1 bimanual manipulator to pick up a box from the floor and place it on a table.

I. INTRODUCTION

Motion planning algorithms often inherently model a robot’s configuration space (C-space) as a Euclidean space. But this simple model breaks down for tasks where the robot must adhere to certain equality constraints, including carrying an object with two hands [1], opening a door [2], or keeping both feet fixed on the ground [3]. We specifically focus on equality constraints on end-effector (EE) pose, which are also induced by robot manipulation algorithms that reason about the robot as a floating hand [4]–[6].

When applying an equality constraint to the end-effector path of a motion plan, the set of constraint-satisfying configurations is reduced to a measure-zero subset of C-space, often referred to as the constraint manifold. This presents a fundamental challenge to motion planning algorithms. Sampling-based planners can no longer rely on rejection sampling to find paths, instead requiring specialized sampling and interpolation procedures [7]. Trajectory optimizers must handle a challenging nonlinear equality constraint, making them highly dependent on a good initial guess [8, §VI.D]. Either way, the resulting trajectory often must be post-processed to ensure the constraint is satisfied to a high tolerance, or used with a compliant control algorithm [9].

Parameterization approaches simplify the problem by eliminating the equality constraint, yielding a positive measure feasible set bounded by inequality constraints. This enables the direct application of ordinary planning algorithms without modification. A recent line of work examined using analytic inverse kinematics (IK) to directly parameterize the constraint manifold. Analytic IK serves a principled solution to the one-to-many property of IK, taking in additional arguments to return a unique solution for an EE target. Together with automatic differentiation (autodiff) through the IK mapping, a trajectory optimizer can represent the robot's path in the parameterized space while imposing costs and constraints in configuration space. This approach has been effective for collision-free constrained planning [10] and as a tool for solving complex IK problems like humanoid stability [11]. Some commonly-used robot arms have bespoke, handwritten analytic IK solutions [12], [13], but otherwise, the standard way forward is to use automated meta-solvers that parse the kinematic equations and generate a solution [14], [15]. But these solvers do not produce autodiff-compatible solutions, leaving most robots (including the RB-Y1 shown in Fig. 1) without the gradients they need, and therefore incompatible with the parameterized optimization framework.

Rather than editing the IK solution, an onerous task given the optimized implementations produced by automated IK solvers, we present an approach for differentiating through

  • denotes equal contribution. This project was supported by the National Science Foundation Graduate Research Fellowship Program under Grant No. 2141064, MIT Siegel Family Quest for Intelligence, Natural Sciences and Engineering Research Council of Canada (NSERC), and Army Research Laboratory under Cooperative Agreement Number W911NF-17-2-0181. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation or the other sponsors acknowledged in this work. The authors are with the Computer Science and Artificial Intelligence Laboratory (CSAIL), Massachusetts Institute of Technology, Cambridge, MA, USA. Corresponding author: tcohn@mit.edu

any black-box IK function. We construct the augmented forward kinematics (FK) [16], [17], a variant of ordinary FK that also returns the self-motion parameters corresponding to an analytic IK formulation. The augmented FK Jacobian has a simple expression, and the inverse function theorem (IFT) can be used to calculate the IK Jacobian.

Even with this ability to compute the Jacobians of black-box IK solvers, the domain of an analytic IK function can be limited, so gradients are not well-defined for end-effector poses outside the reachable workspace. Nonlinear trajectory optimizers do not guarantee workspace reachability at each iteration of the optimization [18], [19], leading to a catastrophic error. Some IK solutions return approximate solutions outside the reachable workspace [20], [21], but popular automatic IK solvers return “no solution” for non-reachable targets [14], [15]. This precludes their usage with many optimization frameworks, even if gradients are available within the reachable workspace from the IFT.

We extend the domain of an analytic IK function by leveraging least-squares solutions (or efficient approximations), obtaining a closed-form Jacobian for end-effector poses outside the reachable workspace. This preserves the gradient flow outside the reachable workspace, allowing the optimizer to restore feasibility. Inspired by the numerical IK literature, we present efficient approximations to this Jacobian. Finally, we describe an optimization-amenable description of the domain of an IK function, which is active only on the boundary of the feasible set. Empirically, we demonstrate that the overall framework begins to close the gap between bespoke and automatically generated analytic IK solutions through numerical studies, downstream planning tasks, and experiments with generic IK solvers. We further demonstrate the method's practical applicability in 20 hardware pick-and-place trials on an RB-Y1 robot, moving a box from various locations on the floor to an adjacent table (Fig. 1).

References (48)