Paper commentary
Multi-CONDOR: Learning Multistable Motion Primitives from Demonstration
- Problem Motion primitives that converge to one prescribed goal cannot keep several acceptable endpoints when a task allows discrete alternatives or a continuous goal contour.
- Method Trains a CONDOR-style encoder and decoder vector field with imitation and stability losses, aligned to a Gaussian-potential or radially attracting circle reference in latent space.
- Results Reduced mean trajectory RMSE by approximately 72% relative to single-attractor CONDORs with a state machine, and reached 0.00% spurious attractors on both discrete benchmarks.

Fig. 3 . Reference dynamics fL in two dimensions: two isolated stable attractors (blue dots, left) and a continuous attracting circle (dashed blue line, right).
Original paper · CC BY 4.0 · Gabriele Giuseppe Di Marzo, Mariano Ramírez Montero, Maximilian Stölzle, Rodrigo Pérez-Dattari, Cosimo Della Santina · Multi-CONDOR: Learning Multistable Motion Primitives from Demonstration · Original paper figure · Extracted the figure area from page 4 of the original PDF.Why one fixed goal is not enough
Point-to-point motion primitives usually converge to one prescribed goal, which fits poorly with tasks where a robot can finish in more than one way.
A disturbance can push the robot toward a different valid goal, but a primitive tied to its original endpoint cannot exploit that.
Augmented-SVM handles discrete attractors by partitioning the state space and modulating the vector fields so that each attraction region is kept. The authors note that neither approach gives one framework that covers both several discrete attractors and continuous goal sets with autonomous dynamics.
How the rollouts and stability losses are built
The task dynamics are a neural network \( f_\theta = \phi_\theta \circ \psi_\theta \), where the encoder \( \psi_\theta \) maps a task state \( x \) to a latent state \( y \) and the decoder \( \phi_\theta \) maps that latent state to a task velocity.
Initial states \( x_{0,b} \) are sampled uniformly from the task domain \( T \), and both the task and the reference dynamics are rolled out with time step \( \Delta t \) for \( H_s \) steps, starting the reference at \( y^L_{0,b} = \psi_\theta(x_{0,b}) \). As a safeguard, rollout steps that would leave the task domain are projected back onto its boundary.
The matching loss compares each reference latent rollout with the encoded task rollout at the same step, using the squared Euclidean distance between them. \[ \ell_{\text{match}}=\frac{1}{B_s H_s}\sum_{b=0}^{B_s-1}\sum_{t=1}^{H_s}\left\|y^L_{t,b}-y^T_{t,b}\right\|_2^2 \] Matching alone can be satisfied by mapping every task state to one latent equilibrium, so it does not by itself prevent collapsed encodings.
The separation loss penalizes consecutive encoded task states whose squared latent distance falls below a margin \( m \). \[ \ell_{\text{sep}}=\frac{1}{B_s H_s}\sum_{b=0}^{B_s-1}\sum_{t=1}^{H_s}\max\!\left(0,\; m-\left\|y^T_{t,b}-y^T_{t-1,b}\right\|_2^2\right) \] The penalty stays active near equilibria, including the desired goals, and a small margin limits its effect there.
The stability loss is \( \ell_{\text{stable}}=\ell_{\text{match}}+\ell_{\text{sep}} \).
When the learned field inherits convergence
Let \( Z=\{y: f_L(y)=0\} \) be the latent equilibrium set. The transfer result takes a \( C^1 \) function \( V_L \) with \( \dot V_L(y)=\nabla V_L(y)^\top f_L(y)\le 0 \), where the derivative is zero only at latent equilibria, and assumes that the task set \( T \) is compact and positively invariant under \( f_\theta \). It also requires the dynamics-matching condition \[ J_{\psi_\theta}(x)\,f_\theta(x)=f_L(\psi_\theta(x)) \] for all \( x \in T \), where \( J_{\psi_\theta}=\partial\psi_\theta/\partial x \).
Under these conditions, every task trajectory converges to the set \( E=\{x\in T:\psi_\theta(x)\in Z\} \).
The proof composes \( V_L \) with the encoder to form \( V_T=V_L\circ\psi_\theta \) and uses the chain rule with the matching condition to get \( \dot V_T(x)=\dot V_L(\psi_\theta(x))\le 0 \). LaSalle's invariance principle then places the convergence set inside \( E \), because \( \dot V_T(x)=0 \) only when \( \psi_\theta(x)\in Z \).
The result alone does not say that the converged states are the desired goals, so the authors add an unstable set \( U \) of task states whose encodings coincide with unstable reference equilibria, excluding goals \( G \). Three requirements follow: desired goals must map to latent equilibria, the convergence set must contain only goals and states in \( U \), and the encoder must be one-to-one on \( G \cup U \).
The authors argue that small perturbations along unstable directions, such as measurement noise or tracking error, make persistent trapping at a saddle unlikely in practice.
The matching loss pushes the encoder toward the dynamics-matching condition, and the separation loss discourages collapsed encodings along trajectories. The mapping loss handles the discrete-goal requirements, and the curve and orientation losses handle the contour requirements. Training only encourages the matching condition, so the guarantee is a sufficient condition rather than a property enforced by construction.
Two latent references for two goal structures
Multi-CONDOR uses a Gaussian potential for isolated goals and a radially attracting circle for a continuous goal contour, and Figure 3 shows the two reference fields in two dimensions. The Gaussian case has two stable attractors, while the circle case has a continuous curve of attraction.
The mapping-loss weight is reduced over training as \( \lambda_{\text{map}}(k+1)=\gamma\lambda_{\text{map}}(k) \) with \( \gamma\in(0,1) \), because the authors observe that goal separation holds after the early iterations.
For the circle, the latent state is split as \( y=(u,z) \), with \( u\in\mathbb{R}^2 \), and the dynamics are \( \dot u=\beta(1-\|u\|_2^2)\,u \) and \( \dot z=-z \) with \( \beta>0 \). In polar form with \( r=\|u\|_2 \), the radius obeys \( \dot r=\beta r(1-r^2) \) and the angle is constant, so the radius approaches one and \( z \) decays to zero.
The curve loss puts contour encodings at unit radius, with \( r(x)=\|u(\psi_\theta(x))\|_2 \), and pushes sampled non-goal encodings outside a distance set by \( \epsilon_c \) from the latent circle. Radial placement alone does not order contour points, so each contour point gets a target angle, and the orientation loss compares the normalized latent planar coordinates with the target unit vectors using \( \max(r(x_i),\varepsilon) \) in the denominator.
How the losses are combined and trained
The imitation loss follows CONDOR: demonstration segments start the task rollouts and the loss is the mean squared trajectory error over \( H_i \) steps. \[ \ell_{IL}=\frac{1}{B_i H_i}\sum_{b=0}^{B_i-1}\sum_{t=1}^{H_i}\left\|x^*_{t,b}-\hat x_{t,b}\right\|_2^2 \]
The discrete-goal objective adds the mapping loss to the imitation and stability losses, \[ \mathcal{L}_d=\lambda_{IL}\ell_{IL}+\lambda_{\text{stable}}\ell_{\text{stable}}+\lambda_{\text{map}}(k)\,\ell_{\text{map}}, \] where \( k \) indexes training iterations. The contour objective replaces the mapping loss with the curve and orientation losses, \( \mathcal{L}_c=\lambda_{IL}\ell_{IL}+\lambda_{\text{stable}}\ell_{\text{stable}}+\lambda_{\text{curve}}\ell_{\text{curve}}+\lambda_{\text{orient}}\ell_{\text{orient}} \).
All parameters are optimized jointly, with nonnegative weights balancing the terms.
The listed settings are horizons \( H_i=10 \) and \( H_s=7 \), margin \( m=0.033 \), weights \( \lambda_{IL}=1 \), \( \lambda_{\text{stable}}=0.4 \) and \( \lambda_{\text{map}}=0.05 \) with decay factor \( \gamma=0.99 \).
Discrete goal benchmark results
The benchmark covers seven hand-drawn 2D tasks, three with two attractors and four with three attractors. Each task has 6 to 8 demonstrations for two attractors and 12 to 24 for three, with equal counts per goal, and goal positions are the mean endpoints of k-means clusters.
Imitation is scored by RMSE, DTWD and the Fréchet distance (FD) between simulated trajectories and the demonstrations.
The single-attractor baseline trains one CONDOR per goal and selects the model of the nearest goal at execution time. The two ablations are Only imitation, which removes the stability and mapping losses, and No mapping loss, which sets \( \lambda_{\text{map}}=0 \) and keeps the other losses.
On the three-attractor tasks, the full method reaches RMSE 14.08 ±10.54, 0.00 ±0.00 spurious attractors and distance from goals 2.69 ±0.79. In both settings the full method has a higher RMSE than the Only imitation ablation, which the authors describe as a trade for stability.
The mean RMSE reduction of approximately 72% is reported across the benchmark.
Removing the mapping loss raises the two-attractor RMSE to 32.00 ±32.89 and the spurious-attractor rate to 13.33 ±35.19, with distance from goals 21.25 ±48.09. On three attractors it records 7.38 ±13.56 spurious attractors and distance from goals 3.77 ±3.14, against 0.00 and 2.69 for the full method. The variance across tasks and seeds is large for these ablations, so the difference is clearest in the two-attractor case.
The StableNODE results show a tradeoff between imitation accuracy and stability, and the authors report that improving one often degraded the other during tuning. The reported averages use five random seeds, and the two-attractor averages cover three tasks while the three-attractor averages cover four.
Grasping a box from either handle
A Franka FR3 arm grasps a box from either side, and the field is learned from ten kinesthetic demonstrations, five per goal, over the 3D Cartesian end-effector position. Figure 5 shows the kinesthetic demonstrations approaching the two grasping goals.
Figure 7 shows the five demonstrations per side in green and four successful trajectories in red, which start from initial conditions that differ from the demonstrations. To insert a finger into the handle, the successful trajectories approached from the side, as the demonstrations did, rather than from the top.
The evidence is four qualitative executions, and the text reports no success rate over a set of trials. The task uses one box and a single robot, so it does not show how the field behaves for other objects.
Converging to a continuous contour
Figure 8 shows a learned field that converges to a star-shaped contour without imitation, with the attractors on the star-shaped goal contour. Figure 8 on the right combines the circular contour with imitation of two subgroups of demonstrations, with demonstrations in white and trajectories in red.
The two examples are qualitative, and no metric is reported for them. The authors suggest such dynamics could suit objects that can be grasped along a whole continuous set of points rather than at distinct ones.
Limitations and open problems
The convergence guarantees require exact dynamics matching, which training only encourages.
The analysis also requires that goals match the intended latent attractors and that each discrete goal has its own distinct stable equilibrium.
Discrete attractors and continuous contours are treated separately, and the authors leave the unification with point attractors and limit cycles to future work. The benchmark covers seven 2D tasks, the grasping test covers one box, and the contour results are qualitative.
Paper info
- Authors
- Gabriele Giuseppe Di Marzo, Mariano Ramírez Montero, Maximilian Stölzle, Rodrigo Pérez-Dattari, Cosimo Della Santina
- Venue
- arXiv · Preprint
- First published
- 2026-11-16
- Added
- 2026-11-17
- Updated
- 2026-11-16
- Version
- v1
- arXiv
- 2611.21059
- Category
- cs.RO · cs.AI
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
Dynamical-system-based motion policies provide a framework for learning reactive robot motions with stability and convergence properties. Many manipulation tasks, however, admit several distinct goals or a continuous set of acceptable outcomes, requiring motion primitives that preserve these alternatives. Accommodating both goal structures within a unified framework with continuous, autonomous dynamics remains an open challenge. We propose a CONDOR-based framework, multi-CONDOR, for learning motion primitives with either multiple discrete attractors or a continuous attracting goal contour. The approach combines imitation learning with losses that encourage agreement between the learned task dynamics and latent reference systems encoding the desired attraction structure. We provide a Lyapunov-based analysis of the convergence properties of the learned motion dynamics. We evaluate the framework on simulated benchmarks with discrete goals, qualitative examples with continuous goal contours, and robotic grasping experiments. In simulation, multi-CONDOR reduces trajectory RMSE by approximately 72% compared with separately learned single-goal motion primitives selected by a state machine. For tasks with two and three goals, respectively, it reduces the fraction of evaluated initial states ending outside the goal tolerance from StableNODE's 0.31% and 7.29% to 0% in both settings. Experiments with a Franka Emika robot arm demonstrate successful grasping of a container by either of its two handles using motions learned from demonstrations. Together, these results show multi-CONDOR combines motion reproduction with the flexibility to converge to alternative valid outcomes.
Quote from the paper
Gabriele Giuseppe Di Marzo, Mariano Ramírez Montero, Maximilian Stölzle, Rodrigo Pérez-Dattari, Cosimo Della Santina (2026). Multi-CONDOR: Learning Multistable Motion Primitives from Demonstration. arXiv:2611.21059v1. https://arxiv.org/abs/2611.21059v1
BibTeX
@misc{marzo2026multi,
title = {{Multi-CONDOR: Learning Multistable Motion Primitives from Demonstration}},
author = {Gabriele Giuseppe Di Marzo and Mariano Ramírez Montero and Maximilian Stölzle and Rodrigo Pérez-Dattari and Cosimo Della Santina},
year = {2026},
eprint = {2611.21059},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.21059v1}
}