Mind and the Machine - Latency-Aware Modeling of Closed-Loop Neuroadaptive Systems
Neuroadaptive systems rely on closed-loop interaction between neural activity and adaptive system responses, yet the role of hardware-induced latency in shaping system stability remains underexplored. This work investigates how temporal delays introduced by hardware constraints interact with neural signal dynamics in EEG-based neuroadaptive systems. A hardware-aware simulation framework is proposed to model the neuroadaptive loop under controlled latency conditions, using resting-state EEG data from neurodivergent individuals as a realistic stress test for signal variability and non-stationarity. Latency tolerance and temporal stability metrics are analyzed to characterize inter-individual differences in sensitivity to delay, while supervised machine learning is employed to explore relationships between signal amplitude, connectivity, and temporal dynamics. All analyses, simulations, feature extraction, and machine learning procedures were implemented in the Julia programming language. Results demonstrate substantial variability in latency tolerance across participants, suggesting that adaptive stability emerges from the interaction between signal structure and timing rather than from fixed latency thresholds.