Google · Filed Jan 27, 2026 · Published Oct 22, 2026

Google Files Patent for Training AI Image Makers to Match Your Words

Ask an AI for "a white boat out on the water" and you want a boat, not a vaguely nautical blur. Google's filing describes a training method that rewards the model for matching pictures to captions and punishes it for mismatches.

An AI system comparing real and computer-generated pictures against text captions to help the machine create more accurate scenes. Drawing from patent filing US 2026/0330705 A1.
An AI system comparing real and computer-generated pictures against text captions to help the machine create more accurate scenes.
See all 15 drawings from this filing ↓
Publication number US 2026/0330705 A1 US20260330705A1
Applicant Google LLC
Filing date Jan 27, 2026
Publication date Oct 22, 2026
Inventors Han Zhang, Jing Yu Koh, Jason Michael Baldridge, Yinfei Yang, Honglak Lee
US classification 382/157
Status when we published Waiting for an examiner (Jul 3, 2026)
Parent application is a Continuation of 18770154 (filed 2024-07-11)
Document 20 claims

What Google's text-to-image training trick does

Early AI image generators had a habit of producing pictures that looked fine but missed the point. Ask for a scene with many objects, like a crowd on a baseball field, and the results got muddy. Older fixes often needed several models in a chain, or hand-drawn labels such as boxes around every object in the training photos.

Google's filing takes a different route. During training, the AI is taught to pull together a caption, its real photo and its own generated picture, while pushing apart anything tied to a different caption. A baseball picture should sit far from a boat picture, and a baseball caption should sit close to a baseball image.

The result is a single model that learns, without extra labeling work, to make images that actually fit the sentence you typed.

From the filing · CLAIM 1
… generative neural network has been trained using a contrastive loss objective that maximizes mutual information between image features and text features by causing paired image-text representations to attract in a feature space and unpaired image-text representations to repel in the feature space.

Translation: The AI learns by drawing matching words and pictures closer together while pushing mismatched pairs apart.

How the generator learns to pair words and pixels

The claims cover a text-to-image generator. You give it a written description of a scene, it starts from a block of random numbers (random noise), and it turns that into a picture. The generator is built with attention mechanisms (a way for the model to focus on the most relevant words while drawing each part of the image).

The key is how it was trained, using a contrastive loss (a scoring rule that rewards the model when matching items land close together and mismatched items land far apart). The claims say this maximizes mutual information, meaning the picture and the caption share as much of their meaning as possible. Closeness is measured with cosine similarity (a score of how similar two sets of numbers are).

The description names the system XMC-GAN. It compares three kinds of pairs:

  • Image and sentence: does the whole picture match the whole caption?
  • Image region and word: does each patch of the picture match a word like "boat"?
  • Real and generated image: do two pictures from the same caption look alike?

A pre-trained language model (BERT) turns the text into numbers. The generator then mixes those numbers with the noise and builds the image in a single stage. Other claims cover a version that takes spoken input, transcribed to text.

From the filing · THE ABSTRACT
… neural network for text-to-image generation to generate an output image rendition of the scene, the neural network having been trained to cause two image renditions associated with a same textual description to attract each other and two image renditions associated with different textual descriptions to repel each other …

Translation: Images sharing the same description are grouped together, while images with different descriptions are kept separate.

Why this could matter for Google's image tools

If you use any tool that turns a sentence into a picture, the practical payoff is simple: fewer images that ignore half of what you asked for. The filing says the single-stage design is easier to train than approaches that chain several models or need object labels, which matters to anyone building these tools at scale.

The description also mentions uses such as virtual and augmented reality scenes, game environments, art styles, and even video frames generated from a multi-scene description. It reports results on public image datasets, including a lower (better) image-quality score and strong human ratings against competing models. Those are the company's own test results, not a product launch.

Google's 53rd filing in the AI training & infrastructure work we've tracked since May adds to a run that includes fitting models to any budget and cutting training data needed.

Editorial take

From a shipping standpoint, this one is almost entirely a software story. Nothing here needs new hardware: it is a training recipe, and the description says the trained model can run on a single device or on a server that a phone or laptop talks to. That is a short path to a product, if a team wants it.

The catch is age. The filing describes a GAN (an older style of image generator built from two competing networks), and the comparisons are against other models of that same era. Today's headline image tools use different designs, so the most likely use of this patent is the underlying idea of pulling matched captions and pictures together, which can travel to other designs.

So treat this as a solid, well-tested piece of method, not a sign of a new feature coming. It is a continuation of earlier applications, which fits with a technique that has already had time to settle.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Google patent news breaks.

There are more where this came from

We read every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.

The drawings

15 drawing sheets from US 2026/0330705 A1 · click any drawing to enlarge

How the AI checks synthetic pictures against descriptions, drawing sheet 1 from US 2026/0330705 A1
Sheet 1 How the AI checks synthetic pictures against descriptions
Inside the image maker that turns text prompts into pictures, drawing sheet 2 from US 2026/0330705 A1
Sheet 2 Inside the image maker that turns text prompts into pictures
Checking whether an image looks genuine and matches the prompt, drawing sheet 3 from US 2026/0330705 A1
Sheet 3 Checking whether an image looks genuine and matches the prompt
Test results comparing this picture generator to older tools, drawing sheet 4 from US 2026/0330705 A1
Sheet 4 Test results comparing this picture generator to older tools
Human testers preferred the new AI for realism and accuracy, drawing sheet 5 from US 2026/0330705 A1
Sheet 5 Human testers preferred the new AI for realism and accuracy
Sample pictures created from short scene descriptions, drawing sheet 6 from US 2026/0330705 A1
Sheet 6 Sample pictures created from short scene descriptions
Pictures created from long descriptive paragraphs, drawing sheet 7 from US 2026/0330705 A1
Sheet 7 Pictures created from long descriptive paragraphs
Test scores showing how each training check improves picture quality, drawing sheet 8 from US 2026/0330705 A1
Sheet 8 Test scores showing how each training check improves picture quality
Show the other 7 sheets
Test metrics comparing different internal model setups, drawing sheet 9 from US 2026/0330705 A1
Sheet 9 Test metrics comparing different internal model setups
How the AI learns from data before answering user prompts, drawing sheet 10 from US 2026/0330705 A1
Sheet 10 How the AI learns from data before answering user prompts
Everyday devices connecting across a network to cloud servers, drawing sheet 11 from US 2026/0330705 A1
Sheet 11 Everyday devices connecting across a network to cloud servers
Hardware parts inside a computer running the image maker, drawing sheet 12 from US 2026/0330705 A1
Sheet 12 Hardware parts inside a computer running the image maker
Groups of cloud servers linked together to share work, drawing sheet 13 from US 2026/0330705 A1
Sheet 13 Groups of cloud servers linked together to share work
Steps for teaching the AI to pair words with images, drawing sheet 14 from US 2026/0330705 A1
Sheet 14 Steps for teaching the AI to pair words with images
Making a new picture from a written description, drawing sheet 15 from US 2026/0330705 A1
Sheet 15 Making a new picture from a written description
Browse all the drawings 15 drawing sheets
Patent filing page

Source. Full patent text and figures from the official USPTO publication PDF.
Reader comments

Be the first to weigh in

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.