Introduction
Teaching robots complex, dexterous skills presents a significant challenge in robotics. While Learning from Demonstration (LfD) provides a strong starting point, it often struggles with extrapolation—situations outside the training data. Conversely, Reinforcement Learning (RL) allows for adaptation but is frequently sample-inefficient and can produce unnatural or unsafe movements. Furthermore, transferring skills between robots with different physical structures (morphologies) typically requires labor-intensive manual mapping.
The Adaptive Conditional Neural Movement Primitive (ACNMP) framework addresses these issues by creating a unified latent representation that facilitates both imitation and self-improvement while enabling morphology-agnostic skill transfer.
The ACNMP Architecture
The core of the framework is the ACNMP, which builds upon Conditional Neural Processes (CNPs). CNPs use an encoder-decoder architecture to learn and represent stochastic processes.
The system operates through two primary components:
- Encoder-Decoder Architecture: The encoder processes "observation points"—pairs of time and state from a trajectory—and maps them into a latent representation. The decoder then takes this latent vector along with a "query time" to predict the robot's next state, outputting both a mean ($\mu_q$) and variance ($\sigma_q$).
- Cross-Morphology Transfer: By training ACNMPs for different robots to map their unique joint configurations to a shared latent space via a "proxy task," skills learned by one robot can be interpreted and executed by another, regardless of joint count or physical structure.
Simultaneous Training and Adaptation
A distinguishing feature of ACNMP is that it performs LfD and RL simultaneously rather than sequentially. This is achieved through "representation sharing."
As shown in the framework loop, the system uses a Supervised Learning (SL) loss to maintain fidelity to human demonstrations and a Policy Gradient RL loss to explore new solutions. By forcing RL updates to occur within the same latent space used for imitation, the robot is constrained to explore meaningful variations of the skill, preserving the "shape" and safety constraints of the original demonstration.
Experimental Evaluation
The authors evaluated ACNMP across diverse simulated and real-world environments:
- Simulated Tasks: 2D obstacle avoidance, cylinder pushing with a 3-DOF arm, and cross-morphology transfer between 3-DOF and 4-DOF arms (reaching, pushing, peg-insertion).
- Real-World UR10 Robot: Pick-and-place tasks with varying obstacle heights and a pouring task requiring extrapolation to a 1400g cup (beyond the 650-1200g training range).
Key Results
ACNMP demonstrated significant improvements in sample efficiency and generalization:
- Superior Extrapolation: In pushing tasks, ACNMP generalized to new targets in just ~130 roll-outs, compared to 1,200 required by the ProMP+RL baseline.
- Data Efficiency: In obstacle avoidance benchmarks, ACNMP reached target performance with 0.7 million samples, while competing models required 10 million.
- Seamless Transfer: A 4-DOF robot achieved a 90% success rate in a button-pressing task after observing a 3-DOF peer for only 11 iterations.
- Real-World Precision: In the 1400g pouring task, ACNMP reduced the error from 600g (standard LfD) to just 27g after 18 self-exploration trials.
Discussion and Future Work
While ACNMP offers substantial benefits, it relies on deep neural networks, which introduce higher computational overhead than simpler mathematical primitives like DMPs. Additionally, in cases of extreme extrapolation, the trajectory shape may eventually diverge from the original human style.
Future research will focus on incorporating tactile and force feedback to handle "rich contacts" and developing theoretical guarantees for shape preservation during adaptation.
Summary updated