Imagine a robotic arm that can learn to perform tasks just by watching human demonstrations!
This project demonstrates how low-cost robotic arms (Koch) can learn from human demonstrations using imitation learning by Action Chunking Transformer (ACT).

LeRobot Pipeline: Training imitation learning models by Koch robot
The first step is collecting high-quality demonstration data from human teleoperation.
We use the LeRobot dataset format, which stores episodes as Parquet files. Since the leader and follower arms share the same joint names, observation and action use the identical joint-name schema below, plus mp4 for top and front camera observation.
# Robot Joint States (6-DOF, shared by observation & action)
# Camera Observations
LeRobot dataset structure with joint positions and camera observations
Human demonstrations are collected via teleoperation using a leader-follower setup, where the operator controls a leader arm and the follower arm mimics the movements.
Leader-follower teleoperation for data collection
After collecting demonstration data, we train imitation learning models to predict robot actions from visual observations.
A pure imitation learning approach that predicts action sequences("chunks") rather than single actions . It uses a transformer encoder-decoder architecture with a CVAE (Conditional Variational Autoencoder) for modeling action distributions.

ACT Architecture (Source: ACT Paper)
The trained model is deployed on the robot for real-time inference and autonomous task execution.
The model runs at ~30Hz, predicting action chunks that are executed by the robot controller in real-time.
Autonomous task execution after 50 episodes training
Real-time action classification using the trained ACT model