Two in One Go: Single-stage Emotion Recognition with Decoupled Subject-context Transformer
Emotion recognition aims to discern the emotional state of subjects within an image, relying on subject-centric and contextual visual cues. Current approaches typically follow a two-stage pipeline: first localize subjects by off-the-shelf detectors, then perform emotion classification through the late fusion of subject and context features. However, the complicated paradigm suffers from disjoint training stages and limited fine-grained interaction between subject-context elements. To address the challenge, we present a single-stage emotion recognition approach, employing a Decoupled Subject-Context Transformer (DSCT), for simultaneous subject localization and emotion classification. Rather than compartmentalizing training stages, we jointly leverage box and emotion signals as supervision to enrich subject-centric feature learning. Furthermore, we introduce DSCT to facilitate interactions between fine-grained subject-context cues in a ''decouple-then-fuse'' manner. The decoupled query tokens-subject queries and context queries-gradually intertwine across layers within DSCT, during which spatial and semantic relations are exploited and aggregated. We evaluate our single-stage framework on two widely used context-aware emotion recognition datasets, CAER-S and EMOTIC. Our approach surpasses two-stage alternatives with fewer parameter numbers, achieving a 3.39% accuracy improvement and a 6.46% average precision gain on CAER-S and EMOTIC datasets, respectively. Code and models are available at: https://github.com/Sampson-Lee/DSCT.
Authors
- Xiaojiang Peng (ORCID: https://orcid.org/0000-0002-5783-321X)
- Teng Wang (ORCID: https://orcid.org/0000-0003-2331-3619)
- Xinpeng Li (ORCID: https://orcid.org/0000-0003-4703-7778)
- Feng Zheng (ORCID: https://orcid.org/0000-0002-1701-9141)
- Jian Zhao
- Xuelong Li (ORCID: https://orcid.org/0000-0002-0019-4197)
- Jinbao Wang (ORCID: https://orcid.org/0000-0001-5916-8965)
- Shuyi Mao (ORCID: https://orcid.org/0009-0000-4338-687X)
Institutions
- Northwestern Polytechnical University (CN)
- Shenzhen University (CN)
- Southern University of Science and Technology (CN)
- China Telecom (China) (CN)
- Shenzhen Technology University (CN)
- University of Hong Kong (HK)
Publication Details
- Published
- 2024-10-26
- DOI
- https://doi.org/10.1145/3664647.3680623
- Primary Topic
- Emotion and Mood Recognition
- Type
- article
- Field-Weighted Citation Impact
- 0.00