Body Transformer: Leveraging Robot Embodiment for Policy Learning

Carmelo Sferrazza, Dun-Ming Huang, Fangchen Liu, Jongmin Lee, Pieter Abbeel
8/12/2024
cs.ROcs.AIcs.LG

No official code found. Best implementation: carlosferrazza/BodyTransformer (203 stars, last commit 2025-09-18).

Abstract

In recent years, the transformer architecture has become the de facto standard for machine learning algorithms applied to natural language processing and computer vision. Despite notable evidence of successful deployment of this architecture in the context of robot learning, we claim that vanilla transformers do not fully exploit the structure of the robot learning problem. Therefore, we propose Body Transformer (BoT), an architecture that leverages the robot embodiment by providing an inductive bias that guides the learning process. We represent the robot body as a graph of sensors and actuators, and rely on masked attention to pool information throughout the architecture. The resulting architecture outperforms the vanilla transformer, as well as the classical multilayer perceptron, in terms of task completion, scaling properties, and computational efficiency when representing either imitation or reinforcement learning policies. Additional material including the open-source code is available at https://sferrazza.cc/bot_site.

View on arXivView PDF

Code Implementations(1)

Body Transformer: Leveraging Robot Embodiment for Policy Learning

20316CMake, ShellAug 13, 20241 years agoNOASSERTION

Similar Papers

Cite this paper

@article{sferrazza2024body,
  title  = {Body Transformer: Leveraging Robot Embodiment for Policy Learning},
  author = {Carmelo Sferrazza and Dun-Ming Huang and Fangchen Liu and Jongmin Lee and Pieter Abbeel},
  year   = {2024},
  eprint = {2408.06316},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.06316v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.06316.svg)](https://codeofpaper.com/paper/2408.06316)

Discussion