> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/analysis/facial-expression-analysis/affdex/affectiva-affdex-signals-overview.md).

# AFFDEX Signals Overview

Understand the AFFDEX facial expression signals, including action units, EMFACS expressions, valence and engagement, plus baselining, exports and SDK versions.

*This article includes information about AFFDEX Facial Expression Analysis and resulting data/signals. This article also includes information about the current AFFDEX SDK 5.3 and previous versions.*

*For information about enabling AFFDEX in iMotions* [*Global Settings*](https://help.imotions.com/lab/sensor-setup/facial-expression-analysis/enabling-affectiva-affdex-in-imotions.md)*,* [*post-processing with AFFDEX*](https://help.imotions.com/lab/import-and-post-processing/facial-expression-analysis-importing-and-post-processing-videos.md)*, or information about* [*Facial Expression Analysis signal processing*](https://help.imotions.com/lab/analysis/facial-expression-analysis/r-notebook-fea-facial-expression-analysis-thresholding-and-aggregation.md)*, please refer to related articles.*

{% hint style="info" %}
When you update iMotions to a version with a new AFFDEX SDK, existing recordings are not automatically re-processed. New signals and other improvements only become available for existing recordings after you manually trigger post-processing of the respondent videos.
{% endhint %}

### AFFDEX Signal Types

AFFDEX Facial Expression Analysis (FEA) provides multiple signals that are categorized into four groups, which reflect different levels of FEA processing. In addition, raw facial landmarks can be obtained.

There are three levels of processing for facial expression analysis. The first level involves facial landmark detection. The second level involves processing facial landmarks for Facial Action Units signals and behavioral signals. The third level involves processing facial action units for EMFACS Expressions and Other Measures. Data is provided for each frame of video where a face is detected.

#### Summary of Signal Types

In the Signals menu of the Sensor Preview, Replay and Analysis windows, as well as in the Sensor Data export, the AFFDEX signals are organized into the following groups:

<table><thead><tr><th width="220">Group</th><th>Content</th></tr></thead><tbody><tr><td><strong>Behavioral</strong></td><td>Head pose and face position based on face detection and facial landmark locations (Pitch, Yaw, Roll, Interocular Distance).</td></tr><tr><td><strong>Facial Action Units</strong></td><td>20 of the facial action units defined by the Facial Action Coding System (FACS), detected from the movement of facial landmarks (e.g. Smile, Brow Furrow).</td></tr><tr><td><strong>EMFACS Expressions</strong></td><td>The 7 core emotions (Anger, Contempt, Disgust, Fear, Joy, Sadness, Surprise), derived from combinations of action units according to the Emotion Facial Action Coding System (EMFACS).</td></tr><tr><td><strong>Other Measures</strong></td><td>Emotion and behavior classifications based on facial landmarks and action units (Engagement, Valence, Attention, Sentimentality, Confusion, Neutral, Blink, Blink Rate, Speaking, Yawn, Pain, and the Adaptive variants).</td></tr><tr><td><strong>Landmark</strong></td><td>Coordinates of the detected facial landmarks. Landmarks are not available as signals in the iMotions UI, but can be exported with the Sensor Data export.</td></tr></tbody></table>

Signals for Facial Action Units, EMFACS Expressions, and Other Measures indicate the probability (or confidence) that a facial action unit, emotion, or other measure was detected - these signals generally range from 0 (not detected) to 100 (confident detection). Caveats include Valence ranging from -100 (negative valence detected) to +100 (positive valence detected) and Blink Rate in blinks per minute.

You can replay and review these signals in iMotions Replay windows. Available signals appear in the Signals Menu with data displayed in the Signals Panel.

<figure><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-a1782d9cc5f8f4dbac3b657847e122ade36772f8%2F132b96165e_image-1729010882176.webp?alt=media" alt=""><figcaption><p>iMotions Replay window with Affectiva AFFDEX signals</p></figcaption></figure>

#### Behavioral

Behavioral signals are based on face detection and facial landmark locations.

<table><thead><tr><th width="220">Signal</th><th width="140">Range</th><th>Description</th></tr></thead><tbody><tr><td>Pitch</td><td>-60 - 60 deg</td><td>Up/down-rotation of the detected face. Positive when the respondent is looking up, negative when looking down.</td></tr><tr><td>Yaw</td><td>-60 - 60 deg</td><td>Left/right-rotation of the detected face. Positive when the respondent is looking right, negative when looking left.</td></tr><tr><td>Roll</td><td>-70 - 70 deg</td><td>Tilt-rotation of the detected face. Positive when the respondent is tilting to the left, negative when tilting to the right.</td></tr><tr><td>Interocular Distance</td><td>0 - 360 px</td><td>Distance between the eyes in camera video pixels. Increases as the respondent moves closer to the camera.</td></tr></tbody></table>

#### Facial Action Units

Facial Action Unit signals result from analysis of facial landmarks and movements. These signals indicate detection of each Facial Action Unit:

<table><thead><tr><th width="220">Signal</th><th width="140">Range</th><th>Description</th></tr></thead><tbody><tr><td>Brow Furrow</td><td>0 - 100</td><td>Both eyebrows moved lower and closer together.</td></tr><tr><td>Brow Raise</td><td>0 - 100</td><td>Both eyebrows moved upwards.</td></tr><tr><td>Cheek Raise</td><td>0 - 100</td><td>Lifting of the cheeks, often accompanied by "crow's feet" wrinkles at the eye corners.</td></tr><tr><td>Chin Raise</td><td>0 - 100</td><td>The chin boss and the lower lip pushed upwards.</td></tr><tr><td>Dimpler</td><td>0 - 100</td><td>The lip corners tightened and pulled inwards.</td></tr><tr><td>Eye Closure</td><td>0 - 100</td><td>Both eyelids closed.</td></tr><tr><td>Eye Widen</td><td>0 - 100</td><td>The upper lid raised sufficiently to expose the entire iris.</td></tr><tr><td>Inner Brow Raise</td><td>0 - 100</td><td>The inner corners of the eyebrows are raised.</td></tr><tr><td>Jaw Drop</td><td>0 - 100</td><td>The jaw pulled downwards.</td></tr><tr><td>Lip Corner Depressor</td><td>0 - 100</td><td>Lip corners dropping downwards (frown).</td></tr><tr><td>Lip Press</td><td>0 - 100</td><td>Pressing the lips together without pushing up the chin boss.</td></tr><tr><td>Lip Pucker</td><td>0 - 100</td><td>The lips pushed forward.</td></tr><tr><td>Lip Stretch</td><td>0 - 100</td><td>The lips pulled back laterally.</td></tr><tr><td>Lip Suck</td><td>0 - 100</td><td>Pull of the lips and the adjacent skin into the mouth.</td></tr><tr><td>Lid Tighten</td><td>0 - 100</td><td>The eye aperture narrowed and the eyelids tightened.</td></tr><tr><td>Mouth Open</td><td>0 - 100</td><td>Lower lip dropped downwards.</td></tr><tr><td>Nose Wrinkle</td><td>0 - 100</td><td>Wrinkles appear along the sides and across the root of the nose.</td></tr><tr><td>Smile</td><td>0 - 100</td><td>Lip corners pulling outwards and upwards towards the ears, combined with other indicators from around the face.</td></tr><tr><td>Smirk</td><td>0 - 100</td><td>Left or right lip corner pulled upwards and outwards.</td></tr><tr><td>Upper Lip Raise</td><td>0 - 100</td><td>The upper lip moved upwards.</td></tr></tbody></table>

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-b3d90aef6cc1faa9c7247004663e07316dd7e482%2F8c53d8406e_image-1728928823276.webp?alt=media)

#### EMFACS Expressions

Emotion signals involve further analysis, based on Facial Action Unit signals. These signals indicate detection of the 7 core emotions (Joy, Anger, Disgust, Surprise, Fear, Sadness, and Contempt). EMFACS signals are calculated from the Facial Action Units associated with each emotion, as listed below.

<table><thead><tr><th width="140">Signal</th><th width="100">Range</th><th>Increases likelihood</th><th>Decreases likelihood</th></tr></thead><tbody><tr><td>Joy</td><td>0 - 100</td><td>Cheek Raise, Smile</td><td>-</td></tr><tr><td>Anger</td><td>0 - 100</td><td>Brow Furrow, Eye Widen, Lid Tighten, Upper Lip Raise, Chin Raise, Lip Press, Mouth Open</td><td>Inner Brow Raise, Outer Brow Raise, Nose Wrinkle, Smile</td></tr><tr><td>Disgust</td><td>0 - 100</td><td>Nose Wrinkle, Upper Lip Raise, Chin Raise, Mouth Open</td><td>Inner Brow Raise, Smile</td></tr><tr><td>Surprise</td><td>0 - 100</td><td>Inner Brow Raise, Outer Brow Raise, Eye Widen, Jaw Drop</td><td>-</td></tr><tr><td>Fear</td><td>0 - 100</td><td>Inner Brow Raise, Outer Brow Raise, Brow Furrow, Eye Widen, Lip Stretcher, Mouth Open</td><td>Nose Wrinkle, Smile</td></tr><tr><td>Sadness</td><td>0 - 100</td><td>Inner Brow Raise, Brow Furrow, Cheek Raise, Lip Corner Depressor, Chin Raise</td><td>Outer Brow Raise, Nose Wrinkle, Smile</td></tr><tr><td>Contempt</td><td>0 - 100</td><td>Brow Furrow, Smirk</td><td>Outer Brow Raise, Smile</td></tr></tbody></table>

#### Other Measures

Valence, Engagement, and other high-level measures (e.g. Confusion and Sentimentality) are calculated from combinations of facial action unit signals.

<table><thead><tr><th width="220">Signal</th><th width="140">Range</th><th>Description</th></tr></thead><tbody><tr><td>Engagement</td><td>0 - 100</td><td>Measure of facial muscle activation, illustrating the respondent's expressiveness. Increasing values signify increased emotional engagement, whether positive or negative.</td></tr><tr><td>Adaptive Engagement</td><td>0 - 100</td><td>Engagement corrected for speaking artifacts. Standard analysis applies when speech is not detected.</td></tr><tr><td>Valence</td><td>-100 - 100</td><td>Measure of the positive or negative nature of the respondent's experience. -100 is negative, 0 is neutral and 100 is positive.</td></tr><tr><td>Adaptive Valence</td><td>-100 - 100</td><td>Valence corrected for speaking artifacts. Standard analysis applies when speech is not detected.</td></tr><tr><td>Attention</td><td>0 - 100</td><td>Measure of focus based on the head orientation. Increasing values signify increased focus towards the camera.</td></tr><tr><td>Sentimentality</td><td>0 - 100</td><td>Evidence that the face expresses sentimentality ("happy sadness").</td></tr><tr><td>Confusion</td><td>0 - 100</td><td>Evidence that the face expresses confusion.</td></tr><tr><td>Neutral</td><td>0 - 100</td><td>Evidence that the face shows a neutral expression.</td></tr><tr><td>Blink</td><td>0 - 100</td><td>Presence of a blink.</td></tr><tr><td>Blink Rate</td><td>0 - 100</td><td>Frequency of blinks per minute, calculated over a 10 second time window. No value is reported during the first 10 seconds after a face is detected.</td></tr><tr><td>Speaking</td><td>0 - 100</td><td>Evidence that the respondent was speaking, based on mouth movement. Requires baselining.</td></tr><tr><td>Yawn</td><td>0 - 100</td><td>Evidence that the face expresses a yawn. Requires baselining.</td></tr><tr><td>Pain</td><td>0 - 100</td><td>Probability that the face expresses pain. Requires baselining.</td></tr></tbody></table>

**Valence**

**Positive Valence** consists of the following:

* Smile
* Cheek Raise

**Negative Valence** consists of the following:

* Inner Brow Raise
* Brow Furrow
* Nose Wrinkle
* Lip Corner Depressor
* Chin Raise
* Lip Press
* Lip Suck & Upper Lip Raise were previously used in SDK 4.0 (removed from SDK 5.2)

**Engagement**

**Engagement** consists of the following:

* Inner Brow Raise (added with SDK 5.2)
* Brow Raise
* Brow Furrow
* Cheek Raise
* Nose Wrinkle
* Lip Corner Depressor
* Chin Raise
* Lip Press
* Mouth Open
* Lip Suck
* Smile

**Speaking and Adaptive Signals**

The Speaking signal (added with AFFDEX 5.2) indicates detection of facial movements associated with vocalizations (e.g. chin drop or smile) to classify when people are speaking.

Adaptive Engagement and Adaptive Valence signals (added with AFFDEX 5.2) involve adaptations for facial movements associated with vocalizations, to improve these classifications when people are speaking. Adaptive signals may be preferable for studies that involve participants speaking.

**Blink Signals**

The Blink signal indicates eye closure, when the detection score gets above and then below a certain threshold during a specific time range. Blink Rate is calculated from the Blink signal (in blinks per minute).

**Sentimentality**

Sentimentality (added with AFFDEX 5.1) is defined as "happy sadness", and is often seen when watching emotionally resonant material. To isolate the AUs that can be associated with sentimentality, Affectiva presented a battery of advertisements that were thought to elicit sentimental responses from viewers, who ranked the videos on their level of perceived sentimentality.

The most sentimental ads as defined by self-report were then shown to a larger testing community in the wild while recording their facial expressions over video. Gesture analysis was then conducted to determine what combinations of AUs were most associated with a "Sentimental" reaction.

Contrary to other Emotion scores, Sentimentality has several possible combinations of AUs, commonly seen together, that can contribute to a positive score.

**Confusion**

Confusion (added with AFFDEX 5.1) was created to parse different contexts for the use of Brow Furrow. Brow Furrow can be suggestive of Anger and negative valence in general, but can also suggest mental effort or confusion. AFFDEX's Confusion metric attempts to isolate a particular set of expressions that suggest not only mental workload but also a *lack of comprehension.*

While Confusion is not officially part of the EMFACS system, there have been attempts in the scientific literature to qualify the AU combinations associated with Confusion \[2]. Here, Affectiva employed a hybrid approach based on what's been published in prior literature but also ran their in-house gesture analysis to define the AUs associated with Confusion.

These AUs can include Brow Furrow, Inner Brow Raise, Lid Tighten, and Lip Corner Depressor.

**Pain**

The Pain signal (added with AFFDEX 5.3) indicates detection of facial expressions associated with the experience of pain or discomfort - based on the *Prkachin and Solomon Pain Intensity (PSPI) scale*, which defines a pain expression through six FACS action units: brow furrow, eyelid tightening, cheek raise, eye closure, nose wrinkle, and upper lip raise.

Unlike PSPI, which sums these into an intensity score, the Pain metric in the iMotions software outputs a 0 to 100 probability that pain is present at all, distinguishing pain from no pain rather than measuring pain intensity. The default threshold is 50 for studies centered on pain itself, such as experimental or clinical pain and pain testing paradigms, where a genuine pain expression is more likely and some false positives (from effort, disgust, etc.) are an acceptable tradeoff for sensitivity.

For studies where pain isn't the main focus, such as psychology and cognitive sciences, human factors, and sensory research, you can explore and consider higher thresholds for the Pain metric to reduce false positives from unrelated expressions or task demands. To achieve this, you can change the threshold individually for the Pain metric in the Signal processing section.

Note: Like the Speaking and Yawn signals, the Pain signal requires "Baseline on" in your iMotions Global Settings - Audio & Video (the signal will be 0 with "Baseline off"). See Baselining.

**Yawn**

The Yawn signal (added with AFFDEX 5.3) indicates detection of physical expression of yawning, which may correspond with fatigue, boredom, or other emotional states. The Yawn signal most notably involves mouth opening, vertical lip distance, and jaw drop, while incorporating other available signals to improve detection accuracy (e.g. other facial action units, speaking status, occlusion, mouth ratio).

Note: Like the Speaking and Pain signals, the Yawn signal requires "Baseline on" in your iMotions Global Settings - Audio & Video. See Baselining.

### Baselining

AFFDEX has historically not required a baseline neutral stimulus because the classifiers employ an internal "causal" or "rolling" baseline. When the rolling baseline is active, each frame being analyzed is also compared to the faces made in past and future frames, to reduce false positives by subtracting prolonged or persistent resting faces.

Since SDK 5.1, baselining can be toggled on or off in the AFFDEX settings. When baselining is turned off, each video frame is evaluated in isolation. The Speaking, Yawn and Pain signals require baselining to be enabled.

### Interpreting Signals

AFFDEX signals indicate when emotions or expressions were detected on a person’s face, as a result of study stimuli or task. Below are example interpretations for a subset of AFFDEX signals.

Further analysis and interpretations would involve iMotions **R Notebook for Facial expression analysis thresholding and aggregation** (see Related Article).

| **Signal (Range)**             | **Description**                                                                                                                                       | **Interpretation**                                                     |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| Smile (0 - 100)                | Facial Action Unit with lip corners pulling outwards, along with other cues from the eyes and facial movements that combine to indicate a true smile. | <p>A natural, positive smile.<br>Normally a sign of enjoyment.</p>     |
| Lip Corner Depressor (0 - 100) | Facial Action Unit with lip corners dropping downward (frown).                                                                                        | Often associated with sadness.                                         |
| Brow Furrow (0 - 100)          | Facial Action Unit with both eyebrows moving lower and closer together.                                                                               | Can indicate concentration, confusion or dislike.                      |
| Brow Raise (0 - 100)           | Facial Action Unit with both eyebrows moving upward.                                                                                                  | Spontaneously occurs during surprise.                                  |
| Valence (-100 - 100)           | A measure of the positive (or negative) nature of the participant’s experience.                                                                       | <p>-100 negative affect<br>0 neutral affect<br>100 positive affect</p> |
| Engagement (0 - 100)           | A measure of emotional responsiveness triggered by the content, whether positive or negative.                                                         | Increasing values signify increased emotional engagement.              |
| Attention (0 - 100)            | Measure of point of focus of the user based on the head position                                                                                      | Increasing values signify increased focus.                             |

### Exporting Signals

You can use the Sensor Data Export to export your Affectiva AFFDEX signals as .csv files. The Sensor Data Export window can be found by:

1. Right-clicking the study and selecting 'Export'>'Sensor Data'
2. Or by creating an analysis for the study and clicking 'Export' and selecting 'Raw Sensor Data'

   <figure><img src="https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-ac32e0a8e2bf7b2b330115404bdb432bd9bfd21b%2F42b3941d39_image-1729011105449.webp?alt=media" alt=""><figcaption><p>iMotions Sensor Data Export window</p></figcaption></figure>

### AFFDEX Algorithm

#### Training Data

Affectiva's foundational database over the past twelve years has accumulated a total of 12 million face videos from 90 different countries; a total of over 6 billion facial frames.

Of this primary database, 55,000 videos were then used to build AFFDEX. Each video contains a unique face for a total of 6.5 million frames. The breakdown of the 55,000 videos is as follows:

* 40,900 videos were used to train the algorithms
* 5,900 videos were used to validate the algorithms
* 8,200 videos were used for testing and determining accuracy.

This subset of the data was specifically chosen to build the SDK to avoid over-training in the most common action units (smile, brow furrow) and over-representation for any one ethnicity or age group. These 55,000 faces were picked to produce the best representation and the greatest diversity of expressions and ethnicities across the entire human race. This has resulted in significant improvements in accuracy for certain demographics, with better recall especially for older African & South Asian populations, and better representation for individuals under 18.

Ground truth data is analyzed by at least 3 FACS-certified human coders to ensure consistency with the academic standards of the Facial Action Coding System. There must be at least 50% consensus between coders on the presence of a particular action unit or expression before the video can be deemed acceptable for training the SDK.

### AFFDEX SDK Versions

#### Version 5.3

AFFDEX SDK 5.3 added the 'Yawn' and 'Pain' signals (released in September 2026 and integrated with iMotions 11.1.12).

Multi-face analysis provides data for up to 8 faces (available for iMotions 11 or newer, requires Multi-face module).

#### Version 5.2

AFFDEX SDK 5.2 (released in September 2024 and integrated with iMotions 10.1.2) added Speech Modeling for 'Speaking', 'Adaptive Engagement' and 'Adaptive Valence' signals.

Multi-face analysis provides data for up to 8 faces (available for iMotions 11 or newer, requires Multi-face module).

#### Version 5.1

AFFDEX SDK 5.1 added 'Confusion' and 'Sentimentality' signals.

AFFDEX 5.1 has rebuilt the 20 AU classifiers using a combination of support vector machine convoluted neural networks.

Number of facial landmarks used has decreased from 32 to 4.

Users have the option to toggle the baseline as "on" or "off". When baselining is turned "off", each video frame is evaluated in isolation.

### References

\[1] Friesen, W. V., & Ekman, P. (1984). EMFACS­7.

\[2] D'Mello, S.K., Craig, S.D., Graesser, A.C. (2009). Multimethod assessment of affective experience and expression during deep learning. *International Journal of Learning Technology*

Affectiva Website: [Overview](https://blog.affectiva.com/emotion-ai-101-all-about-emotion-detection-and-affectivas-emotion-metrics) and [Technical Details](https://www.affectiva.com/deep-learning/)

AFFDEX 2.0: A Real-Time Facial Expression Analysis Toolkit (2022) - [external pdf link](https://arxiv.org/pdf/2202.12059)

AFFDEX SDK: A Cross-Platform Real-Time Multi-Face Expression Recognition Toolkit (2016) - [external website link](https://dl.acm.org/doi/abs/10.1145/2851581.2890247)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/analysis/facial-expression-analysis/affdex/affectiva-affdex-signals-overview.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
