Abstract
Accurate dynamic model estimation is crucial for the precise control of robotic systems. While traditional parametric models based on rigid body dynamics offer global reliability, they often fail to capture complex, local non-linearities. Conversely, non-parametric machine learning models provide high local precision but struggle with extrapolation. This paper evaluates semi-parametric learning approaches that combine these paradigms. Through a series of experiments on synthetic and real-world datasets, we demonstrate that Jointly optimized Semi-Parametric Gaussian Processes (SPGP) consistently outperform sequential methods and pure black-box models, particularly in extrapolation scenarios.
Introduction
In the field of robotics, the ability to accurately calculate required motor torques for specific movements—known as inverse dynamics—is fundamental to high-performance control. Traditionally, this is achieved using parametric models derived from the laws of physics (e.g., rigid body dynamics). While these models generalize well to unseen configurations, they are often insufficient for capturing real-world complexities such as cable tension, temperature-dependent friction, or manufacturing imperfections.
Non-parametric models, such as Gaussian Processes (GP) or Neural Networks, offer an alternative by learning directly from experimental data. However, these "black-box" approaches often fail catastrophically when the robot operates outside the region covered by the training data, a phenomenon known as poor extrapolation. This research investigates semi-parametric learning as a solution, aiming to fuse the global structure of physics with the local flexibility of machine learning.
Methodology
The study compares a broad spectrum of modeling techniques across three distinct scenarios: a 1D toy example, a physical Variable Impedance Actuator (VIA), and simulated robot dynamics (SIMDYN). The methods evaluated include:
- Parametric Baselines: Linear Least Squares (LLS) and Support Vector Regression (SVR) to fit standard physics equations.
- Non-Parametric Baselines: Standard Gaussian Processes (GP) and Bayesian Neural Networks (BNN).
- Sequential Semi-Parametric: A two-stage process where a physics model is fitted first, and an ML model is subsequently trained on the resulting residuals.
- Joint Semi-Parametric (The Core Focus):
- SPGP (Semi-Parametric Gaussian Process): The physical model acts as the mean function of the GP, allowing simultaneous optimization of physical constants and ML hyperparameters.
- BAMBANN (Bayesian Model-based Artificial Neural Network): A parallel architecture where a physical model and a dense neural network contribute to a summed output.
Key Results and Insights
Joint Optimization vs. Sequential Training
A primary insight from the study is that joint optimization of physics and ML components is significantly superior to sequential training. In sequential approaches, the initial parametric fit often over-optimizes to the data, leaving a residual that is harder for the subsequent ML model to interpret. Joint optimization allows the two components to "negotiate" the explanation of the data, leading to better overall generalization.
Extrapolation Performance
The superiority of semi-parametric models is most evident in extrapolation tasks. As shown in Figure 3, pure non-parametric models like GPs and BNNs exhibit massive error spikes when tested on data outside the training range. In contrast, SPGP maintains a low Root Mean Square Error (RMSE) because the underlying physical model provides a reliable "guide" where data is sparse.
Real-World Validation
On the physical VIA actuator, the auto-regressive variant of SPGP was uniquely successful in capturing peak torques driven by complex friction. Figure 6 demonstrates that SPGP achieves the lowest RMSE in the auto-regressive case, outperforming both pure ML and other semi-parametric architectures like BAMBANN. The results also highlight that initialization matters; providing a "reasonable guess" for physical parameters (SPGP) yields better results than starting from zero (SPGP_from_zeroes), which can lead to physically implausible local minima.
Uncertainty and Robustness
Beyond accuracy, SPGP provided the most realistic uncertainty estimates, as measured by Negative Log-Likelihood (NLLH). Additionally, the study found that using SVR for the physical component in sequential methods offered better robustness against outliers compared to standard Least Squares.
Discussion and Limitations
While SPGP emerged as the most effective method, it faces challenges regarding computational scaling. The $O(N^3)$ complexity of standard GPs necessitates the use of sparse GP approximations for larger datasets. Furthermore, the BAMBANN approach showed promise but was highly sensitive to hyper-parameters, suggesting that more research is needed to make model-based neural networks as "plug-and-play" as GPs.
Conclusion
This research demonstrates that jointly optimized semi-parametric models, specifically SPGP, provide a powerful framework for robotic dynamic model estimation. By leveraging physical principles to anchor machine learning predictions, these models achieve high precision without sacrificing global reliability, paving the way for more robust and adaptive robot control systems.
Summary updated