<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Dance of the Neurons: Unraveling Sex from Brain Signals</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author role="corresp">
							<persName><forename type="first">Mohammad-Javad</forename><surname>Darvishi-Bayazi</surname></persName>
							<email>mohammad.bayazi@mila.quebec</email>
							<affiliation key="aff0">
								<orgName type="institution">Mila -Québec AI Institute</orgName>
								<address>
									<settlement>Montréal</settlement>
									<region>QC</region>
									<country key="CA">Canada</country>
								</address>
							</affiliation>
							<affiliation key="aff1">
								<orgName type="institution">Université de Montréal</orgName>
								<address>
									<settlement>Montréal</settlement>
									<region>QC</region>
									<country key="CA">Canada</country>
								</address>
							</affiliation>
							<affiliation key="aff2">
								<orgName type="department">Faubert Lab</orgName>
								<address>
									<settlement>Montréal</settlement>
									<region>QC</region>
									<country key="CA">Canada</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Mohammad</forename><forename type="middle">Sajjad</forename><surname>Ghaemi</surname></persName>
							<affiliation key="aff3">
								<orgName type="institution">National Research Council Canada</orgName>
								<address>
									<settlement>Toronto</settlement>
									<region>ON</region>
									<country key="CA">Canada</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Jocelyn</forename><surname>Faubert</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution">Université de Montréal</orgName>
								<address>
									<settlement>Montréal</settlement>
									<region>QC</region>
									<country key="CA">Canada</country>
								</address>
							</affiliation>
							<affiliation key="aff2">
								<orgName type="department">Faubert Lab</orgName>
								<address>
									<settlement>Montréal</settlement>
									<region>QC</region>
									<country key="CA">Canada</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Irina</forename><surname>Rish</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Mila -Québec AI Institute</orgName>
								<address>
									<settlement>Montréal</settlement>
									<region>QC</region>
									<country key="CA">Canada</country>
								</address>
							</affiliation>
							<affiliation key="aff1">
								<orgName type="institution">Université de Montréal</orgName>
								<address>
									<settlement>Montréal</settlement>
									<region>QC</region>
									<country key="CA">Canada</country>
								</address>
							</affiliation>
						</author>
						<author>
							<affiliation key="aff4">
								<orgName type="department">Machine Learning for Cognitive and Mental Health Workshop (ML4CMH)</orgName>
								<address>
									<addrLine>AAAI 2024</addrLine>
									<settlement>Vancouver</settlement>
									<region>BC</region>
									<country key="CA">Canada</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Dance of the Neurons: Unraveling Sex from Brain Signals</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">EC93FE8916415B8AB89224C4940C7603</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T16:45+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>EEG</term>
					<term>Sex Prediction</term>
					<term>Artificial Neural Network</term>
					<term>Machine Learning</term>
					<term>Robustness</term>
					<term>Transfer Learning</term>
					<term>Mental Health</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Previous studies have shown that machine learning can predict biological sex from EEG data with high accuracy. However, the validity and generalizability of these findings across different datasets and tasks still need to be clarified. In this paper, we investigated the robustness and transferability of sex-related patterns in EEG data using a Convolutional neural network (CNN) trained on several corpora of EEG recordings ranging from 221 to 12, 000 participants from healthy and diseased subjects.</p><p>We evaluated the CNN on datasets from various sources and groups, with varying degrees of shift in their distributions. We found that CNNs can detect sex from EEG data accurately on datasets without fine-tuning or adaptation when the shift is low. However, performance drops where the shift is drastic. These results suggest that sex-related patterns in EEG data are robust and transferable across diverse datasets and relevant tasks. We discuss the implications of these findings for EEG analysis, machine learning applications, and best practices to avoid sex biases that enhance personalized mental health interventions.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Addressing sex biases in medicine and mental health is vital, as exemplified by the US Food and Drug Administration's suspension of ten prescription drugs, eight of which posed higher health risks in women. The root cause of this issue lies in a discernible bias towards males in various research stages <ref type="bibr" target="#b0">[1]</ref>. Therefore, recognizing sex as a crucial biological variable in primary and preclinical research ensures accurate and replicable results.</p><p>Understanding the complex interplay between brain function and sex is vital to advancing mental health comprehension <ref type="bibr" target="#b1">[2]</ref>. Electroencephalogram (EEG) signals, reflecting brain electrical activity, offer a unique avenue for exploring sex-related neural patterns. Combined with large datasets, machine learning has become a powerful tool in deciphering intricate neurological phenomena. This research endeavour holds significant implications for personalized medicine and mental health interventions, offering the potential to enhance early detection, diagnosis, and treatment of disorders <ref type="bibr" target="#b2">[3]</ref>. The intersection of EEG analysis, machine learning, and large datasets opens new frontiers in mental health research, promising more precise and practical approaches to promoting mental well-being.</p><p>Most of the studies in the field have primarily focused on differences in brain size and static features <ref type="bibr" target="#b3">[4,</ref><ref type="bibr" target="#b4">5,</ref><ref type="bibr" target="#b5">6,</ref><ref type="bibr" target="#b6">7]</ref>, ignoring the dynamic aspects of brain function. To address this gap, we propose using EEG, which provides insights into brain dynamics and activity patterns. However, one major challenge in utilizing EEG data is its inherent noise. To overcome this issue, we suggest employing a large number of samples to increase the signal-to-noise ratio, thus enhancing the reliability and accuracy of the findings. By incorporating EEG data into the analysis, we can better understand the brain's dynamic processes and their relationship to sex differences and behaviour.</p><p>Despite the promising potential of using brain imaging and machine learning in mental health research to classify sex-specific markers, a significant challenge arises from the often small and limited datasets employed in these studies. For instance, Bučková et al. <ref type="bibr" target="#b7">[8]</ref> evaluated deep learning classifiers on a small number of participants with Major Depressive Disorder (MDD) and Jochmann et al. <ref type="bibr" target="#b8">[9]</ref>, Van Putten et al. <ref type="bibr" target="#b9">[10]</ref> applied on a mid-size dataset on healthy participants(see Table <ref type="table" target="#tab_0">1</ref> for a comparison). The reliance on insufficient sample sizes can lead to incomplete and biased conclusions <ref type="bibr" target="#b3">[4]</ref>, hindering the generalizability and reliability of findings. This issue is particularly critical in understanding the intricate connections between brain function and mental health, where individual variations and complexities require comprehensive datasets.</p><p>To tackle these challenges, we leveraged machine learning techniques on functional brain imaging data, specifically EEG, across diverse datasets encompassing </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Material and Methods</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Datasets</head><p>We used three publicly available EEG datasets with different sample sizes and conditions to investigate the effect of sex on EEG signals. The datasets are: NMT (NUST-MH-TUKL EEG): This dataset contains 2, 417 recordings from healthy and pathological subjects, with a total duration of 625 hours. The recordings are labelled as normal or abnormal by qualified neurologists and also include demographic information, such as sex and age <ref type="bibr" target="#b10">[11]</ref>.</p><p>TUAB (Temple University Hospital Abnormal EEG Corpus): This dataset is a subset of the TUEG corpus that contains 1, 985 recordings from 1, 652 subjects, with a total duration of 453 hours. The recordings are labelled as normal or abnormal by qualified neurologists <ref type="bibr" target="#b11">[12,</ref><ref type="bibr" target="#b12">13,</ref><ref type="bibr" target="#b13">14]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>TUEG (Temple University Hospital EEG Corpus):</head><p>This dataset is a large open-source corpus of EEG data, containing over 69, 000 recordings from 14, 987 subjects, with a total duration of 27, 062 hours. The recordings are de-identified and annotated with clinical information, such as age and sex <ref type="bibr" target="#b12">[13,</ref><ref type="bibr" target="#b13">14]</ref>.</p><p>We utilize patient sex information, encoded as 0 or 1 as our neural network target. We focus on sex instead of gender due to the dataset's clinical origin, assuming patients' records reflected assigned birth sex rather than self-identified gender. We applied several preprocessing steps to the EEG data, including 21 common channels, which were selected across the datasets. We used Artifact Subspace Reconstruction (ASR) <ref type="bibr" target="#b14">[15]</ref> to remove artifacts from the EEG. We z-scored the EEG signals to each channel's statistics. We used predefined test sets to report the accuracy of our models and 15% of the training splits for model selection.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Model</head><p>We used ShallowNet <ref type="bibr" target="#b15">[16]</ref> as our model for all experiments, as it is a simple and efficient Convolutional Neural network (CNN) that can perform well on various EEG tasks. ShallowNet consists of only one convolutional layer followed by a fully connected layer, which reduces the number of parameters and the computational cost compared to deeper networks. We implemented ShallowNet in BrainDecode <ref type="bibr" target="#b16">[17]</ref> and trained it using the AdamW optimizer with a learning rate of 0.000625, weight decay of 0, drop probability of 0.5, and a batch size of 64. We used binary cross-entropy as the loss function and balanced accuracy (BAC) as the evaluation metric.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">Training and Evaluation</head><p>The training and evaluation of the model were conducted with the primary objective of classifying sex from EEG signals. Our focus extended beyond the training dataset to include a comprehensive analysis of model performance on both the test split of the training dataset and other unseen datasets. The overarching goal was to assess the Sex Detectability (SD) from EEG signals and evaluate the model's robustness to distribution shifts in unseen data. We investigated detectability and transferability under various conditions to investigate the model's capabilities. Specifically, we explored the model's performance when trained and tested on subsets of the data, considering scenarios where only Normal participants were included, only Abnormal participants were included, or when the entire dataset was utilized. This approach allowed us to understand how well the model generalizes across different participant profiles. Furthermore, we conducted experiments to understand the impact of SD on pathology detection. To achieve this, we trained the model on the NMT dataset, which features imbalances in different aspects. Our analysis focused on different subgroups within the dataset, including Male Normal, Female Normal, Male Abnormal, and Female Abnormal participants. We aimed to elucidate any potential associations between SD and pathology detection by examining the model's performance on these subgroups. We ran each experiment with three random seeds. All error bars show the standard error of the metrics of the three seeds.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Results</head><p>One of the objectives of this study is to investigate if the biological sex of the subjects is detectable from their scalp EEG recordings. This question is relevant for understanding the sex-specific differences in brain activity and their implications for the diagnosis and treatment of various neurological and psychiatric disorders. Moreover, this question is also essential for evaluating the potential biases and limitations of machine learning classifiers trained on EEG data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Sex Detectability (SD) from EEG</head><p>To address SD from EEG, we experimented with several datasets of different sizes and compositions, including the TUEG EEG dataset, the world's most extensive opensource corpus of EEG data. We also considered the normal and abnormal populations of the subjects. We used a shallow and deep convolutional neural network (CNN) as our classifier, Previous studies have shown that this CNN can achieve competitive accuracy with larger models in predicting pathology from EEG data <ref type="bibr" target="#b17">[18,</ref><ref type="bibr" target="#b18">19]</ref>.</p><p>The results of our experiments are summarized in Figure <ref type="figure" target="#fig_0">1</ref> and Table <ref type="table" target="#tab_2">2</ref>, which show the BAC of the CNN classifier for each dataset. The figure shows the BAC when we train the model on a dataset and test on its own test split, which is in distribution. It also shows the BAC of a model trained on a dataset and tested on another dataset, which is out of distribution performance. The results indicate that the sex of the subjects is detectable from their EEG recordings in all of the distribution scenarios, with accuracy ranging from 60% to 80%. The results also show that the sex detection performance is slightly higher for the normal population than for the abnormal population. It is worth noting that the TUEG dataset does not have pathology (Normal/Abnormal) labels, therefore, we do not show the results for normal and abnormal participants.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Performance on Unseen Data (Zero-Shot)</head><p>To evaluate the model's adaptability to unseen data, we conducted zero-shot performance assessments across various datasets. Zero-shot performance means that the model can predict the class of a sample from an unseen dataset without having seen any examples from that dataset during training. Notably, the highest accuracy of 79.11% was achieved when training on TUEG and testing on TUAB EEG datasets. Conversely, the lowest accuracies were observed when the model was evaluated across the TUH datasets and the NMT Scalp EEG Dataset. Our investigation extended beyond the original training and testing datasets to explore out-of-distribution accuracy, mainly focusing on the abnormal population. Strikingly, the model exhibited higher accuracy in out-ofdistribution scenarios when dealing with the abnormal population. To comprehensively gauge the generalization of learned features, each model was tested on other datasets to evaluate zero-shot performance. This analysis provided insights into how well the model leverages learned features when confronted with entirely new data.</p><p>In table 2, we compare our models with previous work on sex detection on the TUAB dataset, which has a moderate sample size compared to two other datasets in our study. The results show that ShallowNet archives comparable results in the distribution scenario and outperforms by a high margin on the zero-shot scenario. The reason for this improvement might be that the TUEG dataset has seven times more unique participants, and the data Figure <ref type="figure">2</ref>: Sex imbalances in the NMT dataset and its effect on pathology detection: A) Data distribution of the NMT dataset, the number of male samples is two times higher than that of females. B) Accuracies of subgroups. The difference in the number of samples does not affect the pathology detection. These results demonstrate that the biological sex of the subjects is a significant factor that machine learning methods could capture. However, these results also may imply that the sex of the subjects should be taken into account when developing and evaluating machine learning classifiers for EEG pathology detection, as the sex distribution of the training and testing data may affect the generalization and robustness of the models.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Sex Imbalance's Impact on EEG Pathology Detection</head><p>As we see in the previous sections (SD and Zero-Shot), sex is detectable from the EEG signals and is an important biological factor that can influence human brain activity and behaviour. Therefore, considering it in the analysis is essential, especially when the datasets are imbalanced.</p><p>In this section, we aim to investigate the effect of sex on pathology detection from EEG signals using the NMT Scalp EEG Dataset. The NMT dataset has a significant sex imbalance, as men are two times more frequent than women in the dataset. This raises the question of whether the sex imbalance and the SD from the EEG signals can affect the performance of the pathology detection models.</p><p>To address this question, we conducted several experiments using different deep-learning architectures. We first verified that sex is detectable from the EEG signals using a simple convolutional neural network (CNN) that achieved a good accuracy on the sex classification task on several EEG datasets with different sample sizes (see Table <ref type="table" target="#tab_2">2</ref> and Figure <ref type="figure" target="#fig_0">1</ref>). We then evaluated the pathology detection models on the NMT dataset for different subgroups.</p><p>Figure <ref type="figure">2</ref> shows how the sex imbalance in the NMT dataset does not affect the pathology detection performance. Although the NMT dataset has twice as many male samples as female samples, as shown in panel A. However, this does not lead to a significant difference in the accuracy of the pathology detection models for the male and female subgroups, as shown in panel B. This suggests that the sex imbalance in the NMT dataset does not hurt the pathology detection quality.</p><p>One possible reason for this finding is that the NMT dataset has a balanced ratio of normal and abnormal samples in each sex subgroup, as shown in Figure <ref type="figure">2A</ref>. This means that the models can learn the features related to the pathology, not the sex, of the subjects. Therefore, even though the sex is detectable from the EEG signals, it does not interfere with the pathology detection task.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Discussion and conclusion</head><p>Historically documented sex differences in EEG patterns and the successful application of machine learning for automatic sex detection suggest that sex-related patterns can act as confounders in machine learning-based EEG assessments <ref type="bibr" target="#b7">[8,</ref><ref type="bibr" target="#b8">9]</ref>. In our experimentation on potential confounding factors within the NMT dataset, we explored a scenario involving an imbalance in male and female participants. Our findings indicate that, in this dataset, sex does not function as a confounder due to an equal distribution of abnormal participants in the male/female splits. However, as demonstrated in the SD section, we reveal that sex remains detectable. Consequently, acknowledging sex as a factor is essential for precision medicine in mental health.</p><p>A key takeaway from an extensive review spanning three decades of research on human brain sex differences is that, despite evident behavioural distinctions between men and women, disparities in brain structure and function are minimal and inconsistent when adjusted for in-dividual brain size and inefficient participant numbers <ref type="bibr" target="#b3">[4]</ref>. In contrast, our study employs EEG, which has high temporal but low spatial resolution, to assess functional brain activity. Our findings reveal distinct patterns across datasets with varying subject numbers, highlighting the unique insights provided by EEG in uncovering differences.</p><p>Brain connectivity and topography research has yielded diverse perspectives, providing a rich field for future investigations. For instance, Ingalhalikar et al. <ref type="bibr" target="#b19">[20]</ref> found that male brains exhibit enhanced connectivity between perception and coordinated action, while female brains are structured to facilitate communication between analytical and intuitive processing modes. Their study, involving 949 youths, demonstrated distinct patterns in supratentorial connections, with stronger intrahemispheric connections in males and stronger interhemispheric connections in females. Jochmann et al. <ref type="bibr" target="#b8">[9]</ref> highlighted the significance of EEG topographies in sex detection, revealing that even with disrupted waveforms, the sex could be accurately identified. On the other hand, Bučková et al. <ref type="bibr" target="#b7">[8]</ref> observed that the incorporation of multivariate classification models did not consistently improve performance. Also, Eliot et al. <ref type="bibr" target="#b3">[4]</ref> argues that despite decades of examining sex effects on lateralized brain function, there is no substantial evidence supporting the widely held belief that male brains are significantly more lateralized than female brains. The diversity of findings in the literature underscores the complexity of brain connectivity and topography, making it an intriguing and promising avenue for future research. One could examine where the trained neural network looks when classifying brain signals.</p><p>Frequency bands are widely recognized as critical features in quantitative EEG analysis. Despite their prominence, the significance of these features in sex detection remains unclear. Some studies assert that brain rhythms exhibit sex-specific patterns <ref type="bibr" target="#b20">[21,</ref><ref type="bibr" target="#b9">10]</ref>, while others argue that none of the traditional frequency bands play a particularly crucial role in sex detection <ref type="bibr" target="#b8">[9]</ref>. A potential avenue for future research would be to explore and substantiate these claims using an extensive dataset, such as TUEG.</p><p>In summary, our training and evaluation process thoroughly explored the model's performance in classifying sex from EEG signals. We systematically assessed its ability to generalize to unseen data, examined detectability and generalization under varying conditions, and investigated potential implications for pathology detection using a diverse and imbalanced dataset. The results of these analyses contribute to a nuanced understanding of the model's capabilities and potential applications in clinical settings.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: SD from EEG in three populations: A) Normal B) Abnormal C) All participants. Error bars show the standard error of BAC across three random seeds. It is worth noting that the TUEG dataset does not have pathology labels. Therefore, the results for the TUEG dataset are not available in A and B, and we only visualize the results for all participants in C</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_0"><head>Table 1</head><label>1</label><figDesc>A comparison of previous studies on EEG sex detection. The table shows the name of the study, the dataset used, the number of participants and recordings in the dataset and in (train, test) splits, participants' conditions, and the data availability.</figDesc><table><row><cell>Study</cell><cell cols="3"># of Participants # of Recordings Conditions</cell><cell>Dataset</cell></row><row><cell>Van Putten et al. [10]</cell><cell>1308 (1000, 308)</cell><cell>1308</cell><cell>All Normal</cell><cell>In Lab</cell></row><row><cell>Bučková et al. [8]</cell><cell>144</cell><cell>144</cell><cell>MDD</cell><cell>In Lab</cell></row><row><cell>Jochmann et al. [9]</cell><cell>1282 (1140, 142)</cell><cell>1282</cell><cell cols="2">Only Normal Split TUAB</cell></row><row><cell>Ours</cell><cell>2417</cell><cell>2417</cell><cell cols="2">Normal/Abnormal Public-NMT</cell></row><row><cell>Ours</cell><cell>2329</cell><cell>2978</cell><cell cols="2">Normal/Abnormal Public-TUAB</cell></row><row><cell>Ours</cell><cell>14987</cell><cell>69000</cell><cell>Unlabeled</cell><cell>Public-TUEG</cell></row><row><cell cols="3">varying sample sizes and populations, including both</cell><cell></cell><cell></cell></row><row><cell cols="3">normal and abnormal 1 populations. Also, we examined</cell><cell></cell><cell></cell></row><row><cell cols="3">the performance of classifiers under the distribution shift</cell><cell></cell><cell></cell></row><row><cell cols="3">on unseen data. Ultimately, our findings contribute to</cell><cell></cell><cell></cell></row><row><cell cols="3">more robust and applicable insights for targeted and per-</cell><cell></cell><cell></cell></row><row><cell cols="2">sonalized mental health interventions.</cell><cell></cell><cell></cell><cell></cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_2"><head>Table 2</head><label>2</label><figDesc></figDesc><table><row><cell cols="2">Comparison of BAC (%) between previous work on TUAB</cell></row><row><cell>dataset and ours</cell><cell></cell></row><row><cell>Method</cell><cell>TUAB</cell></row><row><cell>Clean [9]</cell><cell>74.00±02.00</cell></row><row><cell>Clean (Ours)</cell><cell>72.89±01.21</cell></row><row><cell>Zero-Shot (Pre-trained-Ours)</cell><cell>79.11±01.47</cell></row><row><cell cols="2">distribution is close to TUAB. Therefore, it improves the</cell></row><row><cell cols="2">performance of the TUAB dataset by 7%.</cell></row></table></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">The term "Normal/Abnormal" is used in original datasets to describe EEG recordings that contain pathological features, such as epileptic spikes, periodic discharges, or other abnormal patterns. It does not imply any value judgment or stigma but rather reflects the quality of the EEG signal. In this paper, we adhered to the same terminology.</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Acknowledgements</head><p>We extend our sincere appreciation to Mathilde Besson for their valuable comments, which greatly contributed to the refinement of this paper. This work was funded by Canada CIFAR AI Chair Program and from the Canada Excellence Research Chairs (CERC) program, National Research Council Canada, Natural Sciences and Engineering Research Council (NSERC-CAE-CRIAC-CARIQ, NSERC discovery grant RGPIN-2022-05122), Doctoral Research Microsoft Diversity Award (Microsoft-Mila), Faculty of medicine-UdeM, and Faculté des études supérieures et postdoctorales. We thank Compute Canada for providing computational resources.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Sex as an important biological variable in biomedical research</title>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">K</forename><surname>Lee</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">BMB reports</title>
		<imprint>
			<biblScope unit="volume">51</biblScope>
			<biblScope unit="page">167</biblScope>
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Understanding the influences of sex and gender differences in mental disorders</title>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">M</forename><surname>Christiansen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">M</forename><surname>Mccarthy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">V</forename><surname>Seeman</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Frontiers in Psychiatry</title>
		<imprint>
			<biblScope unit="volume">13</biblScope>
			<biblScope unit="page">984195</biblScope>
			<date type="published" when="2022">2022</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Putting big data to good use in neuroscience</title>
		<author>
			<persName><forename type="first">T</forename><forename type="middle">J</forename><surname>Sejnowski</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">S</forename><surname>Churchland</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">A</forename><surname>Movshon</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Nature neuroscience</title>
		<imprint>
			<biblScope unit="volume">17</biblScope>
			<biblScope unit="page" from="1440" to="1441" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Dump the &quot;dimorphism&quot;: Comprehensive synthesis of human brain studies reveals few male-female differences beyond size</title>
		<author>
			<persName><forename type="first">L</forename><surname>Eliot</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Ahmed</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Khan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Patel</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Neuroscience &amp; Biobehavioral Reviews</title>
		<imprint>
			<biblScope unit="volume">125</biblScope>
			<biblScope unit="page" from="667" to="697" />
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Patterns in the human brain mosaic discriminate males from females</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">M</forename><surname>Chekroud</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><forename type="middle">J</forename><surname>Ward</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">D</forename><surname>Rosenberg</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">J</forename><surname>Holmes</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Proceedings of the National Academy of Sciences</title>
		<imprint>
			<biblScope unit="volume">113</biblScope>
			<biblScope unit="page" from="E1968" to="E1968" />
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Neuroanatomical morphometric characterization of sex differences in youth using statistical learning</title>
		<author>
			<persName><forename type="first">F</forename><surname>Sepehrband</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><forename type="middle">M</forename><surname>Lynch</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">P</forename><surname>Cabeen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Gonzalez-Zacarias</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Zhao</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>D'arcy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Kesselman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">M</forename><surname>Herting</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><forename type="middle">D</forename><surname>Dinov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">W</forename><surname>Toga</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Neuroimage</title>
		<imprint>
			<biblScope unit="volume">172</biblScope>
			<biblScope unit="page" from="217" to="227" />
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Effects of different intracranial volume correction methods on univariate sex differences in grey matter volume and multivariate sex prediction</title>
		<author>
			<persName><forename type="first">C</forename><surname>Sanchis-Segura</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">V</forename><surname>Ibañez-Gual</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Aguirre</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Á</forename><forename type="middle">J</forename><surname>Cruz-Gómez</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Forn</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Scientific Reports</title>
		<imprint>
			<biblScope unit="volume">10</biblScope>
			<biblScope unit="page">12953</biblScope>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Predicting sex from eeg: validity and generalizability of deep-learning-based interpretable classifier</title>
		<author>
			<persName><forename type="first">B</forename><surname>Bučková</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Brunovskỳ</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Bareš</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Hlinka</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Frontiers in Neuroscience</title>
		<imprint>
			<biblScope unit="volume">14</biblScope>
			<biblScope unit="page">589303</biblScope>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Sex-related patterns in the electroencephalogram and their relevance in machine learning classifiers</title>
		<author>
			<persName><forename type="first">T</forename><surname>Jochmann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">S</forename><surname>Seibel</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Jochmann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Khan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">S</forename><surname>Hämäläinen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Haueisen</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Human Brain Mapping</title>
		<imprint>
			<biblScope unit="volume">44</biblScope>
			<biblScope unit="page" from="4848" to="4858" />
			<date type="published" when="2023">2023</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Predicting sex from brain rhythms with deep learning</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">J</forename><surname>Van Putten</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Olbrich</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Arns</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Scientific reports</title>
		<imprint>
			<biblScope unit="volume">8</biblScope>
			<biblScope unit="page">3069</biblScope>
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">The nmt scalp eeg dataset: an open-source annotated dataset of healthy and pathological eeg recordings for predictive modeling</title>
		<author>
			<persName><forename type="first">H</forename><forename type="middle">A</forename><surname>Khan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Ul Ain</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">M</forename><surname>Kamboh</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><forename type="middle">T</forename><surname>Butt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Shafait</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Alamgir</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Stricker</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Shafait</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Frontiers in neuroscience</title>
		<imprint>
			<biblScope unit="volume">15</biblScope>
			<biblScope unit="page">755817</biblScope>
			<date type="published" when="2022">2022</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<monogr>
		<author>
			<persName><forename type="first">S</forename><surname>López</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><surname>Obeid</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Picone</surname></persName>
		</author>
		<title level="m">Automated interpretation of abnormal adult electroencephalograms</title>
				<imprint>
			<date type="published" when="2017">2017</date>
		</imprint>
		<respStmt>
			<orgName>Temple University</orgName>
		</respStmt>
	</monogr>
	<note type="report_type">Ph.D. thesis</note>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">Correction to: The temple university hospital digital pathology corpus</title>
		<author>
			<persName><forename type="first">N</forename><surname>Shawki</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">G</forename><surname>Shadin</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Elseify</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Jakielaszek</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Farkas</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Persidsky</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Jhala</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><surname>Obeid</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Picone</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Signal Processing in Medicine and Biology: Emerging Trends in Research and Applications</title>
				<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2022">2022</date>
			<biblScope unit="page" from="C1" to="C1" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">The temple university hospital eeg data corpus</title>
		<author>
			<persName><forename type="first">I</forename><surname>Obeid</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Picone</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Frontiers in neuroscience</title>
		<imprint>
			<biblScope unit="volume">10</biblScope>
			<biblScope unit="page">196</biblScope>
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<analytic>
		<title level="a" type="main">A riemannian modification of artifact subspace reconstruction for eeg artifact handling</title>
		<author>
			<persName><forename type="first">S</forename><surname>Blum</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">S</forename><surname>Jacobsen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">G</forename><surname>Bleichner</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Debener</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Frontiers in human neuroscience</title>
		<imprint>
			<biblScope unit="volume">13</biblScope>
			<biblScope unit="page">141</biblScope>
			<date type="published" when="2019">2019</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">Deep learning with convolutional neural networks for eeg decoding and visualization</title>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">T</forename><surname>Schirrmeister</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">T</forename><surname>Springenberg</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><forename type="middle">D J</forename><surname>Fiederer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Glasstetter</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Eggensperger</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Tangermann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Hutter</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Burgard</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Ball</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Human brain mapping</title>
		<imprint>
			<biblScope unit="volume">38</biblScope>
			<biblScope unit="page" from="5391" to="5420" />
			<date type="published" when="2017">2017</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<analytic>
		<title level="a" type="main">Deep learning with convolutional neural networks for eeg decoding and visualization</title>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">T</forename><surname>Schirrmeister</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">T</forename><surname>Springenberg</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><forename type="middle">D J</forename><surname>Fiederer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Glasstetter</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Eggensperger</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Tangermann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Hutter</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Burgard</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Ball</surname></persName>
		</author>
		<idno type="DOI">10.1002/hbm.23730</idno>
		<ptr target="http://dx.doi.org/10.1002/hbm.23730.doi:10.1002/hbm.23730" />
	</analytic>
	<monogr>
		<title level="j">Human Brain Mapping</title>
		<imprint>
			<date type="published" when="2017">2017</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<analytic>
		<title level="a" type="main">Amplifying pathological detection in eeg signaling pathways through crossdataset transfer learning</title>
		<author>
			<persName><forename type="first">M.-J</forename><surname>Darvishi-Bayazi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">S</forename><surname>Ghaemi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Lesort</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">R</forename><surname>Arefin</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Faubert</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><surname>Rish</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Computers in Biology and Medicine</title>
		<imprint>
			<biblScope unit="page">107893</biblScope>
			<date type="published" when="2023">2023</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">Machine-learning-based diagnostics of eeg pathology</title>
		<author>
			<persName><forename type="first">L</forename><forename type="middle">A</forename><surname>Gemein</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">T</forename><surname>Schirrmeister</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Chrabąszcz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Wilson</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Boedecker</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Schulze-Bonhage</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Hutter</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Ball</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">NeuroImage</title>
		<imprint>
			<biblScope unit="volume">220</biblScope>
			<biblScope unit="page">117021</biblScope>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b19">
	<analytic>
		<title level="a" type="main">Sex differences in the structural connectome of the human brain</title>
		<author>
			<persName><forename type="first">M</forename><surname>Ingalhalikar</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Smith</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Parker</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><forename type="middle">D</forename><surname>Satterthwaite</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">A</forename><surname>Elliott</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Ruparel</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Hakonarson</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">E</forename><surname>Gur</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">C</forename><surname>Gur</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Verma</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Proceedings of the National Academy of Sciences</title>
		<imprint>
			<biblScope unit="volume">111</biblScope>
			<biblScope unit="page" from="823" to="828" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b20">
	<analytic>
		<title level="a" type="main">Eegbased age and gender prediction using deep blstmlstm network model</title>
		<author>
			<persName><forename type="first">P</forename><surname>Kaushik</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Gupta</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">P</forename><surname>Roy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">P</forename><surname>Dogra</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">IEEE Sensors Journal</title>
		<imprint>
			<biblScope unit="volume">19</biblScope>
			<biblScope unit="page" from="2634" to="2641" />
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
