Brain-state forecasting and EEG analysis
University of Sydney · Brain and Mind Centre · Vacation Research Scholarships
Built a novel 4D Swin Transformer U-Net to forecast resting-state fMRI (published in IEEE JBHI), then an EEG preprocessing pipeline for sleep-spindle segmentation.
- PyTorch
- Transformers
- fMRI
- EEG
- HPC
Project 1 — 4D Swin Transformer for rs-fMRI forecasting
Summer 2024–25 · $4,000 AUD scholarship
Supervised by Prof Fernando Calamante and Prof Jinglei Lv at the Brain and Mind Centre, working with Yifei Sun, I helped improve an autoencoder-style model that forecasts resting-state brain activity from 4D fMRI. It takes 32 consecutive fMRI volumes (23 seconds of scan) and predicts the next 10 (7.2 seconds).
Outcome
- Developed a novel 4D Swin Transformer U-Net; the published model predicts the next 10 brain states with a masked MSE of 0.035 and an SSIM of 0.954 on held-out test subjects.
- Improved performance through skip connections, refined patching and autoencoder optimisations.
- Trained models on the Brain and Mind Centre’s NVIDIA DGX server (4× V100), with data on USYD’s Research Data Store.
- Led weekly research discussions and became second author on the resulting publication.
Project 1 extension — longer, more stable forecasts
Autumn 2025 · $1,500 AUD scholarship extension
- Added new preprocessing and autoregressive prediction methods to the training pipeline, extending stable forecasts from 10 to as many as 200 frames.
- Implemented a combined SSIM and masked-MSE loss to keep long forecasts structurally faithful.
- Validated every model and prediction configuration for the publication on remote Linux HPC clusters (DGX, 4× A100).
- The paper was posted to arXiv, accepted to a special issue of IEEE JBHI and presented at IEEE BHI 2025.
Project 2 — EEG preprocessing for sleep-spindle segmentation
Winter 2025 · $3,000 AUD scholarship
With Prof Wei Chen, Dr Jia Liu and Dr Shawn Dexiao Kong, I built a robust EEG preprocessing pipeline to support AI-based sleep-spindle segmentation. Spindles are brief, subtle 11–16 Hz oscillations (about 0.5–2 seconds) that appear across multiple channels. In recordings up to 10 hours long they make up less than 0.5% of the signal, so the classes are extremely imbalanced.
Outcome
- Adapted state-of-the-art preprocessing from the literature, using wavelet-transform frequency-domain features to improve spindle localisation.
- Validated threshold-based detections against the ground-truth spindle annotations.
- Built preliminary Swin Transformer and convolutional U-Net models for downstream segmentation before handing the pipeline over to the lab.