Research
Human-Machine Ritual: Synergic Performance through Real-Time Motion Recognition
Overview Research area: Machine learning for interactive performance art — specifically real-time human motion recognition using wearable sensors (Inertial Measurement Units, IMUs) and time-series cla
- arXiv
- 2511.02351
- Published
- 2025-11-04
- Authors
- Zhuodi Cai, Ziyu Xu, Juan Pampin
AI summary
Overview
Research area: Machine learning for interactive performance art — specifically real-time human motion recognition using wearable sensors (Inertial Measurement Units, IMUs) and time-series classification, applied to dance-and-music co-performance.
Technical level: Intermediate. The paper is written in accessible language but involves specialized components (MiniRocket, ridge classification, stratified cross-validation, multiclass ROC/AUC) that benefit from some machine learning background.
Scope: The paper describes a single-dancer, dancer-specific system that recognizes seven motion labels from 24 channels of IMU data in real time and uses the predictions to trigger sound and multimedia, reporting 96.05% mean accuracy and sub-50-millisecond end-to-end latency.
What This Paper Is About
Most AI dance-music systems train on large, genre-labeled datasets and either generate movement or generate music, treating the performer as one input among many. This paper asks a different question: instead of asking how well a machine can imitate a dancer, can a machine respectfully observe and respond to one specific dancer's personally meaningful movements? The goal is a closed feedback loop in which the dancer improvises to sounds she has an embodied memory of, the machine learns to recognize those movements, and the recognized movements trigger those same sounds and visuals during performance — so the machine recalls rather than creates.
Key Contributions
-
A dancer-specific, memory-anchored mapping framework. Rather than assigning generic genre labels, the researchers build movement-to-sound pairings from the dancer's own verbal descriptions of the memories and imagery each sound evokes, making the machine a partner in recollection rather than generation.
-
A wearable IMU plus MiniRocket recognition pipeline. Four wireless IMU sensors on wrists and ankles stream 24 channels of motion data at 48 Hz over Bluetooth Low Energy to a remote server, where a MiniRocket-based ridge classifier performs real-time inference.
-
Demonstrated real-time viability for live use. The system is evaluated with stratified 10-fold cross-validation on 648 samples across seven labels, achieving 96.05% mean accuracy (standard deviation 2.89%), a macro-averaged F1 of 96.62%, and AUC scores above 0.99 for all seven labels.
-
A conceptual reframing of human-machine co-performance. Drawing on somatics and Donna Haraway's A Cyborg Manifesto, the authors position the machine as an attentive "stage manager" that controls sound, lighting, sets, and props while the human remains the sole mover.
Main Findings
-
High classification accuracy on a small, personal dataset: Across stratified 10-fold cross-validation, the model reaches a mean accuracy of 96.05% with a standard deviation of 2.89% on a dataset of 648 samples.
-
Strong per-class discrimination: The macro-averaged F1 score is 96.62%, and the average multiclass ROC curve yields AUC scores above 0.99 for all seven labels (label 0 is a negative class; labels 1 through 6 are dance movements).
-
Real-time latency below 50 milliseconds end to end: The full loop — streaming data to the remote server and receiving inference results in the Python script — takes less than 50 milliseconds, with inference itself taking approximately 15 milliseconds per data chunk.
-
Transitions are the weak point: During movement transitions, predicted probabilities tend to decrease, which the authors interpret as reflecting temporal ambiguity; this is visible in a 10-second mock performance where 2-second segments are classified by dominant motion.
-
Continuous motion, not discrete gestures: Unlike Wekinator, which uses discrete gesture input and trains on the order of seconds, this system processes continuous multivariate motion; the authors state their implementation supports real-time performance with latency typically under 0.1 seconds.
-
Recall instead of generation works in rehearsal: Figure 5 documents the system in use during a rehearsal, where a dance artist performs in front of a projection controlled by the pipeline, with the laptop showing the multimedia interface and a smartphone streaming and monitoring data.
-
Not reported: The paper does not report training time, per-class sample counts, comparisons against baseline classifiers, participant counts beyond the performing dancer, or quantitative results from a live public performance.
Methodology in Plain English
Concept. The dancer improvises to a set of personally meaningful sounds and describes the memories and images each sound brings up — for instance, a metal or glass windchime prompting arm wiggles and knee twists, or a subway commute evoking rush, boredom, and repetition. Those descriptions guide how the sounds are organized into musical narratives, and the movements she naturally makes become the training labels.
Sensing. Four wireless IMU sensors, each weighing approximately 0.025 kg (0.055 lb) with its adjustable fabric strap, are attached to the dancer's wrists and ankles. Each unit reports six channels — a three-axis accelerometer and a three-axis gyroscope — for 24 channels total, sampled at 48 Hz and transmitted over Bluetooth Low Energy.
Training. The recordings are cut into fixed-length chunks and augmented with jittering and time warping to add diversity. Features are extracted with MiniRocket, a recently introduced time-series method chosen for efficiency and not yet common in interactive art, and a ridge regression classifier learns to distinguish discrete motion types. Training runs on a GPU server.
Evaluation. Because class sample sizes differ, the team uses stratified 10-fold cross-validation so each fold keeps balanced class distributions, then aggregates a confusion matrix and a multiclass ROC curve over the folds.
Performance. During a show, a Python script streams live sensor data to the remote server, which performs inference and returns predicted motion labels with probabilities. Those predictions drive sound and other media. Movement is segmented into 2-second chunks for continuous recognition, and the predicted labels are checked against the dancer's actual movements over time.
Why This Matters
Impact on research. The paper argues that interactive performance systems do not have to scale up to large genre-labeled corpora such as AIST or AIST++ to be technically credible. It offers a replicable template — bespoke IMU data, MiniRocket, ridge classification — for building "dance-literate" machines that serve a single artist's expressive vocabulary, and it shifts the design question from imitation to attentive response.
Real-world applications:
- Live dance and multimedia performance: a system that lets a performer control sound, projection, lighting, and stage elements through movement the machine has learned specifically from her.
- Somatic education and therapeutic movement: the authors explicitly envision applications here, where a system trained on an individual's movement can support embodied practice and self-compassion work.
- Interactive machine learning education: the pipeline is light enough to serve as a teaching example of real-time, performer-trained classification in creative coding and digital arts curricula.
- Participatory and ritual performance contexts: settings where communities share dance and music practices and could benefit from machines that respond to, rather than replace, embodied cultural knowledge.
Industry relevance. The combination of cheap wearable sensors, a lightweight time-series classifier, and sub-50-millisecond latency is relevant to anyone building responsive systems — interactive installations, motion-driven gaming and XR, and performance technology vendors — where the design constraint is reacting to one person's motion in real time rather than generalizing across a large population.
Future Directions
-
Expand the movement archive. The authors plan to increase both the size and the diversity of motion types to strengthen the system's vocabulary of embodied expression, moving beyond the current 648 samples and seven labels.
-
Fix transition ambiguity. They intend to develop higher-granularity methods so that moments between movements — where predicted probabilities drop — are classified with greater refinement.
-
Enable on-the-fly learning. Given MiniRocket's efficiency with GPU acceleration, they want to support real-time collection of new motions and on-the-fly model retraining, turning the system into a genuine interactive machine learning tool.
-
Deepen expressive sound mapping and test in public. They plan to extend the memory-based composition approach, explore somatic education and therapeutic movement applications, and stage a live public performance presenting the system as both a technical framework and an artistic collaborator. The paper notes that a deeper analysis of the system applied in live performance is left to future work.
Target Audience
This paper is most useful to digital arts and human-computer interaction researchers building performer-trained, real-time interactive systems; machine learning practitioners interested in time-series classification for small, personalized datasets; choreographers, composers, and media artists working with sensors and responsive environments; and educators in somatics, dance technology, and interactive machine learning who want a concrete, replicable example of a human-centered AI pipeline rather than a large-scale generative model.
Authors’ abstract
We introduce a lightweight, real-time motion recognition system that enables synergic human-machine performance through wearable IMU sensor data, MiniRocket time-series classification, and responsive multimedia control. By mapping dancer-specific movement to sound through somatic memory and association, we propose an alternative approach to human-machine collaboration, one that preserves the expressive depth of the performing body while leveraging machine learning for attentive observation and responsiveness. We demonstrate that this human-centered design reliably supports high accuracy classification (<50 ms latency), offering a replicable framework to integrate dance-literate machines into creative, educational, and live performance contexts.