[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111174":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":13,"lastSyncTime":28,"discoverSource":29},111174,"lingbot-touch","Robbyant\u002Flingbot-touch","Robbyant","Learning Heterogeneous Tactile Representation for General Dexterous Manipulation",null,"Python",819,13,2,0,10,141,682,50,97.44,"Apache License 2.0",false,"main",[],"2026-11-11 02:28:03","2026-11-23 16:45:14","# LingBot-Touch: A Foundation Model for Heterogeneous Tactile Representation Learning\n\n\u003Cp align=\"center\">\n  Bing Han, Yichuan Peng, Haoyu Dong, Yuanmeng Hu, Yongyi Jia, Fangjing Wang, Kecheng Zheng,\u003Cbr>\n  Yiming Zhang, Yanhong Zeng, Xiaoqing Zhang, Chen Song, Rundong Zou, Anqi Dong,\u003Cbr>\n  Yuan Guan, Ka Leong Cheng, Xing Zhu, Yujun Shen, Nan Xue, Wei Ning\u003Csup>†\u003C\u002Fsup>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.12806\">\u003Cimg src=\"assets\u002Fpaper.svg\" alt=\"Paper: PDF\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Ftechnology.robbyant.com\u002Flingbot-touch\">\u003Cimg src=\"assets\u002Fproject.svg\" alt=\"Project: Website\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fcollections\u002Frobbyant\u002Flingbot-touch\">\u003Cimg src=\"assets\u002Fhuggingface.svg\" alt=\"Model: HuggingFace\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.modelscope.cn\u002Fcollections\u002FRobbyant\u002FLingBot-Touch\">\u003Cimg src=\"assets\u002Fmodelscope.svg\" alt=\"Model: ModelScope\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"assets\u002Flicense.svg\" alt=\"License: Apache-2.0\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Foverview.png\" alt=\"LingBot-Touch connects heterogeneous, sparse tactile signals with tactile understanding, dexterous manipulation, and reinforcement learning.\" width=\"100%\">\n\u003C\u002Fp>\n\nWe aim to bridge heterogeneous tactile sensor signals and real-world dexterous robotic manipulation, enabling tactile experience to transfer across hardware platforms and tasks. To this end, we introduce **LingBot-Touch**, a JEPA-based tactile representation model built around a shared Transformer and latent representation prediction from spatiotemporal tactile context. LingBot-Touch enables a rich understanding of spatiotemporal tactile signals across sensing modalities while supporting high-frequency inference and cross-task transfer.\n\nWe demonstrate four key properties:\n\n1. **Unified.** Heterogeneous tactile data from multiple sources mutually enhance representation learning within a unified latent space.\n2. **Transferable.** Even when pretrained on entirely different tactile sensors, LingBot-Touch transfers to downstream tactile sensors and real-world dexterous robotic hands without any additional training.\n3. **Efficient.** Even with its smallest ViT backbone, LingBot-Touch supports high-frequency downstream inference with a lightweight architecture.\n4. **Scalable.** Scaling the amount of tactile training data yields continued performance improvements on both downstream tactile tasks and real-world robotic manipulation tasks.\n\n## Contents\n\n- [Pretraining](#LingBot-Touch-Pre-Training)\n- [Open Weights](#Models)\n- [Usage of LingBot-Touch Representations](#Usage-of-LingBot-Touch-Representations)\n- [Getting Started](#Getting-Started)\n- [Environment Setup](#Environment-Setup)\n- [Inference Steps](#Inference-Steps)\n- [Example](#Example)\n- [License](#License)\n- [Citation](#Citation)\n- [Detailed Data Interface Guide](#Detailed-Data-Interface-Guide)\n\n## LingBot-Touch Pre-Training\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fpretraining.png\" alt=\"LingBot-Touch pretraining: modality-specific tokenization, a shared Haptic Transformer with 5D RoPE, context prediction, and an EMA target encoder.\" width=\"100%\">\n\u003C\u002Fp>\n\nLingBot-Touch learns unified representations of magnetic, piezoresistive, and visuotactile signals through masked prediction in latent space, using modality-specific tokenizers and a shared Transformer. See the [paper](https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.12806) for method details.\n\n**Inference release.** This repository provides the frozen target encoder and utilities for extracting token-level tactile features and their spatiotemporal addresses.\n\n## Models\n\n#### LingBot-Touch Pretrained Checkpoints\n\n| **Model** | **ModelScope** | **Hugging Face** |\n| --- | --- | --- |\n| LingBot-Touch-Tiny | [Download](https:\u002F\u002Fmodelscope.cn\u002Fmodels\u002FRobbyant\u002Flingbot-touch-tiny) | [Download](https:\u002F\u002Fhuggingface.co\u002Frobbyant\u002Flingbot-touch-tiny) |\n| LingBot-Touch-Small | [Download](https:\u002F\u002Fmodelscope.cn\u002Fmodels\u002FRobbyant\u002Flingbot-touch-small) | [Download](https:\u002F\u002Fhuggingface.co\u002Frobbyant\u002Flingbot-touch-small) |\n\nDownload the matching `config.json` and `encoder.pt` from either platform and place them in `checkpoints\u002Flingbot-touch-tiny\u002F` or `checkpoints\u002Flingbot-touch-small\u002F`. Model files are hosted separately from this source repository. Access requires an account with permission to the model repository.\n\n## Usage of LingBot-Touch Representations\n\nAfter extracting token-level tactile representations with LingBot-Touch, we strongly recommend **attention-based querying**: use learnable or task-conditioned queries to attend to all output tokens through cross-attention and retrieve information needed by the downstream task, rather than relying on a per-token linear projection or mean\u002Fmax pooling as the default readout.\n\nEach token retains its temporal, finger, and spatial address, but JEPA representations integrate spatiotemporal context: after self-attention in the shared Transformer, a token contains information from other taxels and time positions rather than an independent measurement of a single taxel. Selecting tokens by address or applying mean\u002Fmax pooling therefore does not isolate information from a particular finger or time interval.\n\n## Getting Started\n\nFirst download a model bundle from the [checkpoint table](#Models). Use its matched `config.json` and `encoder.pt` together with this code. The three supported modalities are `magnetic`, `piezoresistive`, and `visuotactile`.\n\n### Environment Setup\n\nThese commands use the verified Linux \u002F Python 3.12 \u002F PyTorch 2.11 environment. Run them from the repository or extracted release root, where `pyproject.toml` and `infer.py` are located:\n\n```bash\nconda create -n lingbot-touch python=3.12.13 pip=26.0.1 -y\nconda activate lingbot-touch\npython -m pip install \"torch==2.11.0\" --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu130\npython -m pip install .\npython -m pip check\n```\n\nThe installed distribution is `lingbot-touch`; Python imports use `tactile_jepa_inference` for the encoder and `data_interfaces` for sensor adapters. Installation includes the verified `numpy==2.4.4` dependency to avoid PyTorch's missing-NumPy warning.\n\nThe inference commands below use CPU. For a compatible NVIDIA GPU, replace `--device cpu` with `--device cuda:0`. See [the detailed guide](DATA_INTERFACE_GUIDE.md) for environment and device details.\n\n### Inference Steps\n\n\u003Cimg src=\"assets\u002Fsteps\u002F1.svg\" width=\"12\" height=\"16\" alt=\"1\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Download model weights and configuration.\u003Cbr>\n\u003Cimg src=\"assets\u002Fsteps\u002F2.svg\" width=\"12\" height=\"16\" alt=\"2\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Align the data format.\u003Cbr>\n\u003Cimg src=\"assets\u002Fsteps\u002F3.svg\" width=\"12\" height=\"16\" alt=\"3\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Normalize geometry and signal values.\u003Cbr>\n\u003Cimg src=\"assets\u002Fsteps\u002F4.svg\" width=\"12\" height=\"16\" alt=\"4\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Resample (optional, recommended).\u003Cbr>\n\u003Cimg src=\"assets\u002Fsteps\u002F5.svg\" width=\"12\" height=\"16\" alt=\"5\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Select the sensing modality.\u003Cbr>\n\u003Cimg src=\"assets\u002Fsteps\u002F6.svg\" width=\"12\" height=\"16\" alt=\"6\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Run inference to obtain representations.\n\nThe public sensing-modality interface provides three options: `modality=\"magnetic\"`, `\"piezoresistive\"`, and `\"visuotactile\"`.\n\nFirst, use [`normalize_positions`](data_interfaces\u002Fgeometry.py) with verified fingertip spherical calibration parameters to transform the 3D taxel coordinates into canonical space. Then use [`prepare_sensor_input`](data_interfaces\u002Finterfaces.py), which calls [`normalize_signal`](data_interfaces\u002Fnormalization.py), to normalize signal values with fixed sensor ranges: XY in `[-1,1]` and Z in `[0,1]`. For scalar visuotactile and piezoresistive signals, place the measurement in Z and set XY to zero.\n\nHere, “calibration parameters” means a fixed geometric transform for each finger: `rotation` aligns coordinate directions, `coordinate_origin` specifies the reference origin after rotation, `radius` specifies the reference radius, and `offset_xyz` specifies the canonical-space offset. The computation is `p_canonical = (p @ rotation.T - coordinate_origin) \u002F radius + offset_xyz`. These parameters come from complete taxel geometry and reference templates, not from current tactile values or individual clips, and do not project every point onto a unit sphere.\n\n**The included examples do not require you to supply calibration parameters:** Sharpa samples already contain canonical coordinates; the XHand adapter includes fixed target coordinates and hand mappings. Do not apply another transformation. Only a new raw taxel layout requires verified geometry calibration; see [the detailed guide](DATA_INTERFACE_GUIDE.md). For XHand, raw-signal point selection precedes normalization and clipping, as shown below.\n\n**Optional point sampling:**\n\nPretraining explicitly supports **96, 76, 64, 48, 32, 24** points per finger for magnetic sensing, **61, 16, 9** for piezoresistive sensing (**124 points for the thumb in the 61-point layout**), and **200, 96, 32** for visuotactile sensing. In our experience, resampling to a compatible sensor resolution and geometry can further improve representation quality. The package includes [sampling code](data_interfaces\u002Fsampling.py), [pretraining sampling maps](data_interfaces\u002Fpretraining_sampling.py), and [reference geometry](data_interfaces\u002Fdata\u002Fmultires_references_v1.json).\n\n### Example\n\n#### Example 1: Sharpa Wave → Visuotactile Branch\n\n| Step | Code\u002Finput and result |\n| --- | --- |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F1.svg\" width=\"12\" height=\"16\" alt=\"1\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Model\u003C\u002Fnobr> | Download Tiny's `config.json` and `encoder.pt` into `checkpoints\u002Flingbot-touch-tiny\u002F`. |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F2.svg\" width=\"12\" height=\"16\" alt=\"2\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Format\u003C\u002Fnobr> | Use the [Sharpa sample](sample_data\u002Fsharpa\u002F001_left.pt): `raw` contains scalar tactile values of shape `[1,16,5,200]`, ordered thumb, index, middle, ring, pinky. These are not RGB images. |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F3.svg\" width=\"12\" height=\"16\" alt=\"3\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Normalization\u003C\u002Fnobr> | The [Sharpa interface](data_interfaces\u002Finfer_sharpa.py) calls the [signal adapter](data_interfaces\u002Finterfaces.py) to produce `[0,0,clip(Z\u002F255,0,1)]`. Samples already include correct canonical spherical coordinates and hand alignment; do not transform their geometry again. |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F4.svg\" width=\"12\" height=\"16\" alt=\"4\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Sampling\u003C\u002Fnobr> | This example already has 200 points per finger and requires no further resampling. Other verified layouts may use the optional [sampling interface](data_interfaces\u002Fsampling.py). |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F5.svg\" width=\"12\" height=\"16\" alt=\"5\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Branch\u003C\u002Fnobr> | The Sharpa interface automatically selects `modality=\"visuotactile\"`. |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F6.svg\" width=\"12\" height=\"16\" alt=\"6\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Representations\u003C\u002Fnobr> | Run the commands below to obtain separate token-feature files for the left and right hands. |\n\n```bash\nmkdir -p outputs\u002Fsharpa\nfor HAND in left right; do\n  python infer.py --input-format sharpa \\\n    --bundle checkpoints\u002Flingbot-touch-tiny \\\n    --input \"sample_data\u002Fsharpa\u002F001_${HAND}.pt\" \\\n    --output \"outputs\u002Fsharpa\u002F001_${HAND}_features.pt\" \\\n    --device cpu\ndone\n```\n\nFor new data with sensor-space 3D coordinates, use the [geometry normalization code](data_interfaces\u002Fgeometry.py) with verified calibration parameters. Input formats and `--calibration` usage are described in [the detailed guide](DATA_INTERFACE_GUIDE.md).\n\n#### Example 2: XHand → Magnetic Branch\n\n| Step | Code\u002Finput and result |\n| --- | --- |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F1.svg\" width=\"12\" height=\"16\" alt=\"1\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Model\u003C\u002Fnobr> | Reuse the two model files in `checkpoints\u002Flingbot-touch-tiny\u002F`. |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F2.svg\" width=\"12\" height=\"16\" alt=\"2\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Format\u003C\u002Fnobr> | Use the [XHand sample](sample_data\u002Fxhand\u002F001_left.pt): `raw` contains three-axis tactile values of shape `[1,16,5,120,3]`, with `hand` and a verified `layout_id`. |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F3.svg\" width=\"12\" height=\"16\" alt=\"3\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Normalization\u003C\u002Fnobr> | The [XHand adapter](data_interfaces\u002Fxhand.py) converts point order and signal axes according to handedness, then normalizes by `[128,128,255]`, clipping XY to `[-1,1]` and Z to `[0,1]`. |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F4.svg\" width=\"12\" height=\"16\" alt=\"4\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Sampling\u003C\u002Fnobr> | This example uses the existing 120→96 point-selection method and magnetic96 canonical coordinates, producing `[1,16,5,96,3]`. You can also use the original 120-point tactile data through the general sensor interface with matching canonical coordinates; we have verified that the 120→96 processing yields better representations. |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F5.svg\" width=\"12\" height=\"16\" alt=\"5\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Branch\u003C\u002Fnobr> | The [XHand interface](data_interfaces\u002Finfer_xhand.py) automatically selects `modality=\"magnetic\"`. |\n| \u003Cnobr>\u003Cimg src=\"assets\u002Fsteps\u002F6.svg\" width=\"12\" height=\"16\" alt=\"6\" style=\"width:0.75em;height:1em;vertical-align:baseline\">&nbsp;Representations\u003C\u002Fnobr> | Run the commands below to obtain separate token-feature files for the left and right hands. |\n\n```bash\nmkdir -p outputs\u002Fxhand\nfor HAND in left right; do\n  python infer.py --input-format xhand \\\n    --bundle checkpoints\u002Flingbot-touch-tiny \\\n    --input \"sample_data\u002Fxhand\u002F001_${HAND}.pt\" \\\n    --output \"outputs\u002Fxhand\u002F001_${HAND}_features.pt\" \\\n    --device cpu\ndone\n```\n\nThis mapping applies only to the verified XHand120 point-order and signal-axis conventions. If hardware or SDK changes the ordering, verify the mapping first; matching tensor shapes alone is insufficient.\n\n#### Run All Samples and Read the Results\n\nThe [sample manifest](sample_data\u002Fmanifest.json) indexes **30 bilateral input pairs per platform**, for both Sharpa and XHand, with 16 consecutive frames per hand: **120 single-hand input files** in total. See [the detailed guide](DATA_INTERFACE_GUIDE.md) for input contracts.\n\nRun all samples:\n\n```bash\nfor SENSOR in sharpa xhand; do\n  mkdir -p \"outputs\u002Fbatch_${SENSOR}\"\n  for INPUT in \"sample_data\u002F${SENSOR}\u002F\"*.pt; do\n    NAME=$(basename \"$INPUT\" .pt)\n    python infer.py --input-format \"$SENSOR\" \\\n      --bundle checkpoints\u002Flingbot-touch-tiny \\\n      --input \"$INPUT\" \\\n      --output \"outputs\u002Fbatch_${SENSOR}\u002F${NAME}_features.pt\" \\\n      --device cpu\n  done\ndone\n```\n\nExisting output files are not overwritten; use a new output directory when rerunning. Read the first result from each batch output directory:\n\n```python\nimport torch\n\nfor sensor in (\"sharpa\", \"xhand\"):\n    result = torch.load(f\"outputs\u002Fbatch_{sensor}\u002F001_left_features.pt\", map_location=\"cpu\", weights_only=True)\n    print(sensor, result[\"latent\"].shape)\n    print(result[\"time_id\"].shape, result[\"finger_id\"].shape, result[\"pos_xyz\"].shape)\n```\n\n`latent` contains token-level representations of shape `[B,N,C]`. `time_id`, `finger_id`, and `pos_xyz` identify each token's time, finger, and spatial location. `N` depends on frame count, tubelet size, and valid points; `C` is determined by the downloaded model configuration.\n\nPackage layout (top-level):\n\n```text\nlingbot-touch\u002F\n├── .gitignore\n├── README.md\n├── DATA_INTERFACE_GUIDE.md\n├── LICENSE\n├── THIRD_PARTY_NOTICES.md\n├── pyproject.toml\n├── infer.py\n├── assets\u002F\n├── paper\u002F\n├── data_interfaces\u002F\n├── tactile_jepa_inference\u002F\n├── tests\u002F\n└── sample_data\u002F\n```\n\n## License\n\nLingBot-Touch is licensed under the [Apache License, Version 2.0](LICENSE). Applicable third-party components retain their original licenses; see [Third-Party Notices](THIRD_PARTY_NOTICES.md).\n\n## Citation\n```\n@article{han2026learningheterogeneoustactile,\n  title={Learning Heterogeneous Tactile Representation for General Dexterous Manipulation},\n  author={Bing Han and Yichuan Peng and Haoyu Dong and Yuanmeng Hu and Yongyi Jia and Fangjing Wang and Kecheng Zheng and Yiming Zhang and Yanhong Zeng and Xiaoqing Zhang and Chen Song and Rundong Zou and Anqi Dong and Yuan Guan and Ka Leong Cheng and Xing Zhu and Yujun Shen and Nan Xue and Wei Ning},\n  year={2026},\n  eprint={2611.12806},\n  archivePrefix={arXiv},\n  primaryClass={cs.RO},\n  doi={10.48550\u002FarXiv.2611.12806},\n  url={https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.12806}\n}\n```\n## Detailed Data Interface Guide\n\nWe provide a detailed [data interface guide](DATA_INTERFACE_GUIDE.md). Read it directly or share it with your Agent for help understanding and using the interfaces. Have fun!\n","LingBot-Touch 是一个面向灵巧机器人操作的触觉表征学习基础模型，旨在统一建模异构、稀疏的多源触觉信号（如 GelSight、TacTip、BioTac 等），并支持跨硬件与任务的迁移。其核心技术基于 JEPA（Joint-Embedding Predictive Architecture）框架，采用共享 Transformer 结构，从时空触觉上下文中预测潜在表征，具备统一表征、零样本迁移、高频推理和数据可扩展性四大特性。适用于机器人灵巧操作、触觉感知建模、具身智能中的多模态融合及真实场景下的触觉-动作闭环控制等研究与开发场景。","2026-11-24 04:40:19","CREATED_QUERY"]