Learn from Incomplete Tactile Data: Tactile Representation Learning with Masked Autoencoders

Guanqun Cao, Jiaqi Jiang, Danushka Bollegala, Shan Luo

Abstract

In robotic manipulation, tactile sensors often fail to make full contact with objects, resulting in sparse and incomplete data. Traditional tactile perception algorithms struggle with these "glancing" contacts, as they are typically designed for high-density, full-contact scenarios. We present TacMAE (Tactile Masked Autoencoder), a representation learning framework that leverages the spatial redundancy of tactile images. By training a Vision Transformer to reconstruct masked image patches while simultaneously performing classification, TacMAE learns robust features that generalize to real-world partial contact. Our results demonstrate a 15.2% improvement in zero-shot texture recognition and an 83.3% success rate in obstructed robotic exploration tasks.

Introduction

Robotic tactile sensing, particularly using high-resolution optical sensors like GelSight, is often predicated on the assumption of "perfect touch"—firm, centered contact with an object. However, in dynamic environments or when handling deformable materials like fabrics, robots frequently encounter partial contact. These events produce incomplete tactile data where large portions of the sensor's field remain empty, leading to a significant drop in performance for standard perception models.

TacMAE addresses this challenge by treating partial contact as a feature of the learning process rather than a failure mode. By observing that tactile surfaces often possess repetitive geometric patterns, we hypothesize that a model can "fill in the blanks" of a partial touch if it possesses a high-level understanding of surface topology.

Methodology

The TacMAE Framework

TacMAE is based on the Masked Autoencoder (MAE) architecture, adapted specifically for the nuances of tactile data. The pipeline consists of four primary components:

  1. Masking as Simulation: To prepare the model for real-world partial contact, we take high-quality "adequate contact" images and randomly mask out a large portion of image patches (up to 90%). This forces the model to learn from sparse signals.
  2. Encoder-Decoder Architecture: We utilize a Vision Transformer (ViT) as the encoder. Crucially, the encoder only processes the visible (unmasked) patches, which significantly reduces computational overhead. A lightweight decoder then attempts to reconstruct the original pixels of the missing patches from the latent representation provided by the encoder.
  3. Hybrid Loss Function: Unlike standard self-supervised MAEs, TacMAE employs a dual-objective loss function. It minimizes both the Reconstruction Error (MSE) and the Classification Error (Cross-Entropy) via a supervised classification head. This hybrid approach ensures the latent space captures both fine-grained geometric details and semantic category information.
  4. Inference: During deployment, the encoder processes genuine partial contact images from the robot. Because it was trained to handle missing patches, it can extract robust features even when the environment—rather than an algorithm—has "masked" the data.

Experimental Setup

Datasets

The model was evaluated using two distinct datasets:

  • Fabric Dataset: Comprising 118 different fabric types (e.g., silk, linen, cotton) captured in flat, folded, and random configurations. This provided the necessary variety for texture-based representation learning.
  • YCB Object Set: A standard benchmark for robotic manipulation. Six specific objects, such as abrasive sponges and soup cans, were used to test the model’s ability to transfer knowledge to physical robotic exploration under obstructed conditions.

Key Insights and Results

The Importance of Redundancy

Our experiments confirm that tactile images possess high spatial redundancy. We found a "sweet spot" at 70% masking during training. Masking too little (e.g., 10%) makes the reconstruction task trivial, preventing the model from learning deep features. Conversely, masking 90% or more can break the semantic connection between patches. At 70%, the model is forced to develop a robust internal representation of the surface patterns.

Performance Metrics

  • Texture Recognition: In zero-shot scenarios—testing on partial contact data without specific training on those samples—TacMAE achieved 71.4% accuracy, outperforming non-masked models by 15.2%. With fine-tuning, this accuracy increased to 85.8%.
  • Robotic Transfer: In tasks where a robot could only access approximately 11.5% of an object's surface due to physical obstructions, TacMAE achieved an average success rate of 83.3%. This significantly outperformed previous state-of-the-art methods, which typically achieved success rates between 55% and 64%.

Discussion and Future Work

TacMAE demonstrates that reconstruction is a powerful regularizer for tactile recognition. By learning to rebuild missing signals, the model becomes inherently better at categorizing them.

However, several avenues for future research remain. Currently, the definition of "incomplete data" is based on simple contour detection of contact areas; more sophisticated metrics like information entropy or contact force could refine the pipeline. Additionally, while TacMAE is theoretically sensor-agnostic, further testing is required on lower-resolution tactile skins or resistive sensors beyond the GelSight-style sensors used in this study. Finally, we aim to apply these robust representations to real-time tasks such as in-hand manipulation and slip detection.

Summary updated

BibTeX
@inproceedings{cao2023learn,
  author = {Guanqun Cao and Jiaqi Jiang and Danushka Bollegala and Shan Luo},
  title = {{Learn from Incomplete Tactile Data: Tactile Representation Learning with Masked Autoencoders}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=My8ZkO3mQh},
}
Figure