Evaluating Large Language Models for Gait Classification Using Text-Encoded Kinematic Waveforms
Carlo Dindorf, Jonas Dully, Rebecca Keilhauer, Michael Lorenz, Michael Fr\"ohlich

TL;DR
This study evaluated the ability of general-purpose large language models to classify gait patterns from text-encoded kinematic data, comparing their performance to traditional machine learning classifiers in a clinical context.
Contribution
It demonstrated that LLMs, even with reference grounding, are less accurate than supervised classifiers for gait classification but offer interpretability and confidence cues for exploratory analysis.
Findings
Supervised KNN achieved MCC=0.88 in gait classification.
GPT-5 with reference info achieved MCC=0.70, outperforming OCSVM.
High-confidence LLM predictions increased MCC to 0.83.
Abstract
Background: Machine learning (ML) enhances gait analysis but often lacks the level of interpretability desired for clinical adoption. Large Language Models (LLMs) may offer explanatory capabilities and confidence-aware outputs when applied to structured kinematic data. This study therefore evaluated whether general-purpose LLMs can classify continuous gait kinematics when represented as textual numeric sequences and how their performance compares to conventional ML approaches. Methods: Lower-body kinematics were recorded from 20 participants performing seven gait patterns. A supervised KNN classifier and a class-independent One-Class SVM (OCSVM) were compared against zero-shot LLMs (GPT-5, GPT-5-mini, GPT-4.1, and o4-mini). Models were evaluated using Leave-One-Subject-Out (LOSO) cross-validation. LLMs were tested both with and without explicit reference gait statistics. Results: The…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGait Recognition and Analysis · Balance, Gait, and Falls Prevention · Prosthetics and Rehabilitation Robotics
