Scientific Reports

A deep learning framework for benchmarking visual embeddings in fMRI-based semantic image reconstruction

Hamdi Mahmoud, Yahya Ashraf Afifi, Hagar Mohamed, Kareem Ahmed

Computational

Key points

From the paper's conclusion
  • The results indicate that the choice of intermediate visual representation substantially influences semantic retrieval and category-guided reconstruction performance within a controlled decoding framework.

Abstract

Reconstructing visual information from functional magnetic resonance imaging (fMRI) remains a challenging problem due to the high dimensionality and noise of neural signals and the complex relationship between brain activity and perceptual representations. Recent reconstruction frameworks commonly map fMRI responses into intermediate visual embeddings before image generation, making the choice of representation an important interface between noisy neural signals and downstream semantic reconstruction. In this study, we extend a retrieval-guided latent diffusion framework to systematically benchmark the impact of different visual representation spaces on fMRI-based semantic category-guided image reconstruction. The proposed framework maps fMRI activity into visual embeddings, retrieves semantically related categories from a large-scale image database, and generates images conditioned on the retrieved semantic categories using a text-conditioned Stable Diffusion model. Experiments were conducted on five subjects from the Generic Object Decoding (GOD) dataset using three representative visual embedding models: ResNet50, supervised ViT-B/16, and CLIP-ViT-B/16. Performance was evaluated using retrieval accuracy, feature-based similarity measures, and the recently proposed Semantic Evaluation for Visual Brain Decoding (SEED) framework. Among the evaluated models, CLIP-ViT-B/16 achieved the highest retrieval performance, with Top-1 and Top-5 accuracies of 12.8% and 28.0%, respectively. It also achieved the highest overall SEED score of 0.288, compared with 0.239 for ViT-B/16 and 0.212 for ResNet50. For the feature-based metrics, CLIP-ViT-B/16 achieved the lowest SwAV and Inception distances of 0.6572 and 0.8382, respectively, whereas ViT-B/16 achieved the lowest CLIP distance of 0.3596. The results indicate that the choice of intermediate visual representation substantially influences semantic retrieval and category-guided reconstruction performance within a controlled decoding framework. The proposed benchmark provides a reproducible platform for systematically evaluating visual representations in semantic brain decoding and brain-guided image generation.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

A deep learning framework for benchmarking visual embeddings in fMRI-based semantic image reconstruction — Science Skim