Investigating Active Sampling for Hardness Classification with Vision-Based Tactile Sensors
Authors: Junyi Chen, Frederik Heller, Mario Gómez Andreu, Boris Belousov, Tim Schneider, Lisa P. Y. Lin, Katja Doerschner, Knut Drewing, Jan Peters, Alap Kshirsagar
Organizations: Intelligent Autonomous Systems Lab, Department of Computer Science, TU Darmstadt, Germany. · German Research Center for AI (DFKI) · Department of Psychology, University of Giessen, Germany · Centre for Cognitive Science, TU Darmstadt · Hessian Center for Artificial Intelligence (Hessian.AI), Darmstadt
Hardness is one of the most important object properties that humans and robots perceive through touch. This paper investigates active sampling strategies for sample-efficient hardness classification with vision-based tactile sensors (VBTS), using information-theoretic measures of model uncertainty. We evaluated three probabilistic classifier models and two active sampling strategies and a random sampling baseline on a hardness classification task, with our own dataset of VBTS samples collected by a robot and a previously published dataset. In addition, we conducted a human study on the hardness classification task with the same objects as our dataset. Our findings indicate that the active sampling approaches, driven by variance and entropy as measures of model uncertainty, perform best with accuracy reaching 90%, compared to human accuracy of 48%, demonstrating the effectiveness of using VBTS for hardness classification. More information can be found at: https://fheller1.github.io/ActiveHardness
Figures & tables
Fig. 1 : The hardness classification task requires a robot or human to classify which reference object matches a test object in hardness level. (a) The robot uses a GelSight Mini sensor mounted on its end-effector to capture data exploring the hardness of objects. The image captured by the sensor is shown in the inset. (b) Our dataset consists of GelSight Mini videos collected from five silicone objects of different shapes in increasing hardness from left to right. (c) In our human participant study, participants explored the test object (blue plate) and the reference objects (black plates) with their index fingers to classify hardness.
Fig. 2 : Architectures of the three evaluated classification models. All models receive video sequences of the VBTS during contact with the test object as input, and predict the hardness class probabilities of the test object over the reference objects. The Optical Flow NN model constructs explicit features using the Lucas-Kanade method [ 14 ] . In DINOv2 NN, we use a pretrained image feature extractor [ 15 ] . The ConvLSTM model implicitly learns features with four sequential blocks of Convolutional LSTM [ 16 ] , Pooling, and Dropout layers.
Fig. 3 : Training and validation accuracy of the proposed OFNN, DINOv2NN and ConvLSTM classifier models trained without resampling on our dataset and the Yuan dataset. Each curve shows the mean ± one standard deviation over 50 runs per model and dataset.
Fig. 4 : Effect of dropout rate on accuracy and MAE on the Yuan dataset with the DINOv2NN model. Each curve shows the mean ± one standard deviation over 9 runs with different test objects.
Fig. 5 : Comparison between active sampling strategies and the random sampling baseline for the ConvLSTM model on our dataset and the DINOv2NN model on the Yuan dataset. Shown are mean and standard deviation of the metrics accuracy, MAE, entropy and variance over the number of completed active sampling updates. Since entropy and variance metrics were measured only before an active sampling update in our experiments, they are not measured after the final active sampling update.
Humans
No resampling
Variance
Entropy
Random
Ours ConvLSTM
Acc.
48 . 0
65 . 1
90 . 0
86 . 8
84 . 0
±23 . 5
±30 . 5
±25 . 0
±23 . 8
±29 . 4
MAE
0 . 103
0 . 094
0 . 025
0 . 036
0 . 047
±0 . 049
±0 . 103
±0 . 067
±0 . 078
±0 . 116
Yuan DINOv2NN
Acc.
—
69 . 2
96 . 9
89 . 8
88 . 4
±32 . 4
±10 . 4
±21 . 6
±21 . 1
TABLE I : Comparison of hardness classification performance between human participants and our methods, measured by mean accuracy (Acc.) and MAE, each metric ± one STD.
Fig. 6 : Exploration time per reference object, summed across all human participants, for each round. Red bars mark the reference object matching the test objects hardness in this round.
Guangdong Basic Research Center of Excellence for Structure and Fundamental Interactions of Matter, Guangdong Provincial Key Laboratory of Nanophotonic Functional Materials and Devices, School of Optoelectronic Science and Engineering, South China Normal University, Guangzhou 510006, China