# US 2024/0371399 A1 · Systems and methods for detecting emotion from audio files

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0371399 A1
- Document ID: US20240371399A1
- Status: Published application
- Kind: A1
- Application number: 18/777,416
- Filed: 2024-07-18
- Published: 2024-11-07
- Earliest claimed: 2021-09-07
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Vahid Khanagha
- Web page: https://patentgrep.com/patent/US20240371399A1

## CPC

- G10L 25/63: for estimating an emotional state
- G06F 16/65: Clustering; Classification
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/08: Learning methods
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N 20/20: Ensemble learning
- G10L 15/187: Phonemic context, e.g. pronunciation rules, phonotactical constraints or phoneme n-grams
- H04M 3/5175: {Call or contact centers supervision arrangements}
- G10L 25/30: using neural networks
- H04M 3/42221: {Conversation recording systems (at the subscriber's set H04M1/656)}
- H04M 2201/40: using speech recognition
- H04M 2203/301: Management of recordings
- H04M 2203/303: Marking
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Disclosed embodiments may include a system that may receive an audio file comprising an interaction between a first user and a second user. The system may detect, using a deep neural network (DNN), moment(s) of interruption between the first and second users from the audio file. The system may extract, using the DNN, vocal feature(s) from the moment(s) of interruption. The system may determine, using a machine learning model (MLM) and based on the vocal feature(s), whether a threshold number of moments of the moment(s) of interruption corresponds to a first emotion type. When the threshold number of moments corresponds to the first emotion type, the system may transmit a first message comprising a first binary indication. When the threshold number of moments do not correspond to the first emotion type, the system may transmit a second message comprising a second binary indication.

## Claims

### Claim 1

A system comprising:
one or more processors; and
a memory in communication with the one or more processors and storing instructions that, when executed by the one or more processors, are configured to cause the system to:
receive an audio file comprising a first channel and a second channel, the first channel comprising first voice activity of a first user and the second channel comprising second voice activity of a second user;
detect, using a deep neural network (DNN), one or more moments of interruption between the first and second users from the audio file by classifying portions of the audio file as either a speech portion or a non-speech portion based on one or more phonetic representations mapped to each portion of the audio file;
extract, using the DNN, one or more vocal features from the one or more moments of interruption;
determine, using a machine learning model and based on the one or more vocal features, whether a threshold number of moments of the one or more moments of interruption corresponds to a first emotion type;
when the threshold number of moments corresponds to the first emotion type, transmit a first message comprising a first binary indication; and
when the threshold number of moments does not correspond to the first emotion type, transmit a second message comprising a second binary indication.

### Claim 2 (depends on 1)

The system of claim 1, wherein the DNN comprises long short-term memory (LSTM).

### Claim 3 (depends on 1)

The system of claim 1, wherein the instructions are further configured to cause the system to:
separate, using the DNN, the audio file into one or more portions;
map, using the DNN, each portion of the one or more portions to one or more phonetic representations; and
classify, using the DNN, each portion of the one or more portions as either a speech portion or a non-speech portion based on each portion's respective one or more phonetic representations.

### Claim 4 (depends on 3)

The system of claim 3, wherein the one or more phonetic representations comprise one or more of vowels and consonants.

### Claim 5 (depends on 1)

The system of claim 1, wherein a length of interruption comprises seconds, a pre-interruption and post-interruption speaking rates comprise number of syllables per second, the pre-interruption and post-interruption speaking durations comprise seconds, a voice activity ratio comprises active speech duration in seconds to pause duration in seconds, and the pre-interruption and post-interruption voice energy comprise decibels.

### Claim 6 (depends on 1)

The system of claim 1, wherein transmitting the first message further comprises classifying the audio file as associated with user agitation.

### Claim 7 (depends on 1)

The system of claim 1, wherein transmitting the second message further comprises classifying the audio file as associated with user non-agitation.

### Claim 8

A system comprising:
one or more processors; and
a memory in communication with the one or more processors and storing instructions that, when executed by the one or more processors, are configured to cause the system to:
receive a dual-channel audio file comprising an interaction between a first user and a second user;
detect, using a neural network, one or more moments of interruption between the first and second users from the dual-channel audio file;
extract, using the neural network, one or more vocal features associated with each of the one or more moments of interruption;
determine, based on the one or more vocal features, whether a threshold number of moments of the one or more moments of interruption corresponds to a first emotion type;
when the threshold number of moments corresponds to the first emotion type, transmit a first message comprising a first binary indication; and
when the threshold number of moments does not correspond to the first emotion type, transmit a second message comprising a second binary indication.

### Claim 9 (depends on 8)

The system of claim 8, wherein the neural network is a deep neural network (DNN).

### Claim 10 (depends on 9)

The system of claim 9, wherein the DNN comprises long short-term memory (LSTM).

### Claim 11 (depends on 10)

The system of claim 10, wherein the instructions are further configured to cause the system to:
separate the dual-channel audio file into one or more portions;
map each portion of the one or more portions to one or more phonetic representations; and
classify each portion of the one or more portions as either a speech portion or a non-speech portion based on each portion's respective one or more phonetic representations,
wherein the one or more phonetic representations comprise one or more of vowels and consonants.

### Claim 12 (depends on 8)

The system of claim 8, wherein transmitting the first message further comprises classifying the dual-channel audio file as associated with user agitation.

### Claim 13 (depends on 8)

The system of claim 8, wherein transmitting the second message further comprises classifying the dual-channel audio file as associated with user non-agitation.

### Claim 14

A system comprising:
one or more processors; and
a memory in communication with the one or more processors and storing instructions that, when executed by the one or more processors, are configured to cause the system to:
receive an audio file comprising an interaction between a first user and a second user;
detect, using a first machine learning model, one or more moments of interruption between the first and second users from the audio file;
when a threshold number of one or more moments of interruption corresponds to a first emotion type, classify the audio file as associated with user agitation; and
when the threshold number of one or more moments of interruption does not correspond the first emotion type, classify the audio file as associated with user non-agitation.

### Claim 15 (depends on 14)

The system of claim 14, wherein the first machine learning model comprises a neural network.

### Claim 16 (depends on 15)

The system of claim 15, wherein the first machine learning model comprises a deep neural network (DNN) comprising long short-term memory (LSTM).

### Claim 17 (depends on 16)

The system of claim 16, wherein the instructions are further configured to cause the system to:
extract, using the neural network, one or more vocal features associated with each of the one or more moments of interruption; and
determine, based on the one or more vocal features, whether a threshold number of moments of the one or more moments of interruption corresponds to a first emotion type,
wherein the one or more vocal features comprise one or more of length of interruption, pre-interruption speaking rate, post-interruption speaking rate, pre-interruption speaking duration, post-interruption speaking duration, voice activity ratio, pre-interruption voice energy, and post-interruption voice energy.

### Claim 18 (depends on 14)

The system of claim 14, wherein the audio file comprises a dual-channel audio file.

### Claim 19 (depends on 18)

The system of claim 18, wherein the instructions are further configured to cause the system to:
separate, using the first machine learning model, the dual-channel audio file into one or more portions;
map each portion of the one or more portions to one or more phonetic representations; and
classify each portion of the one or more portions as either a speech portion or a non-speech portion based on each portion's respective one or more phonetic representations.

### Claim 20 (depends on 19)

The system of claim 19, wherein the one or more phonetic representations comprise one or more of vowels and consonants.
