Imitation and Supervised Learning of Compliance for Robotic Assembly

Devesh K. Jha, Diego Romeres, William Yerazunis, Daniel NikovskiarXiv 2021

TL;DR

This paper introduces a sample-efficient framework for high-precision robotic assembly that combines Learning from Demonstration (LfD) with active supervised learning. By utilizing a novel Generalized Accommodation Controller (GAC) to bound contact forces safely, the system collects force-torque data to train Gaussian Process models that accurately correct for millimeter-level part misalignments.

What Problem Does This Paper Address?

In robotic manufacturing, mating parts with tight tolerances (such as peg-in-hole insertion) remains a classic challenge. Modern industrial robots are exceptionally precise at repeating trajectories, but complications arise when part positions vary between cycles (e.g., on a conveyor belt).

While computer vision can estimate new part locations, standard industrial cameras typically have an error margin of several millimeters—far exceeding sub-millimeter assembly tolerances. When a robot executes a rigid trajectory based on inaccurate vision data, it collides with the environment, generating massive contact forces that can damage the robot or the parts. Traditional compliance controllers often fail when misalignments are this large, and reinforcement learning approaches require an impractical amount of trial-and-error on physical hardware.

Methods

The authors propose a two-layered control architecture to bridge the gap between coarse vision data and precise physical insertion:

  1. High-Level Trajectory Generation (LfD): The robot learns a nominal insertion path from a single human demonstration using Dynamic Movement Primitives (DMPs). The DMP framework allows the robot to scale and generalize this path to new target locations provided by a camera.
  2. Low-Level Force Control (GAC): To handle the inevitable vision errors safely, the authors designed a novel Generalized Accommodation Controller (GAC). Unlike standard admittance controllers where contact forces can ramp up indefinitely if the robot is blocked, the GAC introduces a discounted integral error term ($\gamma$). This mathematical tweak guarantees that contact forces converge to a safe, constant, user-defined steady state during collisions.
  3. Misalignment Prediction via Gaussian Processes: Using the GAC, the robot safely explores the environment by intentionally introducing offsets ($x, y$) around the hole. It records the resulting 6D quasi-static contact wrenches (forces and moments). This data trains a Gaussian Process Regression (GPR) model to predict the magnitude of the misalignment and a Gaussian Process Classifier (GPC) to determine the direction of the required correction.
Fig. 2: The proposed method for design of a force controller-based learning method for part assembly. The proposed method uses an accommodation controller as a low-level controller for safe interaction during data collection. The data collected during exploration is used to train regression models to correct for the misalignment between the peg and the hole. This machine learning model-based controller is used at the higher level to correct the misalignment, so as to perform insertion.

Datasets

The method was validated entirely through physical experiments; no standard simulated datasets were used.

  • Custom Robot Dataset: The authors collected a dataset consisting of 1,200 trajectories on a physical Mitsubishi Electric RV-5AS-D Assista 6-DoF manipulator arm.
  • Data Collection Protocol: Misalignments were uniformly sampled within the range of $[-R, R]$ (where $R$ is the 10mm radius of the peg) around the circumference of the hole. Force-torque data was sampled at 280Hz over 30-second intervals.

Key Insights and Ideas

  • Force Convergence is Key for Learning: Traditional compliance controllers create highly dynamic, unpredictable force spikes upon impact. The GAC's ability to force the contact wrench into a predictable, quasi-static steady state is what makes machine learning viable here—it ensures the recorded force signature purely reflects the geometry of the misalignment, not the robot's residual momentum.
Fig. 3: This plot shows the convergence of contact wrench obtained using the proposed GAC during a contact configuration during an insertion attempt. The reference trajectory advances linearly in the insertion direction at constant velocity even after actual movement of the robot stops due to collision of the peg with the rim of the hole. For the same reference trajectory, an admittance controller would have produced ever increasing forces and moments.
  • Real-World Friction is Non-Linear: Analytical models often assume a linear relationship between displacement and force. However, the physical data revealed severe non-linearities caused by surface friction and edges, validating the choice of non-linear Gaussian Processes over simple linear compliance matrices.
  • Direction Over Exact Magnitude: Predicting the exact millimeter error from a single touch is incredibly difficult due to the complex geometry. The authors realized that iteratively predicting just the direction (sign) of the error using a classifier allows the robot to safely "step" towards the center of the hole.

Key Results

The system was evaluated on a physical peg-in-hole task with a 20mm diameter peg and a tight 1.5mm tolerance.

  • Directional Accuracy: The Gaussian Process Classifiers achieved 97% accuracy in predicting the direction of misalignment along the X-axis and 100% accuracy along the Y-axis.
  • Assembly Success Rate:
  • When the hole was manually moved to 50 novel locations, the proposed framework (LfD + Supervised Learning) achieved a 96% success rate (48/50).
  • When artificial errors were sampled randomly across the entire radius of the peg, it achieved a 98.75% success rate (79/80).
  • In comparison, the baseline open-loop DMP controller (relying purely on vision) had a 0% success rate because the camera's millimeter-level errors consistently caused catastrophic misses.

Limitations and Future Work

  • Execution Speed: Waiting for the GAC to reach a quasi-steady state to take a force reading takes time (roughly 5–10 seconds per attempt). This makes the overall insertion process slower than traditional hard-coded industrial cycles. The authors plan to explore training models on transient force data to speed up the loop.
  • Rotational Misalignment: The current formulation assumes that the peg and hole axes are perfectly parallel (positional error only). Real-world scenarios often involve angular/directional misalignments, which the authors intend to address in future iterations.

Summary updated

BibTeX
@misc{jha2021imitation,
  author = {Devesh K. Jha and Diego Romeres and William Yerazunis and Daniel Nikovski},
  title = {{Imitation and Supervised Learning of Compliance for Robotic Assembly}},
  year = {2021},
  eprint = {2111.10488},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.10488},
}
Figure