Building a Universal Representation for Touch: A Tactile Encoding that Large Models Can Consume

Overview

Most dexterous manipulation failures are contact failures: an incipient slip, a grasp that loses force closure while the hand still looks correctly placed. The evidence is local, often only a few square millimeters of skin, and it lives in the distribution of normal and shear forces across the contact patch. Surface deformation carries those quantities.

Vision-based tactile sensing has confirmed this repeatedly: contact location, area, force distribution, and even incipient slip can be reconstructed from the deformation of an elastic sensing layer [1]. For a linear-elastic half-space, surface displacement and surface traction determine each other; inverse finite-element methods [2] have reconstructed dense 3D force fields on real sensors. The per-point surface deformation field is a physical substrate for a shared tactile representation. We build a pipeline on this carrier. The first stage reversibly encodes the deformation over any approximately convex sensor surface into a fixed-size matrix. The second stage compresses the matrix into a low-dimensional latent. A third, independent module generates training data: a fast renderer that turns a simulator's 6-D contact wrench into a plausible deformation field for a given sensor geometry.

Touch lacks a shared input format

Large models can reuse vision representations across tasks because every camera outputs an H×W×3 grid. That grid supports ImageNet-scale pretraining and provides a common input for the Vision Transformer (ViT; Dosovitskiy et al., 2021), CLIP (Radford et al., 2021), and vision-language-action models (VLAs). ViTs consume image patches as tokens, CLIP aligns images with text, and VLAs emit robot actions from visual and language input. Touch has no equivalent input format:

  • Geometry differs. Optical tactile pads such as GelSight (Yuan et al., 2017) and DM-Tac, a multimodal tactile sensor, are flat; humanoid fingertips such as Sharpa's are curved.

  • Signals differ. Markers, pressure fields, vibration, images; simulators offer only a 6-D wrench.

  • Coordinates differ. An identical 2 N oblique press lands in incomparable layouts across sensors' raw data. Whatever its 3D shape, a sensor surface is intrinsically a two-dimensional manifold, and its deformation field is a 3-vector field on that manifold, the same mathematical object as an image. A fixed-size matrix discretizes the field at a fixed resolution: touch's counterpart of the image plane. A flat vector hides adjacency in its indexing; a point cloud is unordered, so neighborhoods must be recomputed and cross-sensor correspondence relearned per sample. A matrix preserves adjacency and cross-sensor correspondence at a fixed size, slices naturally into ViT patches, stacks into training batches, and supports standard augmentations. The encoding target is the full-surface normal-and-shear deformation field of an arbitrary convex sensor surface, written into a fixed-size N×N×3 matrix. The current implementation uses N = 128. Convexity costs little in practice: real tactile receiving surfaces, like the pad of each human phalanx, are convex or nearly so. The encoding chains three mappings: surface to sphere, sphere to disk, and disk to matrix. A radial projection carries the 3-D deformation field from the mesh surface onto the unit sphere; the Lambert projection flattens the sphere onto a disk; and the FG-squircular mapping fills the disk into the 128×128×3 square matrix.

Mapping chain from a convex sensor surface through the unit sphere and the Lambert disk into a 128×128×3 matrix.
One surface point carried through the chain: radial projection onto the unit sphere, Lambert projection onto the disk, and FG-squircular mapping into a cell of the 128×128×3 matrix.

Encoding any convex tactile surface into a 128×128×3 matrix

Lossless is not enough

Any bijection "surface point ↔ matrix cell" is lossless, and all bijections are information-equivalent. Invertibility alone cannot rank one mapping above another. A downstream neural network imposes three additional requirements:

  • Continuity: neighboring skin points map to neighboring cells. A scrambled bijection is equally lossless, yet every convolution kernel and ViT patch would aggregate physically unrelated points; under continuity, a contact patch stays a connected blob.

  • Area fidelity: region-area ratios are preserved as nearly as possible, so sampling density is uniform across the skin and contact-patch area reads out faithfully wherever the contact lands.

  • Cross-configuration consistency: similar sensors subject to an identical contact yield matrices as similar as possible.

The encoding satisfies all three through a chain of area-preserving, direction-preserving mappings. Every convex sensor surface projects onto the unit sphere (providing the canonical domain and cross-configuration consistency). The Lambert equal-area projection flattens the sphere onto a disk (preserving area fidelity). The FG-squircular mapping fills the disk into a square matrix (preserving continuity and the shear basis). The sections below work through each step.

The sphere as a canonical domain

Flat pads and curved fingertips need a common domain; separate unwrapping schemes would not produce comparable coordinates. Every tactile receiving surface is approximately part of a convex body, and the sphere provides the canonical convex body. We convexify each configuration while keeping the receiving surface, take the volumetric centroid c, and project every surface point radially from c onto the unit sphere, producing a bijection "surface point ↔ direction on S²." The same sphere-to-matrix mapping then applies to every configuration, providing cross-configuration consistency.

Encoding deformation direction: normal alignment, shear co-transport, and pole decomposition

Each surface point carries a position, a normal, and a shear deformation. The normal and shear directions must be encoded consistently across configurations, or the numbers stored in the matrix lose their physical meaning. The sphere provides a unified reference frame for both directions. Normal: align to the spherical radial by the minimal rotation. For each mesh point, let its outward normal be n and its post-central-projection spherical radial be w, and take the minimal rotation R that turns n onto w (about the axis n×w, through the angle between them). R aligns the point's normal uniquely onto the spherical radial; the magnitude of the normal deformation is written into the normal channel C0. Shear: carried onto the sphere by that rotation. The same rotation R carries shear into the tangent plane at the corresponding point on the sphere. Normal and shear therefore transport together, preserving their relative orientation: how the shear is deflected relative to the normal.

Spherical decomposition of fingertip contact forces.
Spherical decomposition of fingertip contact forces. (a) Surface normal C_0 n and shear t at contact point \xi are projected along the radial to the unit sphere at q = (\xi - O)/\|\xi - O\|. (b) A minimal rotation R with axis \ell \propto n \times w and angle \theta transports both vectors so that Rn = w and Rt = t', preserving \|C_0 n\| = C_0. (c) The transported shear decomposes in a pole-referenced tangent frame as t' = C_1 m + C_2 c.

Decomposing the shear: define a pole. To split the spherical shear vector into two scalars, we fix a pole P on the sphere. At each point, the shear decomposes into a "toward-the-pole" component and a "perpendicular-to-that-direction" component, forming a polar-style frame centered on the pole. These two components are written into C1 and C2 respectively. (At P itself the frame degenerates, so the shear direction at that single point is computed separately.) Pole placement decides where the degeneracy lands. Every configuration has a connection region, where it joins the next phalanx or the wrist, that bears almost no contact. The pole frame has a second degenerate point, the antipole, where "toward-the-pole" loses its unique direction and the shear decomposition degenerates accordingly. We align the antipole with this low-contact region and point the pole P toward the fingertip. Each surface point now has three scalars (C0, C1, C2): one radially-aligned normal-deformation magnitude, and two shear-deformation components in the pole frame. The sphere-to-matrix mapping must preserve both the per-point values and their pole frame.

From sphere to disk: the Lambert equal-area projection

The Lambert equal-area projection flattens the sphere onto a unit disk centered on the pole. The disk's area π uniformly covers the sphere's 4π, so no region is magnified or shrunk, sampling density is uniform, and a per-pixel sum approximates a surface integral without reweighting. A non-equal-area projection (Mercator, stereographic) would magnify high-latitude regions, making resolution position-dependent and erasing spatial structure in compressed regions.

Lambert equal-area mapping from sphere to disk.
The Lambert equal-area mapping from the sphere (left) to the (x, y) disk (right). The pole maps to the disk center and the antipole to the dashed rim. Matching colors show where each region lands.

Position alone is insufficient for shear: its orientation must survive the mapping. We transport reference bases that are defined identically at every stage: a radial component directed toward the center and a circumferential component orthogonal to it. The center on the sphere is the pole, and the center on the disk is the disk's center. Mapping the sphere's "toward-the-pole" direction onto the disk's "toward-the-center" direction keeps the two shear components unmixed: the sphere's radial/circumferential basis and the disk's radial/circumferential basis correspond one-to-one. The radial mapping from each configuration onto the sphere and the disk→square mapping of §2.5 still carry a small bounded area distortion around the Lambert step. We record the true area each pixel represents as a weight. The equal-area Lambert step prevents this weight from blowing up in certain regions, as it could under a non-equal-area projection. The central projection, the Lambert mapping (everywhere except the antipole, §2.3), and the FG-squircular mapping are all continuous with continuous inverses. Neighboring pixels therefore correspond to neighboring skin points, as required in §2.1, everywhere except a small neighborhood of the antipole, which the flattening tears onto the matrix border. The tear lies in the contact-free connection region rather than the tactile receiving surface.

From disk to matrix: the FG-squircular mapping

The disk-to-square mapping writes the per-point values into the square matrix. Inscribing the circle directly into the square and discarding the corners leaves only π/4 ≈ 78.5% of the pixels in use, and the dead ring outside the circle would force convolution kernels and ViT patches to learn an artificial circular mask, adding to their learning burden. Mapping the disk's points as uniformly as possible to fill the whole square avoids both costs. The scalar normal channel C0 only needs resampling. Shear C1/C2 also needs a consistent basis: the disk's "toward-the-center" direction must survive on the square pixel grid, which has no intrinsic polar basis. FG-squircular preserves that direction because it is "radial-preserving." For a square point (a, b) ∈ [-1, 1]²: (u_d, v_d) = (a, b)\,\sqrt{(a^2 + b^2 - a^2 b^2)/(a^2 + b^2)}. The right-hand side is (a, b) times a positive scalar, so atan2(v_d, u_d) = atan2(b, a): a ray emanating from the center remains a ray at the same angle after mapping. "Toward-the-center" therefore remains aligned between disk and square, and the disk's radial/circumferential basis carries onto the square matrix unambiguously. Under a non-radial-preserving mapping (such as the elliptical grid mapping), "toward-the-center" does not line up, and one fixed physical shear direction lands, at different matrix positions, onto twisted local frames, contaminating the shear channels. The "toward-the-center" basis now corresponds one-to-one from the sphere's pole, through Lambert to the disk, and through FG-squircular to the square matrix; the two shear components C1/C2 remain unmixed throughout.

Rendering simulated contact into a deformation field

Training requires surface-deformation signals, but real-robot data is scarce and mainstream physics simulators typically report only a 6-D force/torque at contact. The wrench fixes the overall load state but leaves the local response at each surface point undetermined, and that local response is what we want to model. Given a simulated 6-D force and a detailed model of the specific geometry, a finite-element method (FEM) could in principle reconstruct the full force-distribution map, but finite elements are far too expensive for the real-time budget of dexterous manipulation. We instead render the local response analytically: given the 6-D wrench and a known geometry model, the renderer quickly produces a plausible tactile output for that geometry under that resultant force. The same deformation model supplies the features carried by the representation and generates its training data. Normal deformation identifies the contact patch. Far from that patch, the shear field remains interpretable but depends strongly on sensor boundaries and internal structure. The model therefore keeps only the generalizable features in and near the normal contact patch: contact location, contact extent, relative normal-deformation strength, and the shear direction and relative magnitude inside and around the patch. Notation. In the models below, all quantities are displacements expressed in a local 2-D frame centered at the contact point. i indexes surface points and (x_i, y_i) are that point's local coordinates. f(x,y) denotes the normal displacement. A denotes its peak amplitude. a and b stand for the semi-axis scales of the contact ellipse along the two local axes. p is the shape exponent. (\tau_x, \tau_y)_i stand for the two shear components at point i. S denotes the amplitude. s = ± 1 denotes the swirl sign. p_s denotes the shear shape exponent. r_{50} denotes the half-peak radius where the normal deformation drops to half its peak. L_c denotes the associated square-scale length, given by L_c = \sqrt{\pi/4} r_{50}. h_r(\rho) stands for the radial displacement profile. \rho stands for the radial distance. \rho_p denotes the ring position. \alpha denotes the inner-side rise rate, \beta denotes the outer decay held fixed. k denotes an overall gain. Normal: an elliptical super-Gaussian peak. Because we are fitting displacement, the normal channel uses a super-Gaussian rather than the Hertzian pressure profile that contact mechanics predicts: f(x_i, y_i) = A\exp\!\left[ -\left( \left(\tfrac{x_i}{a}\right)^2 + \left(\tfrac{y_i}{b}\right)^2 \right)^{p/2} \right]. The extra shape exponent p (over a plain Gaussian) lets the peak morph smoothly from "sharp tip, slow tail" to "flat top, fast decay," matching the observed displacement peaks. a, b, p are randomized to help bridge the sim-to-real gap.

Super-Gaussian weight profiles for different exponents p.
Super-Gaussian weight profiles for different exponents p.

Shear: a separate distribution for each of three contact regimes.

  • Sliding tendency → a principal shear field. The whole patch is "dragged" along the input shear direction, with direction and relative magnitude following the input shear resultant; it uses the same super-Gaussian envelope as the normal channel.

  • Twisting tendency → a pure-shear pattern. The pattern is symmetric about the contact center: zero at the center, rising then decaying outward. In local coordinates (x_i, y_i) centered on the contact, the two shear components are

    (\tau_x, \tau_y)_i = s\,S\,g_i\,\frac{(y_i, x_i)}{L_c}, where g_i = \exp\!\left[ -\frac{(r_{\infty,i}/L_c)^{p_s}}{p_s} \right], r_{\infty,i} = \max(|x_i|, |y_i|).

  • Radial spread under pressing → a radial field. When pressed normally, the silicone surface spreads outward; this radial displacement is captured by an empirical "peak-ring" curve

    h_r(\rho) = \left(\frac{\rho}{\rho_p}\right)^{\alpha} \exp\!\left[ -\frac{\alpha}{\beta}\left( \left(\frac{\rho}{\rho_p}\right)^{\beta} - 1 \right) \right].

The shape and scale parameters of all three are randomized per contact (domain randomization) to bridge sim-to-real. Finally a noise layer (spatially smooth noise + white noise + gain perturbation) is added to mimic real measurement error. The renderer applies this deformation model to a simulated 6-D force and writes the resulting surface field as a matrix.

The five-stage tactile representation pipeline.
The five-stage tactile representation pipeline: (1) an input 6-D contact force on the fingertip mesh, split into normal and tangential components; (2) the contact response diffused over the mesh surface; (3) the response mapped to the unit sphere; (4) the sphere flattened to an equal-area Lambert disk; (5) the final 128×128 UV tactile image.

Compressing the matrix into a latent

The 128×128×3 matrix retains almost all of the surface information, but it is too high-dimensional and too raw to serve as a representation directly. We train a single-frame ViT autoencoder to compress it into a compact latent for downstream models.

arctan normalization

Before the network, an arctan-type soft-saturating normalization rescales the deformation field.

  • Large loads have saturating marginal value. For capping a bottle or inserting a plug, once the press is firm, harder pressing adds deformation but no task information.

  • Small loads carry the decisive signal. Contact just established, slip imminent, the fingertip just landed: these states live at the small-amplitude end of the deformation range, and that end has to be resolved finely. arctan(x / x₀) is a monotone, bounded, sign-preserving soft-saturating curve: near-linear at small amplitudes and compressive at large ones, so it resolves small deformations finely while compressing large ones. (x₀ sets the saturation scale of deformation, calibrated on the training side.) arctan is also invertible, so the deformation magnitude, and through it the load level, remains recoverable from the normalized value.

Denoising autoencoder

Six-block autoencoder: matrix input, patch embedding, a 4-layer transformer encoder, a 64-dimensional latent, a 2-layer transformer decoder, and matrix output.
A single-frame ViT denoising autoencoder: the 128×128×3 matrix is patchified (8×8 patches, 256 tokens), encoded by a 4-layer transformer (4 heads, MLP ratio 4.0), mean-pooled into a 64-dimensional latent, and decoded by a 2-layer transformer back to the matrix. (Dropout 0.0, linear output, about 1.43 M learnable parameters.)

The autoencoder has about 1.43 M parameters (patch = 8, embed = 64, latent = 64, encoder 4 layers / decoder 2 layers). Training uses denoising: each noisy input is paired with a clean target, with fresh, independent noise drawn for every sample on every pass, forcing the model to learn features rather than memorize inputs.

Synthetic training transfers to real sensors

We train the autoencoder on synthetic fields alone (no real measurement enters training) and then measure its reconstruction loss on frames from a real sensor. Reconstruction on unseen real frames tests whether the synthetic distribution carries the structure of real contact.

  • Training set: samples generated from our simulated distribution (the product of Parts One + Two), scaling toward tens of millions.

  • Test set: external Daimon-Infinity tactile data, run through the encoding stage.

The full pipeline maps a 6-D force (F_x,F_y, F_z, x, y, z) through Parts One and Two to the final latent.

Loss curves: training loss on synthetic fields and validation loss on real Daimon frames over 10,000 optimizer updates.
Validation loss on real Daimon frames falls in step with the training loss on synthetic fields and settles at 1.4 × 10⁻⁴ over 10,000 optimizer updates. (One model and hyperparameter set; no real data in training.)

Over 10,000 optimizer updates, the training loss on synthetic fields drops from 6.7 × 10⁻² to 1.28 × 10⁻⁴, and the validation loss on real Daimon data drops from 1.65 × 10⁻³ to 1.42 × 10⁻⁴, an 11.7× reduction. The validation loss falls in step with training and converges to 1.42×10⁻⁴ (best: 1.41×10⁻⁴ at update 9550), stable within ±2.3% over the final 1000 updates. A model that never saw a real measurement improves steadily on a real sensor and then plateaus: the synthetic distribution transfers.

A synthetic sample's arctan-space target and the model's reconstruction, shown before and after the model. A real Daimon frame's arctan-space target and the model's reconstruction, shown before and after the model.
Each pair shows the target before the model and the model's output after it. The first pair is a synthetic sample; the second is a real Daimon frame. Both reconstructions are accurate and slightly smoother than the target.
Two real Daimon recordings through the pipeline, the left index finger (top row) and left middle finger (bottom row); left to right: third-view camera, the mapped input, and the encoder–decoder reconstruction. (Synthetic-trained model, no real data in training.)

The Daimon sensor's tactile receiving surface is a bounded flat plane, so its mapped signal occupies only part of the matrix rather than the whole square.

From one convex body to a whole hand, and into a VLA

The current pipeline encodes touch on a single convex pad into a unified matrix and compresses it to a latent. Whole-hand VLA control requires fusing per-phalanx latents and injecting the resulting tactile representation into action decoding.

Fusing per-phalanx latents via the kinematic tree

A dexterous hand assembles convex pads on a joint tree. Concatenating every phalanx's latent into one vector discards the hand's kinematic tree. We plan to build on the Rodrigues Network [3], which operates over a robot's kinematic tree: attach each phalanx's tactile latent to its link, then use message passing along the tree to form a whole-hand tactile representation that retains which phalanx is loaded and how force travels along the chain.

Injecting tactile tokens into a VLA

Following FWBC-VLA [4], a force-aware vision-language-action model for contact-rich loco-manipulation, we will tokenize the whole-hand representation and inject the tokens into the action expert (the subnetwork that emits the action) alongside vision and language as the VLA decodes actions. The policy can then condition its actions on live contact state (slip onset, grasp stability, applied force) rather than on vision and language alone.

Summary

The pipeline maps a convex tactile surface into a 128×128×3 deformation matrix, renders training fields from simulated 6-D contact forces, and compresses the matrix into a 64-dimensional latent. Trained without real measurements, the autoencoder reconstructs real Daimon frames. Next, we will fuse per-phalanx latents along the hand's kinematic tree and test whether tactile tokens change a VLA's behavior on contact-rich tasks.

References

[1] K. L. Johnson. Contact Mechanics. Cambridge University Press, 1985.

[2] D. Ma, E. Donlon, S. Dong, and A. Rodriguez. "Dense Tactile Force Estimation using GelSlim and inverse FEM." IEEE International Conference on Robotics and Automation (ICRA), 2019, pp. 5418–5424. arXiv:1810.04621. https://arxiv.org/abs/1810.04621

[3] J. Zhang, H. Geng, Y. You, C. Deng, P. Abbeel, J. Malik, and L. Guibas. "Rodrigues Network for Learning Robot Actions." ICLR, 2026. arXiv:2506.02618. https://arxiv.org/abs/2506.02618

[4] Y. Zhang, S. Ma, L. Yang, Y. Li, C. Hao, H. Chi, D. Wei, Q. Yu, and D. Hou. "FWBC-VLA: Force-Aware Whole-Body Compensation for Contact-Rich Loco-Manipulation." arXiv:2609.03889. https://arxiv.org/abs/2609.03889

@misc{dexgem2026tactilemapping,
  title  = {Building a Universal Representation for Touch: A Tactile Encoding that Large Models Can Consume},
  author = {Shen, Luge and Chen, Siyuan and Lu, Irvine},
  year   = {2026},
  url    = {https://dex-gem.ai/blog/tactile-mapping},
  note   = {DexGEM Lab blog post}
}