ZarrFM: A Canonical Tensor Storage Architecture for EEG Foundation-Model Pretraining
Dheeraj Chintapalli, Sunkalp Chandra
Key points
From the paper's conclusion- These results show that ZarrFM can provide a compact, interoperable, and execution-efficient storage layer for large-scale EEG pretraining.
Abstract
Statistical models for brain-computer interfaces (BCIs) increasingly require large, heterogeneous EEG corpora, yet existing datasets vary in sampling rates, channel layouts, window lengths, and storage formats, creating substantial preprocessing and I/O overhead. We propose ZarrFM, an execution-oriented representation that complements BIDS by storing a corpus as a single Zarr v3 hierarchy with indexed metadata, canonical channel spaces, explicit masks, hash-stable subject splits, verified event tables, and block-aligned sharding. On real PhysioNet recordings and synthetic corpora, we compare ZarrFM with EDF, FIF, NPY, HDF5, and Parquet. Across 200 recordings, its two-level index reduces metadata queries from 601 requests to 14. Preserving native signal codes reduces storage from 42.4 MB/hour in EDF to 22.7 MB/hour, while block-aligned sampling reaches 3,131 windows/s, up to 11 times faster than Parquet. Reads remain bit-identical across independent Zarr implementations, and concurrent failure-injected appends recover without data loss. These results show that ZarrFM can provide a compact, interoperable, and execution-efficient storage layer for large-scale EEG pretraining.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TS-Zarr: a cloud-optimized Zarr layout for viewing and analyzing biomedical time seriesbioRxiv · 2026
- EEGDash Corpus: A Training-Ready Public Corpus for EEG Foundation ModelsarXiv · 2026
- Dataset Fragmentation, Cognitive Variability, and Reproducibility Challenges in EEG-Based Brain-Computer Interfaces: A PRISMA-Based Systematic Review.Sensors (Basel, Switzerland) · 2026
- SOVABIDS: EEG-to-BIDS conversion software focused on automation, reproducibility and interoperabilityThe Journal of Open Source Software · 2026
- An Open-Source End-to-End Pipeline for Large-Scale EEG-Based Brain Age ModellingbioRxiv · 2026
- A comprehensive review of biosignal foundation modelsJournal of Neural Engineering · 2026