Making Sense of Vision and Touch: Learning Multimodal Representations for Contact-Rich Tasks

Michelle A. Lee, Yuke Zhu, Peter Zachares, Matthew Tan, Krishnan Srinivasan, Silvio Savarese, Li Fei-Fei, Animesh Garg, Jeannette Bohg

TL;DR

This paper introduces a self-supervised learning framework that fuses vision and touch into a compact, multimodal representation for contact-rich robotic tasks like peg insertion. By decoupling representation learning from policy control, the authors significantly improve the sample efficiency of reinforcement learning, enabling the policy to generalize to novel geometries and tolerate real-world physical perturbations.

What Problem Does This Paper Address?

Contact-rich manipulation tasks—such as inserting a key into a lock, assembling mechanical parts, or fastening screws—are notoriously difficult for robots. These tasks require a delicate interplay between two very different senses: vision (for global localization and reaching) and touch (for local alignment and force feedback under occlusion).

Fusing these modalities manually is a engineering nightmare because they have vastly different characteristics: images are high-dimensional and arrive at lower frequencies (e.g., 30 Hz), while force-torque data is low-dimensional but streams in at high frequencies (e.g., 1000 Hz). While deep reinforcement learning (RL) can theoretically learn to map these raw inputs directly to actions, doing so requires an impractical amount of data, making it nearly impossible to train directly on real physical robots.

Methods

The authors tackle the sample-efficiency problem by splitting the learning process into two distinct phases: multimodal representation learning and policy control learning.

Figure 2: Neural network architecture for multimodal representation learning with self-supervision. The network takes data from four different sensors as input: RGB images, depth map, F/T readings over a 32ms window, and end-effector position, orientation, and velocity. It encodes and fuses this data into a multimodal representation using a variational Bayesian method, on which a policy for contact-rich manipulation can be learned. This representation learning network is trained end-to-end through self-supervision.
  1. Variational Multimodal Fusion: The architecture takes four inputs: RGB images, depth maps, a 32ms window of force-torque readings, and proprioceptive data (end-effector pose and velocity). Each modality is processed by a domain-specific encoder. These encoder outputs are fused into a single, compact latent representation ($z$) using a Product-of-Experts (PoE) approach within a variational framework.
  2. Action-Conditional Self-Supervision: Instead of training the network to reconstruct raw sensory inputs (like a standard Variational Autoencoder), which wastes network capacity on task-irrelevant background details, the decoders are trained on five self-supervised predictive tasks:
  3. Action-conditional optical flow and its corresponding flow mask.
  4. Contact prediction (predicting if the robot will make contact in the next control cycle).
  5. Future end-effector position.
  6. Temporal alignment (pairing): A binary classification task determining whether the visual and haptic streams are time-locked or randomly shifted.
  7. Policy and Control: Once trained, the representation network's parameters are frozen. A reinforcement learning policy (using Trust Region Policy Optimization, or TRPO) is trained on top of this low-dimensional latent space. The policy operates at 20 Hz, outputting 4-DoF Cartesian displacements (3D position + z-axis roll rotation). A high-frequency (500 Hz) Operational Space Controller with impedance control translates these commands into joint torques, providing natural compliance during physical contact.
Figure 3: Our controller takes end-effector position and z-axis ori- entation displacements from the policy at 20Hz and outputs robot torque commands at 1000Hz. The trajectory generator interpolates high-bandwidth robot trajectories from low-bandwidth policy actions. The impedance PD controller tracks the interpolated trajectory. The operational space controller uses the robot dynamics model to trans- form Cartesian-space accelerations into commanded joint torques. The resulting controller is compliant and reactive.

Datasets

The models were trained and evaluated using:

  • Simulation Data: 600k states collected using a Kuka LBR iiwa robot model in the SAI 2.0 physics simulator.
  • Real Robot Data: 150k states collected on a physical Franka Panda robot using a random/heuristic policy.
  • Evaluation Benchmarks: 3D-printed pegs and holes of various geometries (square, triangular, semicircular, and hexagonal) with a tight nominal clearance of approximately 2mm.

Key Insights and Ideas

  • Prediction Beats Reconstruction: Shifting the self-supervised objective from reconstructing high-dimensional inputs to predicting action-conditional future states forces the latent space to encode the underlying physics of the task rather than visual textures.
  • The Importance of "Time-Locking": The temporal alignment task (predicting whether vision and touch are synchronized) proved crucial. It forces the network to find cross-modal correlations—such as matching the visual moment of impact with a sudden spike in the force sensor readings.
  • Decoupled Sample Efficiency: Freezing the representation network reduces the number of learnable parameters during the RL phase to just 1.5% of the entire model. This makes reinforcement learning practical enough to run directly on a real robot in about 7 hours.

Key Results

  • High Success Rates: In simulation, the full model achieved a 78% success rate for square peg insertion, vastly outperforming a deterministic baseline (24%) and a standard reconstruction-based VAE baseline (36%).
  • Modality Ablations: Removing any single modality degraded performance. Omitting depth information caused the worst drop in success, highlighting its importance for initial alignment.
Figure 1: Force sensor readings in the z-axis (height) and visual observations are shown with corresponding stages of a peg insertion task. The force reading transitions from (1) the arm moving in free space to (2) making contact with the box. While aligning the peg, the forces capture the sliding contact dynamics on the box surface (3, 4). Finally, in the insertion stage, the forces peak as the robot attempts to insert the peg at the edge of the hole (5), and decrease when the peg slides into the hole (6).
  • Robust Policy Transfer: On the real robot, a policy trained on a triangular peg was transferred to entirely unseen shapes. It achieved over a 70% success rate zero-shot on hexagonal and square pegs, which improved to up to 98% when the representation model was reused and only the policy was retrained.

Limitations and Future Work

  • Action Space Constraints: The controller is currently limited to 4-DoF (3D translation + 1D rotation). True unconstrained manipulation will require extending this framework to a full 6-DoF controller.
  • Latent Dimension Tuning: The choice of the latent space dimension ($d=128$) represents a manual trade-off; if it's too small, it loses information, but if it's too large, the RL policy struggles to converge. The authors note a need for more principled, automated ways to determine this size.
  • Richer Modalities: Future iterations could incorporate other sensory streams common to human manipulation, such as audio (the sound of a click), temperature, or proximity sensors.

Summary updated

Abstract

Contact-rich manipulation tasks in unstructured environments often require both haptic and visual feedback. It is non-trivial to manually design a robot controller that combines these modalities which have very different characteristics. While deep reinforcement learning has shown success in learning control policies for high-dimensional inputs, these algorithms are generally intractable to deploy on real robots due to sample complexity. In this work, we use self-supervision to learn a compact and multimodal representation of our sensory inputs, which can then be used to improve the sample efficiency of our policy learning. Evaluating our method on a peg insertion task, we show that it generalizes over varying geometries, configurations, and clearances, while being robust to external perturbations. We also systematically study different self-supervised learning objectives and representation learning architectures. Results are presented in simulation and on a physical robot.
BibTeX
@article{lee2019making,
  author = {Michelle A. Lee and Yuke Zhu and Peter Zachares and Matthew Tan and Krishnan Srinivasan and Silvio Savarese and Li Fei-Fei and Animesh Garg and Jeannette Bohg},
  title = {{Making Sense of Vision and Touch: Learning Multimodal Representations for Contact-Rich Tasks}},
  journal = {IEEE Trans. Robotics},
  year = {2019},
  doi = {10.1109/tro.2019.2959445},
}
Figure