Abstract
In neuroscience, understanding how sensory stimuli are encoded and decoded from neuronal activities remains a fundamental challenge. While functional Magnetic Resonance Imaging (fMRI) has advanced brain decoding, accurate reconstruction of visual stimuli remains difficult. This paper introduces the Capsule Network Architecture based Visual Reconstruction (CNAVR) method. Inspired by cortical minicolumns, Capsule Networks (CapsNet) utilize groups of neurons to better organize feature representation. By leveraging high-level capsule features—which encode semantic class, orientation, and location—we bridge the gap between human fMRI and image stimuli. Our method involves training a nonlinear mapping from images to capsule features and subsequently from dimension-reduced fMRI data to these features. Evaluated on handwritten digit datasets, CNAVR outperformed state-of-the-art methods by approximately 10% in Structural Similarity Index (SSIM).
Introduction: The Challenge of Visual Reconstruction
Brain decoding typically falls into two categories: classification and reconstruction. While identifying an object category (e.g., "a digit") from fMRI data is relatively straightforward, reconstructing the specific visual instance—capturing the exact way a digit was drawn—is significantly more complex.
A primary hurdle in using standard Convolutional Neural Networks (CNNs) for reconstruction is the property of invariance. CNNs utilize pooling layers to achieve translation invariance, allowing them to recognize objects regardless of their exact position or rotation. However, for reconstruction, these spatial details are vital. If an AI discards the "where" and "how" to figure out the "what," the resulting reconstruction will be structurally incorrect.
As shown in Figure 1, while an invariant representation might only identify the digit '6', an equivariant representation preserves the "instantiation parameters"—the specific pose and style—which are captured in the early visual cortex. Capsule Networks are designed for equivariance, making them a superior candidate for reconstructing the precise stimuli seen by a subject.
Methods: The CNAVR Framework
The proposed CNAVR method operates in two distinct stages to translate brain activity into visual images.
1. The Capsule Autoencoder
First, a Capsule Network is trained on image stimuli (such as MNIST digits). Unlike standard neurons, capsules use vectors where the length represents the probability of an entity's presence and the orientation encodes its specific properties (scale, rotation, etc.). This network learns to map images to high-level "DigitCaps" and then decode those features back into the original image.
2. Mapping fMRI to Capsule Features
The second stage involves bridging the gap between biological signals and the artificial network. Because fMRI data is high-dimensional (thousands of voxels) and noisy, the researchers first identify the most relevant voxels by calculating the correlation ($R^2$) between voxel activity and capsule features, selecting the top 100 "serviceable" voxels.
As illustrated in Figure 3, the dimension-decreased fMRI data is fed through a three-layer fully connected (FC) network to predict the 16-dimensional capsule vectors. These predicted features are then passed through the pre-trained CapsNet decoder to generate the final reconstruction.
Results and Evaluation
The CNAVR method was tested on a dataset of handwritten digits (6s and 9s) paired with fMRI scans from visual areas V1, V2, and V3. The performance was measured using the Structural Similarity Index (SSIM), which prioritizes the preservation of shape and texture over simple pixel-wise intensity.
- Performance Leap: CNAVR achieved an SSIM of 0.750, a significant improvement over previous state-of-the-art models which reached approximately 0.645.
- Structural Fidelity: The reconstructions successfully captured individual handwriting nuances, such as the specific tilt and stroke thickness of the digits.
- Efficiency: The voxel selection process effectively reduced noise, demonstrating that a small subset of highly correlated voxels contains sufficient information for high-quality reconstruction when paired with an equivariant model.
Discussion and Conclusion
The success of CNAVR highlights the importance of equivariance in neural decoding. By mimicking the structure of cortical minicolumns, Capsule Networks provide a more biologically plausible and effective architecture for interpreting brain signals.
While this study focused on simple handwritten digits, it serves as a powerful proof-of-concept. Future work will involve scaling the model to more complex natural images and exploring non-linear encoding methods for voxel selection. As larger fMRI datasets become available, moving toward a fully end-to-end training regime could further enhance the fidelity of visual reconstruction from human brain activity.
Summary updated