EEG-to-Image Generation for Brain Injury Rehabilitation (ArXiv)

Mentored student project on adapting DreamDiffusion so EEG can drive image generation. The write-up is an arXiv preprint.

Mentored projectarXiv preprintEEGDreamDiffusion
EEG-to-Image Generation for Brain Injury Rehabilitation (ArXiv) cover

OVERVIEW

DreamDiffusion is an existing model that turns EEG features into images through Stable Diffusion. I did not design that architecture. With two teammates I modified the public codebase so it would run in Google Colab without the original setup, and so it could take other inputs such as sleep EEG. Dr. Carlos Ponce at Harvard Medical School and Dr. Suayb Arslan at MIT mentored the project. Clinical rehabilitation is the motivation in the preprint. We did not test it with patients.

WHAT I DID

  • Refactored and debugged the DreamDiffusion codebase into a reproducible Google Colab pipeline, resolving dependencies, setup errors, and environment incompatibilities.
  • Adapted the notebook so the same pipeline could generate images from other inputs, including sleep EEG.
  • Coauthored the 13-page preprint. It describes the Colab port and that input change. It does not benchmark DreamDiffusion against SVMs, CNNs, GANs, or VAEs.

RESULTS / IMPACT

  • Produced a reproducible Colab workflow with setup fixes, cleaner docs, and runnable notebooks.
  • Posted the write-up on arXiv (2407.02673, July 2024). arXiv is a preprint server. This version is not peer reviewed.

LESSONS + NEXT STEPS

  • Keep this as a research workflow; avoid over-claiming product readiness.
  • Integrate wavelet-based and time-frequency features to better capture transient EEG dynamics

Scroll through the preprint directly here. For citation / sharing, use the arXiv link above.