A lightweight learning-based decoding algorithm for intraneural vagus nerve activity classification in pigs

J Neural Eng. 2022 Aug 11;19(4). doi: 10.1088/1741-2552/ac84ab.

Abstract

Objective.Bioelectronic medicine is an emerging field that aims at developing closed-loop neuromodulation protocols for the autonomic nervous system (ANS) to treat a wide range of disorders. When designing a closed-loop protocol for real time modulation of the ANS, the computational execution time and the memory and power demands of the decoding step are important factors to consider. In the context of cardiovascular and respiratory diseases, these requirements may partially explain why closed-loop clinical neuromodulation protocols that adapt stimulation parameters on patient's clinical characteristics are currently missing.Approach.Here, we developed a lightweight learning-based decoder for the classification of cardiovascular and respiratory functional challenges from neural signals acquired through intraneural electrodes implanted in the cervical vagus nerve (VN) of five anaesthetized pigs. Our algorithm is based on signal temporal windowing, nine handcrafted features, and random forest (RF) model for classification. Temporal windowing ranging from 50 ms to 1 s, compatible in duration with cardio-respiratory dynamics, was applied to the data in order to mimic a pseudo real-time scenario.Main results.We were able to achieve high balanced accuracy (BA) values over the whole range of temporal windowing duration. We identified 500 ms as the optimal temporal windowing duration for both BA values and computational execution time processing, achieving more than 86% for BA and a computational execution time of only ∼6.8 ms. Our algorithm outperformed in terms of BA and computational execution time a state of the art decoding algorithm tested on the same dataset (Valloneet al2021J. Neural Eng.180460a2). We found that RF outperformed other machine learning models such as support vector machines, K-nearest neighbors, and multi-layer perceptrons.Significance.Our approach could represent an important step towards the implementation of a closed-loop neuromodulation protocol relying on a single intraneural interface able to perform real-time decoding tasks and selective modulation of the VN.

Keywords: bioelectronic medicine; intraneural electrodes; real-time decoding algorithm; vagus nerve.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Algorithms*
  • Animals
  • Machine Learning
  • Neural Networks, Computer
  • Support Vector Machine
  • Swine
  • Vagus Nerve*