ZUNA: Flexible EEG Superresolution with Position-Aware Diffusion Autoencoders

Christopher Warner, Jonas Mago, JR Huml, Mohamed Osman, Beren Millidge
2/9/2026
4 citations
eess.SPcs.AIcs.LG

No official code found. Best implementation: Shahip2016/ZUNA (3 stars, Python, last commit 2026-02-19).

Abstract

We present \texttt{ZUNA}, a 380M-parameter masked diffusion autoencoder trained to perform masked channel infilling and superresolution for arbitrary electrode numbers and positions in EEG signals. The \texttt{ZUNA} architecture tokenizes multichannel EEG into short temporal windows and injects spatiotemporal structure via a 4D rotary positional encoding over (x,y,z,t), enabling inference on arbitrary channel subsets and positions.

Show full abstract

We train ZUNA on an aggregated and harmonized corpus spanning 208 public datasets containing approximately 2 million channel-hours using a combined reconstruction and heavy channel-dropout objective. We show that \texttt{ZUNA} substantially improves over ubiquitous spherical-spline interpolation methods, with the gap widening at higher dropout rates. Crucially, compared to other deep learning methods in this space, \texttt{ZUNA}'s performance \emph{generalizes} across datasets and channel positions allowing it to be applied directly to novel datasets and problems. Despite its generative capabilities, \texttt{ZUNA} remains computationally practical for deployment. We release Apache-2.0 weights and an MNE-compatible preprocessing/inference stack to encourage reproducible comparisons and downstream use in EEG analysis pipelines.

View on arXivView PDF

Code Implementations(1)

Shahip2016/ZUNACommunity68%

implementation of ZUNA: Flexible EEG Superresolution with Position-Aware Diffusion Autoencoders

31PythonFeb 19, 20269 months ago

Similar Papers

Cite this paper

@article{warner2026zuna,
  title  = {ZUNA: Flexible EEG Superresolution with Position-Aware Diffusion Autoencoders},
  author = {Christopher Warner and Jonas Mago and JR Huml and Mohamed Osman and Beren Millidge},
  year   = {2026},
  eprint = {2602.18478},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.18478v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.18478.svg)](https://codeofpaper.com/paper/2602.18478)

Discussion