Single-Pass Hyperdimensional Computing on FPGA for Microsecond-Latency Adaptive Neuromodulation in Remote-Controlled Diving Cockroaches
Keywords:
Single-Pass Hyperdimensional Computing, FPGA, Microsecond-Latency, Adaptive Neuromodulation, Remote-Controlled Diving CockroachesAbstract
We propose a novel neural interface architecture for the remote-controlled diving cockroach biobotic platform that replaces conventional microcontroller-based pulse generation with a hyperdimensional computing (HDC) classifier implemented on a field-programmable gate array (FPGA). The system continuously processes two parallel data streams: native neural spike trains from the thoracic ganglia and antennal lobes and high-frequency bioimpedance spectroscopy data acquired across the electrode-tissue interface. A single-pass permutation encoding mechanism maps these 96-dimensional feature vectors into a 10,000-dimensional hyperdimensional space using pre-generated basis hypervectors and cyclic permutation operators implemented as barrel shifters on the FPGA. The classifier maintains eight class hypervectors corresponding to distinct stimulation parameter sets, and it selects the appropriate stimulation class by computing cosine similarity between the query hypervector and each class hypervector. A Hebbian-like online learning rule updates the selected class hypervector only when a reinforcement signal from the remote controller indicates successful motor response. The output pulse amplitude is further modulated by real-time impedance measurements to compensate for tissue compression during deep dives. The entire inference cycle, from feature acquisition to digital-to-analog converter update, completes in under one microsecond—a three-order-of-magnitude reduction compared to conventional software-based systems. The FPGA implementation on a Xilinx Artix-7 device consumes only 0.8 watts, well within the battery budget of the miniaturized backpack. This reformulated neural interface therefore enables real-time, adaptive neuromodulation for agile underwater maneuvers, addressing the critical latency bottleneck in existing biobotic control systems.
References
[1] K. Kai, L. Long, Q. Lin, and H. Sato, “Fully implanted miniature radio controller boosts cyborg insect mobility in challenging terrains,” Cyborg and Bionic Systems, 2026.
[2] Y. Ma, C. Zhang, F. Nie, H. Qin, Q. Zhang, et al., “Construction, control, and application of cyborg animal composed of biological and electromechanical systems,” Cyborg and Bionic Systems, 2026.
[3] Y. Zhang, E. Verschooten, M. Ourak, et al., “Physiological motion compensation for neuroscience research based on electrical bio-impedance sensing,” IEEE Sensors Journal, 2023.
[4] L. Ricotti, B. Trimmer, A. Feinberg, R. Raman, et al., “Biohybrid actuators for robotics: A review of devices actuated by living cells,” Science robotics, 2017.
[5] N. Swann, C. D. Hemptinne, et al., “Adaptive deep brain stimulation for parkinson’s disease using motor cortex sensing,” Journal of Neural Engineering, 2018.
[6] C. Heelan, A. Nurmikko, et al., “FPGA implementation of deep-learning recurrent neural networks with sub-millisecond real-time latency for BCI-decoding of large-scale neural sensors (104 nodes),” in 2018 40th annual international conference of the IEEE engineering in medicine and biology society (EMBC), 2018.
[7] L. Schäffer, Z. Nagy, Z. Kincses, R. Fiáth, et al., “Spatial information based OSort for real-time spike sorting using FPGA,” IEEE Transactions on Biomedical Circuits and Systems, 2020.
[8] A. Nguyen, M. Drealan, D. K. Luu, et al., “A portable, self-contained neuroprosthetic hand with deep learning-based finger control,” Journal of Neural Engineering, 2021.
[9] P. Kanerva, “Hyperdimensional computing: An introduction to computing in distributed representation with high-dimensional random vectors,” Cognitive computation, 2009.
[10] A. Hernández-Cano, N. Matsumoto, et al., “Onlinehd: Robust, efficient, and single-pass online learning using hyperdimensional system,” in Design, automation & test in europe conference & exhibition, 2021.
[11] G. Jin, H. Cheng, J. Han, Y. Zou, and H. Tang, “A configurable neural stimulation system with integrated impedance measurement and high-precision charge balancing,” Microelectronics Journal, 2026.
[12] and N Matsumoto, E. Ping, et al., “Onlinehd: Robust, efficient, and single-pass online learning using hyperdimensional system,” in 2021 design, automation & test in europe conference & exhibition (DATE), 2021.
[13] R. Pipa and E. Cook, “Studies on the hexapod nervous system. I. The peripheral distribution of the thoracic nerves of the adult cockroach, periplaneta americana,” Annals of the Entomological Society of America, 1959.
[14] A. Dymond, “Characteristics of the metal-tissue interface of stimulation electrodes,” IEEE Transactions on Biomedical Engineering, 1976.
[15] Z. Quan, Y. Li, X. Cheng, Y. Nie, et al., “Amplitude adaptive modulation of neural oscillations over long-term dynamic conditions: A computational study,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, 2024.
[16] J. Erickson, M. Herrera, M. Bustamante, A. Shingiro, et al., “Effective stimulus parameters for directed locomotion in madagascar hissing cockroach biobot,” PloS one, 2015.
[17] E. Buschbeck, A. Le, C. Kelley, M. Hoque, et al., “Functionalized carbon nanotube microfibers for chronic neural implants,” Journal of Neuroscience Methods, 2021.
[18] S. Kumar, J. Wülfing, S. Okujeni, et al., “Autonomous optimization of targeted stimulation of neuronal networks,” PLoS Computational Biology, 2016.
[19] W. Tsang, A. Stone, D. Otten, Z. Aldworth, et al., “Insect-machine interface: A carbon nanotube-enhanced flexible neural probe,” Journal of Neuroscience Methods, 2012.
[20] J. Kien, “Variability of locust motoneuron responses to sensory stimulation: A possible substrate for motor flexibility,” Journal of comparative physiology, 1979.
[21] S. Bhosale, R. Chakraborty, and S. Kopparapu, “Calibration free meta learning based approach for subject independent EEG emotion recognition,” Biomedical Signal Processing and Control, 2022.
[22] X. Jiang, X. Gu, K. Xu, H. Ren, and W. Chen, “Independent decision path fusion for bimodal asynchronous brain-computer interface to discriminate multiclass mental states,” IEEE Access, 2019.
[23] N. Thinh, “Behavior modeling and bio-hybrid systems: Using reinforcement learning to enhance cyborg cockroach in bio-inspired swarm robotics,” IEEE Access, 2025.
[24] M. Szydlowski, K. Hill, S. Heaney, et al., “Domestication and domination: Human terminology as a tool for controlling otherthanhuman animal bodies,” TRACE ∴ Journal for Human-Animal Studies, 2022.
[25] V. Phillips, “From neurons to networks: Ethical dimensions of AI-infused neural interfaces,” AI and Ethics, 2025.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Dr. Virendra Kumar Tiwari

This work is licensed under a Creative Commons Attribution 4.0 International License.
Articles published in the International Journal of Artificial Intelligence, Cybersecurity and Emerging Technologies (IJAICET) are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
Under this license, users are free to share, copy, redistribute, adapt, and build upon the published material for any purpose, including commercial use, provided appropriate credit is given to the original author(s) and the source, a link to the license is provided, and any changes made are indicated.
Authors retain copyright of their work while granting IJAICET the right to publish, archive, distribute, and index the article. The journal supports the free exchange of scientific knowledge through open access publishing and encourages the widest possible dissemination of research.