NLP Classification Accuracy via Context-Aware Model Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing Natural Language Processing (NLP) models fail to accurately classify text documents due to their inability to consider context, particularly when words or phrases act as contronyms or homonyms, leading to reduced accuracy in classification tasks.

Innovation Solution

A system utilizing multiple machine learning models is employed to improve NLP classification by training a first model on a corpus of labeled text documents and additional models on subsets to refine classifications, taking into account context-specific meanings of words, thereby enhancing accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a single NLP model is used for classification, then the system complexity is low, but the classification accuracy deteriorates when words have multiple meanings

Engineering Contradiction:
Improveclassification accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent divides the classification task into multiple specialized models, each trained on specific subsets of data (e.g., positive examples, negative examples, or different contextual domains). This segmentation allows each model to specialize in particular contexts, improving overall classification accuracy for words with multiple meanings while maintaining manageable complexity through modular architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different classification models to different subsets of text data based on contextual characteristics. By training separate models on specific data subsets (such as domain-specific corpora or sentiment-specific examples), the system achieves local optimization for different contextual scenarios, thereby improving overall accuracy without requiring a single overly complex universal model.

Inventive Principle:
Principle #3Local quality

2Measurement precision

If multiple machine learning models are trained on different subsets, then the classification accuracy improves, but the training time and computational resources increase

Engineering Contradiction:
Improveclassification accuracyVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

By segmenting the training data into meaningful subsets and training specialized models on each subset, the system achieves better convergence and faster training per model compared to training one large model on all data. Each model focuses on specific patterns, reducing training time while improving accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary data segmentation and subset creation before model training. By pre-processing and organizing training data into targeted subsets based on contextual characteristics, the system enables more efficient training of specialized models, reducing overall training time while maintaining high accuracy.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If existing NLP models are used without context consideration, then the processing speed is maintained, but the accuracy deteriorates for contronyms and homonyms

Engineering Contradiction:
Improveclassification accuracyVSAvoidmodel complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements context-aware classification by training separate models on specific contextual subsets (e.g., domain-specific data, sentiment-specific examples). Each model develops specialized knowledge for particular contexts, enabling accurate disambiguation of contronyms and homonyms while maintaining a modular architecture that manages complexity through localized expertise.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system segments the classification problem into multiple context-specific models rather than using a single general-purpose model. This segmentation allows each model to specialize in particular contextual scenarios, improving accuracy for words with multiple meanings while maintaining manageable system complexity through modular design and selective model application.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12135936B2Systems and methods for natural language processing
Publication Date: 2024.11.05 CAPITAL ONE SERVICES LLC
  • US12135936B2 patent drawing
  • US12135936B2 patent drawing
  • US12135936B2 patent drawing

AI summary

Disclosed embodiments may include a method that may include receiving a corpus of unlabeled text documents, generating, using the first machine learning model, a first classification of each unlabeled text document in the corpus of unlabeled text documents as positive or negative, defining, using the first machine learning model and based on the first classification, a first subset of the unlabeled text documents and a second subset of the unlabeled text documents, generating, using the second machine learning model, a second classification of each unlabeled text document in the first subset of the unlabeled text documents as positive or negative, generating, using the third machine learning model, a third classification of each unlabeled text document in the second subset of the unlabeled text documents as positive or negative, and modifying the first classification, based on the second classification and the third classification, to create a fourth classification.