****: A Data-Efficient Tactile Generation Framework Across Sensors and Scenarios

Kailin Lyu\(^{1,2}\) Long Xiao\(^{1}\) Jianing Zeng\(^{1}\) Di Wu\(^{1}\) Lin Shu\(^{1}\) Jie Hao\(^{1}\)
\(^{1}\)Institute of Automation, Chinese Academy of Sciences
\(^{2}\)Zhongguancun Academy


Abstract

Tactile image generation significantly reduces the dependency on expensive and wear-prone sensors by synthesizing high-fidelity tactile data, offering an efficient solution for tactile information acquisition in robotic perception and human-machine interaction systems. However, existing methods depend on large-scale, diverse datasets from specific sensors and lack efficient data utilization and robust generalization capabilities, struggling in vision-limited environments. To address this, we introduce ****, a tactile generation framework that supports both cross-sensor and multi-scenario applications. Specifically, to efficiently extract complex deformation and texture features from the data, we propose DM-VQGAN, an effective tactile representation learner. Furthermore, we introduce a discrete diffusion decoder with a unified conditioning interface, supporting multimodal generation tasks such as images and labels, and enhances the model’s generalization capability through few-shot mixed training, thus achieving compatibility with current mainstream sensors and their variants. Experiments show that **** surpasses state-of-the-art methods in multiple tasks.

1 Introduction↩︎

Touch is a critical modality for human interaction with the environment, providing rich information about geometry, texture, and contact forces, and is therefore increasingly exploited in robotic manipulation [1], [2]. Vision-based tactile sensors (VBTS) [3], which use a camera to capture fine-grained elastomer deformations at high resolution and low cost, have emerged as the dominant tactile sensing paradigm. However, their limited durability and the laborious real-world acquisition pipeline render tactile data substantially scarcer and noisier than visual data [4], [5]. This bottleneck has spurred growing interest in synthesizing high-fidelity tactile images as a scalable surrogate for physical collection, lowering the training cost of downstream tasks such as robotic manipulation [6] and texture recognition [7][10].

Figure 1: The illustration of tactile generation tasks and comparison of different methods. Leveraging data-efficient tactile representations and a unified discrete diffusion model, **** supports few-shot, zero-shot transfer, and cross-sensor tactile generation.

The fundamental paradigm of tactile image generation is to first extract diverse tactile feature representations from existing data and then synthesize tactile images that satisfy specific scene requirements. Although previous work has made significant progress [11], two challenges remain: the need for large-scale and diverse datasets for pretraining each sensor type [12], [13], which results in significantly degraded performance in environments where tactile data acquisition is difficult; and the inability of learned features to generalize to image generation tasks involving other sensors. This naturally leads to the following question: Can we learn a data-efficient tactile representation that facilitates tactile generation across sensors and scenarios?

To address this challenge, we introduce ********, a tactile generation framework that supports cross-sensor and multi-scenario applications. First, to model the low-variance latent space of tactile images while preserving their rich informational content, we adopt a VQGAN-based architecture, incorporating deformable convolutions and a multi-scale fusion module to extract both macro-level deformation patterns and micro-level texture features from tactile images. This enhances its applicability to vision-based tactile sensors (VBTS). Additionally, we propose a few-shot mixed training approach that enables the transfer of learned tactile representations from existing sensor data to image generation tasks for new sensors, facilitating data-efficient cross-sensor generalization. Based on these learned representations, we further train a discrete diffusion model to support multiple input modalities and perform conditional generation of corresponding tactile images. Our contributions are summarized as follows:

  • We introduce DM-VQGAN, an efficient tactile representation learner that captures generalizable, information-rich features tailored to tactile data.

  • We propose a unified multimodal conditional generation framework that supports multiple input modalities, including tactile images, visual images, and semantic labels, to address diverse tactile generation requirements.

  • We model tactile sensors at the sensor-family level and use clustering and few-shot mixed training to transfer features from one sensor to its family, eliminating full multi-dataset training.

  • **** outperforms state-of-the-art models in tactile image reconstruction and generation, excelling in vision-limited scenarios.

Figure 2: Overview of the proposed ** framework.** The framework consists of three stages: (1) learning efficient tactile features using the DM-VQGAN encoder-decoder architecture, which is based on discrete codebooks for representation, (2) acquiring sensor-family-specific codebooks through clustering and few-shot mixed training method, and (3) by leveraging the discrete latent space and encoder learned by DM-VQGAN, a discrete diffusion decoder is employed to generate high-quality tactile images conditioned on unimodal inputs including visual images, tactile images or semantic labels.

2 Methodology↩︎

Overview. In this section, we elaborate on ********, whose pipeline is shown in Fig.2. It consists of three components: (i) DM-VQGAN, a tactile-specific encoder that models and amplifies geometric variations to produce generation-friendly latent representations (Sec.2.1); (ii) a Few-shot Mixed Training scheme that transfers these representations across sensor families for data-efficient cross-sensor generalization (Sec.2.1); and (iii) a unified discrete-diffusion generative framework that conditions on multimodal inputs and uses the pretrained encoder to synthesize tactile images (Sec.2.2).

2.1 DM-VQGAN↩︎

Vision-based tactile images discard color while preserving essential cues such as morphology, geometry, and force distribution [14]. Exploiting this low intrinsic variance together with VQGAN’s strong latent-space modeling [15], we adopt a discrete codebook to obtain structured representations under limited data. Vanilla VQGAN, however, relies on fixed convolutions and thus struggles to capture the non-rigid deformations and multi-scale patterns characteristic of VBTS [14], [16]. We therefore propose DM-VQGAN, which integrates deformable and multi-scale dilated convolutions to strengthen feature extraction and representation, as shown in Fig. 2 (b).

Training Process of DM-VQGAN. Similar to the classic VQGAN [17], DM-VQGAN consists of an encoder \(E\), a decoder \(G\), a patch-based discriminator \(D\), and a codebook \(Z = \{ z_k \}_{k=1}^{K}\), containing \(K\) discrete codes, as shown in Stage1 of Fig. 2 (a). Given an input image \(x \in \mathbb{R}^{H \times W \times 3}\), the encoder \(E\) first extracts a latent feature representation \(\hat{z} \in \mathbb{R}^{H_f \times W_f \times n_z}\), where \(n_z\) and \(f\) represent the dimensionality of the latent features and the spatial compression ratio, respectively. Next, the feature vector at each spatial location \((i, j)\) is quantized to the closest discrete code from the codebook via nearest neighbor search: \[z_q = q(\hat{z}) := \left( \arg \min_{z_k \in Z} \| \hat{z}_{ij} - z_k \| \right) \in \mathbb{R}^{H_f \times W_f \times n_z}, \label{eq6}\tag{1}\] The decoder \(G\) then decodes the quantized features back into the image space, i.e., \(\hat{x} = G(z_q)\). The training objective of DM-VQGAN is to minimize the difference between the input image and the reconstructed image, and the corresponding loss function can be expressed as: \[\begin{align} L_{\text{total}} =\; & \underbrace{ \| x - \hat{x} \|_1 + \| \text{sg}[E(x)] - z_q \|_2^2 + \beta \| \text{sg}[z_q] - E(x) \|_2^2 }_{L_{\text{vq}}} \\ & + L_{\text{per}} + L_{\text{adv}}, \end{align} \label{eq7}\tag{2}\] where \(L_{per}\) and \(L_{adv}\) represent the perceptual loss and the adversarial loss. In the reconstruction loss \(L_{vq}\), \(\text{sg}[\mathpunct{\cdot}]\) denotes the stop-gradient operation, and \(\beta \| \text{sg}[z_q] - E(x) \|_2^2\) is known as the commitment loss, where the commitment weight \(\beta\) is set to 0.25 [18], [19].

Deformation Pattern Extraction: In each encoder and decoder, we introduce deformable convolutions [16] to adaptively learn dynamic spatial offsets for convolution kernels, enabling the model to better capture local, complex, and irregular deformation patterns present in tactile images. The structure of the deformable convolution layer, denoted as: \[y(p_0) = \sum_{p_k \in \mathcal{G}} w_k \cdot x \left( p_0 + p_k + \Delta p_k \right), \label{eq8}\tag{3}\] where \(y(p_0)\) is the output feature vector at position \(p_0\), and \(p_k \in \mathbb{R}^2\), \(\Delta p_k \in \mathbb{R}^2\) represent the pre-defined offset and learned offset for the \(k\)-th sampling point. This flexible convolutional sampling mechanism facilitates effective learning of dynamic spatial relationships and feature variations, thereby enhancing sensitivity to localized deformations during tactile representation learning.

Multi-scale Fusion: To effectively capture the rich, multi-scale features inherent in tactile images, we design a multi-scale fusion module that employs parallel dilated convolutions with varying dilation rates (i.e., 1, 2, and 4), denoted as: \[y = \mathcal{F}_{\text{conv3x3}} \left( \text{Concat} \left( \left\{ \sigma \left( \mathcal{F}_{\text{dilate}}^{(d_i)} (x) \right) \right\}_{d_i \in \{1, 2, 4\}} \right) \right). \label{eq9}\tag{4}\]

This design expands the receptive field, enabling the simultaneous extraction of macro-level global deformations and micro-level textural features. Consequently, the DM-VQGAN effectively addresses the limitations of traditional convolutional structures in representing complex dynamic deformations and multi-scale features of tactile images, enhancing tactile representation and improving tactile image generation.

2.2 Few-shot Mixed Training for Cross-sensor Generalization↩︎

Many studies [20], [21] have observed substantial discrepancies among tactile sensors, which hinder the generalization of tactile representation models. Existing methods, such as UniTouch [20] and T3 [13], typically learn sensor-specific features from multiple large-scale datasets. Although effective, such a strategy is data-intensive and potentially redundant.

By analyzing mainstream tactile datasets [12], [22], we identify two major sources of variation in tactile images: intrinsic sensor properties and environmental factors. The former are determined by sensor design and manufacturing and remain relatively stable, while the latter, including illumination, calibration, and material degradation, introduce appearance shifts that may obscure consistent tactile patterns. We therefore hypothesize that sensors \(A_1\) and \(A_2\) with shared intrinsic properties but different environmental conditions belong to the same sensor family \(\textit{A}\), whose representations can be jointly learned. Consequently, a model trained on \(A_1\) can be adapted to \(A_2\) with only minimal additional data.

To identify the family of an unseen sensor, we propose an unsupervised clustering strategy. Specifically, DM-VQGAN is used to extract tactile features from images of multiple sensor types, followed by cross-sensor clustering. For each cluster, we compute its prototype vector by iteratively estimating feature centroids, and define the inter-cluster distance as \[D(C_i, C_j) = \left\| \frac{1}{|C_i|} \sum_{x \in C_i} x - \frac{1}{|C_j|} \sum_{y \in C_j} y \right\|, \quad i,j \in \mathbb{N}, \label{ynojiwac}\tag{5}\] where \(|C_i|\) and \(|C_j|\) denote the numbers of samples in clusters \(C_i\) and \(C_j\), respectively, and \(x\) and \(y\) are their corresponding feature vectors. Given an unseen sensor, we compute its prototype vector and assign it to the nearest sensor family. We then construct a small-sample mixed dataset to train DM-VQGAN for tactile representation learning, avoiding full retraining on all datasets.

2.3 Multimodal Conditional Generation Framework↩︎

Although DM-VQGAN learns effective tactile representations, its original decoder cannot flexibly incorporate external prompts such as images. We therefore adopt discrete diffusion [23], which naturally operates in discrete latent spaces, to build a unified multimodal conditional generation framework. As shown in Stage 3 of Fig. 2 (a), the diffusion decoder is conditioned on a single modality at each training step: \[\boldsymbol{c} = f_{m}(y_{m}), \quad m \in \{\text{\textit{visual}},\,\text{\textit{tactile}},\,\text{\textit{label}}\}, \label{eq10}\tag{6}\] where \(f_m(\cdot)\) denotes the encoder for modality \(m\), and \(\boldsymbol{c}\) is the corresponding conditional latent feature. This design enables flexible tactile image generation from visual, tactile, or label conditions according to task requirements. For visual conditioning, we use a frozen pretrained CLIP encoder [24], i.e., \(\boldsymbol{c}_{\text{visual}} = f_V^{\text{CLIP}}(y_{\text{visual}})\). For tactile conditioning, the input \(y_{\text{tactile}}\) is mapped to discrete indices using the sensor-specific codebook \(\mathcal{Z}=\{z_k\}_{k=1}^{K}\) learned by DM-VQGAN: \[\boldsymbol{c}_{\text{tactile}} = q\left(f_{\text{DM-VQGAN}}(y_{\text{tactile}}),\,\mathcal{Z}\right). \label{eq12}\tag{7}\] The selected conditional feature \(\boldsymbol{c}\) then interacts with the noisy latent representation \(\boldsymbol{z}_t\) through transformer modules in the diffusion decoder, enabling condition-specific tactile synthesis.

3 Experiments↩︎

3.1 Dataset and Baselines↩︎

We train and evaluate the proposed model on four public tactile datasets, namely Touch and Go [12], FabricVST [25], VisGel [26], and HCT [22], covering GelSight, GelSight Mini, and DIGIT sensors. We compare our method with representative tactile generation approaches [20] across multiple downstream tasks. For fairness, all experiments are repeated three times, and the average results are reported.

Table 1: Tactile image reconstruction. We compare tactile image reconstruction across different methods and sample sizes, evaluated by FID (\(\downarrow\)) and SSIM (\(\uparrow\)).
Method FID(\(\downarrow\)) SSIM(\(\uparrow\)) Mask Ratio
2-4(lr)5-7 Sample Size 100 1K 10K 100 1K 10K
MAE 160.11 129.45 117.42 0.680 0.695 0.712 0.25
205.32 209.22 186.11 0.561 0.635 0.645 0.5
270.04 235.10 220.86 0.480 0.582 0.598 0.75
VQGAN 46.76 18.34 16.54 0.823 0.911 0.923 \
DM-VQGAN 46.02 17.25 15.62 0.831 0.917 0.936 \

3.2 Results↩︎

Effectiveness Analysis of DM-VQGAN for Tactile Representation Learning. To evaluate the effectiveness of DM-VQGAN for tactile representation learning, we conduct reconstruction experiments on the FabricVST dataset [25] under varying training-sample scales, using MAE [27] and VQGAN [17] as baselines. As summarized in Table 1, DM-VQGAN consistently achieves superior reconstruction quality, preserving fine tactile structures across all data scales. In contrast, MAE fails to recover detailed textures (Fig. 3 (b)), and its performance with \(N=10\mathrm{k}\) remains inferior to DM-VQGAN trained with only \(N=100\) samples. Furthermore, latent-space visualization (Fig. 3 (a)) shows that, unlike CNN autoencoders that mainly retain color distributions, DM-VQGAN learns more structured and compact representations that emphasize salient tactile features while suppressing background variations. This demonstrates its effectiveness in learning discriminative and low-variance tactile representations.

Figure 3: Latent space visualization and reconstruction comparison. (a) shows RGB latent features from three encoders. (b) presents the reconstruction results of MAE with a ViT-Base backbone. (c) shows zero-shot reconstruction by ****, demonstrating generalization to unseen objects.
Table 2: Quantitative Results on Tactile Generation Task. Our method achieves the best results on most metrics.
Method HCT SSVTP
2-5 (lr)6-9 CTTP \(\uparrow\) LPIPS \(\downarrow\) SSIM \(\uparrow\) PSNR \(\uparrow\) CTTP \(\uparrow\) LPIPS \(\downarrow\) SSIM \(\uparrow\) PSNR \(\uparrow\)
GVST - 0.573 0.881 19.45 - 0.502 0.918 21.15
UniTouch 0.156 0.528 0.902 19.84 0.127 0.555 0.824 12.42
PixArt-\(\alpha\) 0.198 0.504 0.876 20.26 0.125 0.497 0.916 22.35
TextToucher 0.261 0.427 0.904 22.70 0.152 0.465 0.930 22.43
Ours 0.278 0.216 0.910 24.35 0.158 0.231 0.932 25.56

Evaluation Across Multiple Tasks and Applications. We evaluate the proposed framework across data-limited learning, multimodal generation, and downstream recognition tasks. Under limited samples and categories, our method demonstrates superior few-shot representation learning and zero-shot generalization to unseen objects, consistently outperforming competing approaches (Tab. 4, Fig. 3 (c)). We further assess vision- and label-conditioned tactile image generation using real-world scene images and semantic labels. As shown in Fig. 4 and Tab. 2, **** produces tactile images that maintain strong cross-modal consistency, structural fidelity, and semantic alignment. Finally, classifiers trained on generated tactile images achieve higher object recognition accuracy than baseline methods (Tab. 3), demonstrating the practical value of the generated data for downstream applications.

Table 3: Performance of Tactile Images Generated by VQ-Touch on Object Recognition Tasks Across Different Datasets.
Method Dataset Top-1 Acc (%) Precision (%) Recall F1 score
PixArt-\(\alpha\) TAG 81.26 81.8 0.82 0.819
Ours TAG 84.53 85.1 0.84 0.845
PixArt-\(\alpha\) FabricVST 88.79 89.4 0.90 0.897
Ours FabricVST 92.48 92.7 0.92 0.923
Table 4: Comparison of few-shot tactile image reconstruction.
method FID(\(\downarrow\)) LPIPS(\(\downarrow\)) SSIM(\(\uparrow\)) Sample Size
Unitouch [20] 72.43 0.583 0.615 N=500
56.71 0.541 0.663 N=2k
Ours 20.71 0.421 0.863 N=500
17.03 0.408 0.894 N=2K
Figure 4: Tactile image generation under vision or label conditions. **** can also generate high-fidelity tactile images from (a) vision inputs or (b) label inputs.
Figure 5: Cross-Sensor Tactile Image Reconstruction. We evaluate reconstruction performance by training with a few-shot mixed training method. The dataset consists of a small number of unseen sensor data (50 images from GelSight Derivative Version I and DIGIT) combined with data from their respective sensor families at a 1:5 ratio.

Validation of Transferability and Generalizability across Datasets and Sensors. As discussed in Sec. 2.2, we improve the generalizability of **** across different sensors and datasets within the same sensor family through few-shot mixed training. Specifically, a small number of tactile images from unseen sensors are combined with existing datasets from their corresponding sensor families to train DM-VQGAN. As illustrated in Fig. 5, the learned codebook can be directly transferred to tactile image reconstruction for unseen sensors, demonstrating the effectiveness of our approach in enabling cross-sensor generalization under limited-data settings.

4 Conclusion↩︎

In this work, we propose ****, a novel and data-efficient framework for tactile image generation. **** establishes a new paradigm for few-shot tactile generation by leveraging the representation learner DM-VQGAN and a unified conditional diffusion encoder, enabling cross-sensor compatibility and vision-free multimodal-to-tactile generation. Our framework demonstrates superior performance over SOTA methods while requiring limited training data. The proposed sensor-family clustering and mixed training strategy further enhance generalizability. These findings highlight the potential of **** as an effective solution for scalable tactile generation and efficient tactile perception in robotics and human computer interaction applications.

References↩︎

[1]
R. Calandra et al., “More than a feeling: Learning to grasp and regrasp using vision and touch,” IEEE Robotics and Automation Letters, vol. 3, no. 4, pp. 3300–3307, 2018.
[2]
N. Sunil, S. Wang, Y. She, E. Adelson, and A. R. Garcia, “Visuotactile affordances for cloth manipulation with local control,” in Conference on robot learning, 2023, pp. 1596–1606.
[3]
S. Q. Liu and E. H. Adelson, “Gelsight fin ray: Incorporating tactile sensing into a soft compliant robotic gripper,” in 2022 IEEE 5th international conference on soft robotics (RoboSoft), 2022, pp. 925–931.
[4]
S. Zhang et al., “Hardware technology of vision-based tactile sensor: A review,” IEEE Sensors Journal, vol. 22, no. 22, pp. 21410–21427, 2022.
[5]
K. Lyu et al., “TouchThinker: Scaling tactile commonsense reasoning to the open world with large-scale data and action-aware representation,” arXiv preprint arXiv:2606.11637, 2026.
[6]
G. Cao and S. Luo, “Multimodal perception for dexterous manipulation,” in Tactile sensing, skill learning, and robotic dexterous manipulation, Elsevier, 2022, pp. 45–58.
[7]
V. R. Acharya and V. S. Rao, “Exploring modern sensor in robotics: A review,” in 2024 asia pacific conference on innovation in technology (APCIT), 2024, pp. 1–5.
[8]
K. Lyu et al., “TouchFormer: A robust transformer-based framework for multimodal material perception,” in Proceedings of the AAAI conference on artificial intelligence, 2026, vol. 40, pp. 18496–18504.
[9]
L. Xiao, K. Lyu, J. He, J. Zeng, L. Shu, and J. Hao, “TacExpert: A pseudo-temporal mixture-of-experts framework for open-set tactile object recognition,” in ICASSP 2026-2026 IEEE international conference on acoustics, speech and signal processing (ICASSP), 2026, pp. 3761–3765.
[10]
K. Lyu et al., “TacReasoner: A dynamic tactile-language framework for interactive reasoning in real-world scenarios,” arXiv preprint arXiv:2607.05131, 2026.
[11]
F. Lygerakis, V. Dave, and E. Rueckert, “M2CURL: Sample-efficient multimodal reinforcement learning via self-supervised representation learning for robotic manipulation,” in 2024 21st international conference on ubiquitous robots (UR), 2024, pp. 490–497.
[12]
F. Yang, C. Ma, J. Zhang, J. Zhu, W. Yuan, and A. Owens, “Touch and go: Learning from human-collected vision and touch,” arXiv preprint arXiv:2211.12498, 2022.
[13]
J. Zhao, Y. Ma, L. Wang, and E. H. Adelson, “Transferable tactile transformers for representation learning across diverse sensors and tasks,” arXiv preprint arXiv:2406.13640, 2024.
[14]
R. Li and E. H. Adelson, “Sensing and recognizing surface textures using a gelsight sensor,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2013, pp. 1241–1247.
[15]
S. Cao et al., “Efficient-vqgan: Towards high-resolution image generation with efficient vision transformers,” in Proceedings of the IEEE/CVF international conference on computer vision, 2023, pp. 7368–7377.
[16]
J. Dai et al., “Deformable convolutional networks,” in Proceedings of the IEEE international conference on computer vision, 2017, pp. 764–773.
[17]
P. Esser, R. Rombach, and B. Ommer, “Taming transformers for high-resolution image synthesis,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2021, pp. 12873–12883.
[18]
I. Goodfellow et al., “Generative adversarial networks,” Communications of the ACM, vol. 63, no. 11, pp. 139–144, 2020.
[19]
J. Yu et al., “Vector-quantized image modeling with improved vqgan,” arXiv preprint arXiv:2110.04627, 2021.
[20]
F. Yang et al., “Binding touch to everything: Learning unified multimodal tactile representations,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2024, pp. 26340–26353.
[21]
Y. Sun et al., “Tactile data generation and applications based on visuo-tactile sensors: A review,” Information Fusion, p. 103162, 2025.
[22]
L. Fu et al., “A touch, vision, and language dataset for multimodal alignment,” arXiv preprint arXiv:2402.13232, 2024.
[23]
S. Gu et al., “Vector quantized diffusion model for text-to-image synthesis,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 10696–10706.
[24]
A. Radford et al., “Learning transferable visual models from natural language supervision,” in International conference on machine learning, 2021, pp. 8748–8763.
[25]
G. Cao, J. Jiang, D. Bollegala, M. Li, and S. Luo, “Multimodal zero-shot learning for tactile texture recognition,” Robotics and Autonomous Systems, vol. 176, p. 104688, 2024.
[26]
W. Yuan, Y. Mo, S. Wang, and E. H. Adelson, “Active clothing material perception using tactile sensing and deep learning,” in 2018 IEEE international conference on robotics and automation (ICRA), 2018, pp. 4842–4849.
[27]
K. He, X. Chen, S. Xie, Y. Li, P. Dollár, and R. Girshick, “Masked autoencoders are scalable vision learners,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 16000–16009.