Learning Movement Assessment Primitives for Force Interaction Skills

Xiang Zhang, Athanasios S. Polydoros, Justus H. PiaterarXiv 2018

Abstract

In modern manufacturing, Programming by Demonstration (PbD) allows robots to learn complex motions from human guidance. However, autonomously assessing the success of tasks involving force interaction—such as snapping parts or driving screws—remains a significant challenge. This paper presents Movement Assessment Primitives (MAPs), a task-agnostic framework that models the statistical relationship between a robot's pose and the forces it encounters. By utilizing Gaussian Processes (GPs) to capture wrench-pose signatures and a Naive Bayes classifier for success evaluation, the system eliminates the need for hard-coded thresholds. Experimental results on industrial assembly tasks demonstrate high accuracy (80-93%) and robust generalization across varying positions and human teaching styles.

Introduction

The shift toward flexible manufacturing requires robots that can be easily programmed by non-experts. While Dynamic Movement Primitives (DMPs) effectively represent motion, they do not provide a mechanism for self-evaluation. Current assessment methods often rely on brittle, task-specific logic or torque thresholds that require expert tuning for every new part. This paper addresses the need for a generic "assessment primitive" that can be taught as easily as the motion itself, enabling robots to detect failures or generate reward signals for reinforcement learning autonomously.

Methodology

The MAPs framework treats the "feel" of a task as a unique statistical signature. The process begins with kinesthetic teaching, where the robot records its end-effector pose ($x$) and the exerted wrench ($w$)—comprising force and torque—at every time step.

The Movement Assessment Primitives (MAPs) framework pipeline.

The core of the method involves modeling the wrench as a function of the pose using Gaussian Processes. Unlike temporal models that look at force over time, MAPs focus on force over space, making the assessment invariant to execution speed or timing variations. A zero-mean GP prior is employed to naturally ignore approach phases where no contact occurs, focusing the model on the contact phase. During reproduction, the system generates a new GP and compares it to the demonstration model using the Hellinger distance. These distance scores across six dimensions are then processed by a Naive Bayes classifier to determine the outcome.

Experimental Setup

The system was evaluated using a KUKA iiwa robot on several use cases:

  • Toy cases: Square snap-fit (high constraint), round snap-fit (multiple success paths), and M3.5 screwing.
  • Industrial cases: Tweeter insertion and speaker fastening from a vehicle audio assembly line.

The dataset comprised 11 human demonstrations and over 200 execution trials, covering both successful and failed attempts.

Results and Discussion

The MAPs framework achieved high classification accuracy, ranging from 80% to 93% for industrial tasks and reaching 100% for specific toy cases.

Comparison of joint positions and force signatures between human demonstration and robot reproduction.

Key findings include:

  • Data Efficiency: The classifier successfully identified failures even with minimal training data, such as a single failure example in industrial snap-fitting.
  • Generalization: The model remained effective when the task location was shifted, as it relies on relative pose rather than absolute coordinates.
  • Robustness: The system effectively filtered out variations in human teaching styles, focusing on the underlying force-pose relationship rather than timing noise.
  • Dimensional Weighting: The system automatically handles the varying importance of different force dimensions (e.g., vertical force $F_z$ being more critical for snap-fits).

Conclusion

MAPs provide a scalable, task-agnostic solution for robot self-assessment in contact-rich tasks. While the current implementation requires retraining for each new task and operates offline, future work aims to enable online assessment for real-time failure prevention and integration with reinforcement learning to provide autonomous reward signals.

Summary updated

Abstract

We present a novel, reusable and task-agnostic primitive for assessing the outcome of a force-interaction robotic skill, useful e.g.\ for applications such as quality control in industrial manufacturing. The proposed method is easily programmed by kinesthetic teaching, and the desired adaptability and reusability are achieved by machine learning models. The primitive records sensory data during both demonstrations and reproductions of a movement. Recordings include the end-effector's Cartesian pose and exerted wrench at each time step. The collected data are then used to train Gaussian Processes which create models of the wrench as a function of the robot's pose. The similarity between the wrench models of the demonstration and the movement's reproduction is derived by measuring their Hellinger distance. This comparison creates features that are fed as inputs to a Naive Bayes classifier which estimates the movement's probability of success. The evaluation is performed on two diverse robotic assembly tasks -- snap-fitting and screwing -- with a total of 5 use cases, 11 demonstrations, and more than 200 movement executions. The performance metrics prove the proposed method's capability of generalization to different demonstrations and movements.
BibTeX
@misc{zhang2018learning,
  author = {Xiang Zhang and Athanasios S. Polydoros and Justus H. Piater},
  title = {{Learning Movement Assessment Primitives for Force Interaction Skills}},
  year = {2018},
  eprint = {1805.04354},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.04354},
}
Figure