← All research MSc thesis and follow-up collaboration Reviewed November 2026

Visual perception in brains and models

What does a vision model need to learn to align with how humans perceive faces and dynamic expressions?

My contribution

For the face-familiarity study (MSc thesis, supervised by Prof. Karim Jerbi and Prof. Shahab Bakhtiari), I led the source-resolved MEG processing, convolutional neural network (CNN) comparisons, figures, and manuscript. For the follow-up dynamic facial-expression study (accepted at NeurIPS 2026), I mentored first author Maryem Benslimane on study design, time-resolved EEG representational similarity analysis (RSA), statistical controls, and writing.

Face familiarity: specialized and broader visual learning

In everyday vision, a familiar face is recognized faster and more robustly than an unfamiliar one. A recurring question in visual neuroscience is whether that advantage depends on representations specialized for face identity or on broader visual mechanisms shared with object recognition.

Our 2026 bioRxiv preprint suggests that the answer depends on the processing stage rather than being all-or-nothing. Using seven convolutional neural network (CNN) architectures trained on face identity, object categories, or both, alongside untrained controls, we compared model activations against source-resolved magnetoencephalography (MEG) using time-resolved representational similarity analysis (RSA). Across architectures, familiarity shifted brain–model alignment earlier in lateral occipital cortex (LOC) and strengthened alignment later in fusiform cortex. Face-identity training most consistently constrained the earlier LOC timing shift, whereas later fusiform representations remained compatible with broader visual-learning objectives.

This work began during my 2021 engineering graduation project (CNN-MEG-FaceProcessing, presented at Cognitive Computational Neuroscience [CCN] 2022) and expanded into my MSc thesis pipeline (MFRS, presented at Computational and Systems Neuroscience [COSYNE] 2024 and CCN 2024).

Study design comparing source-resolved MEG responses with seven CNN architectures trained on face identity, object categories, or object categories including faces, alongside untrained controls via time-resolved representational similarity analysis.

Face-familiarity study design: comparing source-resolved MEG with seven CNN architectures trained under matched objectives alongside untrained controls across time and layers (explains the experimental setup rather than empirical outcomes).

Abdelhedi, Bakhtiari, and Jerbi (2026), bioRxiv Enlarge figure

Dynamic facial expressions: NeurIPS 2026

A second study, led by MSc student Maryem Benslimane with me as second author and research mentor, asked a related question during dynamic video perception: which stage of model training raises alignment with human electroencephalography (EEG) when people watch moving facial expressions? Accepted at the NeurIPS 2026 Main Track, the study compared EEG from 25 participants viewing 54 one-second fearful, happy, and neutral videos (unoccluded, with sunglasses, or with a mask) against 21 variants across six image, video, and video-language model families (random, generically pretrained, face-recognition-trained, and emotion-fine-tuned).

Every comparison was evaluated against matched untrained networks, a permutation null repeating layer and time-window selection, and low-level stimulus controls (identity, occlusion, pixels, optical flow, and motion energy). After those controls, effects converged at 187–250 ms over occipito-temporal electrodes: generic pretraining and video input raised EEG alignment, whereas face-identity training lowered alignment in several comparisons and emotion fine-tuning added little. Across 130 tested networks, higher emotion decodability did not predict stronger brain alignment.

Six-panel study-design diagram showing 54 dynamic fear, happy, and neutral facial-expression videos (unoccluded, sunglasses, mask), EEG electrode regions across 13 time windows, 21 variants across six model families, RDMs, and layer-by-time Spearman RSA.

Dynamic facial-expression study design: 54 one-second expression videos (unoccluded, with sunglasses, or with a mask), scalp EEG across four regions, and 21 variants of six image, video, and video-language model families tested against permutation and stimulus controls.

Benslimane, Abdelhedi, Hadid, and Jerbi (2026), NeurIPS 2026 Enlarge figure

Across both studies, treating task accuracy and brain–model alignment as separate empirical questions, and testing every claim against untrained baselines and stimulus controls, helps distinguish learned neural correspondence from architecture or stimulus confounds.

Code & tools

Analysis repositories and reusable software behind this work.

  • Main MSc pipeline

    MFRS

    Full MSc workflow for the 2026 face-familiarity preprint, from model training and MEG source processing to time-resolved representational similarity analysis. Start here for the face-familiarity study.

  • NeurIPS 2026 repository

    FER-timeresolved-rsa

    Code accompanying our NeurIPS 2026 paper comparing 21 image, video, and video-language model variants with human EEG during dynamic facial-expression perception.

  • Earlier analysis scripts (2021–2022)

    CNN-MEG-FaceProcessing

    Earlier engineering-graduation and CCN 2022 analysis scripts comparing face-processing CNNs with sensor-level MEG.

Where this connects

Related lines of work that share methods or questions.

Related activity

Talks, posters, mentoring, funding, and updates linked to this work.

Mentoring & teaching

Figure preview