eess.SYSep 19, 2026

Task aware Dynamic Movement Primitives for failure detection and recovery in contact rich manipulation

Authors: Bhavnashri A, Sobia Shafi, Krishnapuram Himavarshini, Anuj Tiwari

Organizations: Atomberg Technologies Limited, India · Indian Institute of Technology Madras (IITM), India · Appian Corporation, India

Abstract

Assembly remains a challenging robotic manipulation task in presence of tight tolerances and complex contact interactions. While Learning from Demonstration (LfD) frameworks like Dynamic Movement Primitives (DMPs) can effectively encode trajectories from a single demonstration, they are highly sensitive to variations in initial grasp configurations and external contact forces. Such variations often lead to task failures during the contact rich phases. This paper presents a task aware failure detection and recovery framework that integrates DMP based trajectory generation with real time stage classification. Utilizing Quadratic Discriminant Analysis (QDA) trained on multimodal sensor data, the framework segments execution into approach, alignment, and insertion stages for a Peg in Hole (PiH) assembly operation. By using goal relative position data as features, this classification generalizes to unseen goal positions without requiring retraining, matching the inherent generalization capability of DMPs. Anomaly detection is performed online using a Mahalanobis distance metric computed over force features, isolating contact induced failures from nominal trajectory execution. Upon failure detection, a spiral search recovery policy is triggered to actively realign the peg under contact before resuming the learned DMP insertion. The proposed approach is evaluated on an experimental setup achieving 95% stage classification accuracy, and demonstrates reliable failure recovery under lateral misalignments of up to 3 mm using only a single demonstration.

Figures & tables

Explore similar work

CardsList
  1. Interaction-Stiffness-Guided Basis Allocation in Dynamic Movement Primitives for Efficient Skill Transfer

    Oct 1, 2026Chan Xu, Silu Chen, Dehao Wang +6Robot Motion GenerationRobot Imitation Learning

  2. From a Single Demonstration to a General Policy for Contact-Rich Manipulation

    May 17, 2026Xing Li, Oliver BrockRobot Skill LearningContact-Rich Robotic Manipulation

  3. Learning Forward & Reverse Skills from a Single Unfinished Demonstration for Constrained Manipulation Tasks

    Jul 15, 2026Yexin Hu, Haoyi Zheng, Johannes Heidersberger +1Robot Skill LearningContact-Rich Robotic Manipulation