IP Library › Granted Patent US 12,737,631
Granted Patent B2
US 12,737,631 · App. 18/466,747 · Granted Sep 15, 2026

Teaching language models to draw sketches

Inventors: Reza Pourreza (San Diego, CA); Roland Memisevic (Toronto, CA); Apratim Bhattacharyya (San Diego, CA); Sunny Praful Kumar Panchal (Toronto, CA); Mingu Lee (San Diego, CA); Pulkit Madan (Toronto, CA)
Assignee: QUALCOMM Incorporated
G06T11/20G06N3/0464G06N3/084G06T11/60
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,737,631
App. No.
18/466,747
Granted
Sep 15, 2026
Kind
B2
Abstract

A processor-implemented method for image generation using an artificial neural network (ANN) includes receiving an input including one or more of an image or a text prompt. The ANN processes the input to determine one or more virtual brush strokes to generate an output image or one or more commands for controlling an image drawing application to generate the output image. A list of the one or more virtual brush strokes to generate the output image or the one or more commands for controlling the image drawing application to generate the output image. The one or more virtual brush strokes or commands may be executed to generate a sketch based on the input.

Claims (41)

1 . A processor-implemented method performed by at least one processor, the processor-implemented method comprising:

receiving a first input including one or more of a first image or a text prompt;

processing, by an artificial neural network (ANN), the first input to determine a sequence of virtual brush strokes to draw an output image and one or more commands corresponding to the sequence of virtual brush strokes for controlling an image drawing application to draw the output image, each virtual brush stroke comprising a brush stroke of a sketch provided in a stroke format or painting provided in the stroke format;

generating a list of the sequence of virtual brush strokes to draw the output image and the one or more commands corresponding to the sequence of virtual brush strokes for controlling the image drawing application to draw the output image, the one or more commands having color, coordinate and width parameters; and

executing the sequence of virtual brush strokes to render a second image of each of the sequence of virtual brush strokes on a stroke-by-stroke basis, wherein the executing comprises, for each virtual brush stroke in the sequence of virtual brush strokes:

rendering a virtual brush stroke on a virtual canvas to produce an updated canvas state; and

providing the updated canvas state as a second input to the ANN to determine a next virtual brush stroke in the sequence of virtual brush strokes.

2 . The processor-implemented method of claim 1 , in which the first input includes only the text prompt.

3 . The processor-implemented method of claim 1 , in which the first input includes the first image and the text prompt and the ANN performs a visual reasoning task to determine the output image.

4 . The processor-implemented method of claim 3 , in which the first image comprises a partial drawing of an object and the ANN generates the list of the sequence of virtual brush strokes to produce a complete drawing of the object.

5 . The processor-implemented method of claim 3 , in which the ANN determines a classification based on the output image.

6 . The processor-implemented method of claim 1 , in which the first image comprises multiple objects, and the ANN determines the list of the sequence of virtual brush strokes to draw the output image, the output image including a subset of the multiple objects.

7 . The processor-implemented method of claim 1 , in which the ANN comprises a language model.

8 . An apparatus, comprising:

at least one memory; and

at least one processor coupled to the at least one memory, the at least one processor configured to:

receive a first input including one or more of a first image or a text prompt;

process, by an artificial neural network (ANN), the first input to determine a sequence of virtual brush strokes to draw an output image and one or more commands corresponding to the sequence of virtual brush strokes for controlling an image drawing application to draw the output image, each virtual brush stroke comprising a brush stroke of a sketch provided in a stroke format or painting provided in the stroke format;

generate a list of the sequence of virtual brush strokes to draw the output image and the one or more commands corresponding to the sequence of virtual brush strokes for controlling the image drawing application to draw the output image, the one or more commands having color, coordinate and width parameters; and

execute the sequence of virtual brush strokes to render a second image of each of the sequence of virtual brush strokes on a stroke-by-stroke basis, wherein, for each virtual brush stroke in the sequence of virtual brush strokes, the at least one processor is further configured to:

render a virtual brush stroke on a virtual canvas to produce an updated canvas state, and

provide the updated canvas state as a second input to the ANN to determine a next virtual brush stroke in the sequence of virtual brush strokes.

9 . The apparatus of claim 8 , in which the first input includes only the text prompt.

10 . The apparatus of claim 8 , in which the first input includes the first image and the text prompt and the ANN performs a visual reasoning task to determine the output image.

11 . The apparatus of claim 10 , in which the first image comprises a partial drawing of an object and the ANN generates the list of the sequence of virtual brush strokes to produce a complete drawing of the object.

12 . The apparatus of claim 8 , in which the at least one processor is further configured to determine, by the ANN, a classification based on the output image.

13 . The apparatus of claim 8 , in which the first image comprises multiple objects, and the at least one processor is further configured to determine, by the ANN, the list of the sequence of virtual brush strokes to draw the output image, the output image including a subset of the multiple objects.

14 . The apparatus of claim 8 , in which the ANN comprises a language model.

15 . A non-transitory computer-readable medium storing instructions that when executed by a processor cause the processor to:

receive a first input including one or more of a first image or a text prompt;

process, by an artificial neural network (ANN), the first input to determine a sequence of virtual brush strokes to draw an output image and one or more commands corresponding to the sequence of virtual brush strokes for controlling an image drawing application to draw the output image, each virtual brush stroke comprising a brush stroke of a sketch provided in a stroke format or painting provided in the stroke format;

generate a list of the sequence of virtual brush strokes to draw the output image and the one or more commands corresponding to the sequence of virtual brush strokes for controlling the image drawing application to draw the output image, the one or more commands having color, coordinate and width parameters; and

execute the sequence of virtual brush strokes to render a second image of each of the sequence of virtual brush strokes on a stroke-by-stroke basis, wherein, for each virtual brush stroke in the sequence of virtual brush strokes, the processor is further caused to:

render a virtual brush stroke on a virtual canvas to produce an updated canvas state; and

provide the updated canvas state as a second input to the ANN to determine a next virtual brush stroke in the sequence of virtual brush strokes.

16 . The non-transitory computer-readable medium of claim 15 , in which the first input includes only the text prompt.

17 . The non-transitory computer-readable medium of claim 15 , in which the first input includes the first image and the text prompt and the instructions further cause the processor to perform, by the ANN, a visual reasoning task to determine the output image.

18 . The non-transitory computer-readable medium of claim 17 , in which the first image comprises a partial drawing of an object and the ANN generates the list of the sequence of virtual brush strokes to produce a complete drawing of the object.

19 . The non-transitory computer-readable medium of claim 15 , in which the instructions further cause the processor to determine, by the ANN, a classification based on the output image.

20 . The non-transitory computer-readable medium of claim 15 , in which the first image comprises multiple objects, and the instructions further cause the processor to determine, by the ANN, the list of the sequence of virtual brush strokes to draw the output image, the output image including a subset of the multiple objects.

21 . The non-transitory computer-readable medium of claim 15 , in which the ANN comprises a language model.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 1, 2023
From: POURREZA, REZA; MEMISEVIC, ROLAND; BHATTACHARYYA, APRATIM; PANCHAL, SUNNY PRAFUL KUMAR; LEE, MINGU; MADAN, PULKIT
To: QUALCOMM INCORPORATED
Reel/Frame 065427/0312 →
Continuity (2)
Provisional Application 63469253 · May 26, 2023
Related Publication 20240394936A1 · Nov 28, 2024
References Cited (31)
US 10885344B2 · Tian · 2021 [cited by examiner]
US 11019388B2 · Choi · 2021 [cited by examiner]
US 11482025B2 · Khomenko · 2022 [cited by examiner]
US 11593984B2 · Hussen Abdelaziz · 2023 [cited by examiner]
US 11880913B2 · Hertzmann · 2024 [cited by examiner]
US 11907637B2 · Ke · 2024 [cited by examiner]
US 11908180B1 · Ho · 2024 [cited by examiner]
US 11941323B2 · Wang · 2024 [cited by examiner]
US 12073321B2 · Feng · 2024 [cited by examiner]
US 12079908B2 · Duffy · 2024 [cited by examiner]
US 12094082B2 · Makihira · 2024 [cited by examiner]
US 12154251B2 · Chen · 2024 [cited by examiner]
US 12314677B2 · Shang · 2025 [cited by examiner]
US 20220207872A1 · Ren · 2022 [cited by examiner]
US 20220392152A1 · Chen · 2022 [cited by examiner]
US 20230205923A1 · Ibtehaz · 2023 [cited by examiner]
US 20230222344A1 · Chai · 2023 [cited by examiner]
US 20230377226A1 · Saharia · 2023 [cited by examiner]
US 20240177861A1 · Yamane · 2024 [cited by examiner]
US 20240242487A1 · Conde · 2024 [cited by examiner]
US 20240289998A1 · Wang · 2024 [cited by examiner]
US 20240362265A1 · He · 2024 [cited by examiner]
US 20250173613A1 · Oktay · 2025 [cited by examiner]
WO WO2017048685A1 · 2017 [cited by examiner]
Chandramouli P., et al., “LDEdit: Towards Generalized Text Guided Image Manipulation via Latent Diffusion Models”, arXiv:2210.02249v1 [cs.CV], arxiv.org, Cornell University Library, 201 Olin Library Cornell University I… [cited by applicant]
Frans K., et al., “CLIPDraw: Exploring Text-to-Drawing Synthesis through Language-Image Encoders”, arXiv:2106.14843v1 [cs.CV], arxiv.org, Cornell University Library, 201 Olin Library Cornell University Ithaca, NY 14853,… [cited by applicant]
Guo C., et al., “ArtVerse: A Paradigm for Parallel Human—Machine Collaborative Painting Creation in Metaverses”, IEEE Transactions on Systems, Man, and Cybernetics: Systems, IEEE, Piscataway, NJ, USA, vol. 53, No. 4, Ap… [cited by applicant]
Huang F., et al., “Sketchforme: Composing Sketched Scenes from Text Descriptions for Interactive Applications”, User Interface Software and Technology (UIST'19), New Orleans, LA, USA, Oct. 20, 2019-Oct. 23, 2019, pp. 20… [cited by applicant]
International Search Report and Written Opinion—PCT/US2024/022051—ISA/EPO—Jul. 5, 2024. [cited by applicant]
Arnone S., “Sketch-RNN: A Generative Model for Vector Drawings”, Magneta, 2021, pp. 1-4. [cited by applicant]
Huang F., et al., “Sketchforme: Composing Sketched Scenes from Text Descriptions for Interactive Applications”, arXiv:1904.04399v1, (cs.HC) Apr. 8, 2019, pp. 1-11. [cited by applicant]