Emotion Classification Models for Text Using Segmentation and Dynamics
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Measurement precision
If the system distinguishes between direct and induced emotions, then emotion classification precision is improved, but processing complexity increases
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.
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.
3Adaptability or versatility
If the system supports different levels of emotion granularity, then applicability to various use cases is improved, but model complexity increases
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.
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.
4Adaptability or versatility
If the system processes texts of varying lengths, then versatility is improved, but processing time increases
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.
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.
Data Source
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.


