Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

2 December 2024

28 Pages

PortraitEmotion3D: A Novel Dataset and 3D Emotion Estimation Method for Artistic Portraiture Analysis

,
and
1
Graduate Center, City University of New York, New York, NY 11367, USA
2
Electrical and Computer Engineering, The University of Texas at San Antonio, San Antonio, TX 78249, USA
*
Author to whom correspondence should be addressed.

Abstract

Facial Expression Recognition (FER) has been widely explored in realistic settings; however, its application to artistic portraiture presents unique challenges due to the stylistic interpretations of artists and the complex interplay of emotions conveyed by both the artist and the subject. This study addresses these challenges through three key contributions. First, we introduce the PortraitEmotion3D (PE3D) dataset, designed explicitly for FER tasks in artistic portraits. This dataset provides a robust foundation for advancing emotion recognition in visual art. Second, we propose an innovative 3D emotion estimation method that leverages three-dimensional labeling to capture the nuanced emotional spectrum depicted in artistic works. This approach surpasses traditional two-dimensional methods by enabling a more comprehensive understanding of the subtle and layered emotions often in artistic representations. Third, we enhance the feature learning phase by integrating a self-attention module, significantly improving facial feature representation and emotion recognition accuracy in artistic portraits. This advancement addresses this domain’s stylistic variations and complexity, setting a new benchmark for FER in artistic works. Evaluation of the PE3D dataset demonstrates our method’s high accuracy and robustness compared to existing state-of-the-art FER techniques. The integration of our module yields an average accuracy improvement of over 1% in recent FER systems. Additionally, combining our method with ESR-9 achieves a comparable accuracy of 88.3% on the FER+ dataset, demonstrating its generalizability to other FER benchmarks. This research deepens our understanding of emotional expression in art and facilitates potential applications in diverse fields, including human–computer interaction, security, healthcare diagnostics, and the entertainment industry.

1. Introduction

Emotions are fundamental to human existence, arising from complex interactions between conscious experiences, bodily sensations, and behavioral responses [1,2]. Their accurate recognition and analysis are critical in diverse fields, impacting mental health assessment [3,4], human–computer interaction [1,2], social security [4], and even artistic interpretation [5,6,7,8]. However, emotions’ definition, measurement, and classification remain challenging despite their undeniable importance. Many models and theories offer diverse perspectives, contributing to the complexity of understanding these intricate phenomena.
Images are a vital medium for emotional expression, readily interpreted by humans with speed and ease. However, extracting accurate emotional content from images presents a significant challenge for machines. This difficulty arises from the inherent subjectivity and nuance in emotional expression, often influenced by cultural backgrounds, individual experiences, and contextual factors.
Facial Expression Recognition (FER), a subfield of affective computing, typically categorizes emotions in images of real faces. Conversely, recognizing emotions in artistic portraits introduces unique challenges. Unlike purely visual representations, emotion in a portrait encompasses artistic style, cultural background, and the intentions of both the artist and the subject. The stylized presentation of faces, coupled with unique colors, textures, and the possibility of exaggeration, distinguishes them from natural expressions [9,10]. A comprehensive analysis of emotion in portraits, coupled with the study of portrait FER, promises to greatly enhance research in both art and machine learning for numerous reasons: (1) Underexplored field: portrait painting remains notably underexplored in emotion recognition research, but it offers profound insights into the content, creation process, aesthetic experience, psychological and physiological responses, artist’s emotions, and social and environmental context [5]. Detecting emotions within portraits is pivotal for comprehending the intricate dynamics between artists and their works and the interaction between viewers and the art pieces [11]. (2) Unique task: recognizing emotions in portraits presents a unique challenge due to their stylized and complex nature, which diverges significantly from real human emotions and requires specialized recognition systems. (3) Complexity and robustness: compared to natural faces, the variation in color and texture in portraits presents a challenge for FER [9,10]. Nonetheless, this diversity could ultimately enhance the robustness of recognition models by increasing their adaptability to various artistic styles and expressions.
Studying emotions in portraits offers a unique and valuable opportunity to deepen our understanding of art and human feelings, alongside posing challenges that can promote advancements in machine learning and emotion recognition technologies. Popular Facial Expression Recognition (FER) models and datasets are typically based on actual faces and use categorical labels for emotions, which can lead to uncertainty and overlap between categories. This situation makes the development of specialized instruments and methodologies necessary to identify emotions in portrait art accurately.
Existing FER models and datasets, predominantly trained on actual faces and categorized by emotion labels, may not capture the subtleties and complexities of emotional expression in artistic representations [12]. Another limitation is the inconsistency in the annotation methods, which leads to variability in labeling the same expressions by different annotators. Last but not least, low-quality images in existing FER datasets may blur the details of facial expressions, especially in artistic drawings. However, a three-dimensional (3D) Dominance-Valence-Arousal (DVA) space can effectively depict the nuanced and dynamic nature of emotional expressions. These dimensions provide a comprehensive framework for understanding the full spectrum of human emotions beyond mere categorical labels [13]. This model, with one more dimension (dominance) than traditional two-dimensional models, allows for the differentiation of emotions with similar valence or arousal levels but different levels of dominance, which is particularly useful in nuanced emotional contexts, such as subtle expressions of confidence or submission [14]. Furthermore, the 3D dataset enhances the capability of FER systems in applications like human–computer interaction, where understanding the subtleties of human emotion can significantly improve the responsiveness and effectiveness of the technology.
Based on the mentioned shortfalls and benefits of 3D annotations, our research proposes an innovative approach to FER in portraits, which includes:
PortraitEmotion3D (PE3D): A comprehensive dataset featuring over 1000 high-quality portrait images from various art movements. Self-Attention Module: A novel module that enhances the feature representation of portrait faces, which can be seamlessly integrated into existing FER frameworks. 3D Emotion Estimation: A sophisticated method utilizing a self-attention deep neural network designed for precise emotion recognition in portrait art.
Experimental results demonstrate the superiority of our approach compared to state-of-the-art methods. This research significantly contributes to artistic understanding and FER advancement, opening new avenues for emotion analysis in paintings. It offers a new perspective for analyzing the emotional content of portraits, with a wide impact on art history, psychology, and computer vision.
The paper is structured as follows:
Section 1 outlines the motivations and organization of the paper. In Section 2, we review previous work on FER tasks and delve into dimensional emotion estimation. Section 3 introduces the PE3D database, focusing on portraits. Section 4 details our proposed self-attention methods. Section 5 presents the results of our experiments. At last, Section 6 concludes the paper and suggests avenues for future research.

3. The PortraitEmotion3D (PE3D) Dataset

This dataset encompasses a diverse collection of portrait art from various Eastern and Western art movements featuring faces of different ethnicities, ages, and genders. Furthermore, the dataset comprises images of high quality and resolution. Additional details are provided in the subsequent section.

3.1. Data Collection

To create the PE3D dataset, a meticulous data collection methodology was employed, utilizing art portrait face datasets as the cornerstone data source. The collection leveraged the images from AF3dE [52], WikiArt [80], and French Painting Dataset [81]. The AF3dE, an artistic facial emotions dataset, features cropped high-resolution faces from [9] (Figure 4), representing six distinct art movements. Selected for its rich diversity in portrait paintings across ages, genders, cultural backgrounds, and art styles, AF3dE serves as the principal data source. Meanwhile, the French Painting Dataset, a public compendium of French paintings, was sourced for images of the highest quality to facilitate precise color and texture analysis. Unlike most related datasets, such as [82], which emphasize face recognition across entire paintings, this research narrows its focus to portrait faces and the emotions they convey. A sophisticated algorithm (vision.CascadeObjectDetector in Matlab R2020b), designed for automatic face detection and recognition, was deployed to extract face images from portrait artworks. This detector uses a pre-trained cascade classifier [83] based on the Haar-like feature detection algorithm. Haar-like features are simple patterns that capture contrasts between regions in faces. These patterns can represent edges, lines, or more complex textures. It uses a sliding window to scan the input image in different scales, evaluating each window against a sequence of classifiers arranged in a cascade structure. Each cascade stage uses simple Haar-like features to quickly reject regions with no targeted object (face), while more complex stages refine the detections (see Figure 5). This structure focuses on potential object regions to improve computing efficiency. After evaluating potential windows through the cascade of classifiers, a final bounding box of detected faces will be returned. For the faces that are not detected, we will manually crop the portrait faces.
Figure 4. Art movements of PE3D. First Row: HR: High Renaissance; IM: Impressionism; NR: Northern Renaissance; PI: Post-Impressionism (PI); RO: Rococo; UK: Ukiyo-e; ND: Not Defined. Third row: number of faces from each art movement.
Figure 5. Workflow of the face detection algorithm.
Contrary to the datasets mentioned in other papers [40], the images in our dataset maintain a resolution of at least 100 × 100 pixels after cropping the face region. Accordingly, we amassed 220 high-resolution portrait faces from the French Painting Dataset. Given that these portraits lack labels regarding their art movement, we categorized them as Not Defined (ND). Furthermore, we have gathered a total of 1136 portrait images with resolutions surpassing 100 × 100 pixels. Refer to Figure 6a for additional resolution details.
Figure 6. Dataset Properties. (a) Resolution of Images. (b) Distribution of emotions. (c) Three-dimensional coordination and data distribution. (d) Three-dimensional emotion examples in PE3D.

3.2. Dataset Annotation

Categorical emotion labels: The categorical model of PE3D comprises eight distinct categories: Neutral, Happy, Sad, Surprise, Fear, Anger, Disgust, and Contempt. The majority of these categorical labels align with those in EmoFAN [24] and other existing Art Facial Expressions datasets [44]. Upon labeling all images, art history experts will manually review and adjust these labels to represent the expressed emotions accurately.
For example, when the model classifies the portrayed face as neutral, art experts are inclined to identify the image as happy, adjusting the final categorical label to ‘happy’. Within these categorizations, neutral emotions constitute 56% of the dataset. Negative emotions, encompassing fear, sadness, surprise, and disgust, make up 27% of the emotional spectrum. Figure 6b demonstrates that most emotion labels are negative and neutral. This trend can be attributed to the penchant of Renaissance artists for depicting sacred characters, who are predominantly portrayed with calm and solemn demeanors, with their facial expressions often appearing neutral or sad, thereby limiting the portrayal of intense, positive emotions like happiness. Conversely, in the Impressionist and Post-Impressionist periods, there was a marked shift toward conveying the artists’ emotions, resulting in more varied and intense facial expressions, including pronounced anger and an emergence of negative emotions. Consequently, in the PE3D dataset, faces are depicted with a higher prevalence of neutral and negative emotions compared to real-world data.
Emotional State Representation in a 3D Space: A 3D coordinate system demonstrated in Figure 2 represents emotional states. Each axis corresponds to a specific emotional dimension:
  • Z-axis: Dominance, ranging from −1 (submissive) to 1 (dominant);
  • X-axis: Valence, ranging from −1 (unpleasant/negative) to 1 (pleasant/positive);
  • Y-axis: Arousal, ranging from −1 (calm) to 1 (excited).
This representation facilitates a nuanced depiction of emotional states, wherein a high valence value signifies positive emotions such as happiness, and a low value denotes negative emotions like sadness. Figure 2 illustrates examples of emotions plotted within this 3D space.
Generation of Emotional Labels: We employed the 3D labeling method described in [52] to obtain dominance, valence, and arousal values. Unlike traditional methods that convert categorical emotion labels into 3D coordinates to infer the same emotion, our approach augments this technique by utilizing the probabilistic vectors generated from eight emotion labels via the pre-trained facial emotion recognition model, EmoFAN [24]. These vectors convey a more nuanced array of information compared to the conventional one-hot label vectors. Additionally, EmoFAN calculates valence and arousal rates for each image, thereby streamlining our methodology by necessitating the generation of only the dominance value. This integration with EmoFAN’s valence and arousal estimates yields a holistic 3D representation of each emotional state, encompassing dominance, valence, and arousal (see Figure 7).
Figure 7. Data Annotation Process.
Figure 8 presents several examples along with 3D labels from PE3D, showcasing four emotions: happiness, sadness, surprise, and fear derived from Impressionism (IM), as illustrated in subfigures (a–d). The analysis of average 3D label centers for IM in Table 5 reveals a predominance of negative emotions within IM, characterized by lower valence values. Subfigures (e) through (h) display happy faces originating from various art movements, indicating similar dominance values. However, distinctions in valence values are notable; happy faces from Rococo (RO) exhibit higher valence compared to those from the High-Renaissance (HR) and Impressionism (IM), as evidenced by the elevated average valence in RO in Table 5. Subfigures (i) through (l) explore the variation in emotional expression across different cultural contexts. The Japanese art style Ukiyo (UK) predominantly features negative emotions, including surprise, fear, and disgust, attributed to its frequent depictions of national wars and mythical conflicts. A significant observation is the higher arousal values associated with surprise in UK art, likely due to the exaggerated portrayal of Asian facial features, such as slender eyebrows and the increased spacing between eyebrows and eyes. These elements indicate widened eyes and raised eyebrows, facial expressions commonly linked to surprise or fear.
Figure 8. Examples of PE3D. The 3D labels are dominance, valence, and arousal (D, V, A). (a) Happy (IM), (0.49, 0.23, 0.28). (b) Sad (IM), (−0.56, −0.38, 0.14). (c) Surprise (IM), (−0.55, −0.01, 0.29). (d) Fear (IM), (−0.43, −0.41, 0.15). (e) Happy (HR), (0.55, 0.08, 0.17). (f) Happy (IM), (0.51, 0.14, 0.16). (g) Happy (IM), (0.51, 0.18, 0.24). (h) Happy (RO), (0.51, 0.21, 0.14). (i) Surprise (RO), (0.02, 0.03, 0.28). (j) Surprise (UK), (−0.26, −0.09, 0.7). (k) Fear (NR), (−0.7, −0.23, 0.61). (l) Fear (UK), (−0.27, −0.07, 0.46).
Table 5. Three-dimensional emotion distribution of different art movements. The average 3D emotion labels have been calculated for each art movement. Average emotion centers show that different art movements have different emotion distributions in portrait emotions (adapted from [52]).

3.3. Dataset Properties

Copyright and Privacy: The PE3D dataset has no copyright of the images. WikiArt [80] and the French Painting Dataset [81] from Roboflow (https://universe.roboflow.com/) hold the copyright. Access to the dataset is granted to researchers upon agreement to the terms outlined in the licenses of WikiArt and Roboflow. It is incumbent upon researchers to use the PE3D dataset exclusively for non-commercial research and educational purposes.
Data Analysis: Our dataset comprises 1136 high-quality images, among which 927 are annotated with specific art movement labels, and 209 are classified under the ‘Not Defined’ (ND) category for art movements. We have included six distinct art movements within the dataset, featuring a notable Japanese painting style known as Ukiyo-e (see Table 6). The assortment of art styles follows the methodology outlined in a previous study [52], and for a detailed breakdown of the art style distribution, we refer readers to Figure 6b. The PE3D dataset boasts a high-resolution standard among its images, with over 90% of them exceeding the dimensions of 200 × 200 pixels; the quality of these images is detailed further in Figure 6a. Additionally, the dataset is distinguished by its thorough annotation of 3D emotion labels according to three dimensions: Dominance (D), Valence (V), and Arousal (A). When used in conjunction with categorical emotion labels, these dimensions are instrumental for estimating emotional states.
Table 6. Emotion distribution of different art movements. Emotion distribution and number of images in each art movement.
Figure 9 demonstrates the superiority of 3D labels (DVA) in the recognition and quantification of facial emotions. Panels (a) and (b) of Figure 9 depict faces categorized as “Sad” and “Anger”, respectively. Notably, the emotion displayed in panel (b) embodies a mixture of both sadness and anger, a nuance that categorical labels fail to represent. The DVA system’s three-dimensional coordination successfully illuminates this complexity. In Figure 9e,f, the ambiguous emotional expression in panel (b) is situated near the midpoint between the “Sad” and “Anger” coordinates in the DVA space, symbolizing its dual nature. Conversely, the expression in panel (a) is positioned closer to the “Sad” endpoint, affirming its predominantly sad emotional content. Further examination of panels (c) and (d) in Figure 9, both tagged as “Happy”, underscores the inability of categorical labels to distinguish varying intensities within a single emotional category. Here, the DVA system proves invaluable: the expression in panel (c) is assigned a higher valence value (0.37) compared to that in panel (d) (0.1), quantitatively capturing the degree of happiness and offering a nuanced understanding that categorical labels cannot provide. Overall, the use of 3D labels via DVA coordination affords a nuanced and precise representation of facial emotions, transcending the limitations of traditional categorical labeling and enhancing our understanding of emotional complexity.
Figure 9. Three-dimensional emotion distribution for art portraits. (a–d) Four portrait faces from PE3D. DVA: Dominance, Valence, and Arousal. (e) The arousal and valence coordination with emotions of (a–d), and three emotion centers plotted. (e) The dominance and valence coordination. (a) Sad, DVA: (−0.68, −0.38, −0.31). (b) Anger, DVA: (−0.47, −0.37, −0.12). (c) Happy, DVA: (0.51, 0.37, 0.06). (d) Happy, DVA: (0.5, 0.1, 0.08). (e) Arousal and valence. (f) Dominance and valence.
Artist Analysis: The images were annotated with the names of the artists who created them, identified through manual searches using Google Image and ChatGPT vision technology. Each cropped face was labeled accordingly. In instances where information about the artist or relevant web resources was unavailable, the label ‘Unknown’ was used. Figure 10 shows the distribution of the number of collected paintings from different artists. The relationship between three-dimensional (3D) labels and artist styles is detailed in Table 7 and Figure 11, which illustrates the average 3D emotion values attributed to the artists. It has been noted that artists identified with the Rococo style manifest the highest dominance values, outperforming artists associated with other styles, despite exhibiting negative valence values, which are still higher than those found in other categories. Impressionism is ranked next, with eminent artists such as Monet, Manet, and Pierre displaying comparable dominance and valence values. In contrast, Edgar Degas demonstrates lower dominance values, which positions him closer to Post-Impressionist artists. High-Renaissance artists, represented by Leonardo da Vinci, exhibit greater dominance in their portrayal of elongated faces compared to their contemporaries. A closer look at the painted expressions of Leonardo and Raphael in Figure 11 reveals a correlation between higher dominance and emotions typically associated with happiness and contempt, with Leonardo’s works often conveying confidence and gravity, whereas Raphael’s images appear more natural, exuding a gentle and accessible demeanor (Figure 12a–d). Henri de Toulouse-Lautrec, along with Post-Impressionists such as Paul Cézanne, Vincent van Gogh, and Paul Gauguin, portrayed emotions with heightened dominance values, suggesting surprise over uncontrolled emotions such as sadness or fear (Figure 12e–h). Moreover, artists from the Ukiyo-e tradition are distinguished for their depiction of emotions like anger and surprise, which exhibit higher arousal values than the ones depicted by other artists.
Figure 10. Data distribution of artists.
Table 7. Data distribution of different artists. Emotion distribution and number of images (larger than 10) from each artist.
Figure 11. 3D Values of Artists.
Figure 12. Examples of PE3D. Three-dimensional labels are dominance, valence, and arousal (D, V, A). (a,b) Painted by Leonardo da Vinci. (c,d) Painted by Raphael. (e–h) Painted by Henri de Toulouse-Lautrec, Paul Cézanne, Paul Gauguin, and Vincent van Gogh, respectively. (a) (0.09, −0.07, 0.28). (b) (0.01, −0.21, 0.17). (c) (0, −0.02, 0.20). (d) (0, −0.11, 0.32). (e) (0.01, −0.30, 0.08). (f) (−0.2, −0.38, −0.03). (g) (−0.16, −0.33, 0.33). (h) (−0.41, −0.19, 0.05).
Dataset Comparison: Furthermore, we conducted a comparative analysis of our dataset with other well-regarded datasets to underscore its superior attributes. Figure 13 showcases sample images from both our dataset and FER+, illustrating that our dataset comprises high-resolution facial images. Contrarily, the majority of extant datasets [40,43,46] feature images with resolutions below 100 × 100 pixels. For instance, the resolution of images in FER2013 stands at 48 × 48 pixels. In stark contrast, the average resolution in PE3D reaches 400 × 400 pixels, markedly surpassing those of current datasets. This enhanced resolution provides a wealth of detail on facial features, significantly aiding research on the subtle nuances and shifts in facial expressions.
Figure 13. Dataset comparison.
Furthermore, our dataset, which focuses on portrait faces, includes images demonstrating considerable variations in painting styles and appearance. As outlined in previous sections, this dataset encompasses six distinctly different art movements, which exhibit variations in color, texture, brushwork, and emotional expression, as depicted in Figure 13).

4. Self-Attention Network for Portrait FER

4.1. The Portrait Swin Transformer (PST)

The Portrait Swin Transformer (PST) network consists of two main components: a feature extraction module and a Swin Transformer module, the latter leveraging a self-attention mechanism to distill local features (Refer to Figure 14 for visual representation). The feature extraction module is designed to extract global information from the input images. In this research, we adopt the Res50 model [84], previously trained on the ImageNet dataset [85], as the baseline model and global feature extraction model. To capture the details of emotional expression in portrait faces, we utilize a Swin Transformer [86] (refer to Figure 15) to produce local feature maps. This choice is predicated on the Swin Transformer’s ability to segment the image into distinct tokens, each encapsulating local details of a particular facial region. Leveraging its self-attention mechanism and standard configurations, the Swin Transformer adeptly identifies the local nuances and the interrelations among various facial components. Emotion recognition tasks, for example, assign heightened attention to the eyebrows when identifying emotions like sadness or anger.
Figure 14. Overview of the architecture of the PST module. The blue dash box shows the location where PST is added in a traditional FER model. A pre-trained backbone model is implemented in the red dash rectangle to generate global features for the following feature fusion with local features output by the Swin Transformer. After feature fusion and a fully connected layer, the 3Demo will be applied to generate the final results.
Figure 15. Swin Transformer structure (the right image is borrowed from article [86]).
After the Swin Transformer module, the global features generated by the Feature Extraction Module and local features will be concatenated together and processed through a fully connected layer aimed at compressing the feature vector to a dimensionality of 512. Then, the combined feature will be processed by the 3DEmo Module [52] and integrated with the 3D label information in PE3D (refer to Figure 15). Finally, the module calculates the output labels from the global-local features associated with the emotions of the portrait faces. The entire architecture is optimized through end-to-end training, leveraging specific loss functions. More details about the loss functions will be explained in the following paragraph. Additionally, the forward pseudo-code for the PST is detailed in Algorithm 1.

4.2. Swin Transformer Module

Swin Transformer: The Swin Transformer [86] module, a variant of the ViT architecture, is tailored to meet the specific demands of portrait Facial Expression Recognition (FER) (Refer to Figure 15). Its objective is to amalgamate local image features, thereby capturing the subtle details and expressions pivotal for precise emotion recognition in portraits. The operation of the Swin Transformer module commences by segmenting the input image into diminutive patches, termed tokens. A hallmark of the Swin Transformer is its shifting window mechanism, which dynamically alters the confines of these tokens throughout the learning phase. This innovation enables the model to assimilate diverse information from various facial regions. By focusing on local and global features, the Swin Transformer adeptly seizes the intricate details and the overarching context of the face, yielding distinctive and resilient features for portrait FER. After the Swin Transformer module, the collated features are channeled through a fully connected layer. This layer condenses the feature vector to a more tractable dimensionality, typically 512. The final step involves the generation of output labels that correspond to the emotions depicted by the portrait faces.
Algorithm 1 Forward Algorithm of PST
Require: 
mini-batch input X i n , Dimension of X i n is               ▹ B×3×W×H 
Require: 
Baseline model R e s 50
Require: 
Swin Transformer model S T , initialized with pre-trained weights [86]
Require: 
3DEmo Module: 3 D E m o , initialized with hyper-parameters [52]
1:
X g = R e s 50 ( X i n )
2:
X l = S T ( X i n )                                ▹ B×1×768 
3:
X g = a v g p o o l ( X g )
4:
X g = ( X g ). r e s h a p e ()                               ▹ B×1×512 
5:
# The following codes are in the Global-Local Fusion Module
6:
X o u t = C o n c a t ( X l , X g )                            ▹ B×1×(512+768) 
7:
X o u t = L i n e a r ( X o u t )                               ▹ B×1×512 
8:
X o u t = 3 D E m o ( X o u t )                               ▹ B×1×8 
9:
return X o u t
The Swin Transformer architecture undergoes end-to-end training, employing a specialized loss function designed for FER tasks. This optimization procedure hones the model’s capacity to discern and categorize emotions accurately in portrait imagery. Algorithm  2 is a simplified pseudo-code for the Portrait Swin Transformer (PST) process:
Algorithm 2 Forward Algorithm of ST()
Require: 
mini-batch input X i n , Dimension of X i n is                     ▹ B×3×W×H 
Require: 
Swin Transformer Blocks Stages S w i n S t a g e s , initialized with hyper-parameters [86]
Require: 
Linear Embedding Layer L E , initialized with hyper-parameters [86]
  1:
p a t c h e s = P a r t a t i o n I m a g e ( X i n )                           ▹ B×C×W/4×H/4×4×4 
  2:
t o k e n s = L E ( p a t c h e s )                                    ▹ B×C×(W*H) 
  3:
for  S w i n B l o c k in S w i n S t a g e s   do
  4:
t o k e n s = S w i n B l o c k ( t o k e n s )
  5:
if  S w i n B l o c k not the last then
  6:
t o k e n s = M e r g e T o k e n s ( t o k e n s )
  7:
end if
  8:
end for
  9:
X o u t = L i n e a r ( t o k e n s )                                   ▹ B×1×(512) 
 10:
return  X o u t
By harnessing the strengths of transformers and the specialized Swin Transformer module, neural networks can learn context and understand through the use of sequential data analysis. The mathematical techniques set, generally known as attention or self-attention, helps identify how distant data elements influence and depend on one another. This methodology presents a promising avenue for the intricate task of facial expression recognition in portrait images.

4.3. Loss Functions

Loss function in our applications: Loss functions are critical components in machine learning as objective measures of how well an algorithm models a given dataset. They guide the model training process by adjusting the model parameters to minimize the loss and improve predictive accuracy. The choice of a loss function depends on various factors, including the nature of the problem, the data distribution, and the desired characteristics of the model. Different loss functions emphasize different aspects of model performance and may be more suitable for specific applications. Different loss functions are listed in Table 8.
Table 8. Types of loss functions.
Loss Functions in FER Tasks: In the context of Facial Expression Recognition (FER) tasks, cross-entropy loss functions are primarily used to maximize the likelihood of correct classifications while minimizing incorrect classifications, especially with one-hot-encoded labels. While cross-entropy loss can significantly enhance model accuracy, it also risks diminishing the utility of information obtained from the model’s outputs. In FER, each emotional label carries specific information, but the traditional cross-entropy approach might limit its applicability in emotion-related research.
Proposed Novel Loss Function: We propose a novel loss function that integrates cross-entropy and Euclidean distance metrics to address these limitations. This combined approach aims to retain detailed information about emotional labels while guiding the model toward accurate predictions. Consequently, we proposed a novel loss function that integrates the cross-entropy and Euclidean distance metrics.
L o s s c e = C E ( f ( X ) , t a r g e t s )
L o s s d i s = M S E ( D i s ( 3 D ( f ( X ) ) , c e n t e r s ) , t a r g e t s )
L o s s d v a = M S E ( 3 D ( f ( X ) ) , D V A l a b e l s )
Our proposed method employs three different loss functions to enhance the model’s performance. Initially, we apply the cross-entropy loss to measure the discrepancy between the predicted categorical labels and the actual labels, which is a conventional approach in classification tasks (Equation (1)). Subsequently, we introduce a distance loss function that calculates the Euclidean distance between the predicted 3D labels and the pre-trained 3D emotion centers. This calculation involves an input image X, from which the function f ( X ) derives an embedding vector. The 3 D ( ) module is then responsible for generating the predicted 3D emotion labels, while D i s ( ) computes the distance to the pre-trained 3D emotion centers obtained from PE3D (Equation (2)). This stage also includes an additional linear neural layer to produce a refined emotion logit vector based on the 3D emotion labels, applying a center-based mean square error loss to compute L d i s (Equation (2)). The third loss function is employed when the training dataset contains 3D labels, such as PE3D, optimizing the output 3D labels via mean square loss. Finally, the composite loss function (Equation (4)) incorporates different ratio parameters, optimized based on experimental results cited from the literature [87], with a balanced 1:1:1 ratio of the loss functions to achieve optimal results. If the 3D labels are available in the training set, the L d v a and L o s s d i s will be added.
L o s s = L o s s c e + L o s s d i s + ( L d v a )

5. Experiments

5.1. Implementation Details

Dataset: In this experiment, we employ the PE3D and FER+ datasets. Ablation studies utilizing the PE3D dataset illustrate the advantages of using 3D labels. To highlight the benefits of PE3D and PST, we evaluate the performance of several baseline models using the FER+ dataset.
Architecture: This study employs two backbones to generate image embeddings of inputs. Specifically, we employ Resnet18 and Resnet50 [84], pre-trained on ImageNet [85], to generate global feature representations, aligning with methodologies utilized in prior research [49]. Additionally, our model incorporates a 3Demo structure that is principally aligned with the model outlined in the paper [52]. The only difference is that the model will be trained to predict 3D labels in this model instead of only the dominance value in [52], with a notable modification: our model is designed to predict 3D labels rather than focusing solely on the dominance value. We employ Swin Transformer [86] for the PST module pre-trained on ImageNet [85]. The Swin Transformer’s initial weights are adopted as the starting point for our network, enhancing the model’s capability in local feature extraction.
Training hyper-parameters: In this study, we adhere to the standard training procedures established by prior research [49]. Specifically, we configure the training batch size at 128 and set the initial learning rate to 0.01, conducting the training over a total of 70 epochs. The models are trained on the entire training set and evaluated using the testing set. Throughout all training phases, we utilize the Adam optimizer [88] with a momentum of 0.9 to enhance the training efficiency.

5.2. Ablation Studies

Our proposed method comprises two primary components: a training strategy leveraging 3D labels and a local feature extraction module utilizing a Swin Transformer [86]. To determine the effectiveness of each component, we conducted several ablation studies. We employed the L c o n loss function throughout these experiments and adhered to the same hyperparameters outlined in Section 5.1. Our baseline models used ResNet18 and ResNet50 [84] with pre-trained weights from ImageNet [85]. Furthermore, we evaluated the performance of our method on the PE3D benchmark to illustrate its effectiveness.
Effectiveness of 3D labels in PE3D: The results presented in Table 9 highlight the efficacy of incorporating 3D labels in the training process. Our experiment involved two backbone models operated under the same conditions. Notably, without including PE3D 3D labels, which contain 3D emotion information during training, ResNet18 and ResNet50 achieved accuracies of only 57.2% and 62.3% on the PE3D testing dataset, respectively. However, training with L o s s d v a that integrated 3D emotion centers’ information resulted in a notable increase in accuracy by over 2%. This finding highlights the pivotal role of the PE3D dataset in boosting the models’ proficiency in recognizing variations in portrait facial emotions. Additionally, we evaluated a method, SCN [49], devoid of training with L o s s d v a . In contrast, the approach referenced in [52], which solely leverages 3D labels and utilizes Fuzzy C-means [89] for classification, was also examined. According to Table 9, the integration of 3D labels surpassed the deep learning technique by an excess of 15% regarding accuracy on the PE3D test set. This result reaffirms the substantial impact of 3D labels in emotion estimation, particularly in datasets characterized by considerable variation, such as PE3D.
Table 9. Evaluation of different training data.
Effectiveness of PST network: To evaluate the effectiveness of our proposed approach, Portrait Swin Transformation (PST), along with its components, was conducted using several experiments on the dataset. An analysis of Table 10 demonstrates that integrating global and local features enhances the base model’s performance by an additional 2–5%. Furthermore, the study also explored the application of 3D labels. The results indicate that adding 3D labels to PST does not significantly improve accuracy during testing (around 1–2%). We believe the testing accuracy is determined using a single categorical emotion label. The 3D labels, in contrast, are more suited for depicting complex emotions, as illustrated in the examples in Figure 9. Conversely, PST is more capable of learning from the training set by extracting pertinent features for emotion classification.
Table 10. Evaluation of global and local features on the fused dataset.
Comparison with the state-of-the-art: Table 11 displays the accuracy performance of the PST and PE3D labels on the FER+ [40] dataset. The combined PE3D + PST method was benchmarked against contemporary leading-edge FER techniques, with the evaluation focusing on categorical accuracy metrics. Our methodology demonstrates an average improvement of 1% over the baseline model, surpassing other current models in performance. These results indicate that our approach is superior in facial emotion classification. Consequently, our approach not only boosts the performance of existing models but also significantly enhances their robustness.
Table 11. Results of comparative methods.
In our experiments, we compared various models under identical hyperparameter settings. Additionally, we evaluated the models’ performance with and without the application of 3D labels. The Validation Data (VD) in FER+ is used for training, while the model’s accuracy was assessed using the FER+ Testing Data.
Experiments with SCN: The Self-Attention Convolutional Network (SCN) [49], an enhancement of traditional CNNs, incorporates a self-attention mechanism for importance weighting alongside a ranking regularization layer and a relabeling optimization approach. In our implementation, we use the same hyper-parameters and methods described in the original paper with several modifications: we process images directly from the dataset without data augmentation; a single Nvidia RTX 3090 GPU is used for training purposes; we initiate relabeling of the training data after the first 20 epochs and set the mini-batch to 128.
The experiments indicate that when the SCN achieves 81% accuracy on the FER+ testing set. Integrating PE3D 3D labels into SCN enhances the testing accuracy by an additional 0.2%. Moreover, combining both PE3D and PST and their subsequent integration into SCN leads to a further accuracy improvement of 0.8%. This enhancement can likely be attributed to the robustness of the 3D labels and the distances to the centers, which offer both interpretable and more dataset-independent features.
Experiments with ESR-9: ESR-9 [25] denoted as ‘Ensembles with Shared Representations,’ is an ensemble model comprising nine convolutional branches. Our experiment seamlessly integrated the 3D labels and L o s s d i s into each network branch. We used the same experiment settings introduced in [52]. The results indicate that ESR-9 outperforms the other models by achieving an 87.2% higher accuracy. Utilizing PST allows the ESR-9 model to reach an 88.3% accuracy rate. Despite these enhancements, the gains are relatively modest, which could be attributed to the model’s high performance.
Experiments with EmoFAN: EmoFAN [24] represents an end-to-end model incorporating an embedded face alignment network to produce facial landmarks. It outputs emotion labels and valence and arousal values for input faces. We applied the same training and testing settings as [52].
The results demonstrate that EmoFAN achieved an accuracy of 79.6% on FER+, which is noteworthy considering the model was not trained on FER+, as indicated in the referenced paper. In Table 12, the highest accuracy obtained was 80.3% through integrating PE3D labels and L o s s d i s , marking a 0.7% improvement over the baseline model. Notably, implementing PST led to an accuracy increase of over 1%, surpassing the enhancements seen with ESR-9 and SCN. This significant improvement can be attributed to the original model’s lower baseline performance and the robust characteristics of 3D labels from PE3D. These enhancements further attest to our module’s superior performance on unseen data compared to existing methods, underscoring its potential for broad real-world application. Figure 16 shows the final confusion matrix of three FER models combined with our method.
Table 12. Effectiveness Of proposed module and loss function.
Figure 16. Confusion matrix of three FER models combined with our method on FER+. All the models are integrated with PE3D and PST modules and trained with L o s s c e + L o s s d i s . (a) Confusion matrix of EmoFAN. (b) Confusion matrix of SCN. (c) Confusion matrix of ESR-9.
Analysis of Results: Our experiments have demonstrated that the 3D labels and the L o s s d i s we developed, building on PE3D, have notably enhanced the testing accuracy of the SCN, ESR-9, and EmoFAN models. Despite these enhancements appearing marginal, they are significant given that the baseline models selected are among the state-of-the-art across several public FER datasets. Moreover, our approach distinguishes itself by concentrating on the textures and colors of art paintings rather than on real human faces. We employed class probability vectors to present our final results visually, accurately depicting the models’ prediction outcomes (see Figure 14).
We also selected three faces from the FER+ testing set to demonstrate the effectiveness of our methods (see Figure 17). The diagram shows the final emotion distribution (probability) of different methods. The three samples we showed are one fear and two neutral faces, where the other methods (SCN, EmoFAN, and ESR-9) made wrong predictions (baseline model results). However, by combining the final output with 3D distance labels, the wrong prediction can be corrected, which explains the improvement in the final accuracy. After applying the PST module, the probability of the right emotion can be further improved. However, as a tradeoff, the PST weakens the capability of the model to describe the complexity of the emotion. The results show that the PE3D labels could not only correctly predict the categorical emotion but also describe the complexity of the emotion.
Figure 17. Emotion distribution for FER+ testing samples. One fear and two neutral faces are selected from the FER+ testing set. All of them are wrongly predicted by the baseline model (they are predicted as surprise, surprise, and happy). After applying PE3D labels and PST, the prediction result can be corrected.
There are several limitations to this approach. One is the computing time for training. Table 13 shows that when using an NVIDIA RTX 3090 GPU for training, the synthesized model is slower than the original model, more than 100% slower on average. This is mainly because the parameters added by the Swin Transformer significantly increased the model’s size and the amount of calculation during training. This will be a challenge for real-time scenario applications. Another limitation is that the model’s generalization ability is weak for classes with fewer samples, such as for imbalanced datasets. For example, labels with fewer training and testing samples, such as the accuracies of “contempt” and “disgust”, are relatively poor. This problem can be addressed by balancing the dataset or performing data augmentation methods. Based on the above limitations, in the future, we want to improve the model training efficiency and the versatility of small datasets by simplifying the model parameters to optimize the model structure and adding data augmentation strategies during training.
Table 13. Training cost of our method on FER+ (Single Nvidia RTX 3090).

6. Conclusions

With its unique blend of artist and subject emotions, artistic portraiture presents distinct challenges for Emotional Expression Recognition (EER) and Facial Expression Recognition (FER). Our research introduces three pivotal advancements to address this: the PortraitEmotion3D (PE3D) dataset, a novel 3D emotion estimation method, and a cutting-edge self-attention module. The PE3D dataset is designed to classify emotions in artistic portraits, providing a crucial resource for researchers and practitioners. Our 3D emotion estimation method offers a more nuanced understanding of emotions than traditional 2D methods, while the self-attention module enhances facial feature representation, improving emotion recognition accuracy. Extensive testing on the PE3D dataset confirms our method’s superiority over existing FER techniques. By integrating our module and loss function, the accuracy of recent FER systems can have an average improvement of over 1%. Combining our method with ESR-9 also achieved a comparable accuracy of 88.3% to SOTA methods on the FER+ dataset. The PE3D dataset and our modules can benefit the comprehensive understanding of artistic emotions of different movements and eras. They can enhance the analysis of artist–artwork interactions, providing insights into the artist’s emotional state. This research could deepen our understanding of emotional expression in art and facilitate applications in various fields, including human–computer interaction, security, healthcare diagnostics, and entertainment.

Author Contributions

Conceptualization, S.L. and S.A.; methodology, S.L. and S.A.; software, S.L.; validation, S.L., S.A. and A.G.; formal analysis, S.L., S.A. and A.G.; investigation, S.L.; resources, S.L.; data curation, S.L.; writing—original draft preparation, S.L.; writing—review and editing, S.A. and A.G.; visualization, S.L.; supervision, S.A.; project administration, S.A.; funding acquisition, S.A. and S.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Research Fellowships award provided by the Art Science Connect, Graduate Center, CUNY.

Data Availability Statement

The PE3D dataset is available on Google Drive (https://drive.google.com/file/d/1qJqZUIbQpQiqzlrxa0KtgRTpsHICEI-P/view?usp=sharing (accessed on 18 June 2024)).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
FERFacial Expression Recognition
PE3DPortraitEmotion3D
DVADominance-Valence-Arousal
IMImpressionism
RORococo
HRHigh-Renaissance
UKUkiyo
NRNorthern-Renaissance
PIPost-Impressionism
NDNot Defined
PSTPortrait Swin Transformer

References

  1. Abdat, F.; Maaoui, C.; Pruski, A. Human-Computer Interaction Using Emotion Recognition from Facial Expression. In Proceedings of the 2011 UKSim 5th European Symposium on Computer Modeling and Simulation, Madrid, Spain, 16–18 November 2011; pp. 196–201. [Google Scholar] [CrossRef] [Scilit]
  2. Chowdary, M.K.; Nguyen, T.N.; Hemanth, D.J. Deep learning-based facial emotion recognition for human–computer interaction applications. Neural Comput. Appl. 2023, 35, 23311–23328. [Google Scholar] [CrossRef] [Scilit]
  3. Kim, K.H.; Park, K.; Kim, H.; Jo, B.; Ahn, S.H.; Kim, C.; Kim, M.; Kim, T.H.; Lee, S.B.; Shin, D.; et al. Facial expression monitoring system for predicting patient’s sudden movement during radiotherapy using deep learning. J. Appl. Clin. Med. Phys. 2020, 21, 191–199. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Mancini, G.; Biolcati, R.; Agnoli, S.; Andrei, F.; Trombini, E. Recognition of Facial Emotional Expressions Among Italian Pre-adolescents, and Their Affective Reactions. Front. Psychol. 2018, 9, 1303. [Google Scholar] [CrossRef] [Scilit]
  5. Tian, Y.; Suzuki, C.; Clanuwat, T.; Bober-Irizar, M.; Lamb, A.; Kitamoto, A. KaoKore: A Pre-modern Japanese Art Facial Expression Dataset. arXiv 2020, arXiv:2002.08595. [Google Scholar] [CrossRef] [Scilit]
  6. Grigoryan, A.M.; Agaian, S.S. Evidence of golden and aesthetic proportions in colors of paintings of the prominent artists. IEEE Multimed. 2019, 27, 8–16. [Google Scholar] [CrossRef] [Scilit]
  7. Grigoryan, A.M.; Agaian, S.S. Asymmetric and symmetric gradient operators with application in face recognition in Renaissance portrait art. Mob. Multimed./Image Process. Secur. Appl. 2019, 10993, 114–125. [Google Scholar]
  8. Grigoryan, A.M.; Agaian, S.S. Color-Coded Symbology and New Computer Vision Tool to Predict the Historical Color Pallets of the Renaissance Oil Artworks. arXiv 2021, arXiv:2103.00238. [Google Scholar]
  9. Liu, S.; Yang, J.; Agaian, S.S.; Yuan, C. Novel features for art movement classification of portrait paintings. Image Vis. Comput. 2021, 108, 104121. [Google Scholar] [CrossRef] [Scilit]
  10. Yaniv, J.; Newman, Y.; Shamir, A. The Face of Art: Landmark Detection and Geometric Style in Portraits. ACM Trans. Graph. 2019, 38. [Google Scholar] [CrossRef] [Scilit]
  11. Achlioptas, P.; Ovsjanikov, M.; Haydarov, K.; Elhoseiny, M.; Guibas, L. ArtEmis: Affective language for visual art. In Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), Virtual, 19–25 June 2021; pp. 11569–11579. [Google Scholar]
  12. Volkova, E.; de la Rosa, S.; Bülthoff, H.H.; Mohler, B. The MPI emotional body expressions database for narrative scenarios. PLoS ONE 2014, 9, e113647. [Google Scholar] [CrossRef] [Scilit]
  13. Kamble, K.; Sengupta, J. A comprehensive survey on emotion recognition based on electroencephalograph (EEG) signals. Multimed. Tools Appl. 2023, 82, 27269–27304. [Google Scholar] [CrossRef] [Scilit]
  14. Verma, G.K.; Tiwary, U.S. Affect representation and recognition in 3D continuous valence–arousal–dominance space. Multimed. Tools Appl. 2017, 76, 2159–2183. [Google Scholar] [CrossRef] [Scilit]
  15. Benitez-Quiroz, C.F.; Srinivasan, R.; Martinez, A.M. EmotioNet: An Accurate, Real-Time Algorithm for the Automatic Annotation of a Million Facial Expressions in the Wild. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 5562–5570. [Google Scholar] [CrossRef] [Scilit]
  16. Suk, M.; Prabhakaran, B. Real-Time Mobile Facial Expression Recognition System—A Case Study. In Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition Workshops, Columbus, OH, USA, 23–28 June 2014; pp. 132–137. [Google Scholar] [CrossRef] [Scilit]
  17. Happy, S.L.; George, A.; Routray, A. A real time facial expression classification system using Local Binary Patterns. In Proceedings of the 2012 4th International Conference on Intelligent Human Computer Interaction (IHCI), Kharagpur, India, 27–29 December 2012; pp. 1–5. [Google Scholar] [CrossRef] [Scilit]
  18. Szwoch, M.; Pieniazek, P. Facial emotion recognition using depth data. In Proceedings of the 2015 8th International Conference on Human System Interaction (HSI), Warsaw, Poland, 25–27 June 2015; pp. 271–277. [Google Scholar] [CrossRef] [Scilit]
  19. Sujono; Gunawan, A.A. Face Expression Detection on Kinect Using Active Appearance Model and Fuzzy Logic. Procedia Comput. Sci. 2015, 59, 268–274. [Google Scholar] [CrossRef] [Scilit]
  20. Li, S.; Deng, W. Deep facial expression recognition: A survey. IEEE Trans. Affect. Comput. 2020, 13, 1195–1215. [Google Scholar] [CrossRef] [Scilit]
  21. Fasel, B. Robust face analysis using convolutional neural networks. In Proceedings of the 2002 International Conference on Pattern Recognition, Quebec City, QC, Canada, 11–15 August 2002; Volume 2, pp. 40–43. [Google Scholar] [CrossRef] [Scilit]
  22. Fasel, B. Head-pose invariant facial expression recognition using convolutional neural networks. In Proceedings of the Fourth IEEE International Conference on Multimodal Interfaces, Pittsburgh, PA, USA, 16 October 2002; pp. 529–534. [Google Scholar] [CrossRef] [Scilit]
  23. Breuer, R.; Kimmel, R. A Deep Learning Perspective on the Origin of Facial Expressions. arXiv 2017, arXiv:1705.01842. [Google Scholar] [CrossRef] [Scilit]
  24. Toisoul, A.; Kossaifi, J.; Bulat, A.; Tzimiropoulos, G.; Pantic, M. Estimation of continuous valence and arousal levels from faces in naturalistic conditions. Nat. Mach. Intell. 2021, 3, 42–50. [Google Scholar] [CrossRef] [Scilit]
  25. Siqueira, H.; Magg, S.; Wermter, S. Efficient Facial Feature Learning with Wide Ensemble-based Convolutional Neural Networks. Proc. AAAI Conf. Artif. Intell. 2020, 34, 5800–5809. [Google Scholar] [CrossRef] [Scilit]
  26. 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, Seattle, WA, USA, 9–13 November 2015; pp. 467–474. [Google Scholar] [CrossRef] [Scilit]
  27. Chu, W.S.; Torre, F.; Cohn, J. Learning Spatial and Temporal Cues for Multi-Label Facial Action Unit Detection. In Proceedings of the 12th IEEE International Conference on Automatic Face & Gesture Recognition (FG 2017), Washington, DC, USA, 30 May–3 June 2017; pp. 25–32. [Google Scholar] [CrossRef] [Scilit]
  28. Jain, D.K.; Zhang, Z.; Huang, K. Multi angle optimal pattern-based deep learning for automatic facial expression recognition. Pattern Recognit. Lett. 2020, 139, 157–165. [Google Scholar] [CrossRef] [Scilit]
  29. Ji, S.; Xu, W.; Yang, M.; Yu, K. 3D Convolutional Neural Networks for Human Action Recognition. IEEE Trans. Pattern Anal. Mach. Intell. 2013, 35, 221–231. [Google Scholar] [CrossRef] [Scilit]
  30. Geraets, C.; Klein Tuente, S.; Lestestuiver, B.; van Beilen, M.; Nijman, S.; Marsman, J.; Veling, W. Virtual reality facial emotion recognition in social environments: An eye-tracking study. Internet Interv. 2021, 25, 100432. [Google Scholar] [CrossRef] [Scilit]
  31. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention is All you Need. arXiv 2017, arXiv:1706.03762. [Google Scholar]
  32. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv 2020, arXiv:2010.11929. [Google Scholar]
  33. Li, H.; Sui, M.; Zhao, F.; Zha, Z.; Wu, F. MVT: Mask vision transformer for facial expression recognition in the wild. arXiv 2021, arXiv:2106.04520. [Google Scholar]
  34. Ma, F.; Sun, B.; Li, S. Facial expression recognition with visual transformers and attentional selective fusion. IEEE Trans. Affect. Comput. 2021, 14, 1236–1248. [Google Scholar] [CrossRef] [Scilit]
  35. Lucey, P.; Cohn, J.F.; Kanade, T.; Saragih, J.; Ambadar, Z.; Matthews, I. The Extended Cohn-Kanade Dataset (CK+): A complete dataset for action unit and emotion-specified expression. In Proceedings of the 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition - Workshops, San Francisco, CA, USA, 13–18 June 2010; pp. 94–101. [Google Scholar] [CrossRef] [Scilit]
  36. Du, S.; Tao, Y.; Martinez, A.M. Compound facial expressions of emotion. Proc. Natl. Acad. Sci. USA 2014, 111, E1454–E1462. [Google Scholar] [CrossRef] [Scilit]
  37. Mavadati, S.M.; Mahoor, M.H.; Bartlett, K.; Trinh, P.; Cohn, J.F. DISFA: A Spontaneous Facial Action Intensity Database. IEEE Trans. Affect. Comput. 2013, 4, 151–160. [Google Scholar] [CrossRef] [Scilit]
  38. Pham, T.D.; Duong, M.T.; Ho, Q.T.; Lee, S.; Hong, M.C. CNN-Based Facial Expression Recognition with Simultaneous Consideration of Inter-Class and Intra-Class Variations. Sensors 2023, 23, 9658. [Google Scholar] [CrossRef] [Scilit]
  39. Pantic, M.; Valstar, M.; Rademaker, R.; Maat, L. Web-based database for facial expression analysis. In Proceedings of the 2005 IEEE International Conference on Multimedia and Expo, Amsterdam, The Netherlands, 6 July 2005. [Google Scholar] [CrossRef] [Scilit]
  40. Zahara, L.; Musa, P.; Prasetyo Wibowo, E.; Karim, I.; Bahri Musa, S. The Facial Emotion Recognition (FER-2013) Dataset for Prediction System of Micro-Expressions Face Using the Convolutional Neural Network (CNN) Algorithm based Raspberry Pi. In Proceedings of the 2020 Fifth International Conference on Informatics and Computing (ICIC), Gorontalo, Indonesia, 3–4 November 2020; pp. 1–9. [Google Scholar] [CrossRef] [Scilit]
  41. Kim, D.H.; Baddar, W.J.; Jang, J.; Ro, Y.M. Multi-Objective Based Spatio-Temporal Feature Representation Learning Robust to Expression Intensity Variations for Facial Expression Recognition. IEEE Trans. Affect. Comput. 2019, 10, 223–236. [Google Scholar] [CrossRef] [Scilit]
  42. Yan, W.J.; Li, X.; Wang, S.J.; Zhao, G.; Liu, Y.J.; Chen, Y.H.; Fu, X. CASME II: An Improved Spontaneous Micro-Expression Database and the Baseline Evaluation. PLoS ONE 2014, 9, e86041. [Google Scholar] [CrossRef] [Scilit]
  43. Dhall, A.; Sharma, G.; Goecke, R.; Gedeon, T. EmotiW 2020: Driver Gaze, Group Emotion, Student Engagement and Physiological Signal Based Challenges. In Proceedings of the 2020 International Conference on Multimodal Interaction, Virtual, 25–29 October 2020; Association for Computing Machinery: New York, NY, USA, 2020; pp. 784–789. [Google Scholar]
  44. Zhang, X.; Yin, L.; Cohn, J.F.; Canavan, S.; Reale, M.; Horowitz, A.; Liu, P.; Girard, J.M. BP4D-Spontaneous: A high-resolution spontaneous 3D dynamic facial expression database. Image Vis. Comput. 2014, 32, 692–706. [Google Scholar] [CrossRef] [Scilit]
  45. Hasani, B.; Mahoor, M.H. Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Networks. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Honolulu, HI, USA, 21–26 July 2017. [Google Scholar] [CrossRef] [Scilit]
  46. Mollahosseini, A.; Hasani, B.; Mahoor, M.H. AffectNet: A Database for Facial Expression, Valence, and Arousal Computing in the Wild. IEEE Trans. Affect. Comput. 2019, 10, 18–31. [Google Scholar] [CrossRef] [Scilit]
  47. Kossaifi, J.; Walecki, R.; Panagakis, Y.; Shen, J.; Schmitt, M.; Ringeval, F.; Han, J.; Pandit, V.; Toisoul, A.; Schuller, B.; et al. SEWA DB: A Rich Database for Audio-Visual Emotion and Sentiment Research in the Wild. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 43, 1022–1040. [Google Scholar] [CrossRef] [Scilit]
  48. Barsoum, E.; Zhang, C.; Canton Ferrer, C.; Zhang, Z. Training Deep Networks for Facial Expression Recognition with Crowd-Sourced Label Distribution. In Proceedings of the ACM International Conference on Multimodal Interaction (ICMI), Tokyo, Japan, 12–26 November 2016. [Google Scholar]
  49. Wang, K.; Peng, X.; Yang, J.; Lu, S.; Qiao, Y. Suppressing Uncertainties for Large-Scale Facial Expression Recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020. [Google Scholar] [CrossRef] [Scilit]
  50. Lyons, M.; Kamachi, M.; Gyoba, J. The Japanese Female Facial Expression (JAFFE) Dataset. arXiv 1998, arXiv:2009.05938. [Google Scholar] [CrossRef] [Scilit]
  51. Yin, L.; Wei, X.; Sun, Y.; Wang, J.; Rosato, M.J. A 3D Facial Expression Database for Facial Behavior Research. In Proceedings of the 7th International Conference on Automatic Face and Gesture Recognition (FGR06), Southampton, UK, 10–12 April 2006. [Google Scholar]
  52. Liu, S.; Agaian, S.S. 3DEmo: For Portrait Emotion Recognition with New Dataset. J. Comput. Cult. Herit. 2023, 17, 1–26. [Google Scholar] [CrossRef] [Scilit]
  53. Ekman, P.; Friesen, W.V. Constants across cultures in the face and emotion. J. Personal. Soc. Psychol. 1971, 17 2, 124–129. [Google Scholar] [CrossRef] [Scilit]
  54. Ekman, P. Strong evidence for universals in facial expressions: A reply to Russell’s mistaken critique. Psychol. Bull. 1994, 115, 268–287. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  55. Lee, K.K.; Xu, Y. Real-time estimation of facial expression intensity. In Proceedings of the 2003 IEEE International Conference on Robotics and Automation (Cat. No.03CH37422), Taipei, Taiwan, 14–19 September 2003; Volume 2, pp. 2567–2572. [Google Scholar] [CrossRef] [Scilit]
  56. Ekundayo, O.; Viriri, S. Facial Expression Recognition and Ordinal Intensity Estimation: A Multilabel Learning Approach. In Advances in Visual Computing; Bebis, G., Yin, Z., Kim, E., Bender, J., Subr, K., Kwon, B.C., Zhao, J., Kalkofen, D., Baciu, G., Eds.; Springer: Cham, Switzerland, 2020; pp. 581–592. [Google Scholar]
  57. Zhou, Y.; Xue, H.; Geng, X. Emotion Distribution Recognition from Facial Expressions. In Proceedings of the 23rd ACM International Conference on Multimedia, Brisbane, Australia, 26–30 October 2015; pp. 1247–1250. [Google Scholar] [CrossRef] [Scilit]
  58. Ekundayo, O.; Viriri, S. Facial Expression Recognition: A Review of Trends and Techniques. IEEE Access 2021, 9, 136944–136973. [Google Scholar] [CrossRef] [Scilit]
  59. Plutchik, R. The nature of emotions: Human emotions have deep evolutionary roots, a fact that may explain their complexity and provide tools for clinical practice. Am. Sci. 2001, 89, 344–350. [Google Scholar] [CrossRef] [Scilit]
  60. Diener, E.; Suh, E.M.; Lucas, R.E.; Smith, H.L. Subjective well-being: Three decades of progress. Psychol. Bull. 1999, 125, 276. [Google Scholar] [CrossRef]
  61. Novaco, R.W. Anger Control: The Development and Evaluation of an Experimental Treatment; Lexington Books: Lexington, KY, USA, 1975. [Google Scholar]
  62. Öhman, A. Fear and anxiety. In Handbook of Emotions; Guilford Press: New York, NY, USA, 2008; pp. 709–729. [Google Scholar]
  63. Bonanno, G.A. Loss, trauma, and human resilience: Have we underestimated the human capacity to thrive after extremely aversive events? Am. Psychol. 2004, 59, 20. [Google Scholar] [CrossRef] [Scilit]
  64. Bakker, I.; van der Voordt, T.; Vink, P.; de Boon, J. Pleasure, Arousal, Dominance: Mehrabian and Russell revisited. Curr. Psychol. 2014, 33, 405–421. [Google Scholar] [CrossRef] [Scilit]
  65. Mehrabian, A. Pleasure-arousal-dominance: A general framework for describing and measuring individual differences in temperament. Curr. Psychol. 1996, 14, 261–292. [Google Scholar] [CrossRef] [Scilit]
  66. Cîrneanu, A.L.; Popescu, D.; Iordache, D. New trends in emotion recognition using image analysis by neural networks, a systematic review. Sensors 2023, 23, 7092. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  67. Yalçin, N.; Alisawi, M. Introducing a novel dataset for facial emotion recognition and demonstrating significant enhancements in deep learning performance through pre-processing techniques. Heliyon 2024, 10, e38913. [Google Scholar] [CrossRef] [Scilit]
  68. Müller, L.; Mohr, C.; Cano, C.; Camenzind, L.; Soborun, Y.; Jonauskaite, D. A Picture Is Worth a Thousand Words: Emotion Recognition and Qualitative Impressions of Armand Henrion’s Self-Portraits Displaying Mixed Emotions. Art Percept. 2022, 10, 334–360. [Google Scholar] [CrossRef] [Scilit]
  69. Andersen, V.V.; Verbeek, F.J. The Emotions of a Painted Face: Analyzing British Portraiture Art from the Tudors to the Victorian Era. Ph.D. Thesis, Leiden University, Leiden, The Netherlands, 2017. [Google Scholar]
  70. Scherer, K.R.; Shuman, V.; Fontaine, J.R.; Soriano, C. The GRID meets the Wheel: Assessing emotional feeling via self-report. Components Emot. Mean. Sourceb. 2013, 53, 1689–1699. [Google Scholar]
  71. Jonauskaite, D.; Mohr, C. Research with Armand Henrion Self-Portraits. 2023. Available online: https://osf.io/mf9t5/ (accessed on 1 June 2024).
  72. National Portrait Gallery. Available online: https://www.npg.org.uk/ (accessed on 28 March 2024).
  73. Yanulevskaya, V.; Uijlings, J.; Bruni, E.; Sartori, A.; Zamboni, E.; Bacci, F.; Melcher, D.; Sebe, N. In the eye of the beholder: Employing statistical analysis and eye tracking for analyzing abstract paintings. In Proceedings of the 20th ACM International Conference on Multimedia, Nara, Japan, 29 October–2 November 2012; pp. 349–358. [Google Scholar]
  74. Lowe, D. Object recognition from local scale-invariant features. In Proceedings of the Seventh IEEE International Conference on Computer Vision, Corfu, Greece, 20–25 September 1999; Volume 2, pp. 1150–1157. [Google Scholar] [CrossRef] [Scilit]
  75. MART Museum in Rovereto. Available online: https://www.mart.tn.it/en (accessed on 10 November 2024).
  76. Zhao, S.; Gao, Y.; Jiang, X.; Yao, H.; Chua, T.S.; Sun, X. Exploring principles-of-art features for image emotion recognition. In Proceedings of the 22nd ACM International Conference on Multimedia, Orlando, FL, USA, 3–7 November 2014; pp. 47–56. [Google Scholar]
  77. Lang, P.J.; Bradley, M.M.; Cuthbert, B.N. International affective picture system (IAPS): Technical manual and affective ratings. NIMH Cent. Study Emot. Atten. 1997, 1, 3. [Google Scholar]
  78. González-Martín, C.; Carrasco, M.; Wachter Wielandt, T.G. Detection of Emotions in Artworks Using a Convolutional Neural Network Trained on Non-Artistic Images: A Methodology to Reduce the Cross-Depiction Problem. Empir. Stud. Arts 2024, 42, 38–64. [Google Scholar] [CrossRef] [Scilit]
  79. Mohammad, S.; Kiritchenko, S. Wikiart emotions: An annotated dataset of emotions evoked by art. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan, 7–12 May 2018. [Google Scholar]
  80. WikiArt. WikiArt: Visual Art Encyclopedia. Available online: https://www.wikiart.org/ (accessed on 12 November 2022).
  81. Al, R. French Paintings Dataset Dataset. 2022. Available online: https://universe.roboflow.com/raya-al/french-paintings-dataset-d2vbe (accessed on 10 May 2024).
  82. Kohl, J.; Rudolph, C.; Srinivasan, R.; Roy-Chowdhury, A. FACES: Faces, Art, and Computerized Evaluation Systems—A Feasibility Study of the Application of Face Recognition Technology to Works of Portrait Art. Artibus Hist. 2018, 75, 265–291. [Google Scholar]
  83. Viola, P.; Jones, M. Rapid object detection using a boosted cascade of simple features. In Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Kauai, HI, USA, 8–14 December 2001; Volume 1. [Google Scholar]
  84. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 26 June–1 July 2016; pp. 770–778. [Google Scholar] [CrossRef] [Scilit]
  85. Deng, J.; Dong, W.; Socher, R.; Li, L.J.; Li, K.; Fei-Fei, L. ImageNet: A large-scale hierarchical image database. In Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA, 20–25 June 2009; pp. 248–255. [Google Scholar] [CrossRef] [Scilit]
  86. Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021. [Google Scholar]
  87. Liu, S.; Agaian, S.S. ALSA: Adaptive Low-light Correction and Self-Attention Module for Vehicle Re-Identification. Artif. Intell. Evol. 2023, 4, 99–119. [Google Scholar] [CrossRef] [Scilit]
  88. Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
  89. Bezdek, J.C.; Ehrlich, R.; Full, W. FCM: The fuzzy c-means clustering algorithm. Comput. Geosci. 1984, 10, 191–203. [Google Scholar] [CrossRef] [Scilit]
  90. Fan, X.; Deng, Z.; Wang, K.; Peng, X.; Qiao, Y. Learning Discriminative Representation for Facial Expression Recognition from Uncertainties. In Proceedings of the 2020 IEEE International Conference on Image Processing (ICIP), Abu Dhabi, United Arab Emirates, 25–28 October 2020; pp. 903–907. [Google Scholar] [CrossRef] [Scilit]
  91. Miao, S.; Xu, H.; Han, Z.; Zhu, Y. Recognizing Facial Expressions Using a Shallow Convolutional Neural Network. IEEE Access 2019, 7, 78000–78011. [Google Scholar] [CrossRef] [Scilit]
  92. Huang, C. Combining convolutional neural networks for emotion recognition. In Proceedings of the 2017 IEEE MIT Undergraduate Research Technology Conference (URTC), Cambridge, MA, USA, 3–5 November 2017; pp. 1–4. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.