Prompt Modification Distillation for Low-Latency Text-to-Vision

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing text-to-vision generation systems face challenges due to the mismatch between user prompts, which are often short and lacking detail, and the longer, more descriptive prompts used during training, leading to reduced performance and limited computational feasibility on user devices.

Innovation Solution

A two-stage approach involving a powerful large language model (LLM) to modify user prompts to align with training data and a smaller, distilled LLM for inference, along with vision scoring models to condition and filter datasets, ensuring improved generation quality and efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If a large parameter count generative machine learning model is used to modify prompts, then the quality and alignment of modified prompts improve, but the computational requirements and latency increase

Engineering Contradiction:
Improveprompt modification qualityVSAvoidinference latency
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-training a smaller model on a dataset generated by a larger model. The training dataset contains prompt-modification pairs created in advance by the larger model, allowing the smaller model to learn from this pre-computed knowledge during inference, thus avoiding real-time computation with the larger model.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying by creating a distilled version of the larger model's capabilities. A smaller model is trained to replicate the prompt modification behavior of the larger model using a dataset of examples, effectively copying the functional behavior while reducing computational overhead and enabling deployment on resource-constrained devices.

Inventive Principle:
Principle #26Copying

2Manufacturing precision

If a large parameter count generative machine learning model is used, then the generation quality improves, but the computational requirements exceed user device capabilities

Engineering Contradiction:
Improvevisual data generation qualityVSAvoidcomputational requirements
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent employs copying by training a smaller model to replicate the prompt modification capabilities of a larger model. The smaller model is distilled from the larger model's training data, enabling it to produce similar quality outputs with reduced computational requirements suitable for user devices.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent applies this principle by replacing the computationally expensive large model with a smaller, more efficient model for the actual inference process. The larger model is used only during the training data generation phase, while the smaller model handles the operational workload, effectively using a 'cheaper' computational resource for the ongoing task.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Ease of operation

If short user prompts are used directly for text-to-vision generation, then the ease of operation improves, but the generation performance deteriorates due to mismatch with training data

Engineering Contradiction:
Improveuser prompt simplicityVSAvoidgeneration performance
Core Design Contradiction:
Ease of operationVSManufacturing precision

Solution Approach 1:

The patent uses an intermediary approach by introducing a prompt modification model that translates simple user prompts into the more detailed format expected by the text-to-vision generation system. This intermediary layer bridges the gap between user convenience and system performance requirements without changing either the user interface or the core generation model.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent applies parameter changes by transforming the structure and content of user prompts through a learned modification process. The model adjusts prompt parameters such as length, detail level, and descriptive elements to match the distribution of training data, thereby improving generation performance while maintaining ease of use.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250348753A1Text-to-vision generation with prompt modification and scoring
Publication Date: 2025.11.13 GDM HOLDING LLC
  • US20250348753A1 patent drawing
  • US20250348753A1 patent drawing
  • US20250348753A1 patent drawing

AI summary

There is provided a method performed by one or more data processing apparatus. The method comprises obtaining a training prompt and a corresponding target modified prompt from a training dataset. The training dataset comprises one or more training prompt and target modified prompt pairs generated using a first generative machine learning model. The method further comprises processing, by a second generative machine learning model, the training prompt to generate an output modified prompt. The second generative machine learning model has a lower parameter count than the first generative machine learning model. The method further comprises updating the second generative machine learning model using a training objective based upon the output modified prompt and the target modified prompt.