# Closed-Loop Neuromodulation
**Entity class:** Concept or analytic term
**Domain:** Neural Interfaces / Neuroengineering / Clinical Neuroscience
**Function:** Senses neural or behavioral state and adjusts stimulation in response to measured conditions.
Closed-loop neuromodulation joins sensing, state estimation, decision logic, and intervention into a feedback system. Unlike a fixed stimulation schedule, it can alter treatment according to detected biomarkers or modeled changes in a patient's condition.
The architecture is cybernetic: observe, infer, act, observe again. Its value is precision and adaptability. Its risk is that the system may silently convert an uncertain interpretation into a physical intervention. The quality of the loop therefore depends on validated biomarkers, explicit goals, meaningful consent, clinician accountability, security, reversibility, and an auditable distinction between observation and control.
## Neurosecurity
Closed-loop neuromodulation is also a [[wiki/Cyber-Biological System|cyber-biological control system]]. Its forward path senses and estimates state; its backward path delivers a command through stimulation. [[wiki/Bidirectional BCI Security|Bidirectional BCI security]] therefore protects the data, permissions, adaptive model, communications, firmware, [[wiki/Neural Command Channel|neural command channel]], and resulting biological state. [[wiki/Brainjacking|Brainjacking]] demonstrates why repairing the processor alone can be incomplete when unauthorized stimulation has produced effects downstream.
A mature recovery loop is: identify the unauthorized state transition; terminate the malicious input; restore trusted device, model, and stimulation parameters; compare response with a [[wiki/Trusted Neural Baseline|trusted neural baseline]]; and complete [[wiki/Verified Neural Restoration|verified neural restoration]].
DARPA's [[wiki/SUBNETS|SUBNETS]] program and later adaptive deep-brain-stimulation research demonstrate the technical lineage. [[wiki/Westworld S3E6 — The Model Beneath the Model|Westworld S3E6]] supplies the constitutional question: when a system can read a person and alter the conditions under which that person experiences the self, who has write permission?
## Related
[[wiki/Neural Interfaces and Continuity Architecture|Neural Interfaces and Continuity Architecture]] · [[wiki/Brain-Computer Interfaces|Brain-Computer Interfaces]] · [[wiki/Computational Psychiatry|Computational Psychiatry]] · [[wiki/Ownership of Mind|Ownership of Mind]] · [[wiki/Cognitive Liberty|Cognitive Liberty]] · [[wiki/Neurosecurity|Neurosecurity]]
## Relationships
<!-- BEGIN HUMANIZED RELATIONSHIPS 2026-09-11 -->
This entry's documented connections are expressed in its definition and related-work routes, with provenance retained in the source-linked material.
- **attack and recovery:** [[wiki/Brainjacking|Brainjacking]] → [[wiki/Neural Incident Response|Neural Incident Response]] → [[wiki/Verified Neural Restoration|Verified Neural Restoration]].
- **collection:** [[collections/Neurotech|Neurotech]].
<!-- END HUMANIZED RELATIONSHIPS 2026-09-11 -->