MIRA: Mental Imagery for Robotic Affordances

Yen-Chen Lin, Pete Florence, Andy Zeng, Jonathan T. Barron, Yilun Du, Wei-Chiu Ma, Anthony Simeonov, Alberto Rodriguez Garcia, Phillip Isola

Abstract

Humans form mental images of 3D scenes to support counterfactual imagination, planning, and motor control. Our abilities to predict the appearance and affordance of the scene from previously unobserved viewpoints aid us in performing manipulation tasks (e.g., 6-DoF kitting) with a level of ease that is currently out of reach for existing robot learning frameworks. In this work, we aim to build artificial systems that can analogously plan actions on top of imagined images. To this end, we introduce Mental Imagery for Robotic Affordances (MIRA), an action reasoning framework that optimizes actions with novel-view synthesis and affordance prediction in the loop. Given a set of 2D RGB images, MIRA builds a consistent 3D scene representation, through which we synthesize novel orthographic views amenable to pixel-wise affordances prediction for action optimization. We illustrate how this optimization process enables us to generalize to unseen out-of-plane rotations for 6-DoF robotic manipulation tasks given a limited number of demonstrations, paving the way toward machines that autonomously learn to understand the world around them for planning actions.

Introduction

For a robot to successfully pick up a tilted object and place it precisely, it must understand "affordances"—the mathematical representation of where and how an action should be executed. While humans can easily visualize a scene from a different perspective to plan a move, current robotic systems struggle with 6-DoF (6 Degrees of Freedom) manipulation. This difficulty stems from three primary challenges: perspective distortion in standard imagery, the failure of traditional depth sensors on reflective or transparent materials, and the immense computational cost of searching a high-dimensional action space.

MIRA (Mental Imagery for Robotic Affordances) addresses these challenges by providing robots with a "mind's eye." By leveraging Neural Radiance Fields (NeRF), MIRA allows a robot to virtually "rotate" a scene in its head, synthesizing optimal viewpoints to plan complex actions without the need for specialized depth hardware.

The MIRA Framework

The MIRA pipeline operates through a four-stage process that mimics mental visualization:

  1. Scene Capture: The robot gathers a series of RGB images from various angles, typically using a wrist-mounted camera.
  2. Mental Imagery (NeRF): These images are used to train a Neural Radiance Field, creating a high-fidelity, 3D digital twin of the environment.
  3. Orthographic Ray Casting: Instead of rendering standard perspective images—where objects change size based on distance—MIRA renders orthographic views. These "blueprints" ensure that parallel lines remain parallel and object scale remains constant, providing translational equivariance. This allows standard Convolutional Neural Networks (ConvNets) to identify objects and affordances regardless of their position in the frame.
  4. Action Optimization: The system renders over 100 virtual views from different angles. A shared policy scans these views to identify the pixel with the highest affordance value. This optimal view and its corresponding coordinates are then translated back into a precise 6-DoF command for the robot arm.

Experimental Evaluation

To test MIRA’s capabilities, the researchers developed Ravens-6D, an extension of the Ravens benchmark featuring tasks like block-insertion, hanging-disks, and stacking-objects. These tasks specifically require handling complex out-of-plane rotations.

In real-world trials using a UR5 robot arm, MIRA was tasked with manipulating objects that typically baffle traditional sensors, such as transparent dental floss cases, reflective metal cubes, and metal ice spheres.

Key Results

  • Robust Generalization: In out-of-distribution tests involving object angles never seen during training, MIRA maintained an 80% success rate. In contrast, leading baselines like Transporter-SE(3) saw performance drop to approximately 30%.
  • Sample Efficiency: MIRA demonstrated the ability to learn complex tasks from as few as 10 to 100 demonstrations, a significant improvement over traditional end-to-end models that often require thousands of trials.
  • Material Agnostic: Because the system relies on RGB-based NeRFs rather than active depth sensing (like LiDAR), it successfully handled shiny and transparent materials that are often "invisible" to standard 3D sensors.

Discussion and Limitations

While MIRA represents a significant step toward intuitive robotic planning, it currently faces a trade-off in speed. The process of capturing images and training the NeRF takes approximately 70 seconds per step, making it unsuitable for reactive, high-speed tasks. Additionally, the system assumes a static scene during the initial image collection phase.

Future work aims to integrate "learned priors" to accelerate the imagination process, potentially allowing the robot to skip the full NeRF training phase for familiar environments. By extending this concept of mental imagery to navigation and mobile manipulation, MIRA paves the way for more autonomous and adaptable robotic assistants.

Summary updated

BibTeX
@inproceedings{lin2022mira,
  author = {Yen-Chen Lin and Pete Florence and Andy Zeng and Jonathan T. Barron and Yilun Du and Wei-Chiu Ma and Anthony Simeonov and Alberto Rodriguez Garcia and Phillip Isola},
  title = {{MIRA: Mental Imagery for Robotic Affordances}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=tNAKDw2KeXt},
}
Figure