Emotion Classification Models for Text Using Segmentation and Dynamics

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing technologies face challenges in accurately identifying and classifying emotions in textual communications, particularly in distinguishing between the emotions of the sender and the recipient, and in handling varying levels of emotion granularity and text length.

Innovation Solution

The development of machine-learned models, including fully supervised and few-shot models, that can detect and classify emotions in textual communications. These models utilize emotionally-expressive features like emojis, stickers, and GIFs to predict both direct and induced emotions, and they support different levels of emotion granularity and text aggregation methods.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If machine-learned models are developed to detect and classify emotions in textual communications, then emotion detection accuracy is improved, but model complexity increases

Engineering Contradiction:
Improveemotion detection accuracyVSAvoidmodel complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The emotion detection task is segmented into multiple distinct functions: detecting direct emotions of the sender, detecting induced emotions of the recipient, classifying emotions into different granularity levels (basic emotions vs. detailed emotions), and processing texts of varying lengths. This segmentation allows the system to address each aspect with specialized approaches rather than requiring a single monolithic complex model.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically adapts its emotion detection approach based on the specific requirements of each task. It can switch between detecting direct emotions and induced emotions, adjust the granularity level of emotion classification, and handle different text lengths appropriately. This dynamic adaptability improves accuracy across diverse scenarios without requiring separate models for each case.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If the system distinguishes between direct and induced emotions, then emotion classification precision is improved, but processing complexity increases

Engineering Contradiction:
Improveemotion classification precisionVSAvoidprocessing complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The emotion detection process is divided into two distinct segmentation paths: one for detecting direct emotions (the sender's emotions) and another for detecting induced emotions (the recipient's emotions). Each path uses the same underlying machine-learned model but applies different training data and evaluation metrics appropriate to its specific task, thereby improving precision without requiring entirely separate model architectures.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A single machine-learned model is designed to perform multiple functions: it can detect both direct and induced emotions, classify emotions at different granularity levels, and process various text lengths. This universal model reduces processing complexity compared to having separate specialized models for each function, while still achieving high classification precision through dynamic adaptation to the specific task at hand.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Adaptability or versatility

If the system supports different levels of emotion granularity, then applicability to various use cases is improved, but model complexity increases

Engineering Contradiction:
Improveapplicability to various use casesVSAvoidmodel complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The emotion classification system dynamically adjusts its granularity level based on the specific use case requirements. It can operate at a basic emotion level (e.g., joy, sadness, anger) for simple applications or switch to a detailed emotion level with more granular categories for complex applications. This dynamic adjustment allows the same model to serve multiple purposes without requiring separate models for each granularity level.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The machine-learned model is designed as a universal system that can handle multiple emotion classification tasks simultaneously. It supports both coarse-grained classification (basic emotions) and fine-grained classification (detailed emotions) within the same model architecture, enabling it to adapt to various use cases ranging from simple sentiment analysis to complex emotional intelligence applications without increasing model complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

4Adaptability or versatility

If the system processes texts of varying lengths, then versatility is improved, but processing time increases

Engineering Contradiction:
Improvetext length handling capabilityVSAvoidprocessing time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system dynamically adapts its processing approach based on the length of the input text. For short texts, it uses optimized processing paths that are faster and more efficient. For longer texts, it employs aggregation methods that break down the processing into manageable segments. This dynamic adaptation ensures that the system can handle texts of varying lengths without incurring excessive processing time penalties.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The text processing pipeline is segmented into stages that can handle different text lengths efficiently. For longer texts, the system segments the text into smaller units, processes them individually or in batches, and then aggregates the results. This segmentation approach maintains versatility in handling various text lengths while controlling processing time by avoiding the need to process entire long texts as single units.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250045526A1Methods for Emotion Classification in Text
Publication Date: 2025.02.06 GOOGLE LLC
  • US20250045526A1 patent drawing
  • US20250045526A1 patent drawing
  • US20250045526A1 patent drawing

AI summary

The technology relates to methods for detecting and classifying emotions in textual communication, and using this information to suggest graphical indicia such as emoji, stickers or GIFs to a user. Two main types of models are fully supervised models and few-shot models. In addition to fully supervised and few-shot models, other types of models focusing on the back-end (server) side or client (on-device) side may also be employed. Server-side models are larger-scale models that can enable higher degrees of accuracy, such as for use cases where models can be hosted on cloud servers where computational and storage resources are relatively abundant. On-device models are smaller-scale models, which enable use on resource-constrained devices such as mobile phones, smart watches or other wearables (e.g., head mounted displays), in-home devices, embedded devices, etc.