Abstract
This study evaluates whether modern kernel-based machine learning—specifically Gaussian Process Regression (GPR) and Support Vector Regression (SVR)—can outperform the industry-standard "local" learning methods for predicting robot dynamics. The authors find that while GPR and SVR offer significantly higher precision and easier setup, the traditional Locally Weighted Projection Regression (LWPR) remains the superior choice for real-time, online adaptation due to its low computational overhead.
Introduction
To control a robot precisely, an "inverse dynamics" model is required: a mathematical mapping that determines the exact torque to apply to a joint to achieve a specific position, velocity, and acceleration. Traditionally, engineers rely on rigid-body dynamics equations based on physics. However, real-world robots are complex systems with friction, hydraulic cables, and actuator nonlinearities that are nearly impossible to model analytically.
While machine learning can learn these complexities from data, the robotics community has long relied on Locally Weighted Projection Regression (LWPR) because it is fast enough to learn while the robot is moving (online learning). This paper investigates whether newer regression techniques like GPR and SVR have reached a point where they can provide better accuracy without sacrificing the real-time requirements of robotics.
Methodology
The authors compare three non-parametric regression methods:
- Locally Weighted Projection Regression (LWPR): The incumbent method, which approximates complex nonlinear functions using a collection of simple, local linear models. It is computationally efficient because it only updates the local part of the model relevant to the current state.
- Gaussian Processes Regression (GPR): A Bayesian approach that treats dynamics as a distribution of functions, providing both a prediction and a measure of uncertainty (variance).
- $ν$-Support Vector Regression ($ν$-SVR): A kernel-based method that finds a function deviating from training targets by no more than a specific margin while remaining as flat as possible to ensure generalization.
Experimental Setup
The study utilizes data from a 7-degree-of-freedom (DoF) SARCOS anthropomorphic master robot arm across two scenarios:
- Simulation Data: Generated using the SL-software package to create a clean baseline (approx. 14,000 training samples).
- Real Robot Data: Captured from the physical SARCOS arm, including real-world noise like friction and cable tension (approx. 13,600 training samples).
Results and Discussion
The Physics Gap
A key finding is the significant performance gap between standard physics-based models and data-driven ones. Testing a standard Rigid-Body Model (RBM) against real data revealed errors exceeding 200% on some joints, highlighting why learning is a necessity for complex robotics.
Global vs. Local Performance
GPR and SVR are "global" methods that look at the entire dataset to build a model, leading to much higher accuracy than LWPR's local "patches." On real robot data, GPR achieved a normalized mean squared error (nMSE) as low as 0.1% to 0.5% for most joints, while LWPR errors were often 2-4 times higher.
The Computational Tax
Precision comes at a price. GPR and SVR are computationally expensive. In real-time tests, the LWPR controller updated at 480 Hz, while GPR/SVR controllers could only update at 120 Hz because the math required for each prediction took longer. Despite being four times slower to update, the GPR and SVR models were so accurate that they achieved competitive tracking precision compared to LWPR.
Conclusion
While GPR and SVR provide superior accuracy and are easier to tune due to fewer hyperparameters, their computational bottleneck prevents their use for "online" learning where the robot adapts on the fly. Future work should focus on developing sparse or local versions of these kernel methods to combine high-precision modeling with the reflexes and speed of local models.
Summary updated