Hyperrealistic artificial intelligence (AI)-generated faces are often misclassified as real, although neural activity may still encode their artificial origin. We reanalyzed electroencephalography (EEG) data from 26 participants viewing real and StyleGAN2-generated faces during an orthogonal target-detection task. Condition-averaged Event-Related Potentials (ERPs) from 14 channels and four regional principal component features within 200–600 ms, chosen a priori from the ERP analysis of the same recordings, were analyzed with classical machine learning, a spatiotemporal Convolutional Neural Network (STCNN), and explainable-AI methods. In a 25-fold nested benchmark, Linear Discriminant Analysis achieved 0.700 accuracy and 0.720 after exploratory second-stage optimization (area under the curve, AUC = 0.780); a permutation test repeating model selection in every permutation confirmed above-chance classification (p = 0.0033). Because each participant’s responses were normalized jointly, this is within-participant contrast decoding, not single-recording classification. Over 20 training seeds, the STCNN averaged 58.8% accuracy (AUC = 0.659). Exploratory analyses detected face-origin information from about 125–150 ms, persisting into the late window, but none before stimulus onset. Attributions were most consistent at PO10, a right occipito-temporal site, possibly reflecting face-specific neural processing and sensitivity to face familiarity and prototypicality. These findings provide preliminary evidence that distributed ERP activity distinguishes AI-generated from real faces within individuals.
Rimoldi, P., Godino, T., Colombo, G., De Paola, A., Proverbio, A. (2026). Classifying AI-Generated and Real Faces from EEG: A Comparative Evaluation of LDA, Logistic Regression, and a Spatiotemporal CNN. APPLIED SCIENCES, 16(23) [10.3390/app162312029].
Classifying AI-Generated and Real Faces from EEG: A Comparative Evaluation of LDA, Logistic Regression, and a Spatiotemporal CNN
Proverbio, Alice Mado
Ultimo
2026
Abstract
Hyperrealistic artificial intelligence (AI)-generated faces are often misclassified as real, although neural activity may still encode their artificial origin. We reanalyzed electroencephalography (EEG) data from 26 participants viewing real and StyleGAN2-generated faces during an orthogonal target-detection task. Condition-averaged Event-Related Potentials (ERPs) from 14 channels and four regional principal component features within 200–600 ms, chosen a priori from the ERP analysis of the same recordings, were analyzed with classical machine learning, a spatiotemporal Convolutional Neural Network (STCNN), and explainable-AI methods. In a 25-fold nested benchmark, Linear Discriminant Analysis achieved 0.700 accuracy and 0.720 after exploratory second-stage optimization (area under the curve, AUC = 0.780); a permutation test repeating model selection in every permutation confirmed above-chance classification (p = 0.0033). Because each participant’s responses were normalized jointly, this is within-participant contrast decoding, not single-recording classification. Over 20 training seeds, the STCNN averaged 58.8% accuracy (AUC = 0.659). Exploratory analyses detected face-origin information from about 125–150 ms, persisting into the late window, but none before stimulus onset. Attributions were most consistent at PO10, a right occipito-temporal site, possibly reflecting face-specific neural processing and sensitivity to face familiarity and prototypicality. These findings provide preliminary evidence that distributed ERP activity distinguishes AI-generated from real faces within individuals.| File | Dimensione | Formato | |
|---|---|---|---|
|
Rimoldi et al-2026-Appl. Sci.-VoR.pdf
accesso aperto
Tipologia di allegato:
Publisher’s Version (Version of Record, VoR)
Licenza:
Creative Commons
Dimensione
1.01 MB
Formato
Adobe PDF
|
1.01 MB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


