# US 2025/0209802 A1 · Artificial intelligence device for light transformer-based emotion recognition (lter) and method thereof

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

- Number: US 2025/0209802 A1
- Document ID: US20250209802A1
- Status: Published application
- Kind: A1
- Application number: 19/000,028
- Filed: 2024-12-23
- Published: 2025-06-26
- Earliest claimed: 2023-12-21
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Harmanpreet SINGH; Homa FASHANDI; Amirhossein HAJAVI
- Web page: https://patentgrep.com/patent/US20250209802A1

## CPC

- G06V 10/806: {of extracted features}
- G06V 10/82: using neural networks
- G06V 40/174: {Facial expression recognition}
- G06V 40/176: {Dynamic expression}
- G10L 15/26: Speech to text systems (G10L15/08 takes precedence)
- G10L 25/30: using neural networks
- G10L 25/63: for estimating an emotional state
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A method for controlling an artificial intelligence (AI) deice to perform emotion recognition can include receiving a video segment including a plurality of frames and an audio signal, processing the audio signal, by an audio encoder, to generate an audio embedding, and processing the video segment, by a visual encoder, to generate a visual embedding. Also, the method can include processing the audio embedding, by an audio transformer, to generate an audio feature vector, a key matrix and a value matrix, processing the visual embedding, by a visual transformer, to generate a visual feature vector based on cross-attention using the key matrix and the value matrix from the audio transformer, generating a fused output using a fusion module that combines at least the audio feature vector and the visual feature vector, and generating an emotion prediction using a classifier module that analyzes the fused output, and outputting the emotion prediction.

## Claims

### Claim 1

A method for controlling an artificial intelligence (AI) deice, the method comprising:
receiving, by a processor in the AI device, a video segment including a plurality of frames and an audio signal corresponding to the video segment;
processing the audio signal, by an audio encoder, to generate an audio embedding;
processing the video segment, by a visual encoder, to generate a visual embedding;
processing the audio embedding, by an audio transformer, to generate an audio feature vector, a key matrix and a value matrix;
processing the visual embedding, by a visual transformer, to generate a visual feature vector, wherein the processing the visual embedding includes performing cross-attention based on the key matrix and the value matrix from the audio transformer;
generating a fused output using a fusion module that combines at least the audio feature vector and the visual feature vector; and
generating an emotion prediction using a classifier module that analyzes the fused output, and outputting the emotion prediction.

### Claim 2 (depends on 1)

The method of claim 1, wherein the processing the video segment by the visual encoder includes:
extracting, via a facial expression recognition (FER) model in the visual encoder, a plurality of visual embeddings corresponding to the plurality of frames in the video segment;
averaging at least some of the plurality of visual embeddings over a time window to generate an average feature vector corresponding to a group of frames; and
transmitting the average feature vector to the video transformer.

### Claim 3 (depends on 2)

The method of claim 2, wherein the FER model is trained in two stages that include pre-training on face recognition and then fine-tuning on emotion classification.

### Claim 4 (depends on 1)

The method of claim 1, wherein each of the audio transformer and the visual transform is a transform tower including a plurality of transformer blocks.

### Claim 5 (depends on 4)

The method of claim 4, wherein each of the plurality of transformer blocks includes a multi-head attention block, a first add and normalize block, a feed forward block, a second add and normalize block, a glimpse block, and a third add and normalize block.

### Claim 6 (depends on 1)

The method of claim 1, wherein the generating the fused output using the fusion module includes element-wise summing the audio feature vector and the visual feature vector to generate the fused output.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
inputting the audio signal to a speech to text (STT) engine to convert speech included in the audio signal to text;
processing the text, by a text encoder, to generate a text embedding;
processing the text embedding, by a text transformer, to generate a text feature vector, wherein the processing the text embedding includes performing cross-attention based on the key matrix and the value matrix from the audio transformer; and
generating the fused output using the fusion module to combine the audio feature vector, the visual features vector and the text feature vector.

### Claim 8 (depends on 7)

The method of claim 7, wherein each word in the text is embedded in a vector of 300 dimensions based on GloVe.

### Claim 9 (depends on 1)

The method of claim 1, wherein the generating the emotion prediction using the classifier module includes:
mapping the fused output to a set of probabilities corresponding to a plurality of emotions; and
selecting an emotion among the plurality of emotions having a highest probability as the emotion prediction.

### Claim 10 (depends on 9)

The method of claim 9, wherein the plurality of emotions include anger, disgust, fear, happiness, sadness and surprise.

### Claim 11

An artificial intelligence (AI) device, comprising:
a memory configured to store video and audio information; and
a controller configured to:
receive a video segment including a plurality of frames and an audio signal corresponding to the video segment,
process the audio signal, by an audio encoder, to generate an audio embedding,
process the video segment, by a visual encoder, to generate a visual embedding,
process the audio embedding, by an audio transformer, to generate an audio feature vector, a key matrix and a value matrix,
process the visual embedding, by a visual transformer, to generate a visual feature vector based on performing cross-attention using the key matrix and the value matrix from the audio transformer,
generate a fused output using a fusion module that combines at least the audio feature vector and the visual feature vector, and
generate an emotion prediction using a classifier module that analyzes the fused output, and output the emotion prediction.

### Claim 12 (depends on 11)

The AI device of claim 11, wherein the controller is further configured to:
extract, via a facial expression recognition (FER) model in the visual encoder, a plurality of visual embeddings corresponding to the plurality of frames in the video segment,
average at least some of the plurality of visual embeddings over a time window to generate an average feature vector corresponding to a group of frames, and
transmit the average feature vector to the video transformer.

### Claim 13 (depends on 12)

The AI device of claim 12, wherein the FER model is trained in two stages that include pre-training on face recognition and then fine-tuning on emotion classification.

### Claim 14 (depends on 11)

The AI device of claim 11, wherein each of the audio transformer and the visual transform is a transform tower including a plurality of transformer blocks.

### Claim 15 (depends on 14)

The AI device of claim 14, wherein each of the plurality of transformer blocks includes a multi-head attention block, a first add and normalize block, a feed forward block, a second add and normalize block, a glimpse block, and a third add and normalize block.

### Claim 16 (depends on 11)

The AI device of claim 11, wherein the controller is further configured to:
generate the fused output by element-wise summing the audio feature vector and the visual feature vector to generate the fused output.

### Claim 17 (depends on 11)

The AI device of claim 11, wherein the controller is further configured to:
input the audio signal to a speech to text (STT) engine to convert speech included in the audio signal to text,
process the text, by a text encoder, to generate a text embedding,
process the text embedding, by a text transformer, to generate a text feature vector based on performing cross-attention using the key matrix and the value matrix from the audio transformer, and
generate the fused output using the fusion module to combine the audio feature vector, the visual features vector and the text feature vector.

### Claim 18 (depends on 17)

The AI device of claim 17, wherein each word in the text is embedded in a vector of 300 dimensions based on GloVe.

### Claim 19 (depends on 11)

The AI device of claim 11, wherein the controller is further configured to:
map, via the classifier module, the fused output to a set of probabilities corresponding to a plurality of emotions, and
select an emotion among the plurality of emotions having a highest probability as the emotion prediction.

### Claim 20 (depends on 19)

The AI device of claim 19, wherein the plurality of emotions include anger, disgust, fear, happiness, sadness and surprise.
