{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/red-deep-recurrent-neural-networks-for-sleep","title":"RED: Deep Recurrent Neural Networks for Sleep EEG Event Detection","arxiv_id":"2005.07795","date":"2020-05-15","proceeding":null,"authors":["Nicolás I. Tapia","Pablo A. Estévez"],"abstract":"The brain electrical activity presents several short events during sleep that can be observed as distinctive micro-structures in the electroencephalogram (EEG), such as sleep spindles and K-complexes. These events have been associated with biological processes and neurological disorders, making them a research topic in sleep medicine. However, manual detection limits their study because it is time-consuming and affected by significant inter-expert variability, motivating automatic approaches. We propose a deep learning approach based on convolutional and recurrent neural networks for sleep EEG event detection called Recurrent Event Detector (RED). RED uses one of two input representations: a) the time-domain EEG signal, or b) a complex spectrogram of the signal obtained with the Continuous Wavelet Transform (CWT). Unlike previous approaches, a fixed time window is avoided and temporal context is integrated to better emulate the visual criteria of experts. When evaluated on the MASS dataset, our detectors outperform the state of the art in both sleep spindle and K-complex detection with a mean F1-score of at least 80.9% and 82.6%, respectively. Although the CWT-domain model obtained a similar performance than its time-domain counterpart, the former allows in principle a more interpretable input representation due to the use of a spectrogram. The proposed approach is event-agnostic and can be used directly to detect other types of sleep events.","url_abs":"https://arxiv.org/abs/2005.07795v2","url_pdf":"https://arxiv.org/pdf/2005.07795v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"red-deep-recurrent-neural-networks-for-sleep","repo_url":"https://github.com/nicolasigor/cmorlet-tensorflow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null}],"tasks":[{"task_slug":"eeg-1","task_name":"EEG"},{"task_slug":"eeg","task_name":"Electroencephalogram (EEG)"},{"task_slug":"event-detection","task_name":"Event Detection"},{"task_slug":"k-complex-detection","task_name":"K-complex detection"},{"task_slug":"sleep-micro-event-detection","task_name":"Sleep Micro-event detection"},{"task_slug":"spindle-detection","task_name":"Spindle Detection"},{"task_slug":"time-series","task_name":"Time Series Analysis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/k-complex-detection-on-mass-ss2","task":"K-complex detection","dataset":"MASS SS2","model":"RED-CWT","rank_in_archive_order":1,"of":4,"metrics":{"F1-score (@IoU = 0.2)":"0.826","F1-score (@IoU = 0.3)":"0.827"},"uses_additional_data":false},{"leaderboard":"/sota/k-complex-detection-on-mass-ss2","task":"K-complex detection","dataset":"MASS SS2","model":"RED-Time","rank_in_archive_order":2,"of":4,"metrics":{"F1-score (@IoU = 0.2)":"0.826","F1-score (@IoU = 0.3)":"0.825"},"uses_additional_data":false},{"leaderboard":"/sota/spindle-detection-on-mass-ss2","task":"Spindle Detection","dataset":"MASS SS2","model":"RED-Time","rank_in_archive_order":1,"of":6,"metrics":{"F1-score (@IoU = 0.3)":"0.812"},"uses_additional_data":false},{"leaderboard":"/sota/spindle-detection-on-mass-ss2","task":"Spindle Detection","dataset":"MASS SS2","model":"RED-CWT","rank_in_archive_order":2,"of":6,"metrics":{"F1-score (@IoU = 0.2)":"0.812","F1-score (@IoU = 0.3)":"0.809"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers","held":null,"reason":"arxiv_id_not_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"by_repo":[{"repo":"nicolasigor/cmorlet-tensorflow","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0}],"by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"2b37983ef92c4ea29d782bcc2ccbe3a8df907801a0ec74c9bad32b449858eec8","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}