E2I-Flow: EEG-to-Image Reconstruction via Wavelet-Temporal Cross-Attention and Conditional Flow Matching
Organizations: School of Information Technology, Monash University, Malaysia Campus · School of Electrical and Electronic Engineering, Nanyang Technological University · Statistics Program, King Abdullah University of Science and Technology
Abstract
Electroencephalography (EEG)-based visual decoding and reconstruction aims to recover visual information from non-invasive brain signals. But there are challenges due to the complex temporal-frequency characteristics of EEG signals and the difficulty of discrete denoising framework in mapping neural activity to meaningful visual representations. Here, we propose E2I-Flow, an EEG-to-image decoding and reconstruction framework that combines a novel EEG encoder for time-frequency representation learning from EEG features, and conditional flow matching for visual decoding. A stationary-wavelet frequency branch and a temporal-mixing branch are integrated through bidirectional cross-attention and adaptive fusion, with the resulting EEG representations aligned to ground-truth image embeddings using contrastive and mean-squared-error loss supervisions. The aligned EEG representation is then used as a condition for a Transformer-based flow-matching model to predict the corresponding visual embedding for image synthesis. Experimental results show strong zero-shot EEG-to-image retrieval and improved visual reconstruction performance, outperforming several state-of-the-art baselines.
Figures & tables
| Method | Sub-01 | Sub-02 | Sub-03 | Sub-04 | Sub-05 | Sub-06 | Sub-07 | Sub-08 | Sub-09 | Sub-10 | Mean | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 | |
| Conformer (2023) [ 20 ] | 9.5 | 26.1 | 10.8 | 27.4 | 14.2 | 30.6 | 15.5 | 37.1 | 8.8 | 19.8 | 8.1 | 28.0 | 12.2 | 31.8 | 16.4 | 40.5 | 10.9 | 29.8 | 15.1 | 39.2 | 12.2 | 31.0 |
| NICE (2024) [ 19 ] | 20.1 | 47.9 | 19.2 | 36.9 | 21.2 | 53.8 | 22.4 | 50.4 | 14.4 | 31.6 | 26.1 | 56.3 | 26.9 | 55.7 | 38.2 | 67.4 | 23.4 | 53.2 | 29.8 | 58.6 | 24.2 | 51.2 |
| ATM (2024) [ 11 ] | 23.2 | 51.2 | 18.8 | 43.2 | 27.3 | 57.0 | 28.0 | 54.1 | 16.8 | 39.5 | 28.0 | 59.2 | 26.8 | 53.7 | 39.3 | 71.5 | 24.5 | 51.2 | 37.2 | 67.7 | 26.9 | 54.8 |
| VDF (2025) [ 3 ] | 20.4 | 49.0 | 16.5 | 49.0 | 17.5 | 51.0 | 25.5 | 58.0 | 13.0 | 43.0 | 23.0 | 54.5 | 19.5 | 48.0 | 24.0 | 55.0 | 18.0 | 50.0 | 20.5 | 49.5 | 19.8 | 50.7 |
| AVDE (2026) [ 4 ] | 25.0 | 55.2 | 24.1 | 51.0 | 27.5 | 58.6 | 29.8 | 54.7 | 25.4 | 50.3 | 33.5 | 60.3 | 27.4 | 55.2 | 41.7 | 71.3 | 26.1 | 52.1 | 39.5 | 73.0 | 30.0 | 58.2 |
| Low-level | High-level | ||||||
|---|---|---|---|---|---|---|---|
| Method | PixCorr | SSIM | Alex(2) | Alex(5) | Inc. | CLIP | SwAV |
| ATM [ 11 ] | 0.130 | 0.339 | 0.740 | 0.822 | 0.685 | 0.716 | 0.599 |
| AVDE [ 4 ] | 0.147 | 0.366 | 0.766 | 0.835 | 0.724 | 0.747 | 0.587 |
| Ours | 0.155 | 0.366 | 0.771 | 0.849 | 0.721 | 0.787 | 0.565 |
| Sub-01 | Sub-02 | Sub-09 | Sub-10 | |||||
|---|---|---|---|---|---|---|---|---|
| Framework | T1 | T5 | T1 | T5 | T1 | T5 | T1 | T5 |
| SWT Frequency Only | 17.0 | 40.0 | 24.5 | 52.5 | 23.5 | 52.5 | 33.5 | 63.0 |
| Temporal Only | 18.0 | 39.5 | 25.5 | 53.5 | 26.0 | 49.5 | 35.0 | 65.0 |
| SWT + Temporal + MLP Fusion | 20.0 | 41.5 | 24.5 | 54.5 | 29.0 | 52.5 | 33.5 | 61.5 |
| E2I-Flow (Ours) | 21.0 | 41.5 | 27.0 | 58.5 | 28.0 | 56.5 | 35.0 | 65.5 |
| Wavelet | Level 2 | Level 3 | Level 4 | Level 5 | Level 6 | Level 7 |
|---|---|---|---|---|---|---|
| db1 | 48.0 | 43.5 | 47.5 | 43.0 | 44.5 | 44.0 |
| db4 | 46.5 | 44.5 | 47.5 | 43.0 | 43.5 | 42.5 |
| db8 | 43.0 | 43.5 | 46.5 | 39.5 | 43.0 | 42.0 |