arXiv:2610.33713cs.CVOct 2026

Manuscript Offprint

arXiv:2610.33713

Traffic-Context-Aware Driver Emotion Recognition with Expectation-Deviation-Driven Inference

Longhao Yan, Jinhao Liang, Kaidi Yang

Longhao Yan, Jinhao Liang, Kaidi Yang

Abstract—Driver emotion provides an important indication of how drivers perceive and evaluate ongoing traffic situations, making reliable emotion recognition an important capability for effective human-vehicle interaction. Yet, most existing driver emotion recognition approaches rely primarily on in-cabin images and overlook how surrounding traffic interactions shape driver emotional responses. To address this limitation, we propose a traffic-context-aware driver emotion recognition (TADER) framework that integrates in-cabin signals with out-of-cabin traffic scenarios, modeling driver emotions as arising from expectation deviation represented by the discrepancy between predicted and observed vehicle trajectories. The proposed framework comprises two key components: (1) a vision-based base recognizer that extracts spatiotemporal representations from in-cabin facial images to infer driver emotions, and (2) a traffic-context-aware fusion module that quantifies expectation deviation from external traffic scenarios and integrates it into the base recognizer via attention-based embedding fusion. To overcome the scarcity of paired in-cabin and out-of-cabin data, we introduce a transfer learning strategy that transfers a trajectory prediction model trained on large-scale naturalistic datasets to smaller paired datasets. Extensive experiments demonstrate that TADER consistently outperforms state-of-the-art methods across both naturalistic and simulated driving environments by incorporating traffic context information into emotion recognition, resulting in improvements of 5% in accuracy on the AIDE and manD datasets.

Index Terms—Driver Emotion Recognition, Multi-Modal Fusion, Human-Centered Automated Driving, Expectation-Deviation-Driven Inference

I. INTRODUCTION

UNDERSTANDING driver states is essential for effective human-vehicle interaction in automated driving systems in which human drivers or safety operators remain involved in vehicle control, supervision, or takeover [1]-[5]. Among various driver states, emotion provides important information about how individuals perceive and evaluate the driving situation and the automated system, as well as their readiness to respond. Emotion recognition is especially critical in automated driving systems under shared control, where operational authority and responsibility are dynamically distributed between the driver and the vehicle. Recognizing driver emotion can help automated driving systems infer the driver's psychological state, perception of surrounding risks, and potential response intentions. Such information enables the system to anticipate driver needs and adapt its assistance strategy accordingly, thereby supporting safer and more human-centered interaction.

Most existing approaches formulate driver emotion recognition as a pattern recognition problem based on in-cabin signals such as facial expression, body posture, hand gestures, and speech [6]–[18]. Early research focuses almost exclusively on facial information. For example, Ref [6] proposes a high-purity feature separation framework for robust driver emotion recognition in scenarios with heterogeneous drivers and illumination conditions. Ref [7] proposes a cross-dataset driver emotion recognition method that exploits global discriminative information and local structural knowledge to address the distribution mismatch between offline training data and real-time on-road driving scenarios. However, these methods rely solely on facial expression analysis, which is highly sensitive to occlusion, lighting variation, and individual differences, thereby leading to frequent misclassifications. Subsequent studies extend facial analysis by incorporating additional in-cabin signals. Ref [8] utilizes a Convolution Bidirectional Long Short-term Memory Neural Network to predict the driver's emotion based on geometric features extracted from facial skin information and heart rate changes in RGB components. Ref [9] proposes a biographical-feature-augmented driver emotion detection method to recognize driver emotion based on facial expression and personal characteristics, including age, gender, and driving experience. Despite these advances, existing approaches tend to model correlations between emotion and in-cabin signals, while overlooking the complementary traffic context evidence contained in dynamic interactions among vehicles.

In driving scenarios, driver emotion is fundamentally shaped by the external traffic environment, as emotions emerge from continuous interactions with surrounding vehicles. To the best of our knowledge, only Ref. [19] incorporates external traffic information beyond the vehicle cabin, which develops a multimodal fusion framework based on static features from the driver's eyes, the vehicle, and the surrounding environment. However, this work considers only the distance to the preceding vehicle and does not explicitly model the dynamic and time-evolving interactions between the ego vehicle and surrounding traffic, thereby limiting its ability to capture the traffic context in which driver emotions occur.

Existing cognitive studies have shown that emotional responses are closely associated with expectations about how situations will evolve [20]–[22]. Specifically, emotional responses can be triggered when observed outcomes deviate from these expectations. In driving scenarios, such expecta-

The authors are with the Department of Civil and Environmental Engineering, National University of Singapore, Singapore 117576. Email: longhao.yan@u.nus.edu, jh.liang0523@gmail.com, kaidi.yang@nus.edu.sg. Corresponding author: Kaidi Yang.

This research was supported by the Singapore Ministry of Education (MOE) under its AcRF Tier 1 Grant (A-8000404-01-00).

tion deviations can be represented by discrepancies between predicted and observed vehicle trajectories. However, existing driver emotion recognition methods rarely exploit such insights.

Statement of Contribution. To address these research gaps, this paper introduces a traffic-context-aware driver emotion recognition framework, termed Traffic-Context-Aware Driver Emotion Recognition (TADER). The proposed framework integrates in-cabin driver signals with out-of-cabin observations of surrounding traffic and characterizes traffic context through expectation deviations between predicted and observed vehicle trajectories. Our contribution is threefold. First, TADER is among the first attempts to explicitly incorporate dynamic traffic context information into driver emotion recognition, with a particular focus on expectation deviations in multi-vehicle interactions. Second, we characterize such expectation deviations using a vehicle trajectory predictor and integrate the resulting traffic context representation with in-cabin visual information through an attention-based embedding fusion mechanism for driver emotion recognition. Third, to address the scarcity of datasets that jointly align in-cabin visual data with external vehicle trajectories, we leverage transfer learning from trajectory prediction models trained on large-scale public driving datasets to improve generalization under limited paired data.

The remainder of this paper is organized as follows. Section II describes the problem formulation. Section III describes the details of our TADER method. Section IV provides extensive experimental comparison and evaluation. Section V concludes the paper and presents future work.

References (31)