In recent years, there has been significant progress in decoding visual information from the brain, driven by the potential to enhance communication for paralysed individuals and to gain deeper insights into visual processing. Traditionally, this research has relied on advanced tools such as functional Magnetic Resonance Imaging (fMRI) and Magnetoencephalography (MEG). While these tools offer excellent spatial resolution, their high cost and lack of portability have limited their practical application.
A new approach has been introduced to overcome these challenges using a simpler, low-cost, and portable electroencephalography (EEG) headset with just eight electrodes to capture brain activity. This method makes brain decoding more accessible and flexible, expanding its potential use in real-world scenarios.
While not the first study to use an EEG device for visual decoding, this approach addresses two critical issues found in previous methods. Earlier studies often used EEG systems with 128 electrodes to maximise brain data collection. However, the high number of electrodes led to longer preparation times and restricted user mobility.
Additionally, many previous EEG-based studies depended on a public dataset that inadvertently allowed decoding models to exploit hardware-related temporal variations rather than accurately decoding the brain’s response to visual stimuli. Images from different categories were presented in sequential blocks, enabling the models to predict image classes based on these variations rather than the actual brain signals associated with the stimuli.
The experimental setup
The experimental setup addressed these challenges in two key ways.
- First, a commercially available and portable EEG device was utilised, reducing the number of electrodes to eight channels. The channels were strategically placed based on previous research to compensate for the reduced number of electrodes. Studies have shown that electrodes positioned above the visual cortex, the primary brain area for processing visual information, are crucial for accurate predictions. This custom electrode placement aimed to maximise the acquisition of relevant data, as depicted in Figure 1.
- To prevent inaccurate predictions caused by signals unrelated to the visual stimuli, new EEG data were collected. During the experiment, 600 natural images across 20 categories (e.g., human face, dog, plane) were presented to nine participants while their brain activity was recorded. Unlike previous approaches, the images were presented in a randomised order for each run to avoid any prediction bias.
Each participant underwent 12 recording sessions. Ten of these recordings were used to train a classification model for each individual. After training, the model’s performance was tested by predicting the category of images based solely on the EEG signals from the remaining held-out test recording.

Credit. Author (CC BY 4.0)
Is there enough information in the EEG signal?
The primary question was whether the simplified EEG system could capture enough information to distinguish between different image categories viewed by participants. If the system contained no information, the classification accuracy would be around 5% for the 20 image categories, equivalent to random guessing. However, the results significantly exceeded this baseline, with the best model achieving an average accuracy of 34.4% across all subjects and some individuals reaching over 50%. This strongly indicated that the EEG system successfully captured information related to the type of image observed.
Following this, the next goal was to predict the image category from the EEG signals and reconstruct the actual image seen. To achieve this, it was necessary to extract the features of the perceived image from brain activity. The approach involved using classifiers, where the hierarchy of network layers functions as feature extractors, leading to a class prediction in the output layer.
Instead of using the classifier for its usual prediction task, the output layer of the best-performing model was removed to create a feature extractor. This extractor produced a condensed feature representation called the EEG embedding when fed with an EEG signal. The question then arose: how could this EEG embedding be used to reconstruct images from brain recordings?
Reconstructing images from the brain
Historically, the frameworks researchers have used for visual reconstruction closely followed the trend of the latest models in generative artificial intelligence. The current state of the art is the so-called Diffusion Model, a popular variant of Stable Diffusion.
In a nutshell, these models are trained to learn the underlying distribution of the training data to sample new images from it. Notably, this sampling process can be “conditioned” with external information to drive the generation towards a desired output. While this is commonly done with text prompts turned into a vector (text embedding) to condition the Diffusion Model, this can be done with an EEG embedding.
This study combined a trained diffusion model with the EEG encoder for conditioning and then fine-tuned it using EEG-image pairs from a participant’s training recordings. After fine-tuning, the EEG trials from the test set were processed through the EEG encoder, and the Diffusion Model was conditioned to generate the corresponding image. A selection of successful reconstructions is displayed in Figure 2.

Credit. Author
Towards real-world usage
This study demonstrates that it is possible to classify and reconstruct perceived images from the brain using a minimalistic EEG setup. This achievement represents a significant step towards developing practical, real-world systems by reducing costs and enhancing the flexibility of brain decoding methods. Ultimately, the goal is to create a portable and affordable device seamlessly integrated into daily life. The high temporal resolution of EEG also makes it suitable for monitoring ongoing brain activity in real-time, allowing for quick responses.
Despite these advancements, significant challenges remain. While classification accuracy is above chance and reconstructions are effective for a range of images, the current performance is insufficient for real-world applications.
Additionally, the system’s ability to recognise perceived images is limited to the image classes included during training. Moreover, for this technology to function as a communication device, it must eventually be capable of recognising mental images outside of a controlled laboratory environment.
Making visual decoding usable in the real-world
Bridging the gap between current visual decoding technology and its application in real-world communication requires strategic advancements. While the technology has made significant progress, further incremental improvements are essential.
- Optimising EEG Technology: As EEG devices become more flexible and resistant to external noise, their use in real-world settings becomes more feasible. Researchers should focus on finding the optimal balance between recording sufficient data for accurate performance and maintaining flexibility by minimising the number of electrodes used.
- Advancing Classification and Generative Models: Ongoing advancements in classification and generative models are expected to enhance performance, improve reconstruction quality, and increase generation speed. Similar to computer vision and natural language processing developments, the introduction of large pretrained EEG models could further refine the extraction of meaningful information from EEG signals.
- Focusing on Imagined Visuals: While reconstructing perceived images from brain signals demonstrates the technology’s potential, the ultimate challenge lies in decoding imagined visuals. Initial steps have been taken in this area, and continued efforts should be directed towards making this a reality.
The research presented in this article was conducted at the Massachusetts Institute of Technology (MIT) Media Lab as part of his master thesis project and published in Nature Scientific Reports together with Dr. Nataliya Kosmyna and Prof. Dr. Pattie Maes.
🔬🧫🧪🔍🤓👩🔬🦠🔭📚
Journal reference
Guenther, S., Kosmyna, N., & Maes, P. (2024). Image classification and reconstruction from low-density EEG. Scientific Reports, 14(1), 16436. https://doi.org/10.1038/s41598-024-66228-1

