---
title: Montreal Archive of Sleep Studies (MASS)
url: https://www.emergentmind.com/topics/montreal-archive-of-sleep-studies-mass
type: topic
---

# Montreal Archive of Sleep Studies (MASS)

The Montreal Archive of Sleep Studies (MASS) is a large-scale, multi-center repository of polysomnographic (PSG) recordings acquired from adult volunteers under closely controlled laboratory conditions. MASS houses data from 200 subjects, encompasses multiple PSG montages, and consolidates annotations under both American Academy of Sleep Medicine (AASM) and Rechtschaffen & Kales (R&K) protocols. As a result, it provides a standardized, comprehensive resource enabling robust benchmarking of automatic sleep staging algorithms, transfer learning, and methodological investigations into inter-individual and inter-protocol variability.

## 1. Dataset Composition and Structure

MASS consists of whole-night PSG recordings from 200 adult participants (97 males, 103 females), aged 18–76 years. Each subject typically contributes a single full-night session (7–9 hours) [1904.05945, 1805.06546, 1907.13177]. The database is partitioned into five subsets (SS1–SS5) as curated by O’Reilly et al. (2014). Annotation protocols vary: SS1 and SS3 employ the AASM rules, while SS2, SS4, and SS5 adopt R&K guidelines [1904.05945, 1805.06546].

Table 1: Fundamental Characteristics of MASS

| Characteristic             | Value                                  | Reference        |
|---------------------------|----------------------------------------|------------------|
| Total subjects            | 200 (97 M/103 F)                       | [1904.05945]     |
| Age range                 | 18–76 years                            | [1904.05945]     |
| PSG channels (core)       | EEG (C4–A1), EOG (ROC–LOC), EMG (CHIN1–CHIN2) | [1907.13177]    |
| Sampling rate             | 256 Hz (downsampled to 100 Hz in many studies) | [1904.05945] |
| Subsets scoring protocols | AASM: SS1, SS3; R&K: SS2, SS4, SS5     | [1805.06546]     |

Recordings include standard EEG leads (notably C4–A1 for most published analyses), bilateral EOG, chin EMG, and—for some protocols—additional electrodes and cardiorespiratory measures. The MASS-SS3 subset, specifically, features an extended montage with 20 EEG electrodes (10–20 system), 2 EOG, 3 chin EMG, and 1 ECG channel [2212.04881].

## 2. Annotation Protocols and Stage Harmonization

Sleep stage scoring within MASS follows two distinct but harmonized conventions. SS1 and SS3 apply the AASM manual (Iber et al. 2007), providing five-stage annotation: Wake (W), N1, N2, N3, and REM. SS2, SS4, and SS5 follow R&K rules, wherein N3 and N4 are collapsed into a single N3 class for compatibility with AASM nomenclature [1904.05945, 1805.06546, 1907.13177]. All epochs are ultimately mapped into the five canonical classes {W, N1, N2, N3, REM}. In studies requiring 30 s epochs, original 20 s segments (R&K) are typically expanded by concatenating flanking data to achieve 30 s windows [1904.05945, 1907.13177].

Typical class distributions in the combined dataset are: Wake 5–10%, N1 5–15%, N2 40–50%, N3 10–20%, REM 15–25% [1904.05945]. The MASS-SS3 subdataset, used in some deep-learning benchmarking, is scored strictly per the AASM standard [2212.04881].

## 3. Signal Acquisition and Preprocessing

Raw MASS signals were originally captured at a nominal sampling rate of 256 Hz and subsequently down-sampled to 100 Hz in multiple published pipelines to facilitate harmonized analysis and computational tractability [1805.06546, 1907.13177]. Acquisition setups differ by subset, but the C4–A1 EEG derivation is the canonical signal for most algorithmic development. For MASS-SS3, all channels use 256 Hz [2212.04881].

Several signal preprocessing protocols have been reported:
- Epoch segmentation: 30 s epochs are standard for both AASM and harmonized R&K records [1805.06546].
- Spectrotemporal transformation: Short-time Fourier Transform (STFT) with 2 s Hamming windows, 50% overlap, and 256-point FFT yields log-power spectrograms of size 129×29 (frequency × time) [1805.06546].
- Dimensionality reduction: Learned filter banks (e.g., M=20 filters/channel) emphasize informative frequency subbands [1805.06546].
- For MASS-SS3, each channel is decomposed into nine overlapping subbands spanning 0.5–50 Hz, with Differential Entropy (DE) computed per subband [2212.04881]:
  $$
  DE(f,B) = -\int p(x)\log p(x)dx
  $$
  (implemented as band-based variance under a Gaussian assumption).

Artifact removal is not systematically reported, except for exclusion of subjects/nights with corrupt or missing data during curation. No additional band-pass or notch filters are described in the most cited studies [1907.13177].

## 4. Dataset Partitions and Evaluation Protocols

Partitioning schemes in MASS analyses are designed to ensure subject independence between training and test sets. Common approaches include:
- Cross-subject K-fold: 20-fold (180 train/10 validation/10 test per fold) [1805.06546, 1907.13177]; 16-fold or 10-fold in subsets or transfer learning [2212.04881, 1907.13177].
- Transfer learning protocols: MASS (200 subjects) is used exclusively for source (pretraining) domain with no within-dataset validation, while adaptation is performed on smaller target sets (e.g., Sleep-EDF) using leave-one-subject-out [1904.05945].

In the MASS-SS3 subset, a 16-fold cross-subject split is adopted: 15 folds of four subjects each, one fold of two subjects, with random fold assignment for validation to balance class distributions [2212.04881].

## 5. Quantitative Characteristics and Performance Benchmarks

MASS presents a marked class imbalance: N2 comprises the majority of epochs, while N1 remains scarce [1805.06546]. Approximate ground-truth counts (inferred from confusion matrices, 200-subject aggregate) are:

| Stage | Epochs   |
|-------|----------|
| W     | ~30,440  |
| N1    | ~14,312  |
| N2    | ~109,157 |
| N3    | ~30,411  |
| REM   | ~41,295  |

Published per-epoch classification performances on MASS are reported using metrics such as overall accuracy, macro F1-score, and Cohen’s kappa:
- "SeqSleepNet+": 3-channel (EEG·EOG·EMG) Acc = 87.0%, MF1 = 83.3%, κ = 0.815 [1907.13177]
- "Joint CNN": Acc = 83.6%, κ = 0.77, MF1 = 77.9% (3 channels) [1805.06546]
- "ProductGraphSleepNet" on MASS-SS3: Acc = 86.7%, F1 = 0.818, κ = 0.802 [2212.04881]

Formulas for these metrics are given explicitly in [1904.05945], for example:
- Accuracy:
  $$
  \mathrm{Accuracy} = \frac{\sum_{c}\mathrm{TP}_c}{\sum_{c}(\mathrm{TP}_c + \mathrm{FP}_c + \mathrm{FN}_c)}
  $$

Performance degrades for N1 and at stage transitions (∼16.6% of epochs), which remain inherently ambiguous. Per-class recall is substantively lower for N1 (e.g., 41.1%) than for N2 (88.5%) or REM (93.3%) [1805.06546].

## 6. Applications and Methodological Significance

MASS has become the dominant benchmark for automated sleep staging algorithm development, including deep learning architectures such as convolutional neural networks, sequence-to-sequence models, graph-based methods, and transfer learning frameworks [1805.06546, 1904.05945, 1907.13177, 2212.04881]. Its size and diversity facilitate training of models with broad generalization and support evaluation of domain adaptation techniques, channel mismatch solutions, and cross-cohort robustness.

In transfer learning settings, MASS is consistently used as the source domain to pretrain models subsequently adapted to smaller datasets, addressing data efficiency and inter-dataset heterogeneity. The harmonization of AASM and R&K protocols within a unified five-stage schema enables cross-protocol comparisons and pooling.

The MASS-SS3 subdataset, with its dense EEG montage and AASM-based scoring, underpins methodological advances in spatio-temporal modeling and interpretable graph neural networks [2212.04881].

## 7. Limitations and Dataset-Specific Challenges

Several limitations are noted in published studies:
- Incomplete demographic coverage in published subsets (e.g., SS3 reports do not specify age/gender breakdown) [2212.04881].
- Lack of artifact rejection or explicit signal denoising in standard pipelines [1805.06546, 1907.13177].
- Persistent class imbalance and stage boundary ambiguity, which motivates stratified training, special aggregation techniques, and contextual modeling [1805.06546].
- Inter-protocol annotation heterogeneity, though mitigated by canonicalization to five stages, could introduce unquantified sources of variance [1904.05945].

A plausible implication is that researchers considering inter-study comparisons should examine the underlying annotation and preprocessing conventions in detail. For fine-grained demographic or clinical stratification, the original release (O’Reilly et al. 2014) should be consulted for detailed metadata and per-stage statistics, which are not routinely recapitulated in downstream algorithm papers [2212.04881].

---

**References:**  
[2212.04881], [1805.06546], [1904.05945], [1907.13177]

Source: https://www.emergentmind.com/topics/montreal-archive-of-sleep-studies-mass