Learning Inverse Dynamics from Feedback Control Residuals

19 concepts14 papers1 proposal

Controlling physical systems with highly non-linear dynamics—such as soft robotic limbs, quadrotors facing aerodynamic turbulence, or complex biological joints—presents a fundamental challenge. Classical control theory provides stable, reliable frameworks like proportional-integral-derivative (PID) loops, but these systems struggle when precise analytical models are unavailable. Conversely, pure machine learning models can approximate complex functions but lack the safety and stability guarantees required for physical hardware.

A powerful hybrid paradigm addresses this by using neural networks to learn the inverse dynamics of a system—mapping desired state transitions directly to the required control inputs—by leveraging the errors and residuals of an existing feedback controller. Instead of replacing the classical controller, the neural network acts alongside it, treating the feedback loop as a real-time teacher.

The Feedback Controller as a Teacher

The core intuition behind feedback-error-learning is that a "dumb" but stable feedback controller can guide a "smart" adaptive model. In a traditional supervised learning setup, training an inverse dynamics model requires knowing the exact target motor commands for a given trajectory. However, these target commands are rarely known beforehand.

As shown by Gomi et al. in Recognition of Manipulated Objects by Motor Learning, the corrective signal generated by a feedback controller can double as an error signal to train a feedforward neural network. When a robot deviates from its path, the feedback controller exerts a corrective force. The neural network observes this correction and updates its weights to predict and preemptively supply that force in future trials.

This mechanism mirrors biological systems. Dean et al. demonstrated this by modeling how the primate cerebellum uses simple overshoot or undershoot feedback to calibrate complex eye movements via A Neural Net Model for Adaptive Control of Saccadic Accuracy by Primate Cerebellum and Brainstem. Over repeated executions, as detailed by Kobayashi et al. in 2D Jaw-Movement Simulator (JSN-S1). Control of Opening and Closing Movement with Clench., the neural network gradually internalizes the inverse dynamics, assuming primary control and causing the feedback error signal to decay toward zero.

Desired State ---> [ Neural Network (Feedforward) ] ---> (+) ---> Plant
                          ^                              |
                          | (Feedback Error as Teacher)  |
                          |                              |
Actual State  ---> [ Feedback Controller ] --------------(+)

Reinterpreting Feedback Signals as Direct Data

Why does this mapping work so effectively? In traditional system identification, researchers record what a robot did (the actual trajectory) and try to map it to what the robot was told to do. However, under safe, low-gain compliant control regimes, the physical execution deviates significantly from the target, which can corrupt the training data.

Kappler et al. resolved this in A New Data Source for Inverse Dynamics Learning by reinterpreting feedback control signals as direct measurements of model inaccuracy. By mapping the controller's corrective torque directly to the desired acceleration rather than the actual acceleration, the feedback loop acts as a supervised teacher. This allows accurate inverse dynamics learning even when the robot is operating under highly compliant, low-stiffness safety constraints.

Add-on Modules and Closed-Loop Inversion

Rather than embedding the neural network directly inside the feedback loop, another powerful architectural variation treats the entire closed-loop system (the baseline controller plus the physical plant) as a "black box."

In Design of Deep Neural Networks as Add-on Blocks for Improving Impromptu Trajectory Tracking, Zhou et al. proved that a deep neural network pre-cascaded to a stable baseline controller can learn the inverse dynamics of the entire closed-loop system. The network takes the desired trajectory and pre-adjusts or "distorts" the reference signal before it reaches the baseline controller, compensating for inherent lags and tracking delays.

In follow-up work, Zhou et al. introduced a difference learning scheme in Deep neural networks as add-on modules for enhancing robot performance in impromptu trajectory tracking that trains the network specifically on the residual error between the baseline controller's response and the target trajectory. This drastically improves data efficiency, allowing robots to achieve near-perfect tracking on novel, impromptu trajectories on the very first attempt.

Similarly, Li et al. utilized an inverse modeling approach in Deep Neural Networks for Improved, Impromptu Trajectory Tracking of Quadrotors that looks ahead at future desired states to map observed actual trajectories back to their ideal reference signals. To generalize to arbitrary setpoints not present in the training data, de Jong et al. introduced a fictitious reference mechanism in Data-Driven Model-Reference Control With Closed-Loop Stability: The Output-Feedback Case to calculate the necessary input sequences for output-feedback systems.

Dynamics Residual Learning for Kinetic Deviations

When an analytical kinetic model of a robot is available but imperfect due to hardware degradation or environmental variables, neural networks can be deployed to learn only the discrepancy between the ideal physics and reality.

Dong et al. applied this concept to high-speed mobile manipulation in Catch the Ball: Accurate High-Speed Motions for Mobile Manipulators via Inverse Dynamics Learning. By embedding deep neural networks as residual modules that learn the discrepancy between commanded and actual hardware trajectories, they compensated for mechanical inaccuracies without sacrificing the stability of established control laws.

Similarly, Li developed a two-stream neural network framework in Research on Intelligent Control System for Industrial Robots Based on Deep Learning to predict deviations from classical kinetic models. This hybrid approach applies the network's predictions as compensation terms, achieving sub-millimeter precision while preserving the reliability of classical control theory.

For robust compensatory control against sudden perturbations, Lörincz proposed a dual-network architecture in Neurocontroller using dynamic state feedback for compensatory control, where one network handles the feedforward signal for the desired state while an identical network generates an integrated compensatory signal based on the actual plant state.

Taming Complex and Non-Linear Actuators

The ultimate validation of residual inverse dynamics learning lies in systems where analytical modeling is virtually impossible. Pneumatic artificial muscles ("rubbertuators") offer human-safe compliance but suffer from severe hysteresis and non-linearities.

Early work by Groen et al. in Analysis and control of a rubbertuator arm demonstrated that a feedforward neural network mapping multi-dimensional state vectors directly to actuator pressures could successfully approximate these inverse dynamics. More recently, Zhang et al. modernized this bio-inspired approach in Control of Pneumatic Artificial Muscles with SNN-based Cerebellar-like Model by using a Spiking Neural Network (SNN) with error-driven synaptic plasticity, leveraging long-term depression triggered by trajectory deviations to refine motor outputs in real-time.

This capacity to bypass explicit fluid or aerodynamic solvers extends even to biological flight regimes. In Pruning deep neural networks generates a sparse, bio-inspired nonlinear controller for insect flight, the authors framed insect hovering as an inverse dynamics problem. By mapping desired state transitions directly to required forces and torques, a heavily pruned, ultra-efficient neural network could master highly non-linear aerodynamic interactions without traditional model-based computational overhead.

Key Foundational Work

Recognition of Manipulated Objects by Motor Learning (1991) — contributed 2 concept elements to this direction.
Analysis and control of a rubbertuator arm (1996) — contributed 1 concept elements to this direction.
A Neural Net Model for Adaptive Control of Saccadic Accuracy by Primate Cerebellum and Brainstem (1991) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_residual_inverse_dynamics_learning_d2156050,
  title = {residual inverse dynamics learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/residual-inverse-dynamics-learning/rdr_d2156050d89440baa412fcd60dd59760},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_residual_inverse_dynamics_learning_d2156050_v1,
  title = {residual inverse dynamics learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/residual-inverse-dynamics-learning/rdr_d2156050d89440baa412fcd60dd59760/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake