Segmented Text Stream Processing with Coordinated Data Moderation Graph

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional large language models (LLMs) face challenges in managing complex interactions, hardware overtaxation, and content moderation, particularly when processing multiple input prompts and integrating evolving models, which complicates user experience and increases the risk of generating undesired content.

Innovation Solution

The implementation of meta-model topologies and model graphs that segment data prompts, prune nodes based on policy information, and generate discrete instances for processing, allowing for efficient content moderation and improved user experience by abstracting away model complexity and enabling scalable, dynamic batching.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple machine learning models are interlinked to process different prompts, then the functionality and versatility of the system is improved, but the device complexity and difficulty of coordination increase

Engineering Contradiction:
ImprovefunctionalityVSAvoidcomplexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the monolithic model processing into discrete model nodes organized in a graph structure, where each node represents a specific machine learning model. This segmentation allows independent management and coordination of individual models while maintaining overall system functionality, directly addressing the complexity issue described in the background.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary graph execution engine that mediates between user prompts and multiple machine learning models. This intermediary coordinates model selection, execution order, and result aggregation, simplifying the complexity of directly managing interlinked models while preserving system versatility.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If multiple machine learning models process multiple input prompts simultaneously, then the productivity and output capacity increase, but the hardware becomes overtaxed

Engineering Contradiction:
Improveoutput capacityVSAvoidhardware overtaxation
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent implements dynamic model graph instantiation where the system creates and configures model execution graphs in real-time based on prompt requirements. This dynamic approach allows the system to optimize resource allocation for each specific processing task, preventing hardware overtaxation while maintaining high productivity through selective model execution.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes system parameters by dynamically selecting and configuring which models execute based on prompt analysis. This parameter-based model selection optimizes computational resource usage by activating only the necessary models for each task, thereby increasing productivity without consistently overtaxing hardware resources.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If content moderation is applied to filter undesired content, then the reliability and safety of outputs improve, but the processing time and latency increase

Engineering Contradiction:
ImprovesafetyVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies content moderation nodes as preliminary filters within the model graph execution pipeline. By integrating moderation checks at strategic points before content generation and at output stages, the system ensures safety without requiring complete reprocessing, thereby maintaining reliability while minimizing latency through targeted rather than comprehensive moderation.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20240412040A1Segmented text stream processing with coordinated data moderation graph instantiation
Publication Date: 2024.12.12 MICROSOFT TECHNOLOGY LICENSING LLC
  • US20240412040A1 patent drawing
  • US20240412040A1 patent drawing
  • US20240412040A1 patent drawing

AI summary

A model graph receives a data prompt as input. The data prompt is segmented into multiple segments. An instance of the model graph is generated for each segment of the data prompt. Each instance of the model graph is also pruned according to policy information associated with the model graph instance's corresponding data prompt segment. Each instance of the model graph generates an intermediary output. A final output of the model graph for the entire data prompt is generated based on a combination of the intermediary outputs.