Affective EEG Decoding Generalizes Across Colormap and Exposure Time
Abstract
1. Introduction
- (a)
- Whether affective processing can be decoded from EEG activity, specifically focusing on the time intervals typically used for EPN and LPP.
- (b)
- Whether the training that allows for successful decoding transfers between the conditions of colormap (color to grayscale, and vice versa) and exposure time (short to long, and vice versa). Based on previous studies that investigated the effects of perceptual manipulations on electrocortical responses to affective pictures, it is expected that the earlier interval (150–300 ms, temporally corresponding to the EPN) will be more sensitive to perceptual manipulations.
2. Materials and Methods
2.1. Participants
2.2. Stimuli and Equipment
2.3. Experimental Procedure
2.4. EEG Recording and Pre-Processing
2.5. Multivariate Pattern Analysis
2.6. Statistical Testing
3. Results
3.1. Affective Condition Decoding
3.2. Generalizability of Affective Representations Across Perceptual Conditions
4. Discussion
Limitations and Future Directions
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| MVPA | Multivariate Pattern Analysis |
| ERPs | Event Related Potentials |
| EPN | Early Posterior Negativity |
| LPP | Late Positive Potential |
| EEG | Electroencephalography |
| fMRI | functional Magnetic Resonance Imaging |
| SSVEP | Steady State Visual Evoked Potentials |
| IAPS | International Affective Picture System |
| CRT | Cathode-Ray Tube |
| SAM | Self-Assessment Manikin |
| CMS | Common Mode Sense |
| DRL | Driven Right Leg |
| ADAM | Amsterdam Decoding And Modeling |
| M/EEG | Magneto/Electro-Encephalography |
| LDA | Linear Discriminant Analysis |
| CtoG | Color to Grayscale |
| GtoC | Grayscale to Color |
| LtoS | Long to Short |
| StoL | Short to Long |
| AUC | Area Under The Curve |
| BCI | Brain–Computer Interface |
| NHST | Null Hypothesis Significance Testing |
| SVM | Support Vector Machine |
| KNN | K-Nearest Neighbors |
| RF | Random Forest |
| NB | Native Bayes |
| CNN | Convolutional Neural Networks |
Appendix A. Analysis Procedure to Guard Against Type I Error

Appendix B. Temporal Generalization Matrices

References
- Bo, K.; Yin, S.; Liu, Y.; Hu, Z.; Meyyappan, S.; Kim, S.; Keil, A.; Ding, M. Decoding Neural Representations of Affective Scenes in Retinotopic Visual Cortex. Cereb. Cortex 2021, 31, 3047–3063. [Google Scholar] [CrossRef] [PubMed]
- Bo, K.; Cui, L.; Yin, S.; Hu, Z.; Hong, X.; Kim, S.; Keil, A.; Ding, M. Decoding the Temporal Dynamics of Affective Scene Processing. NeuroImage 2022, 261, 119532. [Google Scholar] [CrossRef] [PubMed]
- Bradley, M.M.; Lang, P.J. Emotion and Motivation. In Handbook of Psychophysiology; Cacioppo, J.T., Tassinary, L.G., Berntson, G., Eds.; Cambridge University Press: Cambridge, UK, 2007; pp. 581–607. [Google Scholar]
- Arnold, M.B. Feelings and Emotions; Academia Press: New York, NY, USA, 1970. [Google Scholar]
- Lang, P.J. Image as Action: A Reply to Watts and Blackstock. Cogn. Emot. 1987, 1, 407–426. [Google Scholar] [CrossRef]
- Frijda, N.H. The Emotions; Studies in emotion and social interaction; Cambridge University Press: Cambridge, UK; London, UK; New York, NY, USA; Paris, France, 1986. [Google Scholar]
- Chen, J.; Cui, Y.; Wei, C.; Polat, K.; Alenezi, F. Advances in EEG-Based Emotion Recognition: Challenges, Methodologies, and Future Directions. Appl. Soft Comput. 2025, 180, 113478. [Google Scholar] [CrossRef]
- Zheng, W.-L.; Lu, B.-L. Investigating Critical Frequency Bands and Channels for EEG-Based Emotion Recognition with Deep Neural Networks. IEEE Trans. Auton. Ment. Dev. 2015, 7, 162–175. [Google Scholar] [CrossRef]
- Koelstra, S.; Muhl, C.; Soleymani, M.; Lee, J.-S.; Yazdani, A.; Ebrahimi, T.; Pun, T.; Nijholt, A.; Patras, I. DEAP: A Database for Emotion Analysis; Using Physiological Signals. IEEE Trans. Affect. Comput. 2012, 3, 18–31. [Google Scholar] [CrossRef]
- Katsigiannis, S.; Ramzan, N. DREAMER: A Database for Emotion Recognition Through EEG and ECG Signals From Wireless Low-Cost Off-the-Shelf Devices. IEEE J. Biomed. Health Inform. 2018, 22, 98–107. [Google Scholar] [CrossRef]
- Jafari, M.; Shoeibi, A.; Khodatars, M.; Bagherzadeh, S.; Shalbaf, A.; García, D.L.; Gorriz, J.M.; Acharya, U.R. Emotion Recognition in EEG Signals Using Deep Learning Methods: A Review. Comput. Biol. Med. 2023, 165, 107450. [Google Scholar] [CrossRef]
- Shen, F.; Dai, G.; Lin, G.; Zhang, J.; Kong, W.; Zeng, H. EEG-Based Emotion Recognition Using 4D Convolutional Recurrent Neural Network. Cogn. Neurodyn. 2020, 14, 815–828. [Google Scholar] [CrossRef]
- Xiao, G.; Shi, M.; Ye, M.; Xu, B.; Chen, Z.; Ren, Q. 4D Attention-Based Neural Network for EEG Emotion Recognition. Cogn. Neurodyn. 2022, 16, 805–818. [Google Scholar] [CrossRef]
- Ju, X.; Li, M.; Tian, W.; Hu, D. EEG-Based Emotion Recognition Using a Temporal-Difference Minimizing Neural Network. Cogn. Neurodyn. 2024, 18, 405–416. [Google Scholar] [CrossRef]
- Ju, X.; Wu, X.; Dai, S.; Li, M.; Hu, D. Domain Adversarial Learning with Multiple Adversarial Tasks for EEG Emotion Recognition. Expert Syst. Appl. 2025, 266, 126028. [Google Scholar] [CrossRef]
- Dai, S.; Li, M.; Wu, X.; Ju, X.; Li, X.; Yang, J.; Hu, D. Contrastive Learning of EEG Representation of Brain Area for Emotion Recognition. IEEE Trans. Instrum. Meas. 2025, 74, 2506913. [Google Scholar] [CrossRef]
- Chen, J.; Fan, F.; Wei, C.; Polat, K.; Alenezi, F. Decoding Driving States Based on Normalized Mutual Information Features and Hyperparameter Self-Optimized Gaussian Kernel-Based Radial Basis Function Extreme Learning Machine. Chaos Solitons Fractals 2025, 199, 116751. [Google Scholar] [CrossRef]
- Chen, J.; Cui, Y.; Wei, C.; Polat, K.; Alenezi, F. Driver Fatigue Detection Using EEG-Based Graph Attention Convolutional Neural Networks: An End-to-End Learning Approach with Mutual Information-Driven Connectivity. Appl. Soft Comput. 2026, 186, 114097. [Google Scholar] [CrossRef]
- Herrmann, C.S.; Grigutsch, M.; Busch, N.A. EEG Oscillations and Wavelet Analysis. In Event-Related Potentials: A Methods Handbook; Handy, T.C., Ed.; A Bradford book; MIT Press: Cambridge, MA, USA, 2005; pp. 229–259. [Google Scholar]
- Junghöfer, M.; Bradley, M.M.; Elbert, T.R.; Lang, P.J. Fleeting Images: A New Look at Early Emotion Discrimination. Psychophysiology 2001, 38, 175–178. [Google Scholar] [CrossRef]
- Schupp, H.T.; Junghöfer, M.; Weike, A.I.; Hamm, A.O. Attention and Emotion: An ERP Analysis of Facilitated Emotional Stimulus Processing. NeuroReport 2003, 14, 1107–1110. [Google Scholar] [CrossRef]
- Schupp, H.T.; Markus, J.; Weike, A.I.; Hamm, A.O. Emotional Facilitation of Sensory Processing in the Visual Cortex. Psychol. Sci. 2003, 14, 7–13. [Google Scholar] [CrossRef]
- Codispoti, M.; Ferrari, V.; De Cesarei, A.; Cardinale, R. Implicit and Explicit Categorization of Natural Scenes. In Progress in Brain Research; Elsevier: Amsterdam, The Netherlands, 2006; Volume 156, pp. 53–65. [Google Scholar]
- Cuthbert, B.N.; Schupp, H.T.; Bradley, M.M.; Birbaumer, N.; Lang, P.J. Brain Potentials in Affective Picture Processing: Covariation with Autonomic Arousal and Affective Report. Biol. Psychol. 2000, 52, 95–111. [Google Scholar] [CrossRef]
- Johnston, V.S.; Miller, D.R.; Burleson, M.H. Multiple P3s to Emotional Stimuli and Their Theoretical Significance. Psychophysiology 1986, 23, 684–694. [Google Scholar] [CrossRef]
- Keil, A.; Bradley, M.M.; Hauk, O.; Rockstroh, B.; Elbert, T.; Lang, P.J. Large-scale Neural Correlates of Affective Picture Processing. Psychophysiology 2002, 39, 641–649. [Google Scholar] [CrossRef] [PubMed]
- Radilová, J. The Late Positive Component of Visual Evoked Response Sensitive to Emotional Factors. Act. Nerv. Super. 1982, 3, 334–337. [Google Scholar]
- Bradley, M.M.; Hamby, S.; Löw, A.; Lang, P.J. Brain Potentials in Perception: Picture Complexity and Emotional Arousal. Psychophysiology 2007, 44, 364–373. [Google Scholar] [CrossRef] [PubMed]
- De Cesarei, A.; Codispoti, M. When Does Size Not Matter? Effects of Stimulus Size on Affective Modulation. Psychophysiology 2006, 43, 207–215. [Google Scholar] [CrossRef]
- Codispoti, M.; Ferrari, V.; Bradley, M.M. Repetition and Event-Related Potentials: Distinguishing Early and Late Processes in Affective Picture Perception. J. Cogn. Neurosci. 2007, 19, 577–586. [Google Scholar] [CrossRef]
- Ferrari, V.; Bradley, M.M.; Codispoti, M.; Lang, P.J. Repetitive Exposure: Brain and Reflex Measures of Emotion and Attention. Psychophysiology 2011, 48, 515–522. [Google Scholar] [CrossRef]
- Ferrari, V.; Codispoti, M.; Bradley, M.M. Repetition and ERPs during Emotional Scene Processing: A Selective Review. Int. J. Psychophysiol. 2017, 111, 170–177. [Google Scholar] [CrossRef]
- Bae, G.-Y.; Luck, S.J. Dissociable Decoding of Spatial Attention and Working Memory from EEG Oscillations and Sustained Potentials. J. Neurosci. 2018, 38, 409–422. [Google Scholar] [CrossRef]
- Bae, G.-Y.; Luck, S.J. Decoding Motion Direction Using the Topography of Sustained ERPs and Alpha Oscillations. NeuroImage 2019, 184, 242–255. [Google Scholar] [CrossRef]
- Grootswagers, T.; Wardle, S.G.; Carlson, T.A. Decoding Dynamic Brain Patterns from Evoked Responses: A Tutorial on Multivariate Pattern Analysis Applied to Time Series Neuroimaging Data. J. Cogn. Neurosci. 2017, 29, 677–697. [Google Scholar] [CrossRef]
- Yarkoni, T.; Westfall, J. Choosing Prediction Over Explanation in Psychology: Lessons From Machine Learning. Perspect. Psychol. Sci. 2017, 12, 1100–1122. [Google Scholar] [CrossRef] [PubMed]
- Fahrenfort, J.J.; Van Driel, J.; Van Gaal, S.; Olivers, C.N.L. From ERPs to MVPA Using the Amsterdam Decoding and Modeling Toolbox (ADAM). Front. Neurosci. 2018, 12, 368. [Google Scholar] [CrossRef] [PubMed]
- Norman, K.A.; Polyn, S.M.; Detre, G.J.; Haxby, J.V. Beyond Mind-Reading: Multi-Voxel Pattern Analysis of fMRI Data. Trends Cogn. Sci. 2006, 10, 424–430. [Google Scholar] [CrossRef] [PubMed]
- Dirani, J.; Pylkkänen, L. The Time Course of Cross-Modal Representations of Conceptual Categories. NeuroImage 2023, 277, 120254. [Google Scholar] [CrossRef]
- Qiu, Z.; Li, X.; Pegna, A.J. Decoding Neural Patterns for the Processing of Fearful Faces under Different Visual Awareness Conditions: A Multivariate Pattern Analysis. Psychophysiology 2023, 60, e14368. [Google Scholar] [CrossRef]
- Nie, L.; Ku, Y. Decoding Emotion from High-Frequency Steady State Visual Evoked Potential (SSVEP). J. Neurosci. Methods 2023, 395, 109919. [Google Scholar] [CrossRef]
- Codispoti, M.; De Cesarei, A.; Ferrari, V. The Influence of Color on Emotional Perception of Natural Scenes. Psychophysiology 2012, 49, 11–16. [Google Scholar] [CrossRef]
- Faul, F.; Erdfelder, E.; Lang, A.-G.; Buchner, A. G*Power 3: A Flexible Statistical Power Analysis Program for the Social, Behavioral, and Biomedical Sciences. Behav. Res. Methods 2007, 39, 175–191. [Google Scholar] [CrossRef]
- Cohen, J. Statistical Power Analysis for the Behavioral Sciences, 2nd ed.; Lawrence Erlbaum Associates: Hillsdale, NJ, USA, 1988. [Google Scholar]
- Bradley, M.M.; Lang, P.J. International Affective Picture System. In Encyclopedia of Personality and Individual Differences; Zeigler-Hill, V., Shackelford, T.K., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 1–4. [Google Scholar]
- Schneider, W.; Eschman, A.; Zuccolotto, A. E-Prime Reference Guide; Psychology Software Tools, Inc.: Pittsburgh, PA, USA, 2012. [Google Scholar]
- Loftus, G.R.; Duncan, J.; Gehrig, P. On the Time Course of Perceptual Information That Results from a Brief Visual Presentation. J. Exp. Psychol. Hum. Percept. Perform. 1992, 18, 530–549. [Google Scholar] [CrossRef]
- Lang, P.J. Behavioral Treatment and Bio-Behavioral Assessment: Computer Applications. In Technology in Mental Health Care Delivery Systems; Sidowski, J.B., Johnson, J.H., Williams, T.A., Eds.; Ablex Pub. Corp.: Norwood, NJ, USA, 1980; pp. 119–137. [Google Scholar]
- Carlson, T.A.; Grootswagers, T.; Robinson, A.K. An Introduction to Time-Resolved Decoding Analysis for M/EEG. arXiv 2019. [Google Scholar] [CrossRef]
- Li, Z.; Wang, J.; Chen, Y.; Li, Q.; Yin, S.; Chen, A. Attenuated Conflict Self-Referential Information Facilitating Conflict Resolution. npj Sci. Learn. 2024, 9, 47. [Google Scholar] [CrossRef] [PubMed]
- Vilidaite, G.; Marsh, E.; Baker, D.H. Internal Noise in Contrast Discrimination Propagates Forwards from Early Visual Cortex. NeuroImage 2019, 191, 503–517. [Google Scholar] [CrossRef] [PubMed]
- Van Driel, J.; Olivers, C.N.L.; Fahrenfort, J.J. High-Pass Filtering Artifacts in Multivariate Classification of Neural Time Series Data. J. Neurosci. Methods 2021, 352, 109080. [Google Scholar] [CrossRef] [PubMed]
- VanRullen, R.; Busch, N.A.; Drewes, J.; Dubois, J. Ongoing EEG Phase as a Trial-by-Trial Predictor of Perceptual and Attentional Variability. Front. Psychol. 2011, 2, 60. [Google Scholar] [CrossRef]
- Haufe, S.; Meinecke, F.; Görgen, K.; Dähne, S.; Haynes, J.-D.; Blankertz, B.; Bießmann, F. On the Interpretation of Weight Vectors of Linear Models in Multivariate Neuroimaging. NeuroImage 2014, 87, 96–110. [Google Scholar] [CrossRef]
- Bradley, A.P. The Use of the Area under the ROC Curve in the Evaluation of Machine Learning Algorithms. Pattern Recognit. 1997, 30, 1145–1159. [Google Scholar] [CrossRef]
- Maris, E.; Oostenveld, R. Nonparametric Statistical Testing of EEG- and MEG-Data. J. Neurosci. Methods 2007, 164, 177–190. [Google Scholar] [CrossRef]
- Schupp, H.; Cuthbert, B.; Bradley, M.; Hillman, C.; Hamm, A.; Lang, P. Brain Processes in Emotional Perception: Motivated Attention. Cogn. Emot. 2004, 18, 593–611. [Google Scholar] [CrossRef]
- Hajcak, G.; Dunning, J.P.; Foti, D. Neural Response to Emotional Pictures Is Unaffected by Concurrent Task Difficulty: An Event-Related Potential Study. Behav. Neurosci. 2007, 121, 1156–1162. [Google Scholar] [CrossRef]
- Wangelin, B.C.; Löw, A.; McTeague, L.M.; Bradley, M.M.; Lang, P.J. Aversive Picture Processing: Effects of a Concurrent Task on Sustained Defensive System Engagement. Psychophysiology 2011, 48, 112–116. [Google Scholar] [CrossRef]
- Codispoti, M.; De Cesarei, A.; Ferrari, V. Alpha-band Oscillations and Emotion: A Review of Studies on Picture Perception. Psychophysiology 2023, 60, e14438. [Google Scholar] [CrossRef]
- Open Science Collaboration. Estimating the Reproducibility of Psychological Science. Science 2015, 349, aac4716. [Google Scholar] [CrossRef] [PubMed]
- Schupp, H.T.; Flösch, K.-P.; Flaisch, T. A Case-by-Case Analysis of EPN and LPP Components within a “One-Picture-per-Emotion-Category” Protocol. Psychophysiology 2025, 62, e14718. [Google Scholar] [CrossRef] [PubMed]
- Schupp, H.T.; Kirmse, U.M. Case-by-case: Emotional Stimulus Significance and the Modulation of the EPN and LPP. Psychophysiology 2021, 58, e13766. [Google Scholar] [CrossRef] [PubMed]
- Loftus, G.R. Null Hypothesis. In Encyclopedia of Research Design; SAGE Publications, Inc.: Thousand Oaks, CA, USA, 2010. [Google Scholar]
- Lang, P.J.; Greenwald, M.K.; Bradley, M.M.; Hamm, A.O. Looking at Pictures: Affective, Facial, Visceral, and Behavioral Reactions. Psychophysiology 1993, 30, 261–273. [Google Scholar] [CrossRef]
- Codispoti, M.; Micucci, A.; De Cesarei, A. Time Will Tell: Object Categorization and Emotional Engagement during Processing of Degraded Natural Scenes. Psychophysiology 2021, 58, e13704. [Google Scholar] [CrossRef]
- De Cesarei, A.; Codispoti, M. Scene Identification and Emotional Response: Which Spatial Frequencies Are Critical? J. Neurosci. 2011, 31, 17052–17057. [Google Scholar] [CrossRef]
- Cano, M.E.; Class, Q.A.; Polich, J. Affective Valence, Stimulus Attributes, and P300: Color vs. Black/White and Normal vs. Scrambled Images. Int. J. Psychophysiol. 2009, 71, 17–24. [Google Scholar] [CrossRef]
- Bekhtereva, V.; Müller, M.M. Bringing Color to Emotion: The Influence of Color on Attentional Bias to Briefly Presented Emotional Images. Cogn. Affect. Behav. Neurosci. 2017, 17, 1028–1047. [Google Scholar] [CrossRef]
- Kuniecki, M.; Pilarczyk, J.; Wichary, S. The Color Red Attracts Attention in an Emotional Context. An ERP Study. Front. Hum. Neurosci. 2015, 9, 212. [Google Scholar] [CrossRef]
- De Cesarei, A.; Loftus, G.R.; Mastria, S.; Codispoti, M. Understanding Natural Scenes: Contributions of Image Statistics. Neurosci. Biobehav. Rev. 2017, 74, 44–57. [Google Scholar] [CrossRef]
- De Cesarei, A.; Codispoti, M. Spatial Frequencies and Emotional Perception. Rev. Neurosci. 2013, 24, 89–104. [Google Scholar] [CrossRef] [PubMed]
- Mastria, S.; Codispoti, M.; Tronelli, V.; De Cesarei, A. Subjective Affective Responses to Natural Scenes Require Understanding, Not Spatial Frequency Bands. Vision 2024, 8, 36. [Google Scholar] [CrossRef] [PubMed]
- Reisenzein, R.; Franikowski, P. On the Latency of Object Recognition and Affect: Evidence from Temporal Order and Simultaneity Judgments. J. Exp. Psychol. Gen. 2022, 151, 3060–3081. [Google Scholar] [CrossRef]
- Storbeck, J.; Robinson, M.D.; McCourt, M.E. Semantic Processing Precedes Affect Retrieval: The Neurological Case for Cognitive Primacy in Visual Processing. Rev. Gen. Psychol. 2006, 10, 41–55. [Google Scholar] [CrossRef]
- Baumeister, R.F.; Bratslavsky, E.; Finkenauer, C.; Vohs, K.D. Bad Is Stronger than Good. Rev. Gen. Psychol. 2001, 5, 323–370. [Google Scholar] [CrossRef]
- Poncet, E.; Nicolas, G.; Guyader, N.; Moro, E.; Campagne, A. Spatio-Temporal Attention toward Emotional Scenes across Adulthood. Emotion 2023, 23, 1726–1739. [Google Scholar] [CrossRef]
- Ritchie, J.B.; Kaplan, D.M.; Klein, C. Decoding the Brain: Neural Representation and the Limits of Multivariate Pattern Analysis in Cognitive Neuroscience. Br. J. Philos. Sci. 2019, 70, 581–607. [Google Scholar] [CrossRef]
- Marruthachalam, R.; Amudha, P.; Sivakumari, S. The Science of Emotion: Decoding and Analysis of Human Emotional Landscape. In Affective Computing for Social Good; Garg, M., Prasad, R.S., Eds.; The Springer Series in Applied Machine Learning; Springer Nature: Cham, Switzerland, 2024; pp. 1–20. [Google Scholar]
- King, J.-R.; Dehaene, S. Characterizing the Dynamics of Mental Representations: The Temporal Generalization Method. Trends Cogn. Sci. 2014, 18, 203–210. [Google Scholar] [CrossRef]




Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
De Cesarei, A.; Belluzzi, A.; Ferrari, V.; Codispoti, M. Affective EEG Decoding Generalizes Across Colormap and Exposure Time. Appl. Sci. 2026, 16, 1779. https://doi.org/10.3390/app16041779
De Cesarei A, Belluzzi A, Ferrari V, Codispoti M. Affective EEG Decoding Generalizes Across Colormap and Exposure Time. Applied Sciences. 2026; 16(4):1779. https://doi.org/10.3390/app16041779
Chicago/Turabian StyleDe Cesarei, Andrea, Andrea Belluzzi, Vera Ferrari, and Maurizio Codispoti. 2026. "Affective EEG Decoding Generalizes Across Colormap and Exposure Time" Applied Sciences 16, no. 4: 1779. https://doi.org/10.3390/app16041779
APA StyleDe Cesarei, A., Belluzzi, A., Ferrari, V., & Codispoti, M. (2026). Affective EEG Decoding Generalizes Across Colormap and Exposure Time. Applied Sciences, 16(4), 1779. https://doi.org/10.3390/app16041779

