# Edge AI-Based Gait-Phase Detection for Closed-Loop Neuromodulation in SCI Mice

**Authors:** Ahnsei Shon, Justin T. Vernam, Xiaolong Du, Wei Wu

PMC · DOI: 10.3390/s26041311 · 2026-02-18

## TL;DR

This paper introduces a real-time AI system for detecting gait phases in SCI mice to enable closed-loop neuromodulation for restoring locomotion.

## Contribution

A hybrid edge AI architecture for real-time, attachment-free gait-phase detection and stimulation in SCI mice.

## Key findings

- The system generalized to unseen SCI gait patterns without injury-specific retraining.
- Precise phase-locked biphasic stimulation was achieved in a bench-top closed-loop evaluation.
- The framework supports future wearable or implantable neurorehabilitation systems.

## Abstract

Real-time detection of gait phase is a critical challenge for closed-loop neuromodulation systems aimed at restoring locomotion after spinal cord injury (SCI). However, many existing gait analysis approaches rely on offline processing or computationally intensive models that are unsuitable for low-latency, embedded deployment. In this study, we present a hybrid AI-based sensing architecture that enables real-time kinematic extraction and on-device gait-phase classification for closed-loop neuromodulation in SCI mice. A vision AI module performs marker-assisted, high-speed pose estimation to extract hindlimb joint angles during treadmill locomotion, while a lightweight edge AI model deployed on a microcontroller classifies gait phase and generates real-time phase-dependent stimulation triggers for closed-loop neuromodulation. The integrated system generalized to unseen SCI gait patterns without injury-specific retraining and enabled precise phase-locked biphasic stimulation in a bench-top closed-loop evaluation. This work demonstrates a low-latency, attachment-free sensing and control framework for gait-responsive neuromodulation, supporting future translation to wearable or implantable closed-loop neurorehabilitation systems.

## Linked entities

- **Diseases:** spinal cord injury (MONDO:0043797)

## Full-text entities

- **Diseases:** Parkinson's disease (MESH:D010300), cerebral palsy (MESH:D002547), amyotrophic lateral sclerosis (MESH:D000690), injury (MESH:D014947), cerebellar ataxia (MESH:D002524), loss of functional independence (MESH:D006315), dementia (MESH:D003704), stroke (MESH:D020521), peripheral neuropathy (MESH:D010523), impairments in gait and balance (MESH:D020234), abnormal gait (MESH:D020233), Brown-Sequard syndrome (MESH:D018437), SCI (MESH:D013119), spinal cord-injured (MESH:D013118), Neurological disorders (MESH:D009461), multiple sclerosis (MESH:D009103), muscular dystrophy (MESH:D009136)
- **Chemicals:** DAC (-), xylazine (MESH:D014991)
- **Species:** Homo sapiens (human, species) [taxon 9606], Rodentia (rodent, order) [taxon 9989], Mus musculus (house mouse, species) [taxon 10090], Rattus norvegicus (brown rat, species) [taxon 10116], Oryctolagus cuniculus (domestic rabbit, species) [taxon 9986]

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12944277/full.md

---
Source: https://tomesphere.com/paper/PMC12944277