AUTHOR=Weiler Robin , Diachenko Marina , Juarez-Martinez Erika L. , Avramiea Arthur-Ervin , Bloem Peter , Linkenkaer-Hansen Klaus TITLE=Robin’s Viewer: Using deep-learning predictions to assist EEG annotation JOURNAL=Frontiers in Neuroinformatics VOLUME=16 YEAR=2023 URL=https://www.frontiersin.org/journals/neuroinformatics/articles/10.3389/fninf.2022.1025847 DOI=10.3389/fninf.2022.1025847 ISSN=1662-5196 ABSTRACT=
Machine learning techniques such as deep learning have been increasingly used to assist EEG annotation, by automating artifact recognition, sleep staging, and seizure detection. In lack of automation, the annotation process is prone to bias, even for trained annotators. On the other hand, completely automated processes do not offer the users the opportunity to inspect the models’ output and re-evaluate potential false predictions. As a first step toward addressing these challenges, we developed Robin’s Viewer (RV), a Python-based EEG viewer for annotating time-series EEG data. The key feature distinguishing RV from existing EEG viewers is the visualization of output predictions of deep-learning models trained to recognize patterns in EEG data. RV was developed on top of the plotting library Plotly, the app-building framework Dash, and the popular M/EEG analysis toolbox MNE. It is an open-source, platform-independent, interactive web application, which supports common EEG-file formats to facilitate easy integration with other EEG toolboxes. RV includes common features of other EEG viewers, e.g., a view-slider, tools for marking bad channels and transient artifacts, and customizable preprocessing. Altogether, RV is an EEG viewer that combines the predictive power of deep-learning models and the knowledge of scientists and clinicians to optimize EEG annotation. With the training of new deep-learning models, RV could be developed to detect clinical patterns other than artifacts, for example sleep stages and EEG abnormalities.