Ensemble Machine Learning Models for Real-Time Expert Chat Prediction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional machine learning models are inadequate for processing real-time domain-specific text in electronic chats, generating inaccurate and unnatural predictions due to their generalized and static nature, and require significant computing resources for updates, which are not dynamically fine-tuned for real-time behavior.

Innovation Solution

An ensemble of machine learning models, including a global transformer model for domain-specific knowledge, a local n-gram model for expert user style, and a word completion model, that provides real-time, natural, and accurate text predictions, with continuous feedback for fine-tuning based on user acceptance or rejection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional machine learning models are used for real-time text prediction, then the system is simple and easy to implement, but the predictions are inaccurate and unnatural for domain-specific text

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

Solution Approach 1:

The patent divides the prediction system into multiple specialized models: a domain-specific transformer model for accurate domain terminology prediction, an n-gram model for capturing user style patterns, and a word completion model for real-time character-level predictions. Each model handles specific aspects of the prediction task, allowing the system to achieve high accuracy without requiring a single overly complex monolithic model.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent combines multiple machine learning models (transformer, n-gram, and word completion models) into an ensemble system that works together to generate predictions. The transformer model provides domain-specific accuracy, the n-gram model captures user stylistic patterns, and the word completion model ensures real-time responsiveness. This merging of complementary models achieves both accuracy and naturalness that neither model could achieve alone.

Inventive Principle:
Principle #5Merging (Combining)

2Adaptability or versatility

If conventional static models are used, then the system is simple to maintain, but the models cannot adapt to real-time dynamic behavior and user style changes

Engineering Contradiction:
Improvereal-time adaptationVSAvoidupdate time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent implements dynamic adaptation by continuously monitoring user interactions and using reinforcement learning to update model parameters in real-time. The system adjusts its predictions based on user feedback, accepted corrections, and evolving communication patterns. This dynamic updating allows the model to adapt to changing user styles and domain terminology without requiring time-consuming complete retraining from scratch.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system incorporates feedback mechanisms where user acceptance or rejection of predictions is fed back into the learning process. When users correct predictions or accept suggestions, this feedback is used to refine the model's understanding of domain terminology and user style. This continuous feedback loop enables the system to adapt to real-time behavior changes without requiring lengthy update cycles.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If models are updated with large training sets to improve accuracy, then prediction quality improves, but computing resources and lead time increase significantly

Engineering Contradiction:
Improveprediction accuracyVSAvoidcomputing resources
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent employs parameter-efficient fine-tuning techniques where the model updates only specific parameters related to domain-specific terminology and user style rather than retraining the entire model. This allows the system to improve accuracy for specific domains and users with minimal computing resources, adjusting only the necessary parameters based on new data while maintaining the core model architecture.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system performs preliminary training on general domain data to establish a solid foundation model, then uses targeted fine-tuning with smaller, domain-specific datasets to specialize the model. This preliminary action of pre-training on comprehensive data allows subsequent updates to require far fewer resources, as the model only needs to adapt to specific domain nuances rather than learn from scratch.

Inventive Principle:
Principle #10Preliminary action

4Ease of operation

If conventional models generate predictions, then the output is straightforward, but the text appears stilted and unnatural lacking expert user style

Engineering Contradiction:
Improvetext naturalnessVSAvoidmodel ensemble complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent applies local quality by using an n-gram model specifically designed to capture user-specific stylistic patterns and idiosyncrasies. This model analyzes the statistical patterns in user's previous messages and generates predictions that match their personal writing style. By tailoring the prediction to match the individual user's style rather than using a generic model, the output becomes natural and authentic to that user's communication habits.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11817088B1Ensemble of machine learning models for real-time predictions in expert electronic chats
Publication Date: 2023.11.14 INTUIT INC
  • US11817088B1 patent drawing
  • US11817088B1 patent drawing
  • US11817088B1 patent drawing

AI summary

An ensemble of machine learning models used for real-time prediction of text for an electronic chat with an expert user. A global machine learning model, e.g., a transformer model, trained with domain specific knowledge makes a domain specific generalized prediction. Another machine learning model, e.g., an n-gram model, learns the specific style of the expert user as the expert user types to generate more natural, more expert user specific text. If specific words cannot be predicted with a desired probability level, another word level machine learning model, e.g., a word completion model, completes the words as the characters are being typed. The ensemble therefore produces real-time, natural, and accurate text that is provided to the expert user. Continuous feedback of the acceptance/rejection of predictions by the expert is used to fine tune one or more machine learning models of the ensemble in real time.