TL;DR
ConsMimic frames robot style learning from imperfect or misaligned demonstrations as a Constrained Markov Decision Process (CMDP). By using an adaptive Lagrangian multiplier to enforce near-optimal task performance alongside a symmetry-augmented style reward, robots selectively adopt natural stylistic cues without sacrificing task completion.
What Problem Does This Paper Address?
Reinforcement learning (RL) allows legged robots and manipulators to track speeds and reach goals robustly, but hand-crafting reward functions for natural, agile, or lifelike styles is notoriously difficult. Learning from Demonstration (LfD)—often via tracking or Generative Adversarial Imitation Learning (GAIL/AMP)—aims to fill this gap.
However, real-world demonstration data is frequently imperfect or misaligned with the actual task. For instance, motion-capture data may come from flat-ground walking, while the target task requires traversing stairs, or reference data might only cover forward motion while the robot must move laterally. Standard methods balance task and style rewards using fixed weights, which often leads to poor compromises: the agent either ignores the demonstration or chases the stylistic prior so aggressively that it fails the main task.
Methods
ConsMimic balances task completion and stylistic imitation through three core components:
-
CMDP Formulation with Multi-Critic Optimization: Rather than guessing reward weights, the authors maximize expected style reward subject to maintaining task performance above a user-specified threshold: $$\max_{\theta} v^s(\pi_\theta) \quad \text{subject to} \quad v^g(\pi) \ge \alpha v^{g\star}$$ Separate task and style critics estimate advantages ($A^g$ and $A^s$). A self-adjusting Lagrangian multiplier $\lambda$, passed through a sigmoid function, adaptively mixes the two advantages for Proximal Policy Optimization (PPO). If task performance drops below the threshold, the policy shifts focus back to the task; once the constraint is satisfied, it optimizes for style.
-
Online Baseline Updating: To avoid setting an unrealistic or under-performing target $v^{g\star}$, the robot begins with a task-only warm-up phase to establish an empirical baseline. During joint training, $v^{g\star}$ is updated monotonically whenever the policy discovers a new best-ever task return.
- Symmetry-Augmented Style Reward: Adversarial motion priors frequently suffer from mode collapse when demonstrations and tasks are misaligned, causing robots to get stuck in asymmetric, partial gait cycles. ConsMimic injects morphological symmetry transformations ($L_g$) directly into the discriminator's inputs and averages outputs across mirrored transitions, penalizing asymmetric motion.
┌────────────────────────┐
│ Task & Style Critics │
└───────────┬────────────┘
│
Task Metric vs. Threshold (α)
│
▼
Adaptive Multiplier λ ──► Blended Advantage: σ(λ)A_task + (1-σ(λ))A_style
│
▼
Policy Update (PPO) ──► Retains Style without Sacrificing Task
Datasets
The authors evaluated ConsMimic across three experimental setups in simulation (Isaac Lab) and on physical hardware:
- Franka Arm: 7-DoF manipulator reaching spatial targets using sinusoidal reference trajectory demonstrations.
- ANYmal-D Quadruped: Velocity tracking tasks (forward and lateral) trained against flat-ground forward-trot reference motions.
- Fourier GR1 Humanoid: Velocity tracking across three simulated terrains—flat ground, stairs, and stepping stones—using retargeted flat-ground human motion capture trajectories.
Key Insights and Ideas
- Style as a Secondary Objective: Framing style imitation as a constrained optimization problem naturally handles imperfect data. If the demonstration teaches something harmful to task completion on rough terrain, the constraint pulls the policy back.
- Mitigating Mode Collapse via Reward Symmetry: Merely adding symmetry loss to the policy does not stop discriminator exploitation. Symmetrizing the discriminator’s training data and style evaluation forces the learned motion priors to represent full, mirrored gait cycles.
- Tunable Optimality via $\alpha$: The factor $\alpha \in [0, 1]$ gives roboticists explicit control over how much task optimality they are willing to trade for stylistic fidelity.
Key Results
- Task Robustness vs. Fixed Weights: On demanding humanoid terrains (GR1 stairs and stepping stones), fixed-weight imitation baselines ($\omega^s_{0.5}$) failed completely (task tracking reward $\approx 0.32\text{--}0.39$). In contrast, ConsMimic maintained high task reward ($\approx 0.7\text{--}0.8$) while matching or exceeding the imitation scores of conservative baselines.
- Symmetry Gains: The symmetry-augmented style reward consistently improved symmetry scores across all GR1 locomotion terrains (e.g., rising from $0.642$ to $0.722$ on stepping stones).
- Real-World ANYmal-D Deployment: Policies deployed zero-shot on physical ANYmal-D hardware achieved:
- A 14.5% reduction in mechanical energy expenditure ($1143 \pm 450\text{ J}$ vs. $1337 \pm 515\text{ J}$ for task-only).
- An increase in average foot-air time ($0.37\text{ s}$ vs. $0.28\text{ s}$), producing a more agile, dynamic trotting gait.
Limitations and Future Work
- No Feature-Level Granularity: The framework treats demonstrations holistically. It cannot automatically isolate which specific features of a demonstration are beneficial (e.g., upper-body posture) versus detrimental (e.g., flat-foot placement on stairs).
- Future Work: The authors highlight the need for attention mechanisms or selective feature-weighting schemes that extract useful stylistic sub-components while ignoring mismatched dynamics.
Summary updated