Scores
Every measurement contains lists of scores, each pairing a name with a probability. The audio upload and realtime endpoints return expressions and voice_attributes for each window of speech. The video endpoints return expressions and descriptions for each face. Audio measurements and Video measurements list the names each array can contain.
Score objects
Lowercase, and may contain spaces and punctuation, as in aesthetic appreciation and surprise (positive). New names may be added over time, so treat one you do not recognize as a new prediction. The audio and video endpoints use different expression names, so a name in one may not exist in the other.
From 0 to 1, rounded to four decimal places.
Reading probabilities
The probability in each array denotes a different quantity.
- A missing name scored too low to be included in that measurement. Arrays vary in length from one measurement to the next. Treat a missing name as absent.
- Read each score on its own. Each name is predicted independently. Scores do not sum to 1, several names can score highly at once, and they are not meant to be compared with each other. Arrays are sorted by descending score.
Face confidence measures detection. It is the detector’s confidence that a bounding box contains a face, separate from the expression scores.
What expression scores denote
An expression score denotes what a voice or face conveys to the people who hear or see it. Expression scores are grounded in judgments from people in many countries, and Hume’s publications describe the studies that collected them. A score is not a direct readout of what the person feels, because emotional experience is subjective and its expression varies from person to person and from one setting to another.
The studies follow semantic space theory, which maps the kinds of emotion and how they relate from judgments of thousands of naturalistic expressions. Expression names are specific emotion concepts, such as amusement and doubt, because specific concepts capture what people perceive more precisely than broad dimensions such as valence and arousal. An expression often conveys several emotions at once, so a window of speech or a face can have several expressions, each scored separately.
Audio expressions and voice_attributes often go together, as when tiredness comes with a monotone voice, and they can also diverge: speech can convey anger and still be whispered. In video, the same facial action can convey different emotions to different people, and different actions can convey the same emotion.
- The voice and the face are separate channels. A person’s voice and face can express different things at the same moment, so audio and video results for the same moment can differ.
- Setting and culture shape expression. How people express an emotion depends on the setting. Across cultures, expressions largely share their meanings, with some differences in meaning and in how intensely people display them. Test an application in each population it serves.
- Conclusions about feelings are strongest across many measurements. In Hume’s research on facial expression, expressions averaged across many people predicted what those people reported feeling far more accurately than one person’s expression did.
Using scores
Scores add structured information about expression, speaking style, and vocal or facial characteristics to audio and video, so you can search recordings, build datasets, and adapt an application to how people sound and look.
Datasets and model development
- Search and organize a dataset. Find clips with specific characteristics, such as speech that conveys frustration, nervous laughter, or a surprised facial expression, and find the expressions your dataset has too few examples of.
- Build evaluation and training sets. Assemble targeted evaluation sets from those clips, and select examples for training or fine-tuning a model.
- Evaluate generated speech. Measure clips from each text-to-speech model or model version, and look at how often each expression name scores highly across many clips from each one.
Recorded and live interactions
- Find moments to review. Each measurement is timestamped, so you can find moments of interest in a recorded call, interview, or research session, and choose which recordings a person reviews first.
- Give a voice agent more context. Describe the scores in words and add them to the LLM prompt, such as “The caller sounds confused”, so the agent can clarify or hand the call to a person.
Reading scores in context
- Read scores alongside what was said. Interpret them with the spoken content and the rest of the conversation. A score describes an expression, not what the person feels.
- Look beyond the top-scoring name. Several names can score highly at once, and together they describe the expression better than any one of them.
- Check what matters in your setting with your own data. The same emotion is expressed differently on a football field and on a customer service call. To find which expressions relate to an outcome you care about, such as customer satisfaction, fit a regression or classification model on your own labeled recordings.
Commercial applications must follow the ethical guidelines of The Hume Initiative.