OSCR

Bayesian Uncertainty-aware Deep Learning with noisy labels: Tackling annotation ambiguity in EEG seizure detection.

Code ↔ Paper

5 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 5 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Materials and methods › Implementation and evaluation ↔ python/train/train_nal.py, lines 17–153 · score 0.63 · validation loss, PyTorch, finetuning, Adam, NAL, optimizer
  2. [2] § Materials and methods › Implementation and evaluation ↔ python/train/train_hvit.py, lines 19–134 · score 0.62 · validation loss, PyTorch, HViT, Adam, DUL, optimizer
  3. [3] § Materials and methods › EEG datasets › Simulated data. ↔ matlab/simulate/SEREEGA-master/pop/pop_sereega_plot_source_location.m, lines 40–131 · score 0.53 · source locations, lead field, SEREEGA, components, simulate
  4. [4] § Materials and methods › BUNDL: Bayesian Uncertainty-aware Deep Learning › Approximating label mismatch with . ↔ python/train/BUNDL.py, lines 73–156 · score 0.52 · cross entropy loss, ensemble, TTA, MCD, uncertainty, predictions
  5. [5] § Materials and methods › EEG datasets › Simulated data. ↔ matlab/simulate/get_signal.m, the whole file · a weak match · score 0.51 · sharp waves, polyspike, spikes, Seizure

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 153 lines · 6.2 KB · no license · 1 match

The registry keeps no copy of this file: its repository has no license, so its authors keep all their rights to it. Your browser shows it from its source, with JavaScript.

It can be read at the source: python/train/train_nal.py.

Overview

Authors: Deeksha M Shama1,2, Archana Venkataraman1,2
ORCID iDs: Deeksha M Shama
  1. Department of Electrical and Computer Engineering, Johns Hopkins University, Baltimore, Maryland, United States of America
  2. Department of Electrical and Computer Engineering, Boston University, Boston, Massachusetts, United States of America
Institutions: Boston University (United States); Johns Hopkins University (United States)
Journal: PloS one, volume 21, issue 6, article e0352191
Dates: received 19 June 2025; accepted 5 June 2026; published online 23 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1371/journal.pone.0352191 · PMID 42335163 · PMCID PMC13289946 · OpenAlex W4404313184
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), epilepsy (population), methods / tools (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Machine learning, Physiology & signal measures
MeSH: Deep Learning*, Electroencephalography*, Seizures*, Algorithms, Bayes Theorem, Humans, Neural Networks, Computer, Uncertainty (* major topic)
Topic: EEG and Brain-Computer Interfaces (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Science Foundation (CAREER, 1845430); National Institutes of Health (R21 CA263804, R01 EB029977, CA263804, R01-HD108790, EB029977)
Citations: not cited yet (Europe PMC); 77 references in the paper

Abstract

Deep learning is advancing EEG processing for automated epileptic seizure detection and onset zone localization, yet its performance relies heavily on high-quality annotated training data. However, scalp EEG is susceptible to high noise levels, which in turn leads to imprecise annotations of the seizure timing and characteristics. This “label noise” presents a significant challenge in model training and generalization. In this paper, we introduce Bayesian UncertaiNty-aware Deep Learning (BUNDL), a novel algorithm that informs a deep learning model of label ambiguities, thereby enhancing the robustness of seizure detection systems. By integrating domain knowledge into an underlying Bayesian framework, we derive a novel KL-divergence-based loss function that capitalizes on uncertainty to better learn seizure characteristics from scalp EEG. Thus, BUNDL offers a straightforward and model-agnostic method for training deep neural networks with noisy training labels that does not add any parameters to existing architectures. Additionally, we explore the impact of improved detection system on the task of automated onset zone localization. We validate BUNDL using a comprehensive simulated EEG dataset and two publicly available datasets collected by Temple University Hospital (TUH) and Boston Children’s Hospital (CHB-MIT). Results show that BUNDL consistently identifies noisy labels and improves the robustness of three base models under various label noise conditions. We also conduct ablation experiments on uncertainty quantification, evaluate cross-site generalizability to Siena EEG dataset, and quantify computational cost of all methods. Furthermore, we demonstrate that BUNDL improves seizure onset zone localization accuracy. Ultimately, BUNDL presents as a reliable method that can be seamlessly integrated with existing deep models used in clinical practice, enabling the training of trustworthy models for epilepsy evaluation.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 5 matches between paragraphs and lines of code.

deeksha-ms/BUNDL

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 3029ac2e1a5d3dfd88529c459e6dca93566c9f02, 3 January 2026
Languages: MATLAB (131), Python (10), Jupyter (2)
Size: 177 files, 143 scripts
Software Heritage: not checked
Found in: the text, “Implementation and evaluation”
Holds: README, documentation, 8 notebooks
Not found: license file, CITATION.cff, environment file, tests, continuous integration
Tools: EEGLAB (12 files), NumPy (11 files), PyTorch (10 files), pandas (7 files), SciPy (7 files), Matplotlib (4 files), Statistics and Machine Learning Toolbox (3 files), scikit-learn (2 files), FieldTrip (1 file), Parallel Computing Toolbox (1 file), Signal Processing Toolbox (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
144 files, not copied: shown from their source

OSCR keeps no copy of these files: this repository has no license that allows it. The reader above shows each one from its source, fetched by your browser at commit 3029ac2, when its fingerprint is the one OSCR verified. How this works.

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 143 scripts, each with its path and the digest of its content;
  • 5 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Data Availability

The simulated data can be reproduced using scripts available at https://github.com/deeksha-ms/BUNDL. The TUH dataset is available at https://isip.piconepress.com/projects/tuh_eeg/ the CHB-MIT dataset is available at https://physionet.org/content/chbmit/1.0.0/ and the Siena Dataset is available at https://physionet.org/content/siena-scalp-eeg/1.0.0/. Our code is available at https://github.com/deeksha-ms/BUNDL.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 2, 28 September 2026

  • Funding: added National Science Foundation: CAREER, 1845430; National Institutes of Health: R21 CA263804, R01 EB029977, CA263804, R01-HD108790, EB029977

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 8 MeSH terms, 44 references.

Cite

This paper

M Shama, D., & Venkataraman, A. (2026). Bayesian Uncertainty-aware Deep Learning with noisy labels: Tackling annotation ambiguity in EEG seizure detection. PloS one, 21(6), e0352191. https://doi.org/10.1371/journal.pone.0352191

BibTeX

@article{mshama2026bayesian,
author = {M Shama, Deeksha and Venkataraman, Archana},
title = {{Bayesian Uncertainty-aware Deep Learning with noisy labels: Tackling annotation ambiguity in EEG seizure detection}},
journal = {PloS one},
year = {2026},
month = jun,
volume = {21},
number = {6},
pages = {e0352191},
publisher = {PLOS},
issn = {1932-6203},
doi = {10.1371/journal.pone.0352191},
url = {https://doi.org/10.1371/journal.pone.0352191},
pmid = {42335163},
pmcid = {PMC13289946}
}

RIS

TY - JOUR
AU - M Shama, Deeksha
AU - Venkataraman, Archana
TI - Bayesian Uncertainty-aware Deep Learning with noisy labels: Tackling annotation ambiguity in EEG seizure detection
T2 - PloS one
J2 - PLoS One
PY - 2026
DA - 2026/06/23
VL - 21
IS - 6
SP - e0352191
SN - 1932-6203
PB - PLOS
DO - 10.1371/journal.pone.0352191
UR - https://doi.org/10.1371/journal.pone.0352191
LA - en
ER -

CSL-JSON

{
"id": "10.1371/journal.pone.0352191",
"type": "article-journal",
"title": "Bayesian Uncertainty-aware Deep Learning with noisy labels: Tackling annotation ambiguity in EEG seizure detection",
"container-title": "PloS one",
"author": [
{
"family": "M Shama",
"given": "Deeksha"
},
{
"family": "Venkataraman",
"given": "Archana"
}
],
"container-title-short": "PLoS One",
"volume": "21",
"issue": "6",
"page": "e0352191",
"DOI": "10.1371/journal.pone.0352191",
"PMID": "42335163",
"PMCID": "PMC13289946",
"ISSN": "1932-6203",
"publisher": "PLOS",
"URL": "https://doi.org/10.1371/journal.pone.0352191",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
23
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41467-026-75347-4 [code]
Sleep reveals dynamics integrating and segregating movement and stimulus representations in V1.
Journal: Nature communications
In common: EEGLAB, Parallel Computing Toolbox, FieldTrip, 8 other tools
[2] doi:10.1016/j.isci.2026.117068 [code]
Directed graph neural networks with partial directed coherence for seizure prediction and epileptogenic network characterization.
Journal: iScience
In common: PyTorch, scikit-learn, NumPy, physionet.org/content/siena-scalp-eeg, physionet.org/content/chbmit, epilepsy
[3] doi:10.1038/s41593-026-02357-2 [code]
Experience reorganizes content-specific memory traces in macaques.
Journal: Nature neuroscience
In common: EEGLAB, Parallel Computing Toolbox, FieldTrip, 7 other tools
[4] doi:10.1162/imag.a.1229 [code]
40 Hz audiovisual stimulation improves sustained attention and related brain oscillations.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: EEGLAB, Parallel Computing Toolbox, FieldTrip, 6 other tools, EEG
[5] doi:10.1016/j.neuron.2026.03.034 [code]
Dentate gyrus interneurons modulate winner-take-all network dynamics in freely behaving mice.
Journal: Neuron
In common: EEGLAB, Parallel Computing Toolbox, Signal Processing Toolbox, 7 other tools
[6] doi:10.3390/s26175623
MF-TopoNet: A Multi-Frequency Topological Neural Network for Epileptic Seizure Prediction.
Journal: Sensors (Basel, Switzerland)
In common: physionet.org/content/siena-scalp-eeg, physionet.org/content/chbmit, epilepsy, EEG
[7] doi:10.1371/journal.pone.0345470
Physics-informed graph neural networks for robust cross-patient epileptic seizure prediction via chimera state detection.
Journal: PloS one
In common: physionet.org/content/siena-scalp-eeg, physionet.org/content/chbmit, epilepsy, EEG
[8] doi:10.1016/j.celrep.2026.117646 [code]
Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.
Journal: Cell reports
In common: EEGLAB, Parallel Computing Toolbox, FieldTrip, 6 other tools
[9] doi:10.7554/elife.107088 [code]
Development of auditory and spontaneous movement responses to music over the first postnatal year.
Journal: eLife
In common: EEGLAB, FieldTrip, Signal Processing Toolbox, 6 other tools, EEG
[10] doi:10.1038/s41598-026-47627-y [code]
QuantumNeuroXAI: a quantum-inspired deep learning framework with explainability for brain signal analysis and neurological disorder detection.
Journal: Scientific reports
In common: PyTorch, scikit-learn, pandas, 3 other tools, physionet.org/content/chbmit, methods / tools, EEG

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.