One Policy to Control Them All: Shared Modular Policies for Agent-Agnostic Control

Wenlong Huang, Igor Mordatch, Deepak Pathak
7/9/2020
244 citations
cs.LGcs.CVstat.ML
rl

Official code: huangwl18/modular-rl (234 stars, Jupyter Notebook, last commit 2022-12-27).

Abstract

Reinforcement learning is typically concerned with learning control policies tailored to a particular agent. We investigate whether there exists a single global policy that can generalize to control a wide variety of agent morphologies -- ones in which even dimensionality of state and action spaces changes.

Show full abstract

We propose to express this global policy as a collection of identical modular neural networks, dubbed as Shared Modular Policies (SMP), that correspond to each of the agent's actuators. Every module is only responsible for controlling its corresponding actuator and receives information from only its local sensors. In addition, messages are passed between modules, propagating information between distant modules. We show that a single modular policy can successfully generate locomotion behaviors for several planar agents with different skeletal structures such as monopod hoppers, quadrupeds, bipeds, and generalize to variants not seen during training -- a process that would normally require training and manual hyperparameter tuning for each morphology. We observe that a wide variety of drastically diverse locomotion styles across morphologies as well as centralized coordination emerges via message passing between decentralized modules purely from the reinforcement learning objective. Videos and code at https://huangwl18.github.io/modular-rl/

View on arXivView PDF

Code Implementations(1)

[ICML 2020] PyTorch Code for "One Policy to Control Them All: Shared Modular Policies for Agent-Agnostic Control"

23434Jupyter Notebook, PythonJul 9, 20203 years agoNOASSERTION
decentralized-controldeep-learningemergent-communicationgeneralizationgraph-neural-networks+5 more

Similar Papers

Cite this paper

@article{huang2020policy,
  title  = {One Policy to Control Them All: Shared Modular Policies for Agent-Agnostic Control},
  author = {Wenlong Huang and Igor Mordatch and Deepak Pathak},
  year   = {2020},
  eprint = {2007.04976},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.04976}
}

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/2007.04976.svg)](https://codeofpaper.com/paper/2007.04976)

Discussion