Abstract
This paper presents a novel approach for incremental semiparametric inverse dynamics learning. In particular, we consider the mixture of two approaches: Parametric modeling based on rigid body dynamics equations and nonparametric modeling based on incremental kernel methods, with no prior information on the mechanical properties of the system. This yields to an incremental semiparametric approach, leveraging the advantages of both the parametric and nonparametric models. We validate the proposed technique learning the dynamics of one arm of the iCub humanoid robot.
Introduction
Controlling a robot requires an accurate "inverse dynamics" model to calculate the torques needed for specific motions. Traditional approaches rely on either parametric models (physics-based Rigid Body Dynamics) or nonparametric models (data-driven machine learning). While parametric models are interpretable, they often fail to capture complex real-world effects like friction or non-rigid components. Conversely, nonparametric models can capture these effects but are often "black boxes" and computationally expensive to update as new data arrives. This paper proposes a "best of both worlds" solution: an incremental semiparametric model that uses physics as a baseline and fast, incremental machine learning to account for residuals, updating in real-time.
Methods
The authors propose a prioritized semiparametric architecture that combines a physics-based model with a data-driven error-correction layer.
The parametric part utilizes standard Rigid Body Dynamics (RBD) equations, updated continuously via Recursive Regularized Least Squares (RRLS). This allows the model to refine its estimate of physical parameters, such as limb mass, during operation. The nonparametric part handles the residuals—errors the physics model cannot explain—using Random Fourier Features (RFF) to approximate complex kernels. This approach maintains real-time performance by transforming the kernel problem into a fixed-dimensional space. The parametric model makes the initial prediction, and the residual is then processed by the nonparametric model, with the final output being the sum of both.
Experimental Validation
The approach was validated using the iCub humanoid robot, specifically focusing on the six-axis force/torque (F/T) sensor in the right upper arm. Data was collected at 10Hz during circular path tracking in the XY (transverse) plane for training and the XZ (sagittal) plane for testing and incremental updates.
Results
The Semiparametric (SP) model was compared against purely Parametric (P) and purely Nonparametric (NP) versions.
As shown in the results, both SP and NP models significantly outperformed the pure physics (P) model. At steady state, the force prediction error for SP/NP was approximately 1N, compared to 2N for the P model. Torque error was ~0.1Nm for SP/NP versus ~0.4Nm for P. Notably, the SP model exhibited a lower standard deviation in error and faster convergence during the initial transient phase, demonstrating the benefit of incorporating physical knowledge.
Conclusion
By prioritizing the physics-based model, the nonparametric component only needs to learn complex, non-rigid effects, leading to faster convergence and greater stability. The use of Random Fourier Features ensures computational efficiency for real-time control. Future work will explore extending this approach to whole-body dynamics and investigating specialized kernels for robotic dynamics.
Summary updated