Probabilistic Latent Variable Modeling for Dynamic Friction Identification and Estimation

Victor Vantilborgh, Sander De Witte, Frederik Ostyn, Tom Lefebvre, Guillaume Crevecoeur

TL;DR

Friction in robotic joints is a complex, "memory-dependent" phenomenon that is notoriously difficult to model using physics alone. This paper introduces a probabilistic framework that combines traditional robot dynamics with neural networks and "latent variables" to capture these hidden friction effects. By using the Expectation-Maximization (EM) algorithm and particle filtering, the authors created a model that significantly outperforms both classic physics-based models and standard deep learning approaches in predicting robot motion.

What Problem Does This Paper Address?

In robotics, if you can’t model friction, you can’t control motion precisely. Simple models assume friction is just a function of velocity (like sliding a block on a floor), but real industrial robot joints exhibit "dynamic friction." This includes hysteresis (where friction depends on the path taken) and the Stribeck effect (where friction actually decreases slightly as you start moving).

Engineers usually choose between two paths:

  1. Physics-based models (e.g., LuGre): These use "bristle" analogies to explain friction but are hard to tune and often oversimplify the reality of lubricants, temperature, and wear.
  2. Pure Data-Driven models (e.g., RNNs): These are flexible but often "drift" or become unstable during long simulations because they don't understand the underlying physics of the robot's mass and gravity.

The authors bridge this gap by creating a hybrid model that keeps the known physics of the robot while using Neural Networks (NNs) to learn the "unknown unknowns" of friction through hidden, or latent, variables.

Methods

The core of the approach is a Probabilistic State-Space Model (PSSM).

  • The Hybrid Structure: The authors take the standard inverse dynamic model (which accounts for inertia, Coriolis forces, and gravity) and insert two neural networks. One NN calculates the friction torque, and the other defines the dynamics of a "latent state" ($z_t$). This latent state acts as a digital memory, capturing the hidden physical states (like microscopic surface deformations) that influence friction.
  • Learning the Unobservable: Because we can't directly measure these latent friction states, the identification problem is "partially unsupervised."
  • The Algorithm: To train the model, they use the Expectation-Maximization (EM) algorithm:
  • E-step: Uses Sequential Monte Carlo (SMC), specifically particle filters, to estimate the most likely values of the hidden latent states based on noisy sensor data.
  • M-step: Updates the neural network weights and the robot's physical parameters (like mass and center of gravity) to maximize the likelihood of the observed data.

Datasets

The researchers validated their model using a KUKA KR6 R700 industrial robot.

  • Training Data: They collected approximately 3 minutes of data across three different trajectories, executed twice. The trajectories were designed to "persistently excite" the robot—moving it in ways that make friction effects obvious (varying speeds and frequent direction reversals).
  • Validation Data: A separate fourth trajectory was used to test "open-loop" prediction—essentially asking the model, "If I give the robot these torques, where will the joints be in 30 seconds?"
  • Sensors: They used standard motor currents (to calculate torque) and joint encoders (for position), sampled at 250Hz.

Key Insights and Ideas

  • Latent Variables as "Memory": By allowing the model to evolve its own latent states, the researchers don't have to tell the model why friction is happening. The model discovers a representation of the "memory" needed to predict hysteresis loops on its own.
  • Stability through Physics: Unlike pure Recurrent Neural Networks (RNNs), which often "explode" or produce unrealistic values when predicting far into the future, this model is constrained by the rigid-body dynamics of the robot. This makes it much more robust for long-term simulations.
  • No Pre-processing Required: Because the framework is probabilistic, it inherently handles sensor noise, eliminating the need for the aggressive (and sometimes distorting) data filtering required by traditional identification methods.

Key Results

The proposed Latent Variable Model (LVM) was benchmarked against several baselines, including the physics-based LuGre and GMS models, and standard NNs/RNNs.

  • Superior Accuracy: In 10-second prediction windows, the LVM achieved a Mean Squared Error (MSE) of 0.024, outperforming the LuGre model (0.027) and the RNN (0.039).
  • Long-term Robustness: Over a complete trajectory, the LVM maintained an MSE of 0.11. In contrast, the standard RNN and simple models accumulated so much error that their results were omitted from the long-term analysis.
  • Qualitative Success: The LVM successfully captured the "Stribeck effect" and clear hysteresis loops in the friction-velocity plots, which are critical for high-precision tasks like sensorless force estimation.

Limitations and Future Work

  • Computational Intensity: The combination of EM and Particle Filtering is computationally expensive. Training takes significantly longer than standard deep learning.
  • Dimensionality: The study focused primarily on Joint 1 of the robot. The authors note that future work is needed to scale this to full 6-DOF or 7-DOF systems, where the interactions between joints become even more complex.
  • Latent Interpretability: While the latent states improve prediction, they remain "black boxes." Further research could explore if these learned states correlate with physical properties like joint temperature or lubricant viscosity.

Summary updated

BibTeX
@inproceedings{vantilborgh2025probabilistic,
  author = {Victor Vantilborgh and Sander De Witte and Frederik Ostyn and Tom Lefebvre and Guillaume Crevecoeur},
  title = {{Probabilistic Latent Variable Modeling for Dynamic Friction Identification and Estimation}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2025},
  doi = {10.1109/icra55743.2025.11128668},
}
Figure