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
- Aleksejs Kataševs
- Airisa Šteinberga (ORCID: https://orcid.org/0000-0003-3990-1482)
- Inese Tīģere (ORCID: https://orcid.org/0009-0007-2498-6803)
- Aleksandrs Vališevskis (ORCID: https://orcid.org/0000-0003-3974-0842)
- Aleksandrs Okss
- Santa Meļķe
- Undīne Gavriļenko (ORCID: https://orcid.org/0009-0009-0619-8453)
- Dina Bethere (ORCID: https://orcid.org/0000-0002-0290-7058)
- Lucie Matouskova (ORCID: https://orcid.org/0000-0002-0382-7682)
- Anete Hofmane (ORCID: https://orcid.org/0000-0001-5436-5732)
Institutions
- Riga Technical University (LV)
- Masaryk University (CZ)
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
- Rīgas Tehniskā Universitāte