Tactile and physical-contact perception has historically been restricted to task-specific CNN architectures. We present TouchFormer, a Vision Transformer (ViT-B/16) framework for 3D human pose estimation from physical pressure maps. Through two independent experiments, we investigate whether transformer pretraining strategies — (A) cross-domain transfer from ImageNet, and (B) self-supervised Masked Autoencoder (MAE) pretraining on unlabeled pressure data — can substantially outperform the supervised CNN baseline. Both strategies yield significant improvements over the prior CNN baseline, with the MAE result being particularly notable given its training under severe compute constraints.
Self-supervised learning has gained significant traction in tactile representation learning. Most notably, Sparsh (Meta AI, 2024) demonstrated large-scale general-purpose touch representations for vision-based tactile sensors (e.g., GelSight, DIGIT), pre-training on 460k+ optical gel-deformation images using masking objectives and self-distillation in pixel and latent spaces.
TouchFormer addresses a different sensing modality: non-optical, macro-scale physical pressure grids (64×27 force-resistive matrices, e.g., smart mattresses). Unlike optical tactile sensors which capture RGB images of gel deformation, these grids output low-resolution numerical force distributions across a large area. This work provides empirical evidence that transformer pretraining strategies — both ImageNet transfer and domain-specific MAE — are highly effective for this modality, complementing work like Sparsh rather than competing with it.
TouchFormer processes raw 2D tactile arrays as visual patches using Google's Vision Transformer (ViT-B/16). We conducted two independent experiments to evaluate distinct pretraining strategies: Experiment A uses ImageNet-pretrained weights via transfer learning, while Experiment B builds a custom Masked Autoencoder (MAE) trained from scratch on unlabeled pressure data.
By masking 75% of the pressure map inputs during pretraining, the model is optimized to reconstruct physical weight distributions, teaching it body shapes and weight distribution physics in a self-supervised manner.
Leverages Google's 12-layer Vision Transformer (ViT-B/16). Initializing from ImageNet weights provides robust visual feature abstractions that accelerate downstream task learning on tactile grids.
TouchFormer was evaluated on the 10GB PressurePose corpus. We analyzed different pretraining and weight initialization strategies to understand whether self-supervised pretraining on pressure maps from scratch compares to or outperforms standard ImageNet representations. Notably, due to academic compute limits, our custom MAE model (Experiment B) was only pre-trained for 20 epochs (~5 hours), yet it achieved highly competitive results close to the visual foundation model.
| Model Configuration | Backbone Initialization | Pretraining Objective | MPJPE (cm) ↓ | PCK @ 15cm (%) ↑ |
|---|---|---|---|---|
| CNN Baseline (Clever et al., CVPR 2020) | Random Init | None (Supervised Only) | 11.18 | — |
| TouchFormer (Custom MAE - Exp B) | Random Init | MAE (Pressure Maps Only) | 6.91 | 90.8% |
| TouchFormer (ImageNet Transfer - Exp A - Ours) | ImageNet-1k Weights | None (Direct Fine-Tuning) | 6.29 | 92.8% |
1. Transfer Learning Benefits: Initializing the tactile encoder with weights from Google's ImageNet-1k trained ViT-B/16 (Experiment A) yields the best error rate of 6.29 cm MPJPE, showing that visual features transfer exceptionally well to physical contact matrices.
2. Self-Supervised Tactile Priors: Training purely on pressure maps from scratch using the Masked Autoencoder objective (Experiment B) yields a highly competitive 6.91 cm MPJPE, significantly outperforming the supervised CNN baseline (11.18 cm MPJPE) without using any labeled 3D keypoint data.
3. Compute & Pretraining Efficiency: Due to academic compute constraints, our custom MAE model (Experiment B) was pre-trained for only 20 epochs (~5 hours on a single GPU), compared to standard MAE schedules of 800–1600 epochs. Getting so close to the fully pre-trained ImageNet model with a fraction of the compute highlights the extreme sample efficiency of self-supervised learning for tactile grids.
This project utilizes the PressurePose dataset and baseline methodologies from the following foundational work. If you build upon this project, please consider citing the original authors:
@inproceedings{clever2020bodies,
title={Bodies at Rest: 3D Human Shape and Pose Estimation from a Pressure Image using Synthetic Data},
author={Clever, Henry M and Erickson, Zackory and Kapusta, Ariel and Turk, Greg and Liu, C Karen and Kemp, Charles C},
booktitle={IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
year={2020}
}