A Bayesian Approach to Nonlinear Parameter Identification for Rigid Body Dynamics

Jo-Anne Ting, Michael N. Mistry, Jan Peters, Stefan Schaal, Jun Nakanishi

Abstract

Accurate identification of physical parameters is crucial for the control of complex robotic systems. Traditional regression methods often struggle with "errors-in-variables"—noise in both input and output sensors—and the production of physically inconsistent models. This paper introduces a robust Bayesian framework based on Joint Factor Analysis (JFA) that explicitly models input noise and utilizes Automatic Relevance Determination (ARD) to handle high-dimensional, redundant data. By incorporating a post-processing nonlinear projection, the method ensures that all identified parameters adhere to physical laws. Experimental results on synthetic and real-world robotic platforms demonstrate a 10–20% improvement in accuracy and tracking performance over standard techniques.

Introduction

Controlling advanced robots, such as humanoids, requires precise mathematical models of their dynamics. Identifying parameters like mass, center of gravity, and inertia is typically approached via CAD data or linear regression. However, these methods face two significant challenges: the "errors-in-variables" problem, where sensor noise in joint positions and velocities biases standard regression estimates, and physical inconsistency, where data-driven models may suggest impossible physical properties like negative mass.

Methodology

The proposed approach consists of a two-stage process: a Bayesian identification phase followed by a physical consistency enforcement phase.

Bayesian Joint Factor Analysis (JFA)

The core of the method is a modified Factor Analysis framework. Unlike standard regression, which assumes noise only in the output ($y$), JFA assumes that both observed inputs ($x$) and outputs ($y$) are generated by a shared, latent "clean" variable ($t$).

Graphical models for JFA and its Bayesian extension.

To manage high-dimensional feature spaces, the authors employ Automatic Relevance Determination (ARD). By introducing precision variables ($\alpha_m$) for each dimension, the framework can automatically prune redundant or noisy inputs by driving their associated weights to zero. Furthermore, a mathematical decoupling of dimensions reduces the computational complexity from $O(d^3)$ to $O(d)$, making the algorithm scalable for complex robots.

Enforcing Physical Consistency

To prevent "impossible" physics, the authors apply a nonlinear projection to the Bayesian estimates. They define "virtual parameters" (e.g., the square root of mass) that, when transformed back, guarantee physical validity, including positive-definite inertia matrices and adherence to the Parallel Axis Theorem.

Experimental Evaluation

The framework was evaluated using:

  1. Synthetic Data: A 100-dimensional dataset designed to test robustness against noise and redundancy.
  2. 7-DOF Sarcos Oculomotor Vision Head: A robotic system with complex neck and eye joint dynamics.
  3. 10-DOF Sarcos Anthropomorphic Arm: A high-dimensional limb requiring the identification of 110 features.

Results

The Bayesian approach demonstrated significant advantages across all test cases. On synthetic data, it consistently outperformed Ordinary Least Squares (OLS), LASSO, and Stepwise regression, particularly in high-noise scenarios where traditional methods suffer from systematic bias.

Performance comparison on synthetic data.

In real-world tests on the Sarcos robotic head and arm, the method reduced tracking errors in position and velocity by 10–20% compared to ridge regression. Notably, the Bayesian framework remained stable in high-dimensional settings where methods like Stepwise regression failed to converge.

Discussion and Conclusion

A key insight of this work is that input noise is a "silent killer" in robot identification, causing persistent biases that cannot be resolved by simply increasing data volume. The JFA framework addresses this by explicitly modeling the noise structure. While the use of the Expectation-Maximization (EM) algorithm introduces some computational overhead compared to single-shot least-squares, the gains in accuracy and physical reliability are substantial. Future work will explore extending this framework to real-time, online parameter identification for adaptive control.

Summary updated

BibTeX
@inproceedings{ting2006bayesian,
  author = {Jo-Anne Ting and Michael N. Mistry and Jan Peters and Stefan Schaal and Jun Nakanishi},
  title = {{A Bayesian Approach to Nonlinear Parameter Identification for Rigid Body Dynamics}},
  booktitle = {Robotics: Science and Systems},
  year = {2006},
  doi = {10.15607/rss.2006.ii.032},
}
Figure