Abstract
Controlling the spike timing of individual neurons is a fundamental challenge with significant implications for treating neurological disorders. While much research has focused on neural models in low-noise scenarios, real-world applications, such as implantable therapeutic devices, must operate in noisy environments and address the diverse firing patterns of neurons. Leveraging the Izhikevich model, which captures a broad range of firing behaviors, this study proposes a novel method for spike timing control using Neural Stochastic Differential Equations (Neural SDE). The approach iteratively trains external currents to minimize both firing mismatches and timing errors through stochastic gradient descent and back-propagation techniques. Simulations demonstrate that the method achieves precise spike control across various neuron types and noise levels, including regular spiking, bursting, and fast spiking patterns. The approach remains effective even under strong noise perturbations, with particularly high precision observed in early spike events. Unlike conventional methods relying on deterministic dynamics or simplified models, the proposed Neural SDE framework directly accounts for biological noise and complex intrinsic dynamics. This enables the generation of neuron-specific control signals that align spike timings while adapting to individual firing characteristics. These results highlight the method's generalizability and suggest its suitability for real-world neural control applications, including neuroprosthetics, adaptive stimulation, and closed-loop therapeutic systems.