Neural Internal Model Control: Learning a Robust Control Policy Via Predictive Error Feedback

Feng Gao, Chao Yu, Yu Wang, Yi Wu

TL;DR

This paper introduces Neural Internal Model Control (NeuralIMC), a novel framework that combines model-based and reinforcement learning (RL) control to achieve robust robot motion control. By using a simplified predictive model and feeding its prediction errors back to an RL policy, NeuralIMC significantly enhances robustness to disturbances and model uncertainties, outperforming state-of-the-art methods on quadrotors and quadrupedal robots.

What Problem Does This Paper Address?

Achieving precise and stable motion control for robots operating in complex, dynamic, and uncertain environments is a significant challenge. Traditional model-based control methods often struggle with nonlinearities and unpredictable disturbances because they rely on accurate system models, which are difficult to obtain for many real-world robots. On the other hand, reinforcement learning (RL) methods, while powerful, can be brittle and perform poorly when encountering scenarios not seen during training. This paper aims to bridge this gap by developing a control strategy that leverages the strengths of both approaches, creating a more robust and generalizable control system.

Methods

The core of the proposed NeuralIMC framework is the integration of a simplified predictive model with a model-free RL algorithm.

  • Simplified Predictive Model: Instead of trying to model the full, complex dynamics of a robot, NeuralIMC uses a simplified model that treats the robot's body as a rigid transformation. This model predicts the robot's next state (position, orientation, velocity, angular velocity) based on current state and control commands. This simplification bypasses high-dimensional nonlinearities and reduces the need for extensive parameter tuning.
  • Predictive Error Feedback: The difference between the predicted state from the simplified model and the actual observed state of the robot is calculated as a "predictive error." This error signal, which captures discrepancies due to model inaccuracies or external disturbances, is then fed as an additional input to the RL policy.
  • Reinforcement Learning: A model-free RL algorithm, specifically Proximal Policy Optimization (PPO), is used to train the control policy. The policy learns to react to the predictive error, effectively compensating for unmodeled dynamics and disturbances.
  • Integration: The framework is designed to be plug-and-play, allowing it to be integrated with existing RL algorithms by simply augmenting the policy's input with the predictive error.

Datasets

The paper does not explicitly mention or introduce new datasets. Instead, it relies on:

  • Simulated Environments: The experiments are conducted using simulators like Isaac Gym for quadrupedal robots and a customized simulator for quadrotors, which allow for extensive training and randomization of environmental parameters and robot dynamics.
  • Real-World Deployment: A quadrotor with rope-suspended payloads is used for real-world testing, demonstrating sim-to-real transfer capabilities.

Key Insights and Ideas

  • Simplification is Key: The paper demonstrates that simplifying the robot's dynamics model to a rigid-body transformation, rather than attempting to capture complex nonlinearities, is sufficient for generating a useful predictive error signal. This makes the approach applicable to a wider range of robots.
  • Predictive Error as a Universal Signal: The predictive error acts as a direct indicator of deviations from expected behavior, effectively signaling both unmodeled dynamics and external disturbances. This unified signal allows the RL policy to learn a general compensation strategy.
  • Robustness through Feedback: By directly feeding the predictive error into the RL policy, the system learns to adapt and react to unexpected events in real-time, leading to significantly improved robustness compared to methods that rely solely on model estimation or pure RL.
  • Generalizability: The simplified model and the predictive error feedback mechanism contribute to better generalization across different robot morphologies (quadrotors and quadrupeds) and varying environmental conditions.

Key Results

  • Quadrotors: NeuralIMC consistently outperformed state-of-the-art methods (including L1-PID, L1-MPPI, CAL, PPO, RMA, and DATT) in tracking error across various smooth and infeasible trajectories, especially under random external force disturbances. For example, in evaluation, NeuralIMC achieved a tracking error of 0.054m for zigzag trajectories, significantly better than most baselines.
  • Quadrupedal Robots: The framework also showed superior performance compared to PPO, RMA, and HIM, achieving better tracking for both linear and angular velocities under various disturbances (none and impulse). For instance, under impulse disturbance, NeuralIMC achieved a linear velocity tracking error of 0.086 m/s, outperforming HIM (0.091 m/s) and being competitive with the privileged RMA (0.096 m/s).
  • Real-World Deployment: A real-world experiment on a quadrotor with rope-suspended payloads demonstrated the framework's ability to maintain stable flight and accurate tracking even with significant payload variations, highlighting its practical robustness.
  • Noise Tolerance: The method showed competitive performance even with mild noise in the predictive model, indicating its resilience.

Limitations and Future Work

  • Limited Hyperparameter Sweeps: The authors acknowledge that limited hyperparameter sweeps for baselines might have contributed to their degraded performance in some scenarios.
  • Model Simplification Trade-offs: While simplification enhances generalization, it might lead to marginal performance degradation compared to full-dynamics models in specific, well-defined scenarios.
  • Future Work: The authors suggest conducting more extensive real-world experiments on diverse robots and exploring methods for improving disturbance training for even greater robustness. They also mention investigating further improvements to the predictive model and its integration with other learning algorithms.

Summary updated

Abstract

Accurate motion control in the face of disturbances within complex environments remains a major challenge in robotics. Classical model-based approaches often struggle with nonlinearities and unstructured disturbances, while RL-based methods can be fragile when encountering unseen scenarios. In this paper, we propose a novel framework, Neural Internal Model Control, which integrates model-based control with RL-based control to enhance robustness. Our framework streamlines the predictive model by applying Newton-Euler equations for rigid-body dynamics, eliminating the need to capture complex high-dimensional nonlinearities. This internal model combines model-free RL algorithms with predictive error feedback. Such a design enables a closed-loop control structure to enhance the robustness and generalizability of the control system. We demonstrate the effectiveness of our framework on both quadrotors and quadrupedal robots, achieving superior performance compared to state-of-the-art methods. Furthermore, real-world deployment on a quadrotor with rope-suspended payloads highlights the framework's robustness in sim-to-real transfer. Our code is released at https://github.com/thu-uav/NeuralIMC.
BibTeX
@article{gao2025neural,
  author = {Feng Gao and Chao Yu and Yu Wang and Yi Wu},
  title = {{Neural Internal Model Control: Learning a Robust Control Policy Via Predictive Error Feedback}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2025.3573169},
}
Figure