Machine-learning prompt enhancement
Abstract
Machine-learning prompt enhancement techniques are described. In one or more examples, by generating training data from high-quality digital content meeting specific criteria, a generative artificial intelligence (AI) system is configurable to train an enhancement machine-learning model to capture features pertaining to particular tasks or scenarios. The trained enhancement machine-learning model can then extract enhancement features from inputs, enabling the formation of enhanced prompts that guide generative AI models to generate digital content as suitable for the particular tasks or scenarios.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, by a processing device, an input having text describing generative digital content; extracting, by the processing device, enhancement features describing the generative digital content based on the input and embeddings associated with the input by using an enhancement machine-learning model configured as a diffusion transformer, the diffusion transformer generating the enhancement features using sparse patch selection; forming, by the processing device, an enhanced prompt based on the enhancement features and a prompt refinement query, the forming using a prompt refinement machine-learning model implemented as a language model; and presenting, by the processing device, the generative digital content for display in a user interface, the generative digital content generated using generative artificial intelligence (AI) implemented using one or more machine-learning models based on the enhanced prompt.
- Claim 2Depends on #1
The method as described in claim 1, further comprising generating, by the processing device, a text embedding based on the input using at least one machine-learning model and wherein the extracting is based on the text embedding.
- Claim 3Depends on #1
The method as described in claim 1, wherein the enhancement features specify one or more visual aspects to be used as a basis to generate the generative digital content.
- Claim 4Depends on #1
The method as described in claim 1, wherein the prompt refinement query specifies a plurality of steps to be followed in generating the enhanced prompt.
- Claim 5Depends on #4
The method as described in claim 4, wherein the steps include instructions to set a visual scene, composition, lighting, a color palette, a mood and atmosphere, and technical camera details.
- Claim 6Depends on #1
The method as described in claim 1, further comprising training the enhancement machine-learning model based on training data.
- Claim 7Depends on #6
The method as described in claim 6, further comprising generating the training data, the generating including: identifying a set of digital content from a plurality of digital content meeting one or more criteria; and generating a plurality of content descriptions, respectively, for the set of digital content using a machine-learning model.
- Claim 8Depends on #1
The method as described in claim 1, wherein the generative digital content is a digital image.
- Claim 9Depends on #1
The method as described in claim 1, wherein the generative digital content is digital audio or digital video.
- Claim 10Independent Claim
One or more computer-readable storage media storing instructions that, responsive to execution by a processing device, causes the processing device to perform operations comprising: extracting enhancement features based on an input describing generative digital content and embeddings associated with the input using an enhancement machine-learning model configured as a diffusion transformer, the diffusion transformer generating the enhancement features using sparse patch selection; forming an enhanced prompt based on the enhancement features and a prompt refinement query, the forming using a prompt refinement machine-learning model implemented as a language model; communicating the enhanced prompt to at least one machine-learning model to generate generative digital content using generative artificial intelligence (AI); and receiving the generative digital content for display in a user interface.
- Claim 11Depends on #10
The one or more computer-readable storage media as described in claim 10, wherein the instructions further comprise generating a text embedding based on the input using at least one machine-learning model and wherein the extracting is based on the text embedding.
- Claim 12Depends on #10
The one or more computer-readable storage media as described in claim 10, wherein the prompt refinement query specifies one or more visual aspects to be used as a basis to generate the generative digital content.
- Claim 13Depends on #12
The one or more computer-readable storage media as described in claim 12, wherein the prompt refinement query specifies a plurality of steps to be followed in generating the enhanced prompt.
- Claim 14Depends on #13
The one or more computer-readable storage media as described in claim 13, wherein the steps include instructions to set a visual scene, composition, lighting, a color palette, a mood and atmosphere, and technical camera details.
- Claim 15Independent Claim
A computing device comprising: a processing device; and a computer-readable storage medium storing instructions that, responsive to execution by the processing device, causes the processing device to perform operations including: extracting enhancement features based on an input describing generative digital content and embeddings associated with the input using an enhancement machine-learning model configured as a diffusion transformer the diffusion transformer configured to generate the enhancement features using sparse patch selection; forming an enhanced prompt based on the enhancement features and a prompt refinement query, the forming using a prompt refinement machine-learning model implemented as a language model; communicating the enhanced prompt to at least one machine-learning model to generate generative digital content using generative artificial intelligence (AI); and receiving the generative digital content for display in a user interface.
- Claim 16Depends on #15
The computing device as described in claim 15, wherein the input includes one or more criteria as based on a number of times a respective item of said digital content is accessed.
- Claim 17Depends on #15
The computing device as described in claim 15, wherein the input includes one or more criteria as based on a revenue amount generated by a respective item of said digital content.
- Claim 18Depends on #15
The computing device as described in claim 15, wherein the generative digital content is configured as digital images, and descriptions of the generative digital content are formed as text generated using the at least one machine-learning model from the digital images.
- Claim 19Depends on #15
The computing device as described in claim 15, wherein training of the enhancement machine-learning model is performed using a subset of tokens generated for the generative digital content, respectively.
- Claim 20Depends on #15
The computing device as described in claim 15, wherein the enhancement machine-learning model extracts enhancement features including sparse features derived from the input.
Technical Overview & Description
BACKGROUND Generative artificial intelligence (AI) is implemented using a machine-learning model in order to generate digital content. To do so, the machine-learning model is typically trained on vast datasets, thereby enabling the machine-learning model to understand and mimic patterns in training data. Therefore, when generating digital content, the machine-learning model uses this learned knowledge to produce a new item of digital content based on a prompt. Conventional techniques used to implement generative artificial intelligence as part of digital content generation, however, often fail in real-world examples. Conventional techniques, for instance, typically involve use of machine-learning models trained using generalized training data and thus are trained to produce generalized results. SUMMARY Machine-learning prompt enhancement techniques are described. In one or more examples, by generating training data from high-quality digital content meeting specific criteria, a generative artificial intelligence (AI) system is configurable to train an enhancement machine-learning model to capture features relevant to particular tasks or scenarios. The trained enhancement machine-learning model then extracts enhancement features from inputs, enabling the formation of enhanced prompts that guide generative AI models to generate digital content as suitable for the particular tasks or scenarios. The use of a prompt refinement query in conjunction with the extracted features allows for fine-grained control over the generated content's characteristics in forming the enhanced prompt, such as visual aspects, composition, and style. This approach expands the functionality of generative machine-learning models without involving retraining of the generative machine-learning models, thereby improving computational efficiency and flexibility across diverse specialized scenarios that is not possible in conventional techniques. This Summary introduces a selection of concepts in a s
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (4)
Non-Patent Literature (10)
- “
- ModifiX: Training visual knowledge priors to enhance prompts for marketing photography
- ”
- , 2025, 22 pages.
- Feng, et al.,
- “
- PromptMagician: Interactive Prompt Engineering for Text-to-Image Creation
- ”
- , Cornell University, arXiv.org, [retrieved from the internet on Apr. 8, 2025],
- <