=Paper=
{{Paper
|id=Vol-2614/session1_paper1
|storemode=property
|title=Context-Dependent Models for Predicting and Characterizing Facial Expressiveness
|pdfUrl=https://ceur-ws.org/Vol-2614/AffCon20_session1_context.pdf
|volume=Vol-2614
|authors=Victoria Lin,Jeffrey Girard, Louis-Philippe Morency
|dblpUrl=https://dblp.org/rec/conf/aaai/0001GM20
}}
==Context-Dependent Models for Predicting and Characterizing Facial Expressiveness==
Context-Dependent Models for Predicting and Characterizing Facial Expressiveness Victoria Lin1 , Jeffrey M. Girard1 , and Louis-Philippe Morency1 Carnegie Mellon University, Pittsburgh, PA 15213 {vlin2,jgirard2}@andrew.cmu.edu, morency@cs.cmu.edu Abstract. In recent years, extensive research has emerged in affective computing on topics like automatic emotion recognition and determin- ing the signals that characterize individual emotions. Much less stud- ied, however, is expressiveness—the extent to which someone shows any feeling or emotion. Expressiveness is related to personality and men- tal health and plays a crucial role in social interaction. As such, the ability to automatically detect or predict expressiveness can facilitate significant advancements in areas ranging from psychiatric care to ar- tificial social intelligence. Motivated by these potential applications, we present an extension of the BP4D+ dataset [27] with human ratings of expressiveness and develop methods for (1) automatically predicting expressiveness from visual data and (2) defining relationships between interpretable visual signals and expressiveness. In addition, we study the emotional context in which expressiveness occurs and hypothesize that different sets of signals are indicative of expressiveness in different con- texts (e.g., in response to surprise or in response to pain). Analysis of our statistical models confirms our hypothesis. Consequently, by looking at expressiveness separately in distinct emotional contexts, our predictive models show significant improvements over baselines and achieve com- parable results to human performance in terms of correlation with the ground truth. Keywords: expressiveness · emotion · facial expression · affective com- puting · machine learning · computer vision · statistical models 1 Introduction Although humans constantly experience internal reactions to the stimuli around them, they do not always externally display or communicate those reactions. We refer to the degree to which a person does show his or her thoughts, feelings, or responses at a given point in time as expressiveness. That is, a person be- ing highly expressive at a given moment can be said to be passionate or even dramatic, whereas a person being low in expressiveness can be said to be stoic or impassive. In addition to varying moment-to-moment, a person’s tendency toward high or low expressiveness in general can also be considered a trait or disposition [8]. Copyright 2020 for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0). In: N. Chhaya, K. Jaidka, J. Healey, L. H. Ungar, A. Sinha (eds.): Proceedings of the 3rd Workshop of Affective Content Analysis, New York, USA, 07- FEB-2020, published at http://ceur-ws.org 2 V. Lin et al. In this paper, we study momentary expressiveness, or expressiveness at a given moment in time. This quantity has not been previously explored in detail. We have two primary goals: (1) to automatically predict momentary expressive- ness from visual data and (2) to learn and understand interpretable signals of expressiveness and how they vary in different emotional contexts. In the following subsections, we motivate the need for research on these two topics. Prediction of Expressiveness The ability to automatically sense and pre- dict a person’s expressiveness is important for applications in artificial social intelligence and especially healthcare. For an example of how expressiveness might be useful in artifical social intelligence, as many customer-facing areas become increasingly automated, the computers, robots, and virtual agents who now interact with humans must be aware of expressiveness in order to inter- act with humans in appropriate ways (e.g., a highly expressive display might need to be afforded more attention than a less expressive one). With regard to healthcare, expressiveness holds promise as an indicator of mental health con- ditions like depression, mania, and schizophrenia, which have all been linked to distinct changes in expressiveness. Depression is associated with reduced expres- siveness of positive emotions and increased expressiveness of certain negative emotions [9]; mania is associated with increased overall expressiveness [18]; and schizophrenia is associated with blunted expressiveness and inappropriate affect, or expressiveness for the “wrong” emotion given the context [10]. Because these relationships are known, predicting an individual’s expressiveness can provide a supplemental measure of the presence or severity of specific mental health con- ditions. An automatic predictor of expressiveness therefore has the potential to support clinical diagnosis and assessment of behavioral symptoms. Understanding Signals of Expressiveness Intuitively, overall impressions of expressiveness are grounded in visual signals like facial expression, gestures, body posture, and motion. However, the signals that correspond to high expres- siveness in a particular emotional context do not necessarily correspond to high expressiveness in a different emotional context. For example, a person who has just been startled may express his or her reaction strongly by flinching, which results in a fast and large amount of body movement. On the other hand, a person who is in pain may show that feeling by moving slowly and minimally because he or she is attempting to regulate their emotion. In the former sce- nario, quick movement corresponds to high expressiveness, whereas in the latter scenario, quick movement corresponds to low expressiveness. We aim to formalize the relationship between interpretable visual signals and expressiveness through statistical analysis. Furthermore, we hypothesize that the specific signals that contribute to expressiveness vary somewhat under different contexts and seek to confirm this hypothesis by modeling expressiveness in dif- ferent emotional states. Context-Dependent Models for Facial Expressiveness 3 Contributions To realize our goals, we must collect data about how expressive- ness is perceived in spontaneous (i.e., not acted) behavior and develop techniques to analyze, model, and predict it. As such, we address the gap in the literature through the following contributions. • We introduce an extension of the BP4D+ emotion elicitation dataset [27] with human ratings of central aspects of expressiveness: response strength, emotion intensity, and body and facial movement. We also describe a method for generating a single expressiveness score from these ratings using a latent variable representation of expressiveness. • We present statistical and deep learning models that are able to predict expressiveness from visual data. We perform experiments on a test set of the BP4D+ extended dataset, establish baselines, and show that our models are able to significantly outperform those baselines and for some metrics even approach human performance, particularly when taking context into consideration. • We present context-specific and context-agnostic statistical models that re- veal interpretable relationships between visual signals and expressiveness. We conduct an analysis of these relationships over three emotional contexts— startle, pain, and disgust—that supports our hypothesis that the set of visual signals that are important to expressiveness varies depending on the emo- tional context. 2 Related Work Although little prior work has been conducted on direct prediction of expres- siveness, advances have been made in the adjacent field of emotion recognition. Likewise, within the scope of psychology, there exists a substantial body of lit- erature dedicated to determining the visual features that characterize different emotions; however, to our knowledge, little to no similar work has been con- ducted on the visual features that characterize how strongly those emotions are shown (i.e., expressiveness). We describe the current state of these areas of research, as we draw from this related work to define our own approaches to predicting and characterizing expressiveness. Emotion Recognition Because the task derives from similar visual features— facial landmarks and movement, for example—advancements in deep learning for the field of emotion recognition are highly informative and provide much of the guiding direction for our predictive deep learning models. A number of ar- chitectures have achieved high accuracy for multiclass emotion classification in a variety of settings, including still images, videos, and small datasets. [26] used an ensemble of CNNs with either log-likelihood or hinge loss to classify images of faces from movie stills as belonging to 1 of 7 basic emotions. [19] extended a similar architecture to accurately predict emotions even with little task-specific training data by performing sequential fine-tuning of a CNN pretrained on Im- ageNet, first with a facial expression dataset and then with the target dataset, 4 V. Lin et al. a small movie still dataset. [2] designed a 3D-CNN that predicts the presence of an emotion (as opposed to a neutral expression) in each frame of a video. Finally, [5] proposed a hybrid approach for emotion recognition in video. After first training a CNN on two separate datasets of static images of facial emotions, the authors used the CNN to obtain embeddings of each frame, which they used as sequential inputs to an RNN to classify emotion. Interpretable Signals of Emotion The three emotional contexts of startle, pain, and disgust all have well-studied behavioral responses that could serve as visual signals of emotion and therefore expressiveness. Previous observational research has found that the human startle response is characterized by blinking, hunching the shoulders, pushing the head forward, grimacing, baring the teeth, raising the arms, tightening the abdomen, and bending the knees [23]; the human pain response is characterized by facial grimacing, frowning, wincing, increased muscle tension, increased body movement/agitation, and eye closure [15]; and the human disgust response is characterized by furrowed eyebrows, eye closure, pupil constriction, nose wrinkling, upper lip retraction, upward movement of the lower lip and chin, and drawing the corners of the mouth down and back [25,20]. These responses have notable similarities, such as the presence of grimacing, eye closure, and withdrawal from an unpleasant stimulus. However, they also have unique aspects, such as pushing the head forward in startle, increased muscle tension in pain, and nose wrinkling in disgust. 3 Expressiveness Dataset We describe the data collection pipeline and engineering process for the dataset we used to perform our modeling and analysis of expressiveness. Video Data The BP4D+ dataset contains video and metadata of 140 partic- ipants performing ten tasks meant to elicit ten different emotional states [27]. Participants were mostly college-aged (M = 21.0, SD = 4.9) and included a mix of genders and ethnicities (59% female, 41% male; 46% White, 33% Asian, 11% Black, 10% Latinx). A camera captured high definition images of participants’ faces during each task at a rate of 25 frames per second. On average, tasks lasted 44.5 seconds in duration (SD = 31.4). In this study, we focus on the tasks meant to elicit startle, pain, and disgust. Example frames from each of these tasks can be found in Figure 1. These tasks were selected because they did not involve the participant talking; we wanted to avoid tasks involving talking because the audio recordings are not available as part of the released dataset. In the startle task, participants unexpectedly heard a loud noise behind them; in the pain task, participants submerged their hands in ice water for as long as possible; and in the disgust task, participants smelled an unpleasant odor similar to rotten eggs. Context-Dependent Models for Facial Expressiveness 5 Startle Pain Disgust High expressiveness Low to moderate expressiveness Fig. 1. Example frames from videos of different emotion elicitation tasks in the BP4D+ dataset. Because a person’s expressiveness may change moment-to-moment and we wanted to have a fine-grained analysis, we segmented each task video into multi- ple 3-second clips. Because task duration varied between tasks and participants, and we did not want examples with longer durations to dominate those with shorter durations, we decided to focus on a standardized subset of video clips from each task. For the startle task, we focused on the five clips ranging from second 3 to second 18 as this range would capture time before, during, and after the loud noise. For the pain task, we focused on the first three clips when pain was relatively low and the final four clips when pain was relatively high. Finally, for the disgust task, we focused on the four clips ranging from second 3 to second 15 as this range would capture time before, during, and after the unpleasant odor was introduced. In a few cases, missing or dropped video frames were replaced with empty black images to ensure a consistent length of 3 seconds per clip. Human Annotation We defined expressiveness as the degree to which others would perceive a person to be feeling and expressing emotion. Thus, we needed to have human annotators watch each video clip and judge how expressive the person in it appeared to be. To accomplish this goal, we recruited six crowd- workers from Amazon’s Mechanical Turk platform to watch and rate each video clip. We required that raters be based in the United States and have approval ratings of 99% or greater on all previous tasks. Raters were compensated at a rate approximately equal to $7.25 per hour. Because raters may have different understandings of the word “expressive- ness,” we did not want to simply ask them to rate how expressive each clip was. Instead, we generated three questions intended to directly capture important 6 V. Lin et al. aspects of expressiveness. Specifically, we asked: (1) How strong is the emotional response of the person in this video clip to [the stimulus] compared to how strongly a typical person would respond? (2) How much of any emotion does the person show in this video clip? (3) How much does the person move any part of their body/head/face in this video clip? Each question was answered using a five-point ordered scale from 0 to 4 (see the appendix for details). To assess the inter-rater reliability of the ratings (i.e., their consistency across raters), we calculated intraclass correlation coefficients (ICC) for each question in each task and across all tasks. Because each video clip was rated by a po- tentially different group of raters, and we ultimately analyzed the average of all raters’ responses (as described in the next subsection), the appropriate ICC formulation is the one-way average score model [17]. ICC coefficients at or above 0.75 are often considered evidence of “excellent” inter-rater reliability [3]. As shown in Table 1, all the ICC estimates—and even the lower bounds of their 95% confidence intervals—exceeded this threshold. Thus, inter-rater reliability was excellent. Table 1. Inter-rater reliability of crowdworkers per question. Task Question ICC 95% CI Startle 1 (Response) 0.84 [0.82, 0.86] Startle 2 (Emotion) 0.85 [0.83, 0.87] Startle 3 (Motion) 0.85 [0.84, 0.87] Pain 1 (Response) 0.84 [0.82, 0.85] Pain 2 (Emotion) 0.83 [0.81, 0.85] Pain 3 (Motion) 0.80 [0.78, 0.82] Disgust 1 (Response) 0.88 [0.87, 0.90] Disgust 2 (Emotion) 0.88 [0.87, 0.90] Disgust 3 (Motion) 0.86 [0.84, 0.88] All 1 (Response) 0.86 [0.85, 0.87] All 2 (Emotion) 0.86 [0.85, 0.87] All 3 (Motion) 0.85 [0.84, 0.86] Expressiveness Scores For each video clip, we wanted to summarize the an- swers to each of the three questions asked as a single expressiveness score to use as our target in machine learning and statistical analysis, as each question captured an important aspect of expressiveness. Each of the six raters assigned to each video clip provided three answers. The simplest approach to aggregat- ing these 18 scores would be to average them. However, this would assume that all three questions are equally important to our construct of expressiveness and equally well-measured. To avoid this assumption, we first calculated the average Context-Dependent Models for Facial Expressiveness 7 answer to each question across all six raters and then used confirmatory factor analysis (CFA) to estimate a latent variable that explains the variance shared amongst the questions [14]. 0 1 η λ1 λ2 λ3 x1 x2 x3 ε1 ε2 ε3 Fig. 2. Diagram of confirmatory factor analysis. In Figure 2, the observed question variables are depicted as squares (x) and the aforementioned latent variable is depicted as a circle (η) with zero mean and unit variance. The factor loadings (λ) represent how much each question variable was composed of shared variance, and the residuals (ε) represent how much each question variable was composed of non-shared variance (including measurement error). We fit this same CFA model for each task separately and across all tasks using the lavaan package [22]. Table 2. Model parameter estimates from confirmatory factor analysis. Startle Pain Disgust All λ1 (Response) 0.98 0.98 0.98 0.98 λ2 (Emotion) 0.97 0.96 0.98 0.97 λ3 (Motion) 0.95 0.85 0.90 0.91 ε1 (Response) 0.05 0.04 0.04 0.04 ε2 (Emotion) 0.07 0.07 0.04 0.06 ε3 (Motion) 0.10 0.28 0.19 0.18 The resulting estimates are provided in Table 2. Three patterns in the results are notable. First, all the standardized loadings were higher than 0.85 (and most were higher than 0.95), which suggests that there is a great deal of shared 8 V. Lin et al. variance between these questions and they are all measuring the same thing (e.g., expressiveness). Second, there were some factor loading differences within tasks, which suggests that there is value in aggregating the question responses using CFA rather than averaging them. Third, there were some factor loading differences between tasks, especially for the motion question, which suggests that the relationship between motion and expressiveness depends upon context. Finally, we estimated each video clip’s standing on the latent variable (i.e., as a continuous, real-valued number) by extracting factor score estimates from the CFA model; this was done using the Bartlett method, which produces unbiased estimates of the true factor scores [4]. These estimates were then used as ground truth expressiveness labels in our further analyses. 4 Methods We selected our models with our two primary goals in mind: we wanted to find a model that would perform well in predicting expressiveness, and we wanted at least one interpretable model so that we could understand the relationships between the behavioral signals and the expressiveness scores. We experimented with three primary architectures—ElasticNet, LSTM, and 3D-CNN—and de- scribe our approaches in greater detail below. ElasticNet We chose ElasticNet [28] as an approach because it is suitable for both our goals of prediction and interpretation. ElasticNet is essentially linear regression with regularization by a mixture of L1 and L2 priors. This regular- ization eliminates the problems of overfitting and multicollinearity common to linear regression with many features and achieves robust generalizability. How- ever, ElasticNet is still fully interpretable: examination of the feature weights provides insight into the relationships between features and labels. We engineered visual features from the raw video data to use as input for our ElasticNet model. For each clip, we used the OpenFace [1] toolkit to extract per-frame descriptors of gaze, head pose, and facial landmarks (e.g., eyebrows, eyes, mouth), as well as estimates of the occurrence and intensity for a number of action units from the Facial Action Coding System [6]. To reduce the effects of jitter, which may produce differences from frame to frame due simply to noise, we downsampled our data to 5 Hz from the original 25 Hz. From this data, we computed frame-to-frame displacement (i.e., distance travelled) and velocity (i.e., the derivative of displacement) for each facial land- mark. We also calculated frame-to-frame changes in gaze angle and head position with regard to translation and scale (“head”); pitch; yaw; and roll. For each clip, we used the averages over all frames of these quantities as our features. We also counted the total number of action units and calculated the mean intensity of action units occurring in the clip. We selected these features to represent both amount and speed of facial, head, and gaze movement. We used an out-of-the-box implementation of ElasticNet from sklearn and tuned the hyperparameters by searching over α ∈ {0.01, 0.05, 0.1, 0.5, 1.0} for Context-Dependent Models for Facial Expressiveness 9 the penalty term and over λ ∈ {0.0, 0.1, . . . , 1.0} for the L1 prior ratio. For the final models on the startle task, pain task, disgust task, and all tasks, α was 0.01, 0.1, 0.1, and 0.05, respectively; λ was 0.0, 0.0, 0.7, and 0.7, respectively. When λ = 0.0, ElasticNet corresponds to Ridge regression, and when λ = 1.0, ElasticNet corresponds to Lasso regression [28]. OpenFace-LSTM We also explored several deep learning approaches to deter- mine whether we could achieve better predictive performance by sacrificing some interpretability. Due to the small size of the training dataset and the need to capture the temporal component of the data, we proposed the use of a relatively simple deep architecture suitable for modeling sequences of data, LSTM [11]. We implemented a stacked LSTM using the PyTorch framework and tuned over learning rate, number of layers, and hidden dimension of each layer. In our final implementation, we used learning rate 0.005 with 2 layers of hidden dimension 128. Rather than engineering summary features as we did for ElasticNet, we used a tensor representation of the raw OpenFace facial landmark point track- ing descriptors for each clip as input for the LSTM. Because the LSTM is more capable of handling high-dimensional data than a linear model, we retained the original sample rate of 25 Hz to reduce loss of information. Each clip with 75 frames was represented as a [75 × 614] 2-dimensional tensor, where we standard- ized each [75 × 1] feature by subtracting its mean and dividing by its standard deviation. 3D-CNN Although manual feature engineering can be useful for directing mod- els to use relevant visual characteristics to make their predictions, it can also result in the loss of large amounts of information and furthermore has the po- tential to introduce noise. Consequently, we also explored the predictive per- formance of deep learning models that learn their own feature representations from the raw video data. Drawing on past successes with similar architectures in the related topic of emotion recognition, we selected as our model 3D-CNN [12], which is also capable of handling the temporal aspect of our data. Our 3D- CNN predicts expressiveness directly from a video clip. We modified the 18-layer Resnet3D available through PyTorch’s torchvision [24] to perform prediction of a continuous value rather than classification, while retaining the hyperparam- eter values of the original implementation. We experimented both with training the model from scratch on the BP4D+ extension dataset and with using the BP4D+ extension only for fine-tuning of a 3D-CNN pretrained on the Kinetics 400 action recognition dataset [13]. 5 Experiments In this section, we describe the evaluation metrics, data partitions, and base- lines that we used to evaluate the performance of our models and to conduct our analysis of the interpretable visual features relevant to expressiveness. Code 10 V. Lin et al. for our evaluation and analyses is available at https://osf.io/bp7df/?view_ only=70e91114627742d7888fbdd36a314ee9. Evaluation Metrics and Dataset We selected RMSE and correlation of model predictions with the ground truth expressiveness scores as the evaluation metrics for our model performance. For ease of interpretability and comparison, we report normalized RMSE [16], which we define as the RMSE divided by the scale of the theoretical range of the expressiveness scores. The value of the nor- malized RMSE ranges from 0 to 1, with 0 being the best performance and 1 being the worst performance. To determine whether differences in performance between models and base- lines were statistically significant, we used the cluster bootstrap [7,21] to generate 95% confidence intervals and p-values for the differences in RMSEs and corre- lations between models. This approach does not make parametric assumptions about the distribution of the difference scores and accounts for the hierarchical dependency of video clips within subjects.1 Because we suspected that expressiveness might manifest differently in differ- ent emotions, we wanted to see whether training separate models for each emo- tion elicitation task would produce better predictive performance than training a single model over all tasks. Furthermore, fitting separate ElasticNet models for each task would allow us to understand whether the feature set relevant to expressiveness is different depending on the emotional context, which would test our hypothesis. Therefore, we separated the BP4D+ dataset by task and created 60/20/20 train/validation/test splits for each of these task-specific datasets and a separate split in the same proportions over the entire dataset. This partitioning was done such that no subject appeared in multiple splits. For each model, we report results from training and evaluating on each task-specific dataset and on the entire dataset. Baselines We defined several baselines against which to compare our models’ performance: • Uniform baseline: This baseline samples randomly from a uniform distri- bution over the theoretical range of the expressiveness scores (i.e., −3.5 to 3.5). • Normal baseline: This baseline samples randomly from a standard nor- mal distribution with mean and variance equal to the theoretical mean and variance of the expressiveness scores (i.e., mean 0 and variance 1). • Human baseline: This baseline represents the performance of a single ran- domly selected human crowdworker. We calculated an estimated factor score for each rater by weighting their answers to each question by that question’s factor loading and summing the weighted values. These weighted sums were then standardized and compared to the average of the remaining 5 raters’ 1 Software to conduct this procedure is available at https://github.com/jmgirard/ mlboot. Context-Dependent Models for Facial Expressiveness 11 Fig. 3. Performance comparison across models by task. Better performance is indicated by a lower NRMSE (range: 0 to 1) and a higher correlation (range: −1 to 1). estimated factor scores to assess each rater’s solitary performance. Finally, these performance scores were averaged over all crowdworkers to capture the performance of a randomly selected crowdworker. 6 Results and Discussion In the following subsections, we present the results of our experiments, first com- paring our model approaches and baselines and then visualizing and interpreting the feature weights of the ElasticNet model. Table 3. Test performance by task and overall on predicting expressiveness. Normalized RMSE (lower is better) Correlation (higher is better) Input Startle Pain Disgust All Startle Pain Disgust All Uniform baseline – 0.294 0.303 0.323 0.309 0.091 0.032 −0.078 0.043 Normal baseline – 0.211 0.196 0.198 0.210 −0.039 −0.039 0.084 0.023 Human baseline – 0.087 0.093 0.072 0.081 0.768 0.698 0.831 0.792 3D-CNN Video clip 0.156 0.122 0.150 0.148 −0.141 0.127 0.169 0.015 3D-CNN pretrained Video clip 0.152 0.116 0.149 0.148 0.232 0.338 0.053 0.129 OpenFace-LSTM Raw OpenFace desc. 0.129 0.124 0.127 0.145 0.508 0.031 0.538 0.276 ElasticNet Eng. OpenFace feat. 0.100 0.104 0.084 0.124 0.723 0.525 0.834 0.497 Despite achieving NRMSEs well below those of the normal baseline (Fig- ure 3, Table 3), the proposed deep learning had relatively poor performance in most tasks according to the correlation metric. For example, OpenFace-LSTM attained a reasonable correlation compared to the human baseline on the star- tle and disgust tasks but produced essentially no correlation with the ground truth on the pain task. Likewise, pretrained 3D-CNN and 3D-CNN trained from 12 V. Lin et al. Table 4. Comparison of ElasticNet performance with performance of all other baselines and models. ∆ NRMSE < 0 and ∆ Corr > 0 indicate that ElasticNet performs better relative to the other model. ∆ NRMSE over all tasks ∆ Correlation over all tasks Estimate 95% CI p-value Estimate 95% CI p-value EN − Uniform baseline −0.185 [−0.203, −0.168] < 0.001 0.389 [0.218, 0.533] < 0.001 EN − Normal baseline −0.086 [−0.104, −0.071] < 0.001 0.401 [0.262, 0.523] < 0.001 EN − Human baseline 0.034 [0.016, 0.052] 0.001 −0.333 [−0.456, −0.205] < 0.001 EN − 3D-CNN −0.021 [−0.036, −0.011] 0.001 0.413 [0.209, 0.586] < 0.001 EN − 3D-CNN pretrained −0.022 [−0.035, −0.012] < 0.001 0.433 [0.260, 0.560] < 0.001 EN − OpenFace-LSTM −0.019 [−0.034, −0.009] 0.003 0.213 [0.082, 0.343] < 0.001 scratch yielded little and no correlation, respectively, of their predictions with the ground truth. We suspect that such results may be the product of the small dataset on which the models were trained, as the data quantity may be insuf- ficient to allow the models to generalize and learn the appropriate predictive signals from complex data without human intervention. As such, of the proposed models, we consider ElasticNet to demonstrate the best performance overall. Its NRMSEs were consistently lower than those of the other proposed models, and its correlations were much higher than those of any other proposed model and come close to (and in the case of the disgust task, slightly exceed) those of the human baseline. Statistical analyses of the differ- ences in performance between ElasticNet and all other models and baselines, the results of which are shown in Table 4, support our intuition. Specifically, when trained across all tasks, ElasticNet attains significantly lower NRMSE and sig- nificantly higher correlation of its predictions with the ground truth compared to all other models and baselines except the human baseline. However, the same comparison also shows that ElasticNet has significantly higher NRMSE and sig- nificantly lower correlation of its predictions with the ground truth compared to the human baseline, indicating that there is still room for improvement. Understanding Signals of Expressiveness Because our best-performing model, ElasticNet, is an interpretable linear model, we were able to determine the relationship between the visual features in our dataset and overall expres- siveness by examining the feature weights of the model trained over all tasks. Furthermore, by doing the same for the feature weights of models trained over individual tasks, we were able to explore the hypothesis that the set of signals indicative of expressiveness varies from context to context. These visualizations are shown in Figure 4. We directly interpret those features with a standardized weight close to or greater than 0.2 in absolute value. From the weights of the model trained over all tasks, we can see that three pri- mary features contribute to predicting overall expressiveness: action unit count, action unit intensity, and point displacement (i.e., the distance traveled by all fa- Context-Dependent Models for Facial Expressiveness 13 Startle Task Pain Task Disgust Task All Tasks Action Unit Count ● ● ● ● Action Unit Intensity ● ● ● ● Points Displacement ● ● ● ● Points Velocity ● ● Head Displacement ● ● ● Head Velocity ● ● ● Pitch Displacement ● ● ● Pitch Velocity ● ● ● Yaw Displacement ● ● ● ● Yaw Velocity ● ● ● Roll Displacement ● ● Roll Velocity ● ● ● −0.2 0.0 0.2 0.4 0.6 −0.2 0.0 0.2 0.4 0.6 −0.2 0.0 0.2 0.4 0.6 −0.2 0.0 0.2 0.4 0.6 Standardized Feature Weight Fig. 4. Feature weights for each task-specific ElasticNet model, as well as for the model over all tasks. cial landmark points). This suggests that there are some behavioral signals that index expressiveness across emotional contexts, and these are generally related to the amount and intensity of facial motion. Notably, features related to head motion and the velocity of motion did not have high feature weights for overall expressiveness. We also observe that each individual task had its own unique set of features that were important to predicting expressiveness within that context. These features make intuitive sense when considering the nature of the tasks and are consistent with the psychological literature we reviewed. In the startle task, higher expressiveness was associated with more points dis- placement, higher points velocity, less head displacement, and higher action unit count. These features are consistent with components of the hypothesized star- tle response, including blinking, hunching the shoulders, grimacing, and baring the teeth. The negative weight for head displacement was somewhat surprising, but we think this observation may be related to subjects freezing in response to being startled. In the pain task, higher expressiveness was associated with higher action unit count, higher action unit intensity, and less points velocity. These features are consistent with components of the hypothesized pain response, including grimacing, frowning, wincing, and eye closure. Although the existing literature hypothesizes that body motion increases in response to pain, we found that points velocity has a negative weight. However, we think this finding may be related to increased muscle tension and/or the nature of this specific pain elici- 14 V. Lin et al. tation task (e.g., decreased velocity may be related to the regulation of pain in particular). Finally, in the disgust task, higher expressiveness was associated with higher action unit count, higher action unit intensity, higher points displacement, and higher head displacement. These features are consistent with components of the hypothesized disgust response, including furrowed brows, eye closure, nose wrinkling, upper lip retraction, upward movement of the lower lip and chin, and drawing the corners of the mouth down and back. We believe that the observed head displacement weight may be related to subjects recoiling from the source of the unpleasant odor, which would produce changes in head scale and translation. 7 Conclusion In this paper, we define expressiveness as the extent to which an individual shows his or her feelings, thoughts, or reactions in a given moment. Following this definition, we present a dataset that can be used to model or analyze expres- siveness in different emotional contexts using human labels of attributes relevant to visual expressiveness. We propose and test a series of deep learning and sta- tistical models to predict expressiveness from visual data; we also use the latter to understand the relationship between intepretable visual features derived from OpenFace and expressiveness. We find that training models for specific emotional contexts results in better predictive performance that training across contexts. We also find support for our hypothesis that expressiveness is associated with unique features in each context, although several features are also important across all contexts (e.g., the amount and intensity of facial movement). Future work would benefit from attending to the similarities and differences in signals of expressiveness across emotional contexts to construct a more robust predictive model. 8 Acknowledgments This material is based upon work partially supported by the National Science Foundation (Awards #1734868 #1722822) and National Institutes of Health. We are grateful to Jeffrey F. Cohn and Lijun Yin for the use of the BP4D+ dataset. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of National Science Foundation or National Institutes of Health, and no official endorsement should be inferred. Context-Dependent Models for Facial Expressiveness 15 References 1. Baltrusaitis, T., Zadeh, A., Lim, Y.C., Morency, L.P.: Openface 2.0: Facial behavior analysis toolkit. In: 2018 13th IEEE International Conference on Automatic Face & Gesture Recognition (FG 2018). pp. 59–66. IEEE (2018) 2. Byeon, Y.H., Kwak, K.C.: Facial expression recognition using 3d convolutional neu- ral network. International journal of advanced computer science and applications 5(12) (2014) 3. Cicchetti, D.V.: Guidelines, criteria, and rules of thumb for evaluating normed and standardized assessment instruments in psychology. Psychological Assessment 6(4), 284 (1994) 4. DiStefano, C., Zhu, M., Mindrila, D.: Understanding and using factor scores: Con- siderations for the applied researcher. Practical assessment, research & evaluation 14(20), 1–11 (2009) 5. Ebrahimi Kahou, S., Michalski, V., Konda, K., Memisevic, R., Pal, C.: Recurrent neural networks for emotion recognition in video. In: Proceedings of the 2015 ACM on International Conference on Multimodal Interaction. pp. 467–474. ACM (2015) 6. Ekman, P., Friesen, W.V., Hager, J.: Facial Action Coding System: A Technique for the Measurement of Facial Movement. Research Nexus (2002) 7. Field, C.A., Welsh, A.H.: Bootstrapping clustered data. Journal of the Royal Sta- tistical Society: Series B (Statistical Methodology) 69(3), 369–390 (2007) 8. Fleeson, W.: Toward a structure-and process-integrated view of personality: Traits as density distributions of states. Journal of personality and social psychology 80(6), 1011 (2001) 9. Girard, J.M., Cohn, J.F., Mahoor, M.H., Mavadati, S.M., Hammal, Z., Rosen- wald, D.P.: Nonverbal social withdrawal in depression: Evidence from manual and automatic analyses. Image and vision computing 32(10), 641–647 (2014) 10. Hamm, J., Kohler, C.G., Gur, R.C., Verma, R.: Automated facial action coding system for dynamic analysis of facial expressions in neuropsychiatric disorders. Journal of neuroscience methods 200(2), 237–256 (2011) 11. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Computation 9(8), 1735–1780 (1997) 12. Ji, S., Xu, W., Yang, M., Yu, K.: 3d convolutional neural networks for human action recognition. IEEE transactions on pattern analysis and machine intelligence 35(1), 221–231 (2012) 13. Kay, W., Carreira, J., Simonyan, K., Zhang, B., Hillier, C., Vijayanarasimhan, S., Viola, F., Green, T., Back, T., Natsev, P., et al.: The kinetics human action video dataset. arXiv preprint arXiv:1705.06950 (2017) 14. Kline, R.: Principles and Practice of Structural Equation Modeling. Guilford Press, 4th edn. (2015) 15. Kunz, M., Meixner, D., Lautenbacher, S.: Facial muscle movements encoding pain—a systematic review. Pain 160(3), 535–549 (2019) 16. Luo, W., Phung, D., Tran, T., Gupta, S., Rana, S., Karmakar, C., Shilton, A., Yearwood, J., Dimitrova, N., Ho, T.B., et al.: Guidelines for developing and report- ing machine learning predictive models in biomedical research: a multidisciplinary view. Journal of medical Internet research 18(12), e323 (2016) 17. McGraw, K.O., Wong, S.P.: Forming inferences about some intraclass correlation coefficients. Psychological methods 1(1), 30 (1996) 18. National Institute of Mental Health: Biplor disorder (2016), https://www.nimh. nih.gov/health/topics/bipolar-disorder/index.shtml 16 V. Lin et al. 19. Ng, H.W., Nguyen, V.D., Vonikakis, V., Winkler, S.: Deep learning for emotion recognition on small datasets using transfer learning. In: Proceedings of the 2015 ACM on international conference on multimodal interaction. pp. 443–449. ACM (2015) 20. Olatunji, B.O., Sawchuk, C.N.: Disgust: Characteristic features, social manifesta- tions, and clinical implications. Journal of Social and Clinical Psychology 24(7), 932–962 (2005) 21. Ren, S., Lai, H., Tong, W., Aminzadeh, M., Hou, X., Lai, S.: Nonparametric boot- strapping for hierarchical data. Journal of Applied Statistics 37(9), 1487–1498 (2010) 22. Rosseel, Y.: Lavaan: An r package for structural equation modeling. Journal of statistical software 48(2), 1–36 (2012) 23. Sillar, K.T., Picton, L.D., Heitler, W.J.: The mammalian startle response. In: The Neuroethology of Predation and Escape. John Wiley & Sons, Ltd (2016) 24. Tran, D., Wang, H., Torresani, L., Ray, J., LeCun, Y., Paluri, M.: A closer look at spatiotemporal convolutions for action recognition. In: Proceedings of the IEEE conference on Computer Vision and Pattern Recognition. pp. 6450–6459 (2018) 25. Tybur, J.M., Lieberman, D., Kurzban, R., DeScioli, P.: Disgust: Evolved function and structure. Psychological review 120(1), 65 (2013) 26. Yu, Z., Zhang, C.: Image based static facial expression recognition with multiple deep network learning. In: Proceedings of the 2015 ACM on International Confer- ence on Multimodal Interaction. pp. 435–442. ACM (2015) 27. Zhang, Z., Girard, J.M., Wu, Y., Zhang, X., Liu, P., Ciftci, U., Canavan, S., Reale, M., Horowitz, A., Yang, H., et al.: Multimodal spontaneous emotion corpus for human behavior analysis. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. pp. 3438–3446 (2016) 28. Zou, H., Hastie, T.: Regularization and variable selection via the elastic net. Jour- nal of the royal statistical society: series B (statistical methodology) 67(2), 301–320 (2005) Context-Dependent Models for Facial Expressiveness 17 A Appendix Amazon Mechanical Turk Questions Four questions were proposed to cap- ture aspects of expressiveness: 1. How strong is the emotional response of the person in this video to [the stimulus] compared to how strongly a typical person would respond? 2. How much of any emotion does the person show in this video clip? 3. How much does the person move any part of their body/head/face in this video clip? 4. How much does any part of the person’s face become or stay tense in this video clip? Amazon Mechanical Turk Ratings For the first question, the Likert scale was anchored for raters as follows: • 0 - No emotional response / Nothing to respond to • 1 - Weak response • 2 - Typical strength response • 3 - Strong response • 4 - Extreme response For the remaining questions, the Likert scale was anchored: • 0 - A little / None • 1 • 2 - Some • 3 • 4 - A lot Video Segmentation For each task, the following segments were sampled from each full subject/task video combination. Timestamps are in SS (seconds) format. The notation -SS refers to a timestamp SS seconds from the end of the video. Frames do not overlap between segments (that is, the last frame of a segments ending at 03 is the frame prior to the first frame of a segment starting at 03). • Sadness: [00, 03], [03, 06], [30, 33], [33, 36], [–12, –09], [–09, –06], [–06, –03], [–03, –00] • Startle: [03, 06], [06, 09], [09, 12], [12, 15], [15, 18] • Fear: [00, 03], [03, 06], [06, 09], [09, 12], [12, 15], [15, 18], [18, 21] • Pain: [00, 03], [03, 06], [06, 09], [–12, –09], [–09, –06], [–06, –03], [–03, –00] • Disgust: [03, 06], [06, 09], [09, 12], [12, 15] 18 V. Lin et al. Pilot Studies on Human Rating Reliability To determine which tasks and questions could be annotated with adequate inter-rater reliability, we conducted a pilot study with 3 crowdworkers rating the video clips from 5 subjects on 4 questions. The results of this study are provided in Table 5. The ICC scores for the sadness and fear tasks looked poor overall, and these tasks were excluded. The ICC scores looked good for the disgust task, and we thought that increasing the number of raters to 6 might increase the reliability of the startle and pain tasks to adequate levels. The results of a follow-up study with 6 crowdworkers are provided in Table 6. The ICC scores indicate that the first three questions could be annotated with adequate reliability, but the fourth question had poor reliability and was excluded. As such, the final study included 6 raters of the startle, pain, and disgust tasks with the first three questions only. Table 5. Intraclass correlation (ICC) among Amazon Turk raters (n = 3 raters per question) in 5-subject pilot studies. Task Question ICC 95% CI Sadness 1 0.419 [–0.014, 0.687] Sadness 2 0.517 [0.156, 0.739] Table 6. Intraclass correlation (ICC) Sadness 3 0.311 [–0.203, 0.628] among Amazon Turk raters (n = 6 raters Sadness 4 0.562 [0.235, 0.764] per question) in 5-subject pilot studies. Startle 1 0.632 [0.290, 0.825] Startle 2 0.616 [0.248, 0.821] Task Question ICC 95% CI Startle 3 0.749 [0.515, 0.861] Startle 1 0.783 [0.619, 0.892] Startle 4 0.280 [–0.391, 0.658] Startle 2 0.777 [0.605, 0.891] Fear 1 0.197 [–0.403, 0.567] Startle 3 0.879 [0.788, 0.940] Fear 2 0.391 [–0.168, 0.639] Startle 4 0.103 [-0.574, 0.553] Fear 3 0.368 [–0.103, 0.659] Pain 1 0.774 [0.634, 0.872] Fear 4 0.086 [–0.596, 0.507] Pain 2 0.765 [0.620, 0.867] Pain 1 0.652 [0.392, 0.812] Pain 3 0.763 [0.615, 0.868] Pain 2 0.534 [0.187, 0.749] Pain 4 -0.059 [-0.711, 0.403] Pain 3 0.504 [0.135, 0.733] Pain 4 –1.010 [–2.509, –0.084] Disgust 1 0.879 [0.747, 0.948] Disgust 2 0.856 [0.699, 0.938] Disgust 3 0.837 [0.660, 0.930] Disgust 4 0.797 [0.568, 0.915]