Time-Resolved Decoding of Perspective and Subjective Pain in EEG
Author
Izabela Chałatkiewicz
SWPS University
Yan Lypovetskyi
SWPS University
Project Description
Empathy for pain involves both the initial perception of another person’s suffering and subsequent evaluative processes that shape how that pain is interpreted and experienced. These processes do not operate in isolation but can vary depending on whether individuals imagine themselves in the situation (Self perspective) or focus on the other person’s experience (Other perspective). Traditional EEG-ERP analyses focus on amplitude differences within predefined time windows and electrodes, which may overlook condition-related information distributed across the scalp. The present project applies time-resolved multivariate pattern analysis (MVPA) to examine whether distributed EEG activity encodes stimulus category, instructed perspective, and subjective pain experience.
We will analyze an existing EEG dataset collected using an empathy-for-pain task. Participants viewed painful and non-painful images while adopting either a Self or Other perspective and provided trial-level ratings of painfulness and unpleasantness. EEG was recorded continuously from a 21-channel scalp system during task performance. Analyses will be conducted at the single-trial level using scalp voltage patterns across electrodes at each time point.
We expect distributed EEG patterns to differentiate between painful and non-painful stimuli. We will also test whether neural pattern discriminability varies as a function of instructed perspective. In addition, time-resolved multivariate regression will assess whether distributed EEG activity predicts trial-level subjective ratings. This approach allows to evaluate brain–behavior coupling by determining whether variability in subjective experience is reflected in multivariate neural patterns. Individual differences in trait empathy (IRI) will be examined in relation to neural discriminability and prediction strength. Analyses will be implemented in Python using MNE-Python and scikit-learn.
This project provides a temporally resolved perspective on how empathy-related processes are encoded in distributed neural activity. Using multivariate modeling, we examine how perspective-taking and pain evaluation relate to patterns of neural activity over time.
Project requirements
- Basic familiarity with Python is required
- Prior experience with EEG, signal processing, or machine learning is helpful but not mandatory.
- Comfortable working in English (project discussions, documentation, and code comments will be in English
Programming languages used in this project
Python
Who are we looking for?
Psychology, biology, neuroscience, cognitive science
What can you gain from participating?
Hands-on experience with multivariate EEG analysis
How to run basic machine learning classifiers on EEG data
Introduction to time-resolved decoding methods
How to evaluate model performance using cross-validation
Practical coding skills in Python (MNE-Python, scikit-learn)
Experience working with single-trial EEG data
Key resources
- Grootswagers, T., Wardle, S. G., & Carlson, T. A. (2017). Decoding dynamic brain patterns from evoked responses: A tutorial on multivariate pattern analysis applied to time-series neuroimaging data. Journal of Cognitive Neuroscience, 29(4), 677–697. https://doi.org/10.1162/jocn_a_01068
- Lulla, R., Christov-Moore, L., Vaccaro, A., Reggente, N., Iacoboni, M., & Kaplan, J. T. (2024). Empathy from dissimilarity: Multivariate pattern analysis of neural activity during observation of somatosensory experience. Imaging Neuroscience, 2, 1–12. https://doi.org/10.1162/imag_a_00110
- Vaccaro, A. G., Heydari, P., Christov-Moore, L., Damasio, A., & Kaplan, J. T. (2022). Perspective-taking is associated with increased discriminability of affective states in ventromedial prefrontal cortex. Social Cognitive and Affective Neuroscience, 17(12), 1082–1090. https://doi.org/10.1093/scan/nsac035
- Gramfort, A., Luessi, M., Larson, E., Engemann, D. A., Strohmeier, D., Brodbeck, C., Goj, R., Jas, M., Brooks, T., Parkkonen, L., & Hämäläinen, M. S. (2013). MEG and EEG data analysis with MNE-Python. Frontiers in Neuroscience, 7, 267. https://doi.org/10.3389/fnins.2013.00267 – MNE Developers. (n.d.). Decoding (MVPA) tutorial. MNE-Python documentation. https://mne.tools/stable/auto_tutorials/machine-learning/50_decoding.html
