Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 15;22(4).
doi: 10.1088/1741-2552/adebb1.

Personalizing brain stimulation: continual learning for sleep spindle detection

Affiliations

Personalizing brain stimulation: continual learning for sleep spindle detection

Milo Sobral et al. J Neural Eng. .

Abstract

Objective.Personalized stimulation, in which algorithms used to detect neural events adapt to a user's unique neural characteristics, may be crucial to enable optimized and consistent stimulation quality for both fundamental research and clinical applications. Precise stimulation of sleep spindles-transient patterns of brain activity that occur during non rapid eye movement sleep that are involved in memory consolidation-presents an exciting frontier for studying memory functions; however, this endeavour is challenged by the spindles' fleeting nature, inter-individual variability, and the necessity of real-time detection.Approach.We tackle these challenges using a novel continual learning framework. Using a pre-trained model capable of both online classification of sleep stages and spindle detection, we implement an algorithm that refines spindle detection, tailoring it to the individual throughout one or more nights without manual intervention.Main results.Our methodology achieves accurate, subject-specific targeting of sleep spindles and enables advanced closed-loop stimulation studies. While fine-tuning alone offers minimal benefits for single nights, our approach combining weight averaging demonstrates significant improvement over multiple nights, effectively mitigating catastrophic forgetting.Significance.This work represents an important step towards signal-level personalization of brain stimulation that can be applied to different brain stimulation paradigms including closed-loop brain stimulation, and to different neural events. Applications in fundamental neuroscience may enhance the investigative potential of brain stimulation to understand cognitive processes such as the role of sleep spindles in memory consolidation, and may lead to novel therapeutic applications.

Keywords: adaptation; closed-loop brain stimulation; neural networks; personalized medicine; portable neuroscience; sleep; sleep spindles.

PubMed Disclaimer

LinkOut - more resources