Octopi: Object Property Reasoning with Large Tactile-Language Models

Samson Yu, Kelvin Lin, Anxing Xiao, Jiafei Duan, Harold Soh

TL;DR

The paper introduces OCTOPI, a Large Vision-Language Model (LVLM) enhanced with a tactile modality to enable robots to perform physical reasoning in visually ambiguous scenarios. Alongside the model, the authors introduce PHYSICLEAR, a new dataset of GelSight tactile videos annotated with human-labeled physical properties like hardness, roughness, and bumpiness. By grounding language models in touch, OCTOPI successfully combines tactile perception with commonsense reasoning to solve complex real-world tasks, such as sorting avocados by ripeness.

What Problem Does This Paper Address?

While modern Large Vision-Language Models (LVLMs) show impressive capabilities in visual and commonsense reasoning, they are fundamentally blind to properties that cannot be seen. In the real world, vision alone is often insufficient due to visual ambiguity or occlusion. For instance, a ripe avocado and an unripe one might look identical, but they feel completely different.

To bridge this gap, robots need a sense of touch. However, integrating tactile data into language models presents a massive domain gap: the high-resolution, localized deformation images produced by visual-tactile sensors (like GelSight) look nothing like the natural images used to pre-train standard LVLMs. This paper addresses how to effectively align tactile representations with language models to enable physical property reasoning.

Methods

The authors developed the OCTOPI framework, which adapts a LLaMA-based LLM (Vicuna v1.5) to process tactile video sequences.

Fig. 3. OCTOPI Framework. Our framework consists of CLIP’s vi- sual encoder, a projection module with two linear layers, and Vicuna v1.5 as the LLM. Language embeddings are derived through tok- enization and then Vicuna’s word embedding layer, with <tact start> and <tact end> being newly trained word embeddings indicating the start and end of a tactile frame sequence from a single tactile sensor. Tactile frames are fed into the visual encoder followed by the projection module to derive tactile embeddings with the same dimension as the word embeddings.

The training methodology consists of three distinct steps:

  1. Encoder Fine-tuning: The authors take a pre-trained CLIP visual encoder (ViT-L/14) and fine-tune it on tactile videos using the ViFi-CLIP architecture. They employ Visual Prompt Tuning (VPT) by appending learnable prompts to the Transformer layers while keeping the backbone frozen, optimizing it via a multitask cross-entropy loss to predict hardness, roughness, and bumpiness.
  2. Tactile Feature Alignment: The outputs of the fine-tuned encoder are mapped to the LLM’s word embedding space using a projection module (two linear layers with a GELU activation). During this stage, the encoder and LLM are frozen.
  3. End-to-End Fine-tuning: To ensure coherent text generation, the projection module and the LLM are fine-tuned together using Low-Rank Adaptation (LoRA), while the visual encoder remains frozen.

Datasets

The paper introduces PHYSICLEAR, a visual-tactile dataset designed to facilitate tactile-grounded physical reasoning.

Fig. 2. PHYSICLEAR and OCTOPI (with key contributions starred). We collect tactile videos for everyday household objects by hand with two exploratory procedures: pressing and rotation. The videos are annotated by three annotators for three physical properties: hardness, roughness and bumpiness. PHYSICLEAR leverages the videos and annotations for five language-driven physical description and understanding tasks. OCTOPI is a LVLM fine-tuned on PHYSICLEAR for tactile-grounded physical understanding and reasoning.
  • Data Collection: It contains 408 tactile videos of 74 everyday household objects, captured by manually pressing and rotating a GelSight sensor against different object parts.
  • Annotations: Three independent human annotators labeled the dataset across three categories per property: Hardness (soft, moderately hard, hard), Roughness (smooth, slightly rough, rough), and Bumpiness (no bumps, small bumps, big bumps).
  • Evaluation Suite: PHYSICLEAR includes five distinct language-driven tasks: Object Property Description (OPD), Property Comparison (PC), Property Superlative Selection (PSS), Property-object Matching (POM), and Property Scenario Reasoning (PSR).

Key Insights and Ideas

  • The Power of Intermediate Descriptions: One of the most significant findings is that forcing the model to explicitly describe physical properties (Object Property Description) before answering a reasoning prompt drastically improves performance. Predicting these intermediate properties acts as a cognitive stepping stone for the LLM.
  • Cross-Modal Commonsense Integration: By aligning touch to language, the model can leverage the LLM's internal web-scale knowledge base. For example, when given a tactile video of a scoop of rice, OCTOPI can correctly deduce that the rice is uncooked because it senses a rough, yielding surface—a connection it makes entirely through commonsense inference without explicit training on that specific task.
Fig. 4. Rice (Cooked v.s. Uncooked) Reasoning. OCTOPI-13b is prompted to reason about whether a scoop of rice is more likely to be cooked or uncooked based on a tactile video of a scoop on uncooked rice. It reasons about the rice state correctly without being trained to do so.

Key Results

  • Impact of Property Descriptions: On the Property Superlative Selection (PSS) task, OCTOPI-13b achieved an accuracy of 84.00% when utilizing intermediate object property descriptions, compared to just 39.88% when trained without them.
  • Model Scaling: Larger language models yielded substantial improvements in tactile grounding. OCTOPI-13b outperformed OCTOPI-7b across all physical understanding tasks, notably scoring 60.43% vs. 44.39% on Property-object Matching (POM).
  • Real-Robot Deployment: The authors integrated GelSight sensors onto a Franka Emika Panda robot for an avocado sorting task.
Fig. 1. Avocado ripeness selection by combining tactile information with commonsense knowledge. Using inputs from its tactile sensor, OCTOPI identifies the left avocado as softer. Using commonsense reasoning, OCTOPI infers that it is ripe and fulfils the user’s request.

OCTOPI-13b achieved a 63.00% ripeness classification accuracy using only a pressing motion, successfully outperforming vision-only baselines like PG-InstructBLIP, which failed to accurately infer ripeness from visual appearance alone.

Limitations and Future Work

The authors note a few key limitations and areas for future exploration:

  • Property Distribution Imbalance: The joint distribution of physical properties in everyday objects is inherently non-uniform (e.g., "hard, smooth, no bumps" is highly common in manufactured goods, while "soft, rough, no bumps" is rare). Future work will focus on better representation learning techniques to mitigate this data imbalance.
  • Sensor and Modality Expansion: The current framework is limited to GelSight visual-tactile data. The authors plan to explore more diverse exploratory procedures, incorporate other tactile sensor types, and integrate additional modalities like robot proprioception (kinesthetic awareness).
  • Multi-Modal Alignment: Future iterations aim to explicitly align tactile representations directly with object images alongside language fine-tuning.

Summary updated

Abstract

Physical reasoning is important for effective robot manipulation. Recent work has investigated both vision and language modalities for physical reasoning; vision can reveal information about objects in the environment and language serves as an abstraction and communication medium for additional context. Although these works have demonstrated success on a variety of physical reasoning tasks, they are limited to physical properties that can be inferred from visual or language inputs. In this work, we investigate combining tactile perception with language, which enables embodied systems to obtain physical properties through interaction and apply commonsense reasoning. We contribute a new dataset PhysiCLeAR, which comprises both physical/property reasoning tasks and annotated tactile videos obtained using a GelSight tactile sensor. We then introduce Octopi, a system that leverages both tactile representation learning and large vision-language models to predict and reason about tactile inputs with minimal language fine-tuning. Our evaluations on PhysiCLeAR show that Octopi is able to effectively use intermediate physical property predictions to improve its performance on various tactile-related tasks. PhysiCLeAR and Octopi are available at https://github.com/clear-nus/octopi.
BibTeX
@inproceedings{yu2024octopi,
  author = {Samson Yu and Kelvin Lin and Anxing Xiao and Jiafei Duan and Harold Soh},
  title = {{Octopi: Object Property Reasoning with Large Tactile-Language Models}},
  booktitle = {Robotics: Science and Systems},
  year = {2024},
  doi = {10.15607/rss.2024.xx.066},
}
Figure