Skip to main content
QUICK REVIEW

[Paper Review] DMAP: a Distributed Morphological Attention Policy for Learning to Locomote with a Changing Body

Alberto Silvio Chiappa, Alessandro Marin Vargas|arXiv (Cornell University)|Sep 28, 2022
Action Observation and SynchronizationPsychology8 citations
TL;DR

DMAP proposes a biologically inspired, attention-based deep reinforcement learning architecture that enables agents to learn locomotion with varying body morphologies without explicit access to morphological parameters. By combining distributed joint control, independent proprioceptive processing, and dynamic attention gating, DMAP achieves performance matching or exceeding that of an oracle agent with full morphological knowledge across four continuous control environments.

ABSTRACT

Biological and artificial agents need to deal with constant changes in the real world. We study this problem in four classical continuous control environments, augmented with morphological perturbations. Learning to locomote when the length and the thickness of different body parts vary is challenging, as the control policy is required to adapt to the morphology to successfully balance and advance the agent. We show that a control policy based on the proprioceptive state performs poorly with highly variable body configurations, while an (oracle) agent with access to a learned encoding of the perturbation performs significantly better. We introduce DMAP, a biologically-inspired, attention-based policy network architecture. DMAP combines independent proprioceptive processing, a distributed policy with individual controllers for each joint, and an attention mechanism, to dynamically gate sensory information from different body parts to different controllers. Despite not having access to the (hidden) morphology information, DMAP can be trained end-to-end in all the considered environments, overall matching or surpassing the performance of an oracle agent. Thus DMAP, implementing principles from biological motor control, provides a strong inductive bias for learning challenging sensorimotor tasks. Overall, our work corroborates the power of these principles in challenging locomotion tasks.

Motivation & Objective

  • To develop a reinforcement learning policy that can robustly learn locomotion despite significant, unseen changes in body morphology.
  • To investigate whether biologically inspired principles—distributed control, independent sensory processing, and dynamic gating—provide a strong inductive bias for sensorimotor adaptation.
  • To evaluate whether an end-to-end trainable policy can match or surpass the performance of an oracle agent with access to hidden morphological parameters.
  • To analyze the dynamics of the attention mechanism and its role in generalization across morphological variations.

Proposed method

  • DMAP employs a temporal convolutional network (TCN) with shared weights to process proprioceptive state history independently for each body part.
  • It computes joint-specific morphology encodings by applying learned attention weights to value encoding vectors derived from sensory inputs.
  • Each joint is controlled by an independent fully-connected network that uses both current proprioception and its joint-specific morphology encoding.
  • The attention mechanism dynamically gates sensory information from different body parts to different controllers based on task-relevant morphology.
  • The entire architecture is trained end-to-end without supervision on morphological parameters, relying only on sparse dense rewards.
  • The model is evaluated under both in-distribution (IID) and out-of-distribution (OOD) morphological perturbations to test zero-shot generalization.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning policy learn to locomote effectively when body morphology is randomly perturbed at the start of each episode?
  • RQ2Does incorporating principles from biological motor control—distributed control, independent processing, and dynamic gating—improve generalization to unseen morphologies?
  • RQ3Can an end-to-end trained agent match the performance of an oracle agent with access to hidden morphological parameters?
  • RQ4How does the attention mechanism in DMAP adapt to morphological changes, and what dynamics emerge during training?

Key findings

  • DMAP achieves performance on par with or exceeding that of an oracle agent in all four environments (Ant, Half Cheetah, Walker, Hopper), despite not having access to morphological parameters.
  • The Simple baseline, relying only on proprioception, fails to learn effective locomotion strategies across diverse morphologies.
  • DMAP generalizes robustly to out-of-distribution morphological perturbations, including limb amputation (100% perturbation), with reward decreasing monotonically but remaining stable across limb types.
  • The attention mechanism exhibits rotational dynamics in its embedding space, emerging progressively during training and contributing to untangled, regularized trajectories.
  • The attentional dynamics are significantly less tangled than the observation and action space trajectories, suggesting improved generalization and robustness.
  • Adaptation speed to new morphologies is comparable between DMAP and RMA, indicating that DMAP achieves rapid adaptation without requiring a two-stage training procedure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.