Research · EEG Decoding · Video Generation

Brain Signals Into
Visual Reality

We decode raw 62-channel EEG recordings into reconstructed videos using multi-path conditioning (semantic, visual, dynamic) with Stable Diffusion v1.5.

View Live Pipeline → Open Presentation Browse All Results
62ch
EEG Channels
200Hz
Sampling Rate
0.704
SSIM Score
31.44
PSNR (dB)
21
Test Samples
📊 Performance Results

Quantitative Evaluation

Metrics evaluated on all 21 test samples from the SEED-DV dataset (Phase 3).

🎯
0
SSIM ↑
GT vs Generated · full model
📡
0
PSNR (dB) ↑
Peak signal-to-noise ratio
🔍
0
LPIPS ↓
Perceptual similarity ↓ better
⚡
0
Dyn. Accuracy
Temporal classifier validation
🔗
0
CLIP Similarity
EEG ↔ text embedding
🔬 Ablation Study

Component Analysis

Impact of removing key modules — DANA and Vision Transformer — on final video quality.

SSIM ↑
higher is better
Full Model ★
0.6967
0.6967
w/o DANA
0.5459
0.5459
w/o ViT
0.4647
0.4647
PSNR (dB) ↑
higher is better
Full Model ★
29.17
29.17
w/o DANA
20.14
20.14
w/o ViT
16.53
16.53
LPIPS ↓
lower is better
Full Model ★
0.3526
0.3526
w/o DANA
0.4004
0.4004
w/o ViT
0.5400
0.5400
Configuration SSIM ↑ PSNR (dB) ↑ LPIPS ↓
GT vs Generated (Full Model)
DANA + Vision Transformer + Semantic
0.6967 29.17 0.3526
w/o DANA
No latent conditioning module
0.5459 20.14 0.4004
w/o Vision Transformer
No visual (ViT) embedding path
0.4647 16.53 0.5400
Bold = best per metric · Phase 3 evaluation on SEED-DV dataset · ★ = full model
Additional Comparison
Overall GT vs Generated
0.7037 31.44 0.3320
Ablation (no DANA)
SSIM/PSNR/LPIPS without DANA
0.6378 29.2445 0.4505
🔵 Architecture

7-Stage Pipeline

Multi-path conditioning system transforming raw EEG into semantically coherent video.

1

Feature Extraction

Raw EEG → STFT Spectrogram → Transformer (4L, 8H) → 8×8×512 tensor

EEG → Features
↓
2

Semantic (Text) Path

CLIP-like encoder maps EEG to N×512 text embedding space for cross-attention conditioning

Semantic
↓
3

Visual (ViT) Path

ViT-like encoder extracts M×512 visual embeddings for spatially-aware generation guidance

Visual
↓
4

Dynamic Conditioning

Cross-entropy temporal classifier. Predicts motion dynamics labels for generation conditioning. Acc: 58.27%

Dynamic
↓
5

DANA Latent Conditioning

VAE latents (64×32×32) through DANA Module with conditional noise injection → conditioned latents

Structural
↓
6

Stable Diffusion v1.5 Generation

Conditioning Fusion → SD U-Net (frozen backbone + trainable attn2 layers). Diffusion MSE ≈ 0.0005

Diffusion
↓
7

VAE Decoder → Video

Frozen pretrained VAE decoder maps latent predictions to pixel space. Output: 3 frames at 3 FPS.

Output
Open Interactive Pipeline →
🛠 Stack

Technology Stack

Modern deep learning infrastructure for neural signal processing and video generation.

PyTorch
Stable Diffusion v1.5
CLIP Encoder
Vision Transformer (ViT)
VAE Decoder
DANA Module
Transformer Encoder
STFT Spectrogram
HuggingFace Diffusers
MNE-Python (EEG)

Explore the Full Pipeline

See every stage transform raw brain signals into reconstructed video — with real data inside each node.

Open Live Pipeline →