Skip to content
DraconiticResearch
Search Sources API
201,683 studies31 sourcesUpdated 1 h ago
PreprintCC BY-NC 4.0HAL

IKLayer: A Differentiable Inverse Kinematics Layer for Whole-Body Control

Abstract

In modern robotics, learning-based policies are increasingly paired with model-based controllers to produce behaviors that are both adaptive and physically feasible. Yet these controllers -which enforce constraints such as kinematic feasibility, joint limits, collision avoidance or balance -are usually treated as non-differentiable black boxes: no gradient flows back through them to the policy learning pipeline. This disconnect prevents gradient-based policy learning from accounting for the physical constraints that actually shape the executed motion: the policy is trained to describe a trajectory rather than to produce one, and compensating for this typically requires large datasets or hand-tuned heuristics. We address this gap by introducing IKLayer, a fully differentiable wholebody layer based on differential inverse kinematics. IKLayer solves a cascade of parametric quadratic programs that encode physical constraints and differentiates through each program via implicit differentiation. To bridge the Euclidean output of neural networks and the SE(3) input poses required by the IK controller, we adopt a differentiable parameterization R 9 → SE(3) and derive its analytic Jacobian, which is free of periodic singularities and produces well-conditioned gradients uniformly over SE(3). On a simulated humanoid reaching task where balance constraints make a single-arm motion infeasible, training through IKLayer discovers a counterweight strategy in minutes, whereas zero-order baselines fail to solve the task. More broadly, these results suggest that exposing a controller's constraints to the policy's gradients turns constraint satisfaction from something the policy must learn into a property of the architecture.

Related

  1. Differentiable FEM versus PINN for pavement layer inverse analysis: enforcing physics as hard or soft constraints
    Yongjin Choi, Hyeonbin Moon, Seunghwa Ryu
    arXivPreprintCC BY 4.0Full textNumerical analysis & scientific computingarXiv
  2. Benchmarking Optimizers to Solve Inverse Problems with Differentiable Physics Simulators
    Xiang Chen, Huanhuan Xia
    arXivPreprintCC BY-NC-SA 4.0Full textOptimisation & controlComputational physicsarXiv
  3. KernelPack-JAX: a meshless differentiable GPU framework for node generation and forward and inverse PDE problems
    Alberto Cattaneo, M. Keith Ballard, Robert M. Kirby +2
    arXivPreprintCC BY 4.0Full textNumerical analysis & scientific computingarXiv
  4. Soft Computing Optimization of Industrial Robot Inverse Kinematics for Intelligent Manufacturing: A Statistical Benchmark of Metaheuristic Algorithms
    Julio Antonio Caballero-Mora, Daniel Sanin-Villa, Victoria Bello-Hernández +3
    MathematicsPeer-reviewedCC BY 4.0General mathematicsCrossref
  5. The Power Watershed as a Differentiable Segmentation Layer
    Galia Akl, Laurent Najman, Hugues Talbot
    HALPreprintCC BY-NC-SA 4.0Full textOptimisation & controlHALarXiv
BibTeX
@misc{scheffler2026iklayer,
  title = {{IKLayer: A Differentiable Inverse Kinematics Layer for Whole-Body Control}},
  author = {Mathis Scheffler and Yann de Mont-Marin and Cordelia Schmid and Justin Carpentier},
  howpublished = {HAL},
  year = {2026},
  month = oct,
  url = {https://hal.science/hal-05778276v1},
  note = {CC BY-NC 4.0},
}
RIS
TY  - UNPB
TI  - IKLayer: A Differentiable Inverse Kinematics Layer for Whole-Body Control
AU  - Mathis Scheffler
AU  - Yann de Mont-Marin
AU  - Cordelia Schmid
AU  - Justin Carpentier
PY  - 2026
DA  - 2026/10/05
PB  - HAL
UR  - https://hal.science/hal-05778276v1
AB  - In modern robotics, learning-based policies are increasingly paired with model-based controllers to produce behaviors that are both adaptive and physically feasible. Yet these controllers -which enforce constraints such as kinematic feasibility, joint limits, collision avoidance or balance -are usually treated as non-differentiable black boxes: no gradient flows back through them to the policy learning pipeline. This disconnect prevents gradient-based policy learning from accounting for the physical constraints that actually shape the executed motion: the policy is trained to describe a trajectory rather than to produce one, and compensating for this typically requires large datasets or hand-tuned heuristics. We address this gap by introducing IKLayer, a fully differentiable wholebody layer based on differential inverse kinematics. IKLayer solves a cascade of parametric quadratic programs that encode physical constraints and differentiates through each program via implicit differentiation. To bridge the Euclidean output of neural networks and the SE(3) input poses required by the IK controller, we adopt a differentiable parameterization R 9 → SE(3) and derive its analytic Jacobian, which is free of periodic singularities and produces well-conditioned gradients uniformly over SE(3). On a simulated humanoid reaching task where balance constraints make a single-arm motion infeasible, training through IKLayer discovers a counterweight strategy in minutes, whereas zero-order baselines fail to solve the task. More broadly, these results suggest that exposing a controller's constraints to the policy's gradients turns constraint satisfaction from something the policy must learn into a property of the architecture.
ER  -