Classifying Robot Style
Machine Learning
Abstract
Robot motion has been shown to impact both the perception of social and functional goals that robot’s carry, even when unintended. The Laban Efforts, one of the primary modes of creation and interpretation of the expressivity of motion, has been well documented and explored in the field. However, many of the existing explorations feature unscalable hand-designed motions. Even in learning-based or rule-based models, they are either limited in platform or have attempted translation across form factors unsuccessfully. We sought to address these issues by offering a dataset of Laban Effort-based demonstrations on a robotic arm, arguing that crowd-sourcing from the target platform is a valid and pivotal alternative. Additionally, we do preliminary analysis of a classification on the effort axes to better understand how the Laban Efforts can manifest in an object-seeking task. We find that the weight and space axes had the highest performance (> 90%) after reducing to a subset of features using LASSO. LASSO additionally offers some relative insight into future predictors to use as starting points to potentially modulate effort perception.
Technical Details
For the data collection, a record and replay module was designed using an existing Kinova Gen3’s compliant controller utilizing the ROS framework in Python. The models were trained on a set of 21 engineered features extracted from the collected dataset of robot joint angles, velocities, and efforts over time. Time-based models were trained using either end-effector postitions over time or the subsampled raw data. Feature reduction strategies in LASSO and removal based on Variable Inflation Factor were both explored and reported. The work focuses on the training of machine learning models with performance ratings in f1-score, accuracy, runtime, and brier score. The chosen models were a combination of classical machine learning models (K-Nearest Neighbors, Logistic Regression, Guassian Naive Bayes, Support Vector Machines), deep learning models (TCN, Transformers), and shaped-based models (DTW-1NN). Hyperparamters of the network were optmized based on a restricted grid search. Models were created and trained using Sci-kit, RayTune, and Pytorch libraries.
Methods & Tools
- Classical Machine Learning
- Deep Learning
- Feature Importance
- SkLearn/Sci-Kit
- Python
- R
- Matlab
- Pytorch