# Emotional valence through pupil: Machine learning classification under controlled visual complexity and emotional arousal in young adults

**Authors:** Jung Joo Lee, Eun Seo Park, Hwa Jin Han, Young Il Cho

PMC · DOI: 10.14814/phy2.70793 · Physiological Reports · 2026-03-03

## TL;DR

The study shows that pupil responses can reliably detect positive or negative emotions when visual and emotional factors are carefully controlled.

## Contribution

The study introduces a method to classify emotional valence using pupillometry with controlled visual complexity and arousal levels.

## Key findings

- Pupil classification accuracy improved to 79% under controlled arousal and spatial frequency conditions.
- Key predictors included the area under the pupil dilation curve.
- Controlling perceptual and emotional factors is crucial for reliable pupillometry-based emotion detection.

## Abstract

Pupillometry has long been proposed as a noninvasive physiological measure for emotional valence. However, its empirical effectiveness remains inconclusive due to confounding visual and emotional factors. This study examined whether pupil response patterns alone can reliably distinguish between positive and negative emotional stimuli while explicitly controlling for visual complexity (spatial frequency; SF) and emotional arousal at three standardized levels. Fifty images (25 positive and 25 negative) were presented, and pupil responses were recorded. Dynamic time warping‐based clustering captured temporal variations and similarities in pupil size responses across visual conditions. Initial classification without controlling SF and arousal yielded near‐chance accuracy (~57%) despite luminance control. However, performance improved substantially when stimuli were segmented by specific arousal–SF combinations. Under a representative low arousal, high spatial‐frequency condition (SF level 4), the best‐performing configuration (logistic regression) achieved a mean classification accuracy of approximately 79% and an AUC of 0.88, with consistently high precision, recall, and specificity across cross‐validation folds. Feature importance analyses highlighted critical pupillary parameters, including the area under the pupil dilation curve, as key predictors. These results suggest that pupillary responses can reliably indicate emotional valence under rigorously controlled visual conditions, emphasizing control of perceptual and emotional factors in pupillometry‐based emotion research.

## Full-text entities

- **Genes:** SHROOM4 (shroom family member 4) [NCBI Gene 57477] {aka MRXSSDS, SHAP, shrm4}
- **Diseases:** pupil (MESH:D011681), neurological or psychiatric disorders (MESH:D001523), pupil constriction (MESH:D015877), dilation (MESH:D002311)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12956838/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12956838/full.md

## References

37 references — full list in the complete paper: https://tomesphere.com/paper/PMC12956838/full.md

---
Source: https://tomesphere.com/paper/PMC12956838