Topic Model Weighted Mixture of Experts for Language Modeling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional language models face challenges in capturing the nuances of human language, leading to inaccuracies in text prediction, especially with ambiguous or context-dependent words, and suffer from resource-intensive training and suboptimal performance due to lack of generalization.

Innovation Solution

The system employs a topic model to identify topics in documents, which are then processed by expert machine-learning models to generate probability vectors, reducing perplexity and improving generalization by weighing outputs based on topic probabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a single language model is trained on diverse data, then training resources are reduced, but the model suffers from lack of generalization and produces inaccurate predictions for ambiguous or context-dependent words

Engineering Contradiction:
Improvetext prediction accuracyVSAvoidmodel architecture complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the language modeling task into multiple specialized expert models, each trained on specific topics or domains. Instead of using one large model to handle all language tasks, the system segments the vocabulary and training data into topic-specific subsets, with each expert model focusing on a particular domain knowledge area.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a universal framework that coordinates multiple specialized expert models through a shared topic model. The topic model acts as a universal coordinator that routes input text to appropriate expert models based on identified topics, allowing the system to handle diverse language tasks through a unified multi-functional architecture.

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

2Reliability

If multiple specialized models are used for different topics, then text prediction accuracy improves through better generalization, but training resources and computational complexity increase

Engineering Contradiction:
Improvegeneralization performanceVSAvoidtraining computational resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent performs preliminary topic modeling on training data to identify and organize topics before training expert models. This preliminary organization of training data into topic categories allows for more efficient training of specialized models, as the data is pre-structured according to the topics each model will learn, reducing the need for extensive computational resources during the actual model training phase.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The topic model serves as an intermediary between the input text and the multiple expert models. It processes the input, identifies relevant topics, and routes the text to appropriate expert models, thereby mediating the interaction between the user query and the specialized models. This intermediary layer reduces the computational burden by avoiding the need for all expert models to process every input text.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If a language model predicts with high confidence for few words, then perplexity score improves, but the model fails to capture nuances of ambiguous or context-dependent words

Engineering Contradiction:
Improveperplexity scoreVSAvoidcontextual nuance information
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent applies local quality by training expert models on locally optimized data for specific topics or domains. Each expert model is trained on a specialized subset of data relevant to its topic, allowing it to capture the nuanced language patterns and contextual relationships specific to that domain. This localized training enables the model to maintain high confidence in topic-specific predictions while preserving contextual nuance information that would be lost in a general model.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20240211687A1Systems and methods for utilizing topic models to weight mixture-of-experts for improvement of language modeling
Publication Date: 2024.06.27 UNITEDHEALTH GROUP INC
  • US20240211687A1 patent drawing
  • US20240211687A1 patent drawing
  • US20240211687A1 patent drawing

AI summary

Systems and methods are disclosed for predicting a next text. A method may include receiving one or more documents, such as a document associated with a healthcare provider. The document is then processed to generate one or more tokens which are representative of the document. The document is then processed with a machine-learning model, such as a topic model, and a topic vector is output for the document. Based at least in a part on this topic vector, the document is then processed by one or more expert machine-learning models, which each output a probability vector. The various probability vectors are then further processed to calculate a total probability vector for the document. Based at least in part on the total probability vector for the document, a text output is selected.