Design and embedded validation of compact ML models for affective touch classification in a soft interactive companion

Soft plush companions provide a safe and intuitive platform for affective human–robot interaction, but their deformable structure and distributed tactile signals make reliable gesture recognition difficult. This study presents a complete workflow for developing and validating compact affective-touch classifiers for an interactive plush companion. A newly collected dataset comprised 1,326 labeled recordings before curation, including interactions from 25 children, teenagers, and adults. Each classifier received 2.5-s windows containing 10 capacitive channels and one accelerometer-magnitude channel. MATLAB supported acquisition, quality control, window generation, and a 468-run exploratory study of dilated one-dimensional convolutional neural networks (1D CNNs). A closely matched Python workflow then preserved participant provenance, fitted preprocessing inside each fold, and evaluated shortlisted models by 25-fold leave-one-subject-out cross-validation (LOSO-CV). On the operational 10-class task, the compact dilated CNN achieved 81.96% mean macro-F1 and 85.42% mean accuracy. The depthwise-separable CNN achieved the strongest neural result (84.50% macro-F1), whereas a linear support-vector machine using 66 predefined time-domain features achieved the best overall result (87.98% macro-F1 and 91.05% mean accuracy). Paired fold analysis showed that the linear support-vector machine and constrained random forest outperformed the compact dilated CNN, whereas differences among the tested neural models were not statistically significant after correction. Direct measurements on a 240-MHz ESP32-S3 confirmed valid deployment of the dilated CNN, depthwise-separable CNN, temporal convolutional network, linear support-vector machine, and random forest; the linear model required a 3.2 kB serialized payload and 1.405 ms mean end-to-end classifier time. A compact Transformer remained a valid predictive comparator but failed the required host–device parity test. The results show that the original dilated CNN is a viable raw-window, feature-agnostic embedded classifier, while compact physically meaningful features provide the strongest accuracy–latency trade-off for the present dataset.

Authors

Institutions

Publication Details

Journal
Frontiers in Artificial Intelligence
Published
2026-12-02
DOI
https://doi.org/10.3389/frai.2026.1849186
Primary Topic
Emotion and Mood Recognition
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Design and embedded validation of compact ML models for affective touch classification in a soft interactive companion

Aleksejs Kataševs, Airisa Šteinberga, Inese Tīģere, Aleksandrs Vališevskis et al.
Frontiers in Artificial Intelligence
Emotion and Mood Recognition
article

Design and embedded validation of compact ML models for affective touch classification in a soft interactive companion

Aleksejs Kataševs, Airisa Šteinberga, Inese Tīģere, Aleksandrs Vališevskis, Aleksandrs Okss, Santa Meļķe, Undīne Gavriļenko, Dina Bethere, Lucie Matouskova, Anete Hofmane
article en

Abstract

Soft plush companions provide a safe and intuitive platform for affective human–robot interaction, but their deformable structure and distributed tactile signals make reliable gesture recognition difficult. This study presents a complete workflow for developing and validating compact affective-touch classifiers for an interactive plush companion. A newly collected dataset comprised 1,326 labeled recordings before curation, including interactions from 25 children, teenagers, and adults. Each classifier received 2.5-s windows containing 10 capacitive channels and one accelerometer-magnitude channel. MATLAB supported acquisition, quality control, window generation, and a 468-run exploratory study of dilated one-dimensional convolutional neural networks (1D CNNs). A closely matched Python workflow then preserved participant provenance, fitted preprocessing inside each fold, and evaluated shortlisted models by 25-fold leave-one-subject-out cross-validation (LOSO-CV). On the operational 10-class task, the compact dilated CNN achieved 81.96% mean macro-F1 and 85.42% mean accuracy. The depthwise-separable CNN achieved the strongest neural result (84.50% macro-F1), whereas a linear support-vector machine using 66 predefined time-domain features achieved the best overall result (87.98% macro-F1 and 91.05% mean accuracy). Paired fold analysis showed that the linear support-vector machine and constrained random forest outperformed the compact dilated CNN, whereas differences among the tested neural models were not statistically significant after correction. Direct measurements on a 240-MHz ESP32-S3 confirmed valid deployment of the dilated CNN, depthwise-separable CNN, temporal convolutional network, linear support-vector machine, and random forest; the linear model required a 3.2 kB serialized payload and 1.405 ms mean end-to-end classifier time. A compact Transformer remained a valid predictive comparator but failed the required host–device parity test. The results show that the original dilated CNN is a viable raw-window, feature-agnostic embedded classifier, while compact physically meaningful features provide the strongest accuracy–latency trade-off for the present dataset.

Frontiers in Artificial IntelligenceVol. 9
Riga Technical University (LV), Masaryk University (CZ)
Rīgas Tehniskā Universitāte
Emotion and Mood Recognition
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon