Discrete-Time Hybrid Automata Learning: Legged Locomotion Meets Skateboarding

Hang Liu, Sangli Teng, Lei Liu, Wei Zhang, Maani Ghaffari

Introduction

Robotic movement is inherently a "hybrid" problem, characterized by continuous motion (such as leg swings) interrupted by discrete events (such as foot-ground contact). While traditional model-based controllers can manage predefined gaits, they often falter when faced with the complex, high-dimensional dynamics of activities like skateboarding. Conversely, while model-free reinforcement learning (RL) can learn intricate behaviors, it frequently lacks an explicit understanding of discrete physical "modes," making transitions—such as moving from gliding on a board to pushing off the ground—difficult to master.

The researchers behind DHAL (Discrete-time Hybrid Automata Learning) address this by creating a framework that identifies these discrete modes and their transitions autonomously, without the need for human-labeled training data.

Quadruped robots demonstrating learned skateboarding behaviors in a controlled indoor setting.

The DHAL Framework

The DHAL framework introduces several innovations to bridge the gap between continuous control and discrete mode switching:

  1. Unsupervised Mode Discovery (DHA): A "mode selector" identifies the robot's physical state (e.g., gliding, pushing, or airborne) by minimizing prediction errors in the robot's next state. This allows the system to "label" specific dynamics as distinct modes without manual intervention. This unsupervised approach allows the framework to generalize to other hybrid tasks, such as hand-stand locomotion, without redesigning the underlying mode logic.
  2. $\beta$-VAE Dynamics Encoder: A Variational Autoencoder extracts a latent representation of the robot's dynamics, providing a concise "summary" of the physics to the controller. This helps the robot adapt its behavior based on the perceived physical context.
  3. Multi-Critic RL Architecture: To balance competing goals like stability and speed, DHAL employs three separate critics—Gliding, Pushing, and Sim2Real. This prevents dense rewards (like balance) from overshadowing sparse, task-specific rewards (like the specific contact required for pushing), which often leads to more "stylish" and natural-looking motions.
  4. Beta Distribution Policy: A key technical insight in the paper is the "Gaussian Bias Problem." Standard RL often uses Gaussian distributions for actions, but because these curves extend to infinity, they can suggest actions outside a robot's physical limits. Clipping these actions introduces mathematical bias. DHAL uses a Beta distribution, which is naturally bounded, eliminating this bias and preventing variance explosion during training.

Experimental Results and Validation

The DHAL policy was trained in the Isaac Gym simulation environment and deployed on a physical Unitree Go1 robot. The system demonstrated remarkable versatility across various terrains, including ceramic floors, carpets, sidewalks, and slopes.

Real-world validation of the DHAL framework across various terrains, including ramps, snow, and night-time environments.

Key performance metrics include:

  • High Success Rates: DHAL achieved a 100% success rate in indoor environments and maintained 60-80% success on challenging outdoor slopes and uneven terrain.
  • Robustness: The controller successfully handled unexpected payloads and physical disturbances, such as being kicked or hitting potholes, by autonomously executing recovery behaviors.
  • Intuitive Mode Switching: Visualization via t-SNE confirmed that the robot's learned latent space clearly separated into three distinct, physically meaningful clusters: gliding, pushing, and airborne transitions.
  • Sim-to-Real Fidelity: The method demonstrated smooth transitions and natural skateboarding motions on the physical robot that closely mirrored human intuition.

Conclusion and Future Work

DHAL represents a significant step forward in enabling legged robots to handle complex, multi-mode tasks. By moving away from manually defined gaits toward unsupervised mode discovery, the framework offers a generalizable solution for hybrid locomotion.

Despite these successes, limitations remain. Currently, the robot's foot is simplified in simulation as being attached to the board via a joint; in reality, the robot must rely on friction and balance. Future work aims to integrate vision-based board tracking and explore more complex maneuvers, such as performing an ollie or kickflip, which would require even more sophisticated hybrid dynamics.

Reference: Liu, H., Teng, S., Liu, B., Zhang, W., & Ghaffari, M. (2025). Discrete-Time Hybrid Automata Learning: Legged Locomotion Meets Skateboarding. arXiv:2503.01842v2 [cs.RO].

Summary updated

BibTeX
@misc{liu2025discrete,
  author = {Hang Liu and Sangli Teng and Lei Liu and Wei Zhang and Maani Ghaffari},
  title = {{Discrete-Time Hybrid Automata Learning: Legged Locomotion Meets Skateboarding}},
  year = {2025},
  eprint = {2503.01842},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.01842},
}
Figure