Functional magnetic resonance imaging (fMRI) has transformed the neuroscience field by allowing researchers to observe brain activity in real time, invasively and with high precision. However, the traditional MRI machines are typically large, heavy, used mainly in specialized labs, which restricts their accessibility and practicality for broader applications. This report presents an innovative idea for a portable fMRI helmet that uses advanced AI-technology, which integrates miniaturized superconducting magnets, cryocooling technology, and deep-learning algorithms for signal reconstruction. The goal of this innovative system is to make neuroimaging mobile, cost-effective, and accessible while preserving spatial resolution and physiological accuracy. Theoretical and ethical implications are discussed, along with engineering considerations and future directions for integrating this technology into real-world neuroscience.
Envisioning the Ideal Brain Imaging Technique
Abstract
Introduction
Functional magnetic resonance imaging (fMRI) is one of the most powerful tools in cognitive neuroscience, allowing researchers to infer neural activity from blood-oxygen-level-dependent (BOLD) signals. However, conventional MRI systems require large superconducting magnets cooled by liquid helium and are immobile, expensive, and spatially constrained to clinical or research facilities. As a result, studying brain function in natural environments has been essentially impossible. Portabilizing fMRI technology represents a revolutionary leap—bridging the gap between laboratory and real-world brain dynamics.
Recent developments in low-field MRI and artificial intelligence (AI) reconstruction have reignited interest in mobile neuroimaging. In the field of ecological neuroscience there is an emphasis on studying the brain in naturalistic environment, such as during social interaction or physical activity (Gramann et al., 2021; Kimberly et al., 2023). Additionally, by using the help of an AI-enhanced portable fMRI system, we could then observe how people think and feel in real-world situations leading to a significant advancement in both fundamental and applied neuroscience.
Background: Current Brain Imaging Modalities
Each neuroimaging modality provides distinct advantages and limitations. For instance, EEG and fNIRS are portable and affordable but lack deep-tissue spatial precision. On the other hand, MEG offers millisecond temporal accuracy but depends on large and complex devices called superconducting quantum interference devices (SQUIDs). High-field fMRI remains the gold standard for spatial detail, but one of its significant limitations is that it is immobile. However, researchers are now looking into an exciting opportunity of combining an AI-based model with miniaturized low-field magnets of portable fMRI. Through this innovation, researchers are aiming to achieve both high spatial resolution images while making the technology more accessible for practical use. (Kimberly et al., 2023; Hori et al., 2022)
Table 1: Comparison of Major Brain Imaging Modalities
| Modality | Spatial resolution | Temporal resolution | Probability | Primary limitation |
|---|---|---|---|---|
| EEG | Low (~cm) | High (ms) | High | Poor spatial localization |
| fNIRS | Moderate (~mm) | Moderate (s) | High | Shallow cortical imaging only |
| MEG | High (~mm) | High (ms) | Low | Requires magnetic shielding |
| High-field fMRI | Very High (~mm) | Low (s) | None | Immobile and expensive |
| AI-Portable fMRI | Moderate-High (~mm) | Moderate (s) | High | Cooling and power requirements |
Proposed Technology: AI-Enhanced Portable fMRI Helmet
The innovative system consists of a lightweight helmet integrating high-temperature superconducting magnets (0.3–0.5 Tesla), is equipped with a closed-cycle cryocooling system, and a deep-learning processing unit. The magnets are arranged to produce a stable low-field environment for BOLD signals. And the compact RF coils are designed to capture raw signals, which are transmitted wirelessly to an AI-driven reconstruction engine. This engine utilizes a convolutional U-Net architecture that has been trained on high-field datasets (Cooley et al., 2021). Allowing this system to be built to minimize power consumption while retaining imaging fidelity.
Figure 1. Conceptual design of the AI-enhanced portable fMRI helmet showing superconducting magnet array, cryocooling layer, and AI processing module.
Methods Overview and AI-Based Analysis
Data acquisition would employ echo-planar imaging (EPI) sequences optimized for low-field environments. The AI reconstruction process involves using convolutional neural networks to improve image quality, fill in the gaps of any missing information, and estimate brain activity based on BOLD signals. Temporal filters would enhance dynamic mapping of brain activity. The processed data would be displayed as 3D spatiotemporal activation maps, allowing for real-time monitoring of neural responses during behaviour or interaction.
Figure 2. Example AI-reconstructed BOLD activation map showing color-coded cortical activity and connectivity visualization.
Technical Limitations and Trade-offs
One of the major challenges for portable fMRI systems is finding the right balance between portability and maintaining image quality. When the magnetic field strength is reduced, this can limit the signal-to-noise ratio, which means that we might be required to rely on advanced AI-based methods to compensate for these limitations. Additionally, maintaining superconductivity in a mobile system comes with several challenges, of those which include issues in power efficiency, safety concerns, and the need for magnetic shielding. There are also technical difficulties related to motion artifacts and the interference from ambient electromagnetic noise. However, despite encountering these many challenges; recent advancements in cryogen-free superconductors and advancements in low-power AI hardware are making this proposal more achievable.
Ethical and Societal Considerations
The emergence of mobile brain imaging technology raises significant ethical concerns. For instance, with the ability to capture real-time neural activity, people might be concerned about revealing their personal cognitive thoughts and emotional states which raises major concerns about privacy and informed consent. We also need to consider who owns this kind of data and how it might be misused by commercial or governmental entities, this, which must be addressed through robust ethical frameworks. Additionally, accessibility and affordability should guide future development to prevent technological inequity (Ienca & Andorno, 2017).
Conclusion
The idea of combining artificial intelligence with miniaturized magnetic resonance technology through an AI-enhanced portable fMRI system is set to transform neuroscience research and the clinical practice that come along with it. Moreover, with a portable fMRI we have the ability to observe and map brain functions in dynamic environments where real-life situations occur, this moves cognitive neuroscience beyond static laboratory paradigms. Although, despite the ongoing technical and ethical challenges, a promising future lies ahead of us. Moreover, with the continued collaboration across various interdisciplinary fields in neuroscience we may soon be able to bring a portable, high-resolution brain imaging system to reality, ushering in a new era of human-centred neurotechnology.
References
- Allen, E. J., St-Yves, G., Wu, Y., Breedlove, J. L., Prince, J. S., Dowdle, L. T., Nau, M., Caron, B., Pestilli, F., Charest, I., Hutchinson, J. B., Naselaris, T., & Kay, K. (2021). A massive 7T fMRI dataset to bridge cognitive neuroscience and artificial intelligence. Nature Neuroscience, 25 (1), 116–126. https://doi.org/10.1038/s41593-021-00962-x
- Bandettini, P. A. (2012). Twenty years of functional MRI: The science and the stories. NeuroImage, 62 (2), 575–588. https://doi.org/10.1016/j.neuroimage.2012.04.026
- Cooley, C. Z., McDaniel, P. C., Stockmann, J. P., Srinivas, S. A., Cauley, S. F., Śliwiak, M., Sappo, C. R., Vaughn, C. F., Guerin, B., Rosen, M. S., Lev, M. H., & Wald, L. L. (2021). A portable scanner for magnetic resonance imaging of the brain. Nature Biomedical Engineering, 5 (3), 229–239. https://doi.org/10.1038/s41551-020-00641-5
- Gramann, K., McKendrick, R., Baldwin, C., Roy, R. N., Jeunet, C., Mehta, R. K., & Vecchiato, G. (2021). Grand Field Challenges for Cognitive Neuroergonomics in the Coming Decade. Frontiers in Neuroergonomics, 2. https://doi.org/10.3389/fnrgo.2021.643969
- Hori, M., Hagiwara, A., Goto, M., Wada, A., & Aoki, S. (2021). Low-Field Magnetic Resonance Imaging: Its History and Renaissance. Investigative Radiology, 56 (11), 669–679. https://doi.org/10.1097/RLI.0000000000000810
- Ienca, M., & Andorno, R. (2017). Towards new human rights in the age of neuroscience and neurotechnology. Life Sciences, Society and Policy, 13 (1). https://doi.org/10.1186/s40504-017-0050-1
- Kimberly, W. T., Sorby-Adams, A. J., Webb, A. G., Wu, E. X., Beekman, R., Bowry, R., Schiff, S. J., de Havenon, A., Shen, F. X., Sze, G., Schaefer, P., Iglesias, J. E., Rosen, M. S., & Sheth, K. N. (2023). Brain imaging with portable low-field MRI. Nature Reviews Bioengineering, 1 (9), 617–630. https://doi.org/10.1038/s44222-023-00086-w
- Scanlan, R. M., Malozemoff, A. P., & Larbalestier, D. C. (2004). Superconducting materials for large scale applications. Proceedings of the IEEE, 92 (10), 1639–1654. https://doi.org/10.1109/JPROC.2004.833673
- Sarracanie, M., & Salameh, N. (2020). Low-Field MRI: How Low Can We Go? A Fresh View on an Old Debate. Frontiers in Physics, 8. https://doi.org/10.3389/fphy.2020.00172
Other Course Work
📊 Assignment 1: EEG Analysis
📄 EEG assignment - Marinaya Saigh.pdf
View Original PDFPSYCH 403A1 - Neuroimaging and Neurostimulation
Step 1: Import our digital toolbox!
Think of this like ge ! ing your cooking utensils before making a meal.
Assignment 1: EEG Data Loading and Basic
Filtering
Setting up your brain data analysis toolkit...
Mobile users: This is the perfect time to grab some water!
Detected Google Colab - installing packages...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.4/7.4 MB 43.4 MB/s eta 0:00:
Packages installed!
SUCCESS! All tools loaded and ready to go!
MNE-Python version: 1.10.1
NumPy version: 2.0.2
You're all set to analyze some brain waves!
print ( " Setting up your brain data analysis toolkit..." )
print ( " Mobile users: This is the perfect time to grab some water! " )
try :
import google.colab
print ( " Detected Google Colab - installing packages..." )
%pip install -q mne
print ( " Packages installed!" )
except ImportError:
print ( " Running in Binder or local environment - packages should alr
import mne
import numpy as np
import matplotlib.pyplot as plt
from scipy import signal
import os
from pathlib import Path
plt.rcParams[ 'figure.figsize' ] = ( 10 , 6 )
plt.rcParams[ 'font.size' ] = 11
plt.rcParams[ 'lines.linewidth' ] = 1.5
mne.set_log_level( 'WARNING' )
print ( " SUCCESS! All tools loaded and ready to go!" )
print ( f " MNE-Python version: {mne. __version__ } " )
print ( f " NumPy version: {np. __version__ } " )
print ( " You're all set to analyze some brain waves! " )
Now for the exciting part - ge ! ing some real brain data!
Step 2: Loading Your Brain Wave "Music File"
print(" Applying band-pass filter (1-40 Hz)...")
Loading brain wave data (this might take a moment)...
☕ Perfect time to stretch if you're on mobile!
SUCCESS! Brain data loaded!
Data info:
Length: 277.7 seconds of brain activity
Channels: 59 EEG electrodes
⚡ Sampling rate: 601 measurements per second
Ready to explore some brain waves!
print ( " Loading brain wave data (this might take a moment)..." )
print ( " ☕ Perfect time to stretch if you're on mobile!" )
sample_data_folder = mne.datasets.sample.data_path ( )
raw_file = sample_data_folder / 'MEG' / 'sample' / 'sample_audvis_raw.fif'
raw = mne.io.read_raw_fif ( raw_file, preload= True )
raw.pick_types ( meg= False , eeg= True , stim= False , exclude= 'bads' )
print ( " SUCCESS! Brain data loaded!" )
print ( f " Data info:" )
print ( f " Length: { raw.times [ -1 ] :.1f } seconds of brain activity" )
print ( f " Channels: { len ( raw.ch_names ) } EEG electrodes" )
print ( f " ⚡ Sampling rate: { raw.info [ 'sfreq' ] :.0f } measurements per secon
print ( " Ready to explore some brain waves! " )
We’ll apply a band-pass ! lter (1–40 Hz) to clean the EEG, like pu ! ing noise-
canceling headphones on your brain data.
Step 3: Basic Filtering (Noise Cancellation) Applying band-pass filter (1-40 Hz)... Filtering complete! EEG 001 print ( " Applying band-pass filter (1-40 Hz)..." ) raw_filtered = raw.copy ( ) . filter ( l_freq= 1 ., h_freq= 40 ., fir_design= 'firwin print ( " Filtering complete!" ) # Plot a few channels before and after filtering raw.plot ( n_channels= 10 , duration= 5 , title= 'Raw EEG (before filtering)' ) raw_filtered.plot ( n_channels= 10 , duration= 5 , title= 'Filtered EEG (1-40 Hz)
EEG 001
40.0
EEG 002
EEG 003
EEG 004
EEG 005
EEG 006
EEG 007
EEG 008
EEG 009
EEG 010
2
Help
50 100 150
Time (s) 200 EEG 001 40.0 v EEG 002 EEG 003 E E G 0 0 4 EEG 005
EEG 005
EEG 006
EEG 007 1)
EEG 008 1
EEG 009
EEG 010
Help
50 100 150
Time (s) 200 EEG 001 40.0 v EEG 002 EEG 003 E E G 0 0 4 EEG 005
EEG 006
EEG 007 1)
EEG 008 1
EEG 009
EEG 010
Help
50 100 150
Time (s) 200 This is like a music equalizer — we’ll see which brainwave “notes” are strongest (delta, theta, alpha, beta, gamma).
Step 4: Frequency Analysis (Power Spectral Density)
- Calculating power spectral density (PSD)... PSD plotted! You can now see brain wave frequency strengths. Power (dB/Hz re 1 uV2) 20 10
- 10
- 20
- 30
- 40
- 50 EEG 20 30
Frequency
(Hz)
print ( " Calculating power spectral density (PSD)..." )
raw_filtered.plot_psd(fmax= 60 , average= True , spatial_colors= False , dB= True
print ( " PSD plotted! You can now see brain wave frequency strengths." )
🎨 Assignment 2: BrainImation
📄 Psych 403 Assignment 2 - Marinaya Saigh.pdf
View Original PDFCode: We had troubles saving the code so it is pasted below:
// Brain particle system
let particles = [];
function setup() {
// HSB in 0..1 (you already had this)
colorMode( HSB , 1 , 1 , 1 );
for ( let i = 0 ; i < 100 ; i++) {
particles.push({
x: random(width),
y: random(height),
// base fast velocities (your choice kept)
vx: random( 0 , 50 ),
vy: random(- 2 , 50 ),
life: 1.0 ,
seed: random( 1 ) // NEW: per-particle hue for rainbow
});
}
}
function draw() {
// Use BrainImation sliders: Attention≈beta, Meditation≈alpha
const alpha = (eegData.meditation ?? eegData.alpha ?? 0 );
const beta = (eegData.attention ?? eegData.beta ?? 0 );
// stress logic: true if attention > meditation
const stressed = beta > alpha + 0.02 ; // tiny margin avoids flicker
// BG: stressed = white, calm = dark
if (stressed) background( 0 , 0 , 1 , 0.15 );
else background( 0 , 0 , 0.06 , 0.10 );
// speed scale: calm slow, stressed fast
const speed = stressed ? 1.0 : 0.18 ; // <<< slow when calm
for ( let p of particles) {
// Movement influenced by brain waves (your logic kept)
p.vx += (random(- 1 , 1 ) * (eegData.alpha ?? alpha) * 0.1 );
p.vy += (random(- 1 , 1 ) * (eegData.beta ?? beta) * 0.1 );
// Apply speed scaling (NEW)
p.x += p.vx * speed;
p.y += p.vy * speed;
// Wrap around
if (p.x < 0 ) p.x = width;
if (p.x > width) p.x = 0 ;
if (p.y < 0 ) p.y = height;
if (p.y > height) p.y = 0 ;
// Color: stressed = red, calm = rainbow (NEW)
let hue = stressed ? 0.0 : (p.seed + frameCount * 0.002 ) % 1.0 ;
fill(hue, 0.9 , 0.95 , p.life);
noStroke();
ellipse(p.x, p.y, 5 + (eegData.gamma ?? 0 ) * 10 );
// life (your fade kept)
p.life *= 0.995 ;
if (p.life < 0.1 ) p.life = 1.0 ;
}
}
Demo
Calm Mode:
Meditation ≈ 0.8 ↑ Attention ≈ 0.2 ↓
Dark background, slow/rainbow drift
Stressed mode:
Attention ≈ 0.9 ↑ Meditation ≈ 0.1 ↓
White background, red fast streaks
Zen Blood Particles: A Brain-Controlled Visualization of Stress and Calm
Contributors:
Ayaan Jimale, Sarah Badran, Marinaya Saigh, Hamza Razzo
Concept
Our project began with the Brain Particles example from the BrainImation platform.
We wanted to transform a simple particle system into a bio-responsive visualization of stress and calm
— a sort of “digital mood” that reflects brain activity. When a user becomes stressed (higher beta /
attention activity), the screen erupts into fast-moving red particles against a white background,
resembling blood splatter or heightened physiological arousal. When the user relaxes (higher alpha /
meditation activity), the environment shifts to a dark background with slow, softly colored rainbow
particles drifting gently. The contrasting aesthetics represent two opposing brain states: tension versus
calm.
Technical Implementation
We used the built-in BrainImation variables eegData.attention (as a proxy for beta ) and
eegData.meditation (as a proxy for alpha ).
The program continuously compares these two values to determine the current state:
if attention > meditation → stressed mode
else → calm mode
Stressed Mode
● White background
● Red particles
● High velocity (up to 50 px per frame)
● Slight downward/right bias to suggest urgency and gravity
Calm Mode
● Dark background
● Rainbow-cycling particle hues (based on each particle’s seed and frame count)
● Reduced velocity for smoother, slower drift
To avoid flicker during rapid EEG fluctuations, the code includes a small threshold (attention >
meditation + 0.02) before switching states.
This keeps transitions visually stable while remaining responsive in real time.
The system also uses the “Simulate Data” mode for testing, with the Attention and Meditation
sliders controlling stress and calm levels manually.
When connected to a Muse headset, these values update automatically from the user’s EEG signals.
Challenges
Early versions of the code produced constant flickering because simulated EEG data changed
frame-by-frame. We fixed this by slightly smoothing the inputs and introducing a small difference
threshold before toggling modes. Another challenge was balancing aesthetics and performance: large
particle velocities looked dramatic but caused visual clutter, so we tuned the speed scale for a more
natural flow. We also adjusted HSB color ranges so that red remained vivid on a white background
while rainbow hues remained visible on a dark one.
What We Learned
Working with BrainImation showed how small numerical differences in brain-wave bands can create
striking visual differences. We learned how to translate abstract EEG measures (alpha vs beta) into an
intuitive sensory experience of stress versus relaxation. The project also reinforced principles of
real-time visualization, such as smoothing noisy data, scaling motion by signal intensity, and
designing visual metaphors that match psychological states.
Future Improvements
● Add gradual color blending instead of hard switching between modes.
● Include subtle particle size or opacity changes linked to overall calmness level.
● Experiment with live Muse input to explore individualized thresholds.
● Optionally add sound modulation for a multimodal neurofeedback experience.
Summary
Zen Blood Particles transforms EEG data into a visceral display of the brain’s changing internal state.
By mapping stress to speed and color intensity, and calmness to slow, colorful drift, the animation
becomes a live mirror of the user’s mental tension and relaxation — a minimal yet powerful
demonstration of brain-computer interaction through art.
🎯 Midterm Project
📄 Marinaya saigh PSYCH 403 Midterm - Marinaya Saigh.pdf
View Original PDFName: Marinaya Saigh
CCID: saigh@ualberta.ca
PSYCH 403: Neuroimaging and Neurostimulation
Part 1: Calm Bloom Neurofeedback Visualization:
In this assignment, which is an extension of my assignment #2. Calm Bloom starts with the Brain
Particles layout and turns it into a picture that reacts to feelings, plus it shows whether the mind is quiet or
tense. If the user relaxes and the headset records strong meditation values, the dots drift more slowly,
glide in gentle circles across a black screen, and fade through every colour of the rainbow—the colours
stand for a steady, flowing mind. If stress or sharp focus takes over and the headset detects high attention
levels, the screen flips to white, the dots blink red, and they dart around in a fast, jumbled pattern. A slim
bar at the bottom fills or empties to show how close the user is to calm, and a faint line above it traces the
same measure second by second—the picture keeps moving, or the user sees steady change instead of a
plain yes-or-no signal.
The program processes EEG readings from eegData.meditation and eegData.attention in real time. The
values are compared to classify the user's brain state. When the value of attention surpasses the value of
meditation, the user is marked as stressed. When the value of meditation exceeds that of attention, the
user is deemed calm. Both states affect the visual output – colour, brightness and velocity of the objects –
and change the proper display of the “calmness status history” graph. Staying calm for an extended period
of time increases the on-screen progress bar, rewarding stability rather than mere blips of relaxation. The
overall effect is a biological feedback loop in which the user can perceive both their focus and calmness
evolving in real time as colours and rhythms.
Rather than static BCI art that merely reacts to the brain, Calm Bloom uses layered feedback. Calmness is
an attribute that is varied, built and decayed on a time scale, similar to training a muscle. The design is a
fusion of aesthetics and function. Calm Bloom does not merely display the state of the user’s brain, but is
aimed at teaching the user to sustain relative inner stability. The combination of the live graph of
calmness, the incremental progress and the colour emblems contributes to the work, making it both
aesthetic and functional.
Through this assignment, I learned how small differences in brainwave ratios can easily bring life into
the data , stimulating visual feedback. The relationship between EEG signals and motion, brightness, and
colour deepened my understanding of how biological feedback systems furnish self-regulation. How
powerful are the simplest kinds of cues that can lead to behavior like progress bars or even smooth
transitions. Ultimately, Calm Bloom took a simple representation of the data and turned it into an
interactive, meditative experience for the participant, bringing mind, data, and art together.EEG Data
Used: eegData.meditation, eegData.attention
Part 2: ERP experiment:
In this experiment, I measure the N170 event-related potential (ERP) component. The N170 is a
well-known negative deflection that peaks around 170ms after stimulus onset and is typically seen at
occipitotemporal electrode sites like TP9 and TP10. It is most strongly elicited by faces and is thought to
reflect the early structural encoding of facial features. The N170 provides a reliable neural marker for
distinguishing face-specific visual processing versus general object recognition. In the stimulus, there are
two visual categories: faces and objects. In each trial, either a stylized cartoon face or a simple geometric
object is presented. The two conditions are presented in an alternating sequence to ensure balanced
exposure and to minimize order effects. This allows us to directly compare neural responses to socially
relevant stimuli (faces) vs non-social stimuli (objects), a classic approach in N170 paradigms.
The averaging system captures and processes EEG data from 4 channels: TP9, AF7, AF8, and TP10.
Where each trial produces an epoch of 200ms before to 800ms after stimulus onset, sampled at 256Hz. To
obtain more accurate data, a baseline correction is applied. The baseline correction is subtracting the
average amplitude from the time before the stimulus was shown. The baseline correction helps to
eliminate slow drifts and account for individual differences in the baseline voltage. For each condition
presented, up to 20 epochs per channel are retained, which enables for a thorough analysis of the results.
The system then computes a point-by-point mean calculation across all existing epochs and then produces
an averaged ERP waveform that represents the characteristic neural response for each stimulus type. If
tested with real EEG data, the expected result would be a larger, more negative N170 amplitude for faces
than for objects, especially at TP9 and TP10, with the strongest response often over the right hemisphere.
This would match decades of ERP research showing the N170’s sensitivity to facial structure and its role
in early visual categorization.
🎥 Video part 1 - Marinaya Saigh.MOV
💡 Videos require Google Drive access. Open in new tab if it doesn't load.
🎥 Video part 2 - Marinaya Saigh.MOV
💡 Videos require Google Drive access. Open in new tab if it doesn't load.
📝 saigh_midterm_part2 - Marinaya Saigh.txt
💡 Code is embedded in this portfolio - opens instantly in the live BrainImation editor (no internet required!)
📝 saigh_midterm_part1 - Marinaya Saigh.txt
💡 Code is embedded in this portfolio - opens instantly in the live BrainImation editor (no internet required!)