Fuzzing the brain: Automated stress testing for the safety of ML-driven neurostimulation
Mara Downing, Matthew Peng, Jacob Granley, Michael Beyeler, and Tevfik Bultan

TL;DR
This paper introduces an automated fuzzing approach to systematically test and identify unsafe neural stimulation patterns in ML-driven neuroprosthetic devices, enhancing safety assessment and regulatory compliance.
Contribution
It adapts coverage-guided fuzzing to neural stimulation, enabling empirical detection of safety violations in ML models used for neurostimulation.
Findings
Systematically reveals unsafe stimulation regimes exceeding safety limits.
Coverage metrics effectively compare unsafe output diversity across models.
Framework supports reproducible safety assessment for neural interfaces.
Abstract
Objective: Machine learning (ML) models are increasingly used to generate electrical stimulation patterns in neuroprosthetic devices such as visual prostheses. While these models promise precise and personalized control, they also introduce new safety risks when model outputs are delivered directly to neural tissue. We propose a systematic, quantitative approach to detect and characterize unsafe stimulation patterns in ML-driven neurostimulation systems. Approach: We adapt an automated software testing technique known as coverage-guided fuzzing to the domain of neural stimulation. Here, fuzzing performs stress testing by perturbing model inputs and tracking whether resulting stimulation violates biophysical limits on charge density, instantaneous current, or electrode co-activation. The framework treats encoders as black boxes and steers exploration with coverage metrics that quantify…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeuroscience and Neural Engineering · Advanced Memory and Neural Computing · Neurological disorders and treatments
