<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Léo Panchaud on Medium]]></title>
        <description><![CDATA[Stories by Léo Panchaud on Medium]]></description>
        <link>https://medium.com/@panchaud.leo1009?source=rss-d538876bc808------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*tSnR8LO5RelEDthb</url>
            <title>Stories by Léo Panchaud on Medium</title>
            <link>https://medium.com/@panchaud.leo1009?source=rss-d538876bc808------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:22:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@panchaud.leo1009/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Can AI Decode What You’re Imagining? I Tried to Find Out.]]></title>
            <link>https://medium.com/@panchaud.leo1009/can-ai-decode-what-youre-imagining-i-tried-to-find-out-b57baf8da8ff?source=rss-d538876bc808------2</link>
            <guid isPermaLink="false">https://medium.com/p/b57baf8da8ff</guid>
            <category><![CDATA[bci]]></category>
            <category><![CDATA[neuroscience]]></category>
            <category><![CDATA[brain-computer-interface]]></category>
            <dc:creator><![CDATA[Léo Panchaud]]></dc:creator>
            <pubDate>Sun, 15 Nov 2026 09:25:24 GMT</pubDate>
            <atom:updated>2026-11-25T19:19:46.094Z</atom:updated>
            <content:encoded><![CDATA[<p>As of 2026, <strong>we still can’t fully read minds.</strong></p><p>That is a fact that I find very disappointing.</p><p>It is also why I am so fascinated by <em>Brain-Computer Interfaces (BCIs)</em> and the intersection of neuroscience and AI.</p><p>The brain is the most important organ in the body in many ways, but it is also one of the least understood. It acts like a big black box that takes in information from our senses and internal state and builds our perception of the world. From this constructed perception, it (or you) makes conscious or unconscious decisions and controls other parts of the body (such as our muscles) to act on the world.</p><p>Sadly, our bodies are limited and can break. Disease or accidents can cause us to lose limbs or the ability to control them. There have been major advances in robotics, but controlling prosthetic limbs as naturally as our own remains a challenge. That’s where BCIs could come into play.</p><p>In this article, I’ll walk you through how I built and progressively improved a motor imagery classification pipeline using Python and a public EEG dataset.</p><h3>The goal</h3><p>My initial goal for this first exploration and actual build in the BCI field was relatively simple: take brain signals as input and train an algorithm to predict whether a subject is imagining moving their hands or feet.</p><p>But as the project progressed, I wanted to go further: could a model trained on one person’s brain activity also work on someone else?</p><h3>The Dataset</h3><p>For this project, I used the <a href="https://physionet.org/content/eegmmidb/1.0.0/">EEG Motor Movement/Imagery Dataset</a> available on PhysioNet. It is a relatively large public dataset containing EEG recordings from 109 subjects performing or imagining different movements.</p><p>EEG stands for <em>electroencephalography</em>. It is a non-invasive technique that uses electrodes placed on the scalp to measure small differences in electrical potential caused by the brain’s activity. It is widely used in brain-computer interfaces because it allows us to record brain activity without implanting anything inside the brain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Up0pt4xvtYNHwMFaQpYDyg.png" /></figure><p>In this dataset, researchers used 64 electrodes distributed across the scalp. Each subject completed up to 14 recording runs involving different motor tasks.</p><p>For my first experiment, I only used data from one subject (subject 1) and three specific runs: 6, 10 and 14. I chose these because they correspond to <em>motor imagery</em> tasks, where the subject was asked to imagine opening and closing both hands or both feet, without actually moving them.</p><p>During these experiments, visual cues indicated which movement the subject should imagine. The EEG signals were recorded continuously, along with annotations indicating when each task started and when the subject was resting.</p><p>These annotations allowed me to associate sections of brain activity with the movement the subject was imagining, providing the labeled data needed to train my classifier.</p><h3>Preprocessing the Data</h3><p>Now that we have our EEG recordings, we need to prepare them before feeding them into our machine learning model.</p><p>The first step is to apply a <em>band-pass filter</em>, which filters the signal based on its frequency. Brain activity contains signals at many different frequencies, often grouped into bands associated with different types of activity.</p><p>In motor imagery, we are particularly interested in two frequency bands: the <em>mu</em> rhythm (around 8–13 Hz) and the <em>beta</em> rhythm (around 13–30 Hz), both associated with motor processes.</p><p>I therefore applied a band-pass filter between 7 and 30 Hz to keep the frequencies most relevant to motor imagery while removing some potentially interfering components.</p><h4>Creating Training Examples</h4><p>Now that we have filtered our EEG signals, we need to turn them into something our machine learning model can learn from.</p><p>The problem is that EEG recordings are continuous signals. We can’t simply feed entire recordings into our classifier and expect it to know which parts correspond to which imagined movements.</p><p>Instead, we split the recordings into smaller segments called <em>epochs</em>, using the event annotations from the dataset. Each epoch contains a short section of EEG activity associated with a specific instruction, along with its label (<em>hands</em>, <em>feet</em>, or <em>rest</em>).</p><p>But we don’t want to take just any part of the signal. Remember that subjects received visual cues indicating which movement to imagine. These cues can themselves trigger brain responses, which are not what we’re trying to classify.</p><p>That’s why I chose to extract the EEG activity between 1 and 2 seconds after each cue, rather than immediately after it appears. This helps reduce the influence of the initial visual response and focus more on the motor imagery itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLTjL585p5x4SJ80c1v_0A.png" /><figcaption><em>Illustration of the epoch extraction process. Only EEG activity between 1 and 2 seconds after each visual cue is used for classification.</em></figcaption></figure><p>At this point, we have a collection of labeled EEG epochs, ready to train and evaluate our model.</p><h3>Building the Classifier</h3><p>Now that our EEG data is ready, it’s time to actually build the model.</p><p>For my first classifier, I decided to use a fairly traditional approach in motor imagery classification: <em>CSP + LDA</em>. This pipeline works in two steps. First, CSP extracts useful features from the EEG signals, and then LDA uses these features to classify the imagined movements.</p><h4>Common Spatial Patterns (CSP)</h4><p>How do we turn all these electrical signals from 64 electrodes into something useful for classification?</p><p>That’s where <em>Common Spatial Patterns (CSP)</em> comes in.</p><p>The idea behind CSP is to find combinations of EEG channels that make the differences between our two classes as clear as possible.</p><p>Imagine that some patterns of brain activity become stronger when someone imagines moving their hands, while others become stronger when they imagine moving their feet. CSP tries to find spatial filters that highlight these differences.</p><p>More precisely, it looks for combinations of electrodes where the variance of the signal is high for one class and low for the other. Instead of analyzing every EEG channel separately, we can focus on a few combinations that are particularly useful for distinguishing the two movements.</p><p>For my first model, I used 4 <em>CSP components</em>. Each component produces a feature based on the variance of the spatially filtered EEG signal, giving us four numerical features per epoch.</p><h4>Linear Discriminant Analysis (LDA)</h4><p>Now that CSP has extracted four features from each EEG epoch, we need a way to use them to predict whether the subject was imagining moving their hands or feet.</p><p>For this, I used <em>Linear Discriminant Analysis (LDA)</em>.</p><p>LDA is a relatively simple classification algorithm that learns a linear decision boundary to separate classes based on their features.</p><p>You can imagine each EEG epoch as a point in a space defined by its four CSP features. During training, LDA uses these points and their corresponding labels to learn how to distinguish the two groups.</p><p>Then, when we give it a new EEG epoch, CSP extracts its features, and LDA uses what it has learned to predict which class it belongs to.</p><p>And that’s our first classification pipeline: CSP transforms the EEG signals into useful features, and LDA uses them to predict the imagined movement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UXB3kB-ZnpZ4nPVbgiZHyw.png" /><figcaption><em>My first motor imagery classification pipeline: CSP extracts four features from each EEG epoch, which LDA uses to predict hands or feet.</em></figcaption></figure><h3>Testing the First Model</h3><p>Now that our classification pipeline is ready, we need to train it and see how well it actually works.</p><p>To evaluate the model, we need to separate our EEG epochs into training and testing data. The model learns from the training examples, then predicts the labels of previously unseen epochs.</p><p>But how should we split our data?</p><p>I decided to try two different methods.</p><h4>Random Train/Test Split</h4><p>The first method is quite simple. I randomly selected 80% of the epochs for training and the remaining 20% for testing, taking examples from all three runs.</p><p>I repeated this process 10 times with different random splits and calculated the average performance.</p><p>However, there’s a limitation to this approach: since the epochs are randomly selected from all three runs, the model can be trained and tested on data recorded during the same run.</p><h4>Leave-One-Run-Out</h4><p>To make the evaluation more challenging, I tried another method called <em>leave-one-run-out cross-validation</em>.</p><p>Instead of randomly splitting individual epochs, we train the model on two complete runs and test it on the third, which it hasn’t seen during training.</p><p>With three runs, this gives us three experiments, each using a different run for testing.</p><p>This allows us to evaluate how well the model performs on a separate recording run, rather than on randomly selected epochs from the same recordings.</p><h4>Results</h4><p>For the evaluation, I used <em>balanced accuracy</em>, which measures the average proportion of correctly classified examples across the different classes, giving equal importance to each class.</p><p>For my first experiment, distinguishing imagined hand movements from imagined foot movements using 4 CSP components, I obtained the following leave-one-run-out results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*2Olnsfus17l2d3GxGFUQjw.png" /></figure><p>I also tried adding a third class: <strong>rest</strong>, representing periods when the subject wasn’t instructed to imagine either movement.</p><p>For this experiment, I used 8 CSP components instead of 4. The average balanced accuracy dropped to 57.28%, still above the 33.3% baseline for a constant prediction in a three-class problem with all classes represented.</p><h3>The Generalization Problem: From One Brain to Another</h3><p>These results were encouraging, but there was one major limitation: all my training and testing data came from the same person.</p><p>At this point, I decided to reach out to an expert in the field: Alberto García Vellisca.</p><p>He was kind enough to review my code and results. He gave me some very insightful feedback and advice on which techniques to explore next to take my project to a more advanced level.</p><p>The next challenge I decided to tackle was <strong>cross-subject generalization</strong>. This is actually one of the major challenges in BCI research: all our brains are different. While every human brain shares a similar overall structure, the EEG signals recorded from two people performing the same task can differ significantly.</p><p>What I wanted to do was train a model capable of learning patterns that generalize across different brains, rather than relying on features specific to a single person.</p><p>I therefore expanded my experiment to the full dataset of 109 subjects and started exploring a technique Alberto had recommended: <em>Euclidean Alignment (EA)</em>.</p><h4>Making EEG Data More Comparable: Euclidean Alignment</h4><p>Remember that CSP uses covariance matrices to find spatial filters that distinguish our classes. These matrices describe how the signals from different EEG channels vary together.</p><p>The problem is that these covariance matrices can differ significantly from one subject to another, even when they are performing the same task.</p><p>That’s where <em>Euclidean Alignment</em> comes in.</p><p>For each subject, EA calculates the average covariance matrix of their EEG epochs and uses it to transform the signals so that their average covariance becomes approximately the identity matrix.</p><p>In simpler terms, instead of having each subject’s EEG data in a different statistical reference frame, we bring them into a more comparable one.</p><p>This doesn’t eliminate all the differences between brains, but it can make it easier for a model trained on multiple subjects to generalize to a new one.</p><h4>Beyond CSP: Riemannian Geometry</h4><p>While exploring ways to improve my model, I also came across another interesting approach: <em>Riemannian geometry</em>.</p><p>Remember the covariance matrices we used in CSP? These matrices have a particular mathematical structure, and instead of treating them as ordinary points in a flat Euclidean space, we can use Riemannian geometry to account for this structure.</p><p>There are several classification methods based on this idea. I decided to experiment with two of them:</p><p><strong>Minimum Distance to Mean (MDM)</strong> is a relatively simple approach. First, we calculate the Riemannian mean of the covariance matrices for each class. Then, when we receive a new EEG epoch, we calculate its covariance matrix and classify it based on which class mean is closest, using Riemannian distance.</p><p><strong>Tangent Space (TS) + Logistic Regression (LR)</strong> works differently. We project the covariance matrices onto a <em>tangent space</em>, transforming them into feature vectors while preserving information about their geometric relationships. We can then use a traditional machine learning classifier, such as Logistic Regression, to distinguish the different classes.</p><p>Finally, I also experimented with <em>Riemannian Alignment (RA)</em>, which follows a similar idea to Euclidean Alignment but uses the Riemannian mean to align covariance matrices across subjects.</p><p>I wanted to compare these approaches with my original CSP + LDA pipeline and see whether they could improve cross-subject generalization.</p><h3>Testing Across Different Brains</h3><p>Now that we have our different classification pipelines, we need a way to compare how well they generalize across subjects.</p><p>For this, I expanded my experiment to all 109 subjects in the PhysioNet dataset, keeping the same preprocessing steps as before.</p><p>But this time, instead of training and testing on different runs from the same person, we train our models on data from other subjects and evaluate them on a new one.</p><p>I started by experimenting with different numbers of training subjects, from a single subject to the full dataset, as well as different classification methods and alignment techniques.</p><p>I also explored different calibration strategies. In some experiments, the model received no labeled data from the target subject. In others, I allowed it to learn from a short labeled calibration run. Even without labels, the target’s EEG signals could sometimes be used to calculate an alignment transformation.</p><p>For my main comparison, I used 108 subjects as training sources, along with one labeled calibration run (run 6) from the target subject. I then tested the models on that subject’s two remaining motor imagery runs (10 and 14).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*meS9CJsbZ-hX7VvS_On4fg.png" /><figcaption>Cross-subject evaluation protocol. For each target subject, the classifiers were trained using data from 108 other subjects and one labeled calibration run, then evaluated on two held-out runs.</figcaption></figure><p>This is not pure <em>zero-shot generalization</em>, since the model has already seen some labeled data from the target subject. Instead, we’re investigating whether learning from other people can help a model adapt to a new brain with limited calibration.</p><p>I compared three classifiers (CSP + LDA, MDM, and Tangent Space + Logistic Regression), each with and without alignment, on two tasks: hands vs feet, and hands vs feet vs rest.</p><p>That gives us <strong>12 different configurations</strong>, which I fully evaluated on nine target subjects. I also completed additional CSP experiments on more subjects, but the full comparison across all models was too computationally expensive to finish.</p><p>As we’ll see, these experiments revealed some interesting limitations of cross-subject generalization and raised another important question: how much personalization does a BCI actually need?</p><h3>Results: What Actually Worked?</h3><p>I expected cross-subject classification to be much harder than my first experiments, but I was still surprised by how much the performance dropped.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wshHswubP8Mhz7fOqIRVEw.png" /><figcaption>Comparison of three classification methods, with and without alignment, across nine target subjects. Bars show the mean balanced accuracy, while dots represent individual subject results. The dashed lines indicate chance-level performance.</figcaption></figure><p>Let’s first look at the binary classification task: hands vs feet.</p><p>Across the nine subjects used for the full comparison, my original CSP + LDA pipeline achieved an average <strong>balanced accuracy of 53.5%</strong>, barely above the 50% baseline.</p><p>However, adding Euclidean Alignment improved it to <strong>60.4%</strong>, with improvements on 8 out of 9 subjects!</p><p>I also extended the CSP experiments to 20 target subjects. On this larger group, EA improved the average balanced accuracy from 59.3% to 62.6%.</p><p>The Riemannian models performed relatively similarly in the binary task, and Riemannian Alignment didn’t always improve their results.</p><h4>Does More Training Data Always Help?</h4><p>Since I had access to 109 subjects, I also wanted to understand how the number of people used for training affected performance.</p><p>I ran additional experiments with different population sizes, comparing models trained on fewer subjects with models using almost the entire dataset.</p><p>Interestingly, <strong>adding more training subjects didn’t always improve accuracy</strong>.</p><p>For example, in one exploratory comparison using CSP with 8 components and EA, the average binary balanced accuracy across two target subjects was 75.2% with a population of 75 subjects, but dropped to 72.1% with all 109.</p><p>This doesn’t mean that more data is necessarily worse. These experiments only covered a small number of target subjects, but they show that simply adding more EEG recordings from different people doesn’t guarantee better generalization.</p><p>I also compared models with and without labeled calibration data from the target subject. The calibration sometimes helped, but its effect was surprisingly small or even negative in some configurations.</p><p>At this point, I still hadn’t found a clear way to achieve consistently high performance across different brains.</p><h4>What Happens When We Add Rest?</h4><p>Things became even more interesting when I added <em>rest</em> as a third class.</p><p>At first, some results didn’t look that bad. For example, CSP + LDA achieved 50% accuracy without alignment.</p><p>But when I looked at the confusion matrices, I realized something: <strong>the model predicted “rest” 539 times out of 540!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wDI88uDB-ms2eUQGFYN-aA.png" /><figcaption><em>Confusion matrices for CSP + LDA and Tangent Space + Logistic Regression, without alignment. Results are based on 540 test epochs across nine target subjects. Rows show the distribution of predictions for each actual class.</em></figcaption></figure><p>Since half of the test epochs actually corresponded to rest, the model could achieve 50% accuracy without recognizing almost any motor imagery.</p><p>That’s why balanced accuracy is particularly important here. For this model, it was only 33.3%, equivalent to always predicting one class.</p><p>The best result on this task came from Tangent Space + Logistic Regression without alignment, reaching <strong>44.3% balanced accuracy</strong>. While still quite low, it was better at distinguishing the different classes.</p><p>Interestingly, Riemannian Alignment improved MDM from 34.7% to 41.6%, but reduced Tangent Space + LR from 44.3% to 41.8%.</p><p>Looking at the confusion matrices also revealed that some models strongly favored particular classes. MDM, for example, tended to predict hands much more frequently without alignment, but shifted toward predicting feet with RA.</p><p>These experiments showed me that alignment doesn’t necessarily improve every model, and that looking at overall accuracy alone can hide major classification problems.</p><p>But I was still wondering why the results remained so low, even with data from more than a hundred subjects and some calibration from the target.</p><p>That led me to investigate how much influence this calibration data actually had during training.</p><h3>Generalization vs. Personalization</h3><p>After looking more closely at my training data, I noticed something interesting: with 108 source subjects and only one calibration run from the target, <strong>the target subject’s data represented just 0.3% of the training samples!</strong></p><p>This made me wonder whether the model was actually learning enough from the person it was supposed to classify.</p><p>To investigate this, I experimented with giving more weight to the target subject’s calibration data during training.</p><p>For subject 1, using Tangent Space + Logistic Regression without RA, increasing the calibration weight from its natural 0.3% to 90% improved binary balanced accuracy from <strong>64.3% to 80.8%</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GxoHqSHub3y6hpP3GDFlRQ.png" /><figcaption><em>Effect of calibration weighting on subject 1 for binary classification. Increasing the weight of the target subject’s calibration data substantially improved balanced accuracy, both with and without Riemannian Alignment.</em></figcaption></figure><p>That’s a pretty significant improvement without changing the classifier itself!</p><p>I then decided to try something different: training models exclusively on the target subject’s calibration data.</p><p>Interestingly, a regularized CSP + LDA model trained only on subject 1 achieved <strong>93.3% accuracy</strong>, correctly classifying 28 out of 30 test epochs.</p><p>But when I applied the same approach to subject 2, accuracy dropped to just <strong>46.7%</strong>. Giving it an additional calibration run improved its performance to 73.3% on the remaining test run.</p><p>For the three-class task, subject 2’s accuracy also improved from 30.0% to 63.3%, while subject 1 showed no improvement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A4cc0xbb52NKZYYesxhx9w.png" /><figcaption>Effect of additional calibration data on two subjects. Models were trained using either run 6 alone or runs 6 and 10, then evaluated on the same held-out run 14. Additional calibration substantially improved subject 2’s performance, but not subject 1&#39;s.</figcaption></figure><p>These results made me question something: wasn’t I moving back toward my original approach, where I trained and tested on the same person?</p><p>After discussing this with Alberto, I realized that personalization and generalization aren’t necessarily opposites. By training on many subjects and then adapting to a new one using a small amount of calibration, we can combine population-level knowledge with individual brain characteristics. This is an important idea in <em>transfer learning</em>.</p><p>However, training a completely personalized model is different, since it doesn’t use information from the other subjects at all.</p><p>These experiments are still preliminary, with only a few target subjects and relatively small test sets. But they raised an interesting question: <strong>instead of trying to eliminate calibration entirely, could we use transfer learning to minimize how much calibration each new user needs?</strong></p><h3>What I Learned and What’s Next</h3><p>This was my first real hands-on project in the field of brain-computer interfaces, and I learned a lot from it.</p><p>I got to work with real EEG recordings, understand how they can be processed, and build and compare different machine learning pipelines to extract information from brain activity.</p><p>But beyond the technical skills, I also discovered how challenging EEG classification becomes when trying to generalize across different people. Even with data from more than a hundred subjects, achieving reliable performance on a new person remains difficult.</p><p>One of my biggest takeaways is that generalization and personalization don’t necessarily have to be opposites. The real challenge might not be eliminating calibration entirely, but finding ways to minimize it while maintaining good performance.</p><p>Of course, these experiments were all performed offline, using previously recorded EEG data. There’s still a big difference between classifying these signals and building a BCI that actually works reliably in real time.</p><p>For my next steps, I’d like to explore <em>unsupervised online adaptation</em>, as Alberto suggested: continuously updating the alignment of a model using new EEG recordings, without needing their labels. Eventually, I’d also love to experiment with my own EEG recordings and maybe even build a small real-time BCI myself.</p><p>This is just the beginning of my exploration of neuroscience and brain-computer interfaces, and I’m excited to see how much further I can go.</p><p><strong>Code:</strong> You can find the Python code for this project on <a href="https://github.com/ToriPanchaud/EEG-BCI-Motor-Imagery">GitHub</a>.</p><p><strong>Loom presentation: </strong><a href="https://www.loom.com/share/6d74c44afdbf4501967f13c62a41b2d3">https://www.loom.com/share/6d74c44afdbf4501967f13c62a41b2d3</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b57baf8da8ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How can AI read your mind and reconstruct what you see]]></title>
            <link>https://medium.com/@panchaud.leo1009/how-can-ai-read-your-mind-and-reconstruct-what-you-see-a50ff0a0dccf?source=rss-d538876bc808------2</link>
            <guid isPermaLink="false">https://medium.com/p/a50ff0a0dccf</guid>
            <category><![CDATA[neuroscience]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[neurotechnology]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Léo Panchaud]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 17:46:51 GMT</pubDate>
            <atom:updated>2026-11-07T15:45:24.451Z</atom:updated>
            <content:encoded><![CDATA[<p>Just imagine for a second: you look at a red fire hydrant, and a machine is able to reconstruct an approximate image of it using recordings of your brain activity. That sounds like science fiction, right? But it isn’t.</p><p>That is exactly the kind of thing a team at the Weizmann Institute of Science worked on with Brain-IT. They are not the first researchers to reconstruct images from brain signals, but their model introduces some important improvements. But how is their work different and why is it better? (Beliy et al., 2026)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*UZ3XehIY5iJ86V4RrzZVhA.png" /><figcaption><em>Original image (left) and Brain-IT reconstruction (right), from Beliy et al. (2026).</em></figcaption></figure><h3>TL;DR</h3><p>Brain-IT is an AI system that tries to reconstruct images from fMRI recordings of brain activity.</p><p>Its main innovation is that it organizes brain signals into functional groups and uses a Transformer to predict both the structure and the meaning of the image.</p><p>It gets better results than several earlier models on important tests, even with limited data from a new subject, but the reconstructions are still imperfect and require highly specialized equipment.</p><h3>How to read a brain?</h3><p>First of all, we need to know what exactly is measured in the brain. In our case, the data comes from an fMRI scan, which stands for <em>functional magnetic resonance imaging</em>. It indirectly measures brain activity by detecting changes in blood oxygenation.</p><p>When a region of your brain becomes more active, the amount of oxygen in its blood changes. So the scanner is not reading individual neurons or thoughts. Instead, Brain-IT learns patterns from these indirect signals.</p><h3>Building the dataset</h3><h4>The original data</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*HGM_pdL-89G_niCHW6tmYw.png" /></figure><p>In this case, the team behind Brain-IT didn’t get the fMRI scans themselves. Instead, they used NSD, the Natural Scenes Dataset, collected by researchers at the University of Minnesota. The dataset became publicly available in 2021, and its scientific paper appeared in the 2022 volume of Nature Neuroscience (Allen et al., 2022).</p><p>The NSD contains around 73k distinct images selected from MS COCO, a large dataset of photographs showing everyday objects and scenes. It was designed for AI research on image recognition and understanding (Lin et al., 2014).</p><p>These images were spread across 8 subjects, with each person seeing about 9k to 10k different images. Around 1,000 were common to everyone, while most were specific to one subject. The experiment was designed to repeat each image three times, but not every subject completed all the sessions (Allen et al., 2022).</p><p>While the subjects watched the images, their brain activity was recorded. Each image was shown for 3 seconds, followed by a 1-second gap. They also had to keep looking at the center of the image and indicate whether they had seen it before. At the end, the researchers had repeated fMRI measurements paired with their reference images.</p><p>NSD also contains other measurements, such as anatomical scans and eye-tracking data. For its image reconstructions, Brain-IT uses the fMRI recordings and their corresponding images (Allen et al., 2022).</p><h4>Adding more training data</h4><p>In order to compensate for limited subject-specific data, the training dataset was enriched with around 120k additional images from the unlabeled portion of MS COCO. Since there were no real fMRI recordings for these images, the researchers used their earlier image-to-fMRI model to predict the brain responses, creating additional training pairs.</p><p>But did these generated recordings actually improve Brain-IT? We’ll come back to that when looking at the quantitative results, after introducing the metrics used to evaluate the images (Beliy et al., 2024; Beliy et al., 2026).</p><h4>Preparing the brain data</h4><p>Then, with all this data available, the actual job of the Brain-IT team starts. They will build their model on this dataset but first need to make a few adaptations to make the data digestible by the model.</p><p>First of all, you need to understand that the Siemens Magnetom 7-Tesla scanner used for NSD produces an enormous amount of data. It represents the scanned volume as a grid of small 3D pixels, called voxels. With 120 x 120 positions across 84 slices, the acquisition grid contains 1,209,600 positions, at a spatial resolution of 1.8 mm. This doesn’t mean they are all useful brain voxels: the grid also includes areas outside the brain. (Allen et al., 2022)</p><p>Of course, the brain isn’t only processing the images you see, so not all recorded voxels are equally useful to Brain-IT. Here, they selected around 40k voxels per subject, mainly from vision-related brain regions. However, during training they actually sample around 15k voxels for each example, both to reduce the amount of computation and to help prevent overfitting. At inference, the model can use the full selected set. (Beliy et al., 2026)</p><p>Next, the 40k useful voxels are grouped. There are two main logical ways of grouping them:</p><ul><li>The first, and probably the most intuitive, is to group them anatomically. Basically, just putting together the ones that are close-by.</li><li>The other way, and the one that generally gave better results on several metrics, is to group the voxels by functional similarities, independently of their location. These similarities are learned from how voxels respond to visual information, rather than simply from their physical distance. It isn’t better on absolutely every metric, though. (Beliy et al., 2026)</li></ul><p>The team chose to sort the voxels into 128 clusters. That number is a design choice, not 128 clearly identified functions of the brain. In fact, the researchers also tested other numbers of clusters and obtained similar results. (Beliy et al., 2026)</p><p>But how do they know which voxels should go together? Here, the team reused something from an earlier project by some of the same researchers: the Universal Brain Encoder, published in 2024. It works in the opposite direction from Brain-IT, predicting fMRI activity from images.</p><p>To do that, it learned an embedding for each voxel. An embedding is basically a list of numbers learned by an AI model to represent useful characteristics of something. Here, it describes how a voxel tends to respond to visual information. The numbers don’t each correspond to one clearly named brain function (Beliy et al., 2024).</p><p>The researchers then used these embeddings with a clustering algorithm called a Gaussian Mixture Model (GMM) to organize the voxels into 128 functional groups. Instead of simply grouping the voxels that are closest in the brain, the algorithm groups those whose embeddings are similar.</p><p>The important thing is that these groups are shared across different people. Two voxels can belong to the same cluster because they respond in similar ways, even if they are in different places in two brains. These embeddings from the old Encoder help define the clusters, but Brain-IT learns its own embeddings for the reverse direction (Beliy et al., 2026).</p><h3>From the data to the model</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*fQlSEkDEFOxs2UHOnnkajQ.png" /></figure><p>At a high level, Brain-IT works in two stages: BIT predicts visual features from the fMRI signals, then reconstruction models turn those features into an image. The diagram above, taken from the Brain-IT paper, shows how the Brain Tokeniser and Cross-Transformer work together in the first stage (Beliy et al., 2026).</p><h4>Brain Tokeniser</h4><p>For their model, they chose the first step to be what’s called a tokeniser, and that’s one of the main differences with the models proposed by previous teams: they chose to build a Brain Tokeniser. It is the first piece of their model and is trained along with it.</p><p>It learns to build a token, in the form of a 512-dimensional vector, for each of the 128 clusters. You can think of each Brain Token as a compact summary of what one functional group of voxels is doing, rather than treating the entire brain as a single set of numbers. (Beliy et al., 2026)</p><p>But how does the Brain Tokeniser actually make those tokens? Each voxel has its own learned embedding of 512 dimensions, meaning a list of 512 numbers, and its fMRI activity (a single number) is multiplied by that embedding. Each of the 128 clusters also has its own learned embedding of 512 dimensions.</p><p>These embeddings are parameters learned during training. The Brain Tokens, on the other hand, are calculated again for every new scan, since the brain activity changes depending on what the person sees (Beliy et al., 2026).</p><p>Now comes the attention mechanism, which lets the model give different weights to different pieces of information rather than treating everything equally.</p><p>In Brain-IT, the cluster embedding acts as a query, or a kind of question about what information is useful. The voxel representations provide the keys, which are used to calculate their relevance, and the values, which contain the information to combine. The model compares the query with the keys to obtain attention scores. A function called softmax turns these scores into weights that add up to 100%, and the weighted values are combined into one Brain Token.</p><p>This is called graph attention because each voxel is connected only to its assigned cluster, rather than to every cluster. The model learns how to calculate these weights, but the weights themselves are recalculated for every scan. And this tokenizer uses just one attention head, meaning one set of attention calculations for each cluster (Beliy et al., 2026).</p><p>The idea is a bit like giving the voxels different votes instead of averaging them all equally. The importance of each voxel depends on its activity and on the parameters learned during training. And the attention only connects each voxel to its assigned cluster. (Beliy et al., 2026)</p><h4>Cross-Transformer</h4><p>The next piece of the model is a transformer, a type of neural network that uses attention to connect different pieces of information. I find this especially interesting because the brain itself also works through connections between many different regions, instead of each region doing everything alone. Of course, a transformer doesn’t work exactly like a biological brain, but the analogy helps me understand the idea.</p><p>The Cross-Transformer uses the same general principle of attention, but at a different level.</p><p>Self-attention allows the 128 Brain Tokens to exchange information with each other. For example, information about a shape might be more useful when combined with information about its position. Cross-attention works between two sets of tokens. Here, another set of learned tokens, called query tokens, asks the Brain Tokens for the information needed to predict the image’s visual features.</p><p>The Brain Tokens represent what is happening in the functional brain clusters. The query tokens, on the other hand, gradually collect the information needed to produce features at different positions in the image. It is their updated representations that will become the predicted image features (Beliy et al., 2026).</p><p>The exact order is a little more complex. First, the query tokens read the Brain Tokens through cross-attention. Then the Brain Tokens exchange information through self-attention, and the query tokens read them again. This second part is repeated five times.</p><p>Each self-attention and cross-attention block uses eight attention heads. Instead of looking at the tokens in just one way, the model calculates eight separate attentions in parallel, allowing it to focus on different relationships. That’s what the eight heads mean. It doesn’t mean eight clusters or eight rounds of training (Beliy et al., 2026).</p><p>What I find interesting is that the model can keep information from different brain clusters separate instead of immediately compressing the whole brain into a single vector. The researchers also analyzed cross-attention maps and found that different Brain Tokens tend to contribute to different positions in the predicted image features. However, these maps alone don’t prove that the observed patterns improve reconstruction. (Beliy et al., 2026)</p><h4>Semantic vs structural aspects</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*E3E0iINlloFcA37_66o5ag.png" /></figure><p>Reconstructing an image isn’t just about getting the right objects. If the original shows a cat on a sofa, the reconstruction should show a cat on a sofa too, but also preserve their approximate positions, shapes and colors. Brain-IT therefore trains two BIT models with the same general architecture: a semantic one for what the image contains, and a structural one for how it looks.</p><p>Both models use a Brain Tokeniser and a Cross-Transformer, but they predict different kinds of visual information. The next two sections explain how these predictions become an actual image (Beliy et al., 2026).</p><p>The important distinction is that BIT doesn’t directly generate the final picture. It predicts the information that the reconstruction models will use (Beliy et al., 2026).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*XTQICi-_5ralDIafIwtsDA.png" /></figure><p><strong>The structural branch</strong></p><p>The structural branch starts with a model called VGG, a neural network trained to recognize visual patterns. Its earlier layers can capture simple things like edges and textures, while later layers represent more complex patterns. Brain-IT uses features from five VGG layers, or five levels of detail. This is useful because an image is not only made of recognizable objects, but also of smaller visual structures.</p><p>During training, the structural BIT learns to predict these VGG features from the fMRI signals, without generating the final image yet (Simonyan and Zisserman, 2014; Beliy et al., 2026).</p><p>But how do we turn these predicted features into an actual image? That’s where Deep Image Prior (DIP) comes in.</p><p>Imagine starting with a random-looking image and gradually adjusting it until its edges, shapes and other visual patterns match those predicted by BIT. DIP does something similar, using a small neural network to generate an image from noise. It passes this image through the same VGG network and compares the resulting features with those predicted from the brain. Then it adjusts the weights of the image-generating network to reduce the difference.</p><p>It repeats this around 2,000 times for the image being reconstructed. The result is a coarse 112 × 112 image, later enlarged to 256 × 256. Importantly, this is not another round of training the whole Brain-IT model. It is an optimization carried out for that particular image (Ulyanov et al., 2018; Beliy et al., 2026).</p><p><strong>The semantic branch</strong></p><p>The second branch helps the model generate the right content. It first learns to predict 256 spatial features from CLIP, a model trained to link images with language. These features help describe what is in an image, rather than only the exact position of its edges.</p><p>This is where the diffusion model comes in. You may have seen AI image generators that create pictures from text prompts. Many use diffusion, a process that learns to turn noise into an image step by step. Brain-IT uses a similar idea, but instead of guiding the model with a written prompt, it uses visual features predicted from the brain activity.</p><p>It also doesn’t start from completely random noise. It starts from the coarse image created by DIP, adds some noise to it and gradually refines it under the semantic guidance. That way, the structural branch helps keep things in the right place while the semantic branch helps generate the right objects and details (Radford et al., 2021; Beliy et al., 2026).</p><p>The semantic BIT is first trained to predict CLIP features. Then it is trained together with the diffusion model, so the representations it produces can become better suited to image generation, even if they no longer exactly match the original CLIP embeddings (Beliy et al., 2026).</p><h4>Improvement to the final image</h4><p>At this point, the model has already combined information about the layout of the scene with information about what it contains. But the result can still look a little artificial, particularly when it comes to textures, faces and small details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*jFvsvTLfz23ffbpltZtfug.png" /></figure><p>To improve this, the team adds a final refinement step. They pass the image through another pretrained diffusion model, called SDXL, without giving it a text prompt. The examples below show the result before and after refinement. The textures look smoother, and details such as the eyes of an animal can look more natural.</p><p>However, making an image look more realistic doesn’t necessarily mean making it more faithful to what the person saw. The refinement model can improve a strange-looking detail, but it doesn’t have access to the original image to check if the change is correct. I think this distinction matters when the goal is to reconstruct a real visual experience, not simply to generate a beautiful image. (Beliy et al., 2026)</p><h4>Training and inference</h4><p>One thing that helped me understand Brain-IT was separating three different moments: training the general model, adapting it to a new person, and reconstructing each new image.</p><p>First, the team trains the two BIT models on data from multiple subjects. During this process, the model makes predictions, compares them with the information extracted from the real images, and adjusts its parameters to reduce the errors. This process is called gradient descent. The researchers use AdamW, an optimizer based on this idea.</p><p>The structural BIT is trained to distinguish the correct VGG features from other possibilities using a method called InfoNCE. The semantic BIT first learns to match CLIP features using an L2 loss, which measures the difference between predicted and expected vectors. It is then trained together with the diffusion model to improve denoising and image generation (Beliy et al., 2026).</p><p>Second, when the researchers want to use Brain-IT with a new person, they adapt the older Brain Encoder to that person’s voxels, assign those voxels to the same 128 functional clusters, and fine-tune their voxel embeddings in BIT. Most of the model stays fixed, including the cluster embeddings and the Cross-Transformer. This is what makes transferring the model to a new person easier.</p><p>Third, when they reconstruct an image from a new fMRI recording, BIT doesn’t need to be retrained. The Brain Tokens and the updated query tokens are calculated from the new scan using the already learned parameters. The DIP network, however, is optimized again to reconstruct this particular image. Then the diffusion models generate and refine the final result.</p><p>So there are three very different things: learning the general model, learning how to interpret a new person’s voxels, and processing one new brain recording (Beliy et al., 2026).</p><h3>But how much better is Brain-IT than competing methods?</h3><h4>Qualitative results</h4><p>Now that you understand how Brain-IT works, let’s see what the results actually look like. Personally, I find it much easier to appreciate them by looking at the images before getting into the numbers.</p><p>The images below come from the Brain-IT paper. In (a), you can see reconstructions using the full 40 hours of fMRI data for one subject. Some are quite impressive, even if colors and smaller details aren’t always correct. In (b), you can see what happens when the model has less data from that person, going down to just 15 minutes. The images generally become less accurate, but some remain recognizable. It’s important to note that Brain-IT was already trained using data from other people: the 15 minutes are used to adapt it to a new subject, not to train the whole model from scratch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*Hu1j0T_0G0yGy_kUie5iGw.png" /></figure><p>The image below compares Brain-IT with two models from other teams, MindEye2 and MindTuner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*_46IeuvKEH0st_RTm50wYg.png" /></figure><p>I think the fire hydrant example is particularly interesting. The original image shows a red fire hydrant and Brain-IT reconstructs a recognizable hydrant in roughly the right place, while the other two models generate animals instead. Brain-IT still gets some colors and details wrong, though. That’s what I find most interesting: the goal isn’t just to generate any image of a fire hydrant, but to reconstruct this particular scene, with the object roughly in the right place and its surroundings. Of course, a single example doesn’t prove which part of the model is responsible for the improvement.</p><h4>Quantitative results</h4><p>These examples give us an idea of what Brain-IT can do, but a few pictures aren’t enough to tell which model is best. For that, we need to look at the actual scores. The results below are averaged across four subjects from the NSD dataset (subjects 1, 2, 5 and 7). (Beliy et al., 2026)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*qnnzIG9ZDMNOxeaKLFQPwA.png" /></figure><p>The table above contains a lot of models and different metrics. I’ll focus on three that I think are the most useful to understand: PixCorr, SSIM and CLIP. I’ll mainly compare Brain-IT to MindEye2 (Scotti et al., 2024) and MindTuner (Gong et al., 2025), and also to NeuroVLA (Shen et al., 2024), which actually gets a better CLIP score. The table also compares results with 40 hours of fMRI data and with just one hour from a new subject. (Beliy et al., 2026)</p><p><strong>PixCorr</strong></p><p><em>Pixel Correlation (PixCorr)</em> is a low-level metric that measures how closely the pixel values of the reconstructed image follow those of the original. It’s a correlation score between -1 and 1, where 1 is a perfect positive correlation, not a percentage of pixels copied correctly. To come back to the cat-on-a-sofa example, if the cat is on the wrong side of the image or has a different color, the score will generally decrease.</p><p><strong>SSIM</strong></p><p><em>Structural Similarity Index Measure (SSIM)</em> is another low-level metric, but it focuses more on local structures, brightness and contrast rather than just pixel correlation. Here, it uses black-and-white versions of the images, so it doesn’t directly evaluate colors. In our example, the cat and the sofa should have similar shapes and positions for the score to be high. Once again, a higher score is better.</p><p><strong>CLIP</strong></p><p>The last metric is based on CLIP, an AI model that can recognize similarities in the meaning of images. You may remember CLIP from the semantic branch of Brain-IT. Here, the researchers test whether CLIP can match a reconstruction to the correct original image when given two possibilities.</p><p>But that score needs some perspective. If the second image is very different, choosing the right one can be relatively easy. If the two images look similar, it becomes much harder. So 96.4% means that the correct reference was identified in 96.4% of these two-way comparisons, not that 96.4% of the reconstructed image is correct. The researchers also report a much harder test with 1,000 possible images, which we’ll come back to below (Beliy et al., 2026).</p><p><strong>Comparing the results</strong></p><p>So, how much better is Brain-IT? With 40 hours of data, its PixCorr score reaches 0.386, compared with 0.322 for both MindEye2 and MindTuner. That’s about a 20% relative increase in PixCorr. It also performs better on SSIM.</p><p>You can see what those low-level metrics mean in the images above. For example, when the original picture contains several airplanes, some reconstructions fail to preserve their number or arrangement. In the horse example, some models recognize the animal but change its position or the background. Brain-IT often gets closer to the actual scene, not just the right category of object. Of course, these are individual examples, while the scores describe the results across many images.</p><p>But Brain-IT doesn’t win everywhere. NeuroVLA reaches 97.5% on CLIP identification, compared with 96.4% for Brain-IT. That doesn’t necessarily mean NeuroVLA reconstructs more faithful images overall, because CLIP measures a different aspect of the result. On the harder 1,000-choice CLIP test, Brain-IT correctly identifies 39.3% of images for Subject 1, compared with 23.8% for MindEye2 and 23.1% for MindTuner. These are much lower numbers than in the two-choice test, which shows why the choice of metric matters (Beliy et al., 2026).</p><p>And remember the 120k extra images we added to the training dataset earlier? The researchers tested their impact too. With this additional data, Brain-IT’s PixCorr increased from 0.365 to 0.386. Its SSIM fell slightly from 0.494 to 0.486, so the extra training data helped on most metrics but not every single one (Beliy et al., 2026).</p><p>For me, the most impressive result is what happens with just one hour of fMRI data from a new subject. Brain-IT gets 0.331 in PixCorr, compared with 0.195 for MindEye2 and 0.224 for MindTuner in the reported one-hour comparisons. That’s even slightly higher than the 0.322 those two models report with 40 hours, although the experimental protocols aren’t exactly identical. Of course, it doesn’t mean that Brain-IT was trained from scratch in one hour. It had already learned from other subjects, and only needed to adapt to the new person’s brain. (Beliy et al., 2026)</p><p>This is possible partly because Brain-IT doesn’t have to relearn everything for a new person. As explained earlier, the researchers only need to adapt the voxel representations of that person while the rest of BIT stays fixed.</p><p>For me, this is probably one of the most important innovations, because it makes the model easier to adapt instead of having to train everything again for each person. I wonder whether the same idea could also be useful for other brain-computer interfaces with different types of brain recordings, but this study doesn’t test that yet (Beliy et al., 2026).</p><p>So why might it work better? The scores don’t tell us exactly which differences from MindEye2 or MindTuner are responsible. But what stands out to me is how Brain-IT groups brain voxels by function and lets information from these groups interact, instead of immediately putting everything into one large representation. Its two branches also help with different parts of the image: one focuses on structure and the other on meaning.</p><p>The ablation results show some interesting trade-offs. Functional clustering scored slightly higher on PixCorr (0.386 vs 0.378) and most other metrics, while grouping voxels by their 3D coordinates scored slightly higher on SSIM (0.491 vs 0.486). However, the paper doesn’t report uncertainty estimates for these differences.</p><p>For example, the structural branch alone has a higher SSIM (0.505) than the combined result (0.486). On the other hand, combining the branches improves CLIP identification from 85.8% for the structural branch alone and 95.2% for the semantic branch alone to 96.4%. So adding the semantic branch involves a compromise in structural similarity, but it helps the model reconstruct recognizable content.</p><p>NeuroVLA’s slightly higher CLIP score is a separate comparison between different models. It doesn’t prove that Brain-IT’s two-branch design is responsible for that difference. This is why I think it’s important to look at several metrics rather than picking a single winner (Beliy et al., 2026).</p><h3>Limitations and open questions</h3><p>Even though Brain-IT’s results are impressive, there are still several important limitations.</p><p>First of all, the reconstructed images are far from perfect. As we saw in the examples above, the model can still get objects, colors or other details wrong. So there is a big difference between generating a realistic image and accurately reconstructing what someone actually saw.</p><p>Another important limitation is the experimental setup. The NSD dataset only contains recordings from 8 subjects, and the main comparisons use just 4 of them. The recordings were also made using a powerful 7-Tesla MRI scanner, which is definitely not something you could use in an everyday brain-computer interface. Moreover, fMRI measures changes in blood oxygenation rather than directly recording neurons, making it difficult to capture fast changes in brain activity. (Allen et al., 2022; Beliy et al., 2026)</p><p>Personally, I think this is the biggest barrier to everyday applications: scanning someone’s brain takes time, requires expensive equipment, and isn’t portable. Even a much better AI model would still face those problems.</p><p>Finally, even though Brain-IT can adapt to a new person with very little data, it still needs some recordings from that person. The researchers held out the shared NSD images as their main test set, rather than evaluating the quantitative results across many unrelated datasets. They also show some qualitative results on a separate NSD-Synthetic dataset with different kinds of images, but that is not the same as a large external validation. Some competing methods also used 37 rather than 40 scanning sessions and were evaluated on 982 rather than 1,000 test images, so the published comparisons are not perfectly identical (Beliy et al., 2026).</p><p>Brain-IT has been discussed positively in an independent scientific review (Yang et al., 2026), but as of October 2026, I couldn’t find any published independent replication of its results. This matters because another study found that previous reconstruction methods, including MindEye2, performed much worse when tested on a different dataset (Shirakawa et al., 2025). This doesn’t necessarily mean that Brain-IT has the same problem, but it raises an important question about how well its results would generalize beyond NSD.</p><p>This makes me wonder how well the model would work with many more people, different scanners or even other ways of recording brain activity. And as this technology improves, it also raises an interesting question about privacy and consent: people should have control over how their brain recordings are collected and used. That’s an ethical concern, not something this paper proves the model can already bypass.</p><h3>What comes next</h3><p>We saw that this almost sci-fi idea of reconstructing an image from brain activity is already partly possible, even if the results are far from perfect. It makes me wonder what the next steps are. What else are we going to be able to do with brain signals? For example, researchers have already decoded attempted speech into text using implanted electrodes (Willett et al., 2023). Other researchers have recovered the approximate meaning of language from non-invasive fMRI recordings (Tang et al., 2023).</p><p>Could all this work and some more from other fields be used to develop and improve BCIs and futuristic virtual reality? I wonder if we could reverse some of the process to make someone see an image by acting directly on their brain.</p><p>This also makes me think of optogenetics, a technique that uses light to control the activity of specially prepared neurons. Three pioneers of optogenetics received the 2026 Nobel Prize in Physiology or Medicine. It shows that scientists are learning ways to influence brain activity, not only record it. But making someone perceive an exact image would be a very different and much harder challenge. It isn’t something Brain-IT or optogenetics has demonstrated (Karolinska Institutet, 2026).</p><h3>References</h3><ul><li>Beliy et al. (2026): Brain-IT<em>: Image Reconstruction from fMRI via Brain-Interaction Transformer.</em><a href="https://arxiv.org/html/2510.25976"> Paper</a></li><li>Allen et al. (2022): A massive 7T fMRI dataset to bridge cognitive neuroscience and artificial intelligence.<a href="https://www.nature.com/articles/s41593-021-00962-x"> Paper</a></li><li>Beliy et al. (2024): The Wisdom of a Crowd of Brains: A Universal Brain Encoder. <a href="https://arxiv.org/html/2406.12179">Paper</a></li><li>Natural Scenes Dataset (2021): Official NSD project website and release notes. <a href="https://naturalscenesdataset.org/">Website</a></li><li>Scotti et al. (2024): MindEye2: Shared-Subject Models Enable fMRI-To-Image With 1 Hour of Data. <a href="https://proceedings.mlr.press/v235/scotti24a.html">Paper</a></li><li>Gong et al. (2025): MindTuner: Cross-Subject Visual Decoding with Visual Fingerprint and Semantic Correction. <a href="https://ojs.aaai.org/index.php/AAAI/article/view/33560">Paper</a></li><li>Shen et al. (2024): Neuro-Vision to Language: Enhancing Brain Recording-based Visual Reconstruction and Language Interaction. <a href="https://papers.neurips.cc/paper_files/paper/2024/hash/b1c62bdeee97b38c34dcda152c829511-Abstract-Conference.html">Paper</a></li><li>Simonyan and Zisserman (2014): Very Deep Convolutional Networks for Large-Scale Image Recognition (VGG). <a href="https://arxiv.org/abs/1409.1556">Paper</a></li><li>Ulyanov et al. (2018): Deep Image Prior. <a href="https://openaccess.thecvf.com/content_cvpr_2018/html/Ulyanov_Deep_Image_Prior_CVPR_2018_paper.html">Paper</a></li><li>Radford et al. (2021): Learning Transferable Visual Models From Natural Language Supervision (CLIP). <a href="https://proceedings.mlr.press/v139/radford21a.html">Paper</a></li><li>Willett et al. (2023): A high-performance speech neuroprosthesis. <a href="https://www.nature.com/articles/s41586-023-06377-x">Paper</a></li><li>Tang et al. (2023): Semantic reconstruction of continuous language from non-invasive brain recordings. <a href="https://www.nature.com/articles/s41593-023-01304-9">Paper</a></li><li>Brain-IT: Official implementation of the Universal Brain Encoder and Brain-Interaction Transformer. <a href="https://github.com/WeizmannVision/brainit-fmri">GitHub</a></li><li>Lin et al. (2014): Microsoft COCO: Common Objects in Context. <a href="https://arxiv.org/abs/1405.0312">Paper</a></li><li>Karolinska Institutet (2026): The Nobel Prize to the pioneers of optogenetics. <a href="https://news.ki.se/the-nobel-prize-to-the-pioneers-of-optogenetics-peter-hegemann-georg-nagel-and-karl-deisseroth">Website</a></li><li>Yang et al. (2026): Transformers for fMRI analysis: from spatiotemporal modeling to brain foundation models. <a href="https://doi.org/10.3389/fninf.2026.1869687">Paper</a></li><li>Shirakawa et al. (2025): Spurious reconstruction from brain activity. <a href="https://doi.org/10.1016/j.neunet.2025.107515">Paper</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a50ff0a0dccf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>