Abstract
Classifiers that can be implemented on chip with minimal computational and memory resources are essential for edge computing in emerging applications such as medical and IoT devices. This paper introduces a machine learning model based on oblique decision trees to enable resource-efficient classification on a neural implant. By integrating model compression with probabilistic routing and implementing cost-aware learning, our proposed model could significantly reduce the memory and hardware cost compared to state-of-the-art models, while maintaining the classification accuracy. We trained the resource-efficient oblique tree with power-efficient regularization (ResOT-PE) on three neural classification tasks to evaluate the performance, memory, and hardware requirements. On seizure detection task, we were able to reduce the model size by 3.4X and the feature extraction cost by 14.6X compared to the ensemble of boosted trees, using the intracranial EEG from 10 epilepsy patients. In a second experiment, we tested the ResOT-PE model on tremor detection for Parkinson's disease, using the local field potentials from 12 patients implanted with a deep-brain stimulation (DBS) device. We achieved a comparable classification performance as the state-of-the-art boosted tree ensemble, while reducing the model size and feature extraction cost by 10.6X and 6.8X, respectively. We also tested on a 6-class finger movement detection task using ECoG recordings from 9 subjects, reducing the model size by 17.6X and feature computation cost by 5.1X. The proposed model can enable a low-power and memory-efficient implementation of classifiers for real-time neurological disease detection and motor decoding.
Introduction
Modern neural interfaces—used for treating epilepsy, Parkinson’s disease, or enabling brain-machine interfaces (BMIs)—generate massive amounts of data. Processing this data "off-chip" by transmitting it to an external device creates a significant bottleneck: it drains battery life, introduces high latency that hinders closed-loop therapy, and raises data privacy concerns.
The challenge is that "on-chip" classification must occur within extreme power and memory budgets. While standard decision trees are computationally efficient, they often require large ensembles to handle the complex, correlated neural signals found in medical applications. This research introduces ResOT (Resource-Efficient Oblique Trees), a framework designed to provide high-performance decoding that is lean enough to fit on a tiny silicon die.
Methodology
ResOT shifts away from traditional "axis-aligned" decision trees, which split data based on a single feature at a time, toward Oblique Decision Trees.
Oblique Splits and Probabilistic Routing
In an oblique tree, each internal node performs a linear combination of multiple features. This allows for complex, diagonal decision boundaries that can replace dozens of simpler axis-aligned splits, leading to much shallower trees. During training, samples are routed to child nodes based on a probability determined by a sigmoid function. This "soft" routing makes the tree differentiable, allowing for the use of standard deep learning optimizers like Adam.
Hardware-Algorithm Co-Optimization
To further optimize for hardware, the authors implemented two key strategies:
- Cost-Aware Regularization: A hardware-cost term was added to the loss function to penalize the use of computationally expensive features (like complex FIR filtering), encouraging the model to prioritize "cheaper" biomarkers such as signal line-length.
- Model Compression: Internal nodes were treated as mini-neural networks, applying weight pruning and weight sharing (quantization) to shrink the memory footprint.
- Single-Path Inference: Although trained with probabilities, the resulting nodes are highly decisive (probabilities near 0 or 1). This allows the hardware to follow just one path from root to leaf at runtime, drastically reducing the number of features that need to be calculated for any single prediction.
Experimental Results
The ResOT model was validated across three primary neural classification tasks and compared against LightGBM, a state-of-the-art boosted tree ensemble.
- Seizure Detection (Epilepsy): Using intracranial EEG from 10 patients, ResOT-PE achieved a 3.4× reduction in model size and a 14.6× lower feature extraction cost.
- Tremor Detection (Parkinson’s): Using local field potentials from 12 patients with DBS implants, the model achieved a 10.6× smaller model size and 6.8× lower feature extraction cost.
- Finger Movement Decoding (BMI): In a 6-class motor decoding task using ECoG recordings, ResOT delivered a 17.6× smaller model size and a 5.1× reduction in feature computation cost.
In all tasks, ResOT maintained classification performance (F1 scores and accuracy) comparable to the much larger ensembles, proving that the diagonal boundaries of oblique trees are inherently better at capturing correlations in neural signals.
Conclusion and Future Work
ResOT demonstrates that hardware-algorithm co-optimization can enable sophisticated machine learning on resource-constrained implants. By assigning a "price tag" to features and utilizing differentiable oblique trees, the model effectively designs its own efficient feature extraction pipeline. Future work will focus on moving toward an online learning framework, allowing the implant to dynamically update its weights to account for the non-stationary nature of neural signals as a patient's condition evolves.
Summary updated