Multimodality in Robotics Explained
A demo notebook explaining multimodality in behavioral cloning and how it is solved by different approaches
README
Multimodality in Robotics Explained
This repository contains the companion Jupyter notebook for the video "Multimodality in Robotics" that explores different approaches to handling multimodality in robotics: predicting continuous actions when multiple correct actions exist.
Overview
The notebook demonstrates several approaches to handling multimodal distributions in robotics:
- Simple MSE regression and its limitations
- MAE regression and comparison with MSE
- Target tokenization and classification
- Diffusion Policy
- Flow Matching Policy
Each approach is implemented with clear code examples and visualizations to help understand the concepts.
Getting Started
Running the Notebook locally
-
Clone this repository:
git clone https://github.com/IliaLarchenko/robotics_multimodality_explained cd robotics_multimodality_explained -
Install the required packages:
pip install -r requirements.txt -
Open and run the notebook:
jupyter notebook multimodality_analysis.ipynb
Running on Kaggle
The notebook is also available on Kaggle, just click the link below:
Kaggle Notebook Version
References
Papers
- ACT: Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardware
- Diffusion Policy: Visuomotor Policy Learning via Action Diffusion
- Behavior Transformers: Cloning k Modes with One Stone
- VQ-BET: Behavior Generation with Latent Actions
- Denoising Diffusion Probabilistic Models
- DDIM: Denoising Diffusion Implicit Models
- Flow Matching for Generative Modeling
Additional Resources
Author
Ilia Larchenko
- GitHub: @IliaLarchenko
- Kaggle: @ilialar
- YouTube: @IliaLarchenko
- Linktree: @IliaLarchenko
