Background: This study focuses on developing and evaluating deep learning models to decode motor parameters from the primary somatosensory cortex (area 2). Neurons in this region respond to proprioceptive feedback from joints and muscles during both active and passive movements. Decoding neural activity from this area can provide a foundation for artificial proprioceptive feedback in brain–computer interfaces (BCIs), thereby advancing neuroprosthetic systems.
Methods: Neural data were collected from two adult rhesus monkeys across four intracortical recording sessions during a canter‑out task involving active and passive movements. After excluding unsuccessful trials and filtering for the four principal directions (0°, 90°, 180°, and 270°), we retained 2,654 trials (1,530 from Monkey C, 404 from Monkey H). Kinematic (position, velocity, joint angle) and kinetic (force, moment) parameters were predicted across these directions. Three deep neural network architectures were designed: ClassificationNet for movement direction classification, RegressionNet for continuous parameter prediction, and MultiTaskNet for simultaneous classification and regression. A 200‑ms window (20 samples at a 10-ms bin size) was extracted around movement onset and padded to 200 time steps (2 seconds) to ensure uniform model input.
Results: ClassificationNet achieved 93.0% ± 1.1% direction classification accuracy during active movements, surpassing its passive performance by 2.2%. RegressionNet yielded the highest joint angle prediction accuracy (R² = 0.64 ± 0.04, RMSE = 6.0° ± 0.6°, correlation = 0.89 ± 0.03) during active movements, while velocity decoding was substantially lower (R² = 0.15 ± 0.06), reflecting the greater noise in velocity‑related neural signals. Straight directions (0° and 180°) consistently outperformed diagonal directions (90° and 270°). MultiTaskNet achieved balanced performance (92.0% ± 1.2% accuracy, R² = 0.35 across parameters) with a practical deployment advantage: it performs both tasks in a single forward pass, eliminating the need to run two separate models. Although its per‑epoch computational cost is slightly higher than the individual single‑task models (31.6 M parameters vs. 28.4 M and 29.1 M), the total inference time for simultaneous outputs is reduced by approximately 40% compared to running ClassificationNet and RegressionNet sequentially.
Conclusion: Dedicated single‑task models (ClassificationNet, RegressionNet) outperform the multitask architecture on their respective objectives, but MultiTaskNet offers an efficient trade‑off for practical BCI applications requiring simultaneous output. The substantial superiority of active over passive decoding (≈2–4% across metrics) and straight over diagonal directions underscores the importance of movement condition and geometry. Cross‑subject generalisation remains the primary bottleneck, with a marked performance drop from Monkey C to Monkey H (e.g., classification accuracy declining from 93.0% to 62.0%), highlighting the need for domain adaptation rather than simple data augmentation. These findings provide specific performance benchmarks and architectural guidelines for S1‑based neuroprosthetic decoding.