Get the newsletter
Salesforce · AI / ML · Filed Jul 31, 2026 · USPTO published Nov 26, 2026 · This week's release

Salesforce Files Patent for Letting a Chatbot Answer Questions About Your Photos

Salesforce's filing covers a way to let an AI answer questions about a picture by training only a small connector. The photo-reading AI and the chatbot-style language model on either side stay untouched.

An AI system analyzes a photograph and a written prompt to compose a matching message. Drawing from patent filing US 2026/0378239 A1.
An AI system analyzes a photograph and a written prompt to compose a matching message.All 17 drawings ↓
Publication number
US 2026/0378239 A1(US20260378239A1)
USPTO patent title:
Systems and Methods for a Vision-Language Pretraining Framework
Applicant
Salesforce, Inc.
Filed · Published
Jul 31, 2026 · Nov 26, 2026
Inventors
Junnan Li, Chu Hong Hoi
Status when we published
Waiting for an examiner
Document
20 claims
US classification
704/9
Parent application
Continuation of 18/160,722 (filed Jan 27, 2023)(18160722)

What Salesforce's photo-question patent does

A photo of a sports car sits in a chat window, with a question typed underneath: what makes this product special? Most chatbots can't answer that, because they only understand words. The ones that can were often built from scratch to handle pictures and text together, which eats a huge amount of computing time.

Salesforce's filing takes a shortcut. It starts with an existing AI that reads photos and an existing language model, and it leaves both alone. In between, it adds a small translator that learns which parts of the picture matter and hands them to the chatbot in a form it understands.

For you, the payoff would be simple: ask a question about a photo in plain language and get a written answer back.

From the filing · CLAIM 1
… applying, by an attention module of the multimodal framework, cross-attention between the image representation and a set of learnable query vector to transform visual features into a transformed representation; …

Translation: The system connects your visual picture data with smart query tools to reshape how it sees the image.

How the small connector feeds a frozen chatbot

Claim 1 covers a four-part pipeline. You send in an image and a written prompt, such as a question about the picture. An image encoder (a pretrained AI that turns a photo into a grid of numbers describing it) goes first.

Next comes the piece the filing is really about: an attention module (a small neural network that decides which data deserves focus). It uses a set of learnable query vectors (a fixed list of questions it asks the image) and applies cross-attention (matching those questions against the image's numbers) to boil the picture down. In the description's example, 32 queries shrink the image data from 257×1024 numbers to 32×768.

The condensed result passes through a fully connected layer (a simple step that resizes it to fit) and into a pretrained language model along with your text prompt. The model writes its answer one token (a small piece of text) at a time, each based on the ones before.

Training is the cost saver. The attention module, about 188 million parameters (adjustable settings), is the only part that learns. The image encoder and language model stay frozen, and the training pictures and captions are not tied to any one task.

From the filing · THE ABSTRACT
The Generalist Multimodal Transformer eliminates the need for fine-tuning the image encoders and large language models.

Translation: This core engine works right out of the box without needing extra training for each separate task.

Why cheaper training matters for photo chat

If you have ever wanted to snap a photo and just ask your assistant about it, this is the plumbing that makes that cheaper to build. Because only the small middle piece gets trained, a company can swap in a newer image reader or a stronger language model later without starting over. The filing's own tests found that better frozen parts gave better answers.

The filing also reports results. Its model beat a much larger comparison model by 8.7% on one visual question test, with 54 times fewer trainable parameters. It also describes handling several images at once, like a cat jumping onto a sofa, and answering with "a cat jumps from the carpet to a sofa." Those figures are the company's own, so treat them as claims from the document.

That makes this the 17th Salesforce application we've tracked since July in our AI agents working in teams watchlist, after earlier filings on vetting AI agents and live AI peer review.

Source: US 2026/0378239 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

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 Salesforce patent news breaks.

There are more where this came from

We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.

The drawings · 17 sheets

17 drawing sheets from US 2026/0378239 A1 · click any drawing to enlarge

Teaching an AI chatbot to see in two steps, drawing sheet 1 from US 2026/0378239 A1
Sheet 1 Teaching an AI chatbot to see in two steps
Training the bridge component to match visual features with text, drawing sheet 2 from US 2026/0378239 A1
Sheet 2 Training the bridge component to match visual features with text
Three ways the AI combines pictures with text, drawing sheet 3 from US 2026/0378239 A1
Sheet 3 Three ways the AI combines pictures with text
Feeding visual data into different chatbot designs during stage two, drawing sheet 4 from US 2026/0378239 A1
Sheet 4 Feeding visual data into different chatbot designs during stage two
Generating a photo caption in response to a user request, drawing sheet 5 from US 2026/0378239 A1
Sheet 5 Generating a photo caption in response to a user request
Hardware parts that run the vision and language system, drawing sheet 6 from US 2026/0378239 A1
Sheet 6 Hardware parts that run the vision and language system
Network setup linking a user device to remote AI servers, drawing sheet 7 from US 2026/0378239 A1
Sheet 7 Network setup linking a user device to remote AI servers
Steps for training the bridge between vision and text components, drawing sheet 8 from US 2026/0378239 A1
Sheet 8 Steps for training the bridge between vision and text components
Show the other 9 sheets
How the AI answers questions about an uploaded image, drawing sheet 9 from US 2026/0378239 A1
Sheet 9 How the AI answers questions about an uploaded image
Sample chatbot conversations answering questions about various photos, drawing sheet 10 from US 2026/0378239 A1
Sheet 10 Sample chatbot conversations answering questions about various photos
More examples of the chatbot generating creative text from pictures, drawing sheet 11 from US 2026/0378239 A1
Sheet 11 More examples of the chatbot generating creative text from pictures
Benchmark scores comparing the system against rival multimodal models, drawing sheet 12 from US 2026/0378239 A1
Sheet 12 Benchmark scores comparing the system against rival multimodal models
Test results across several question answering benchmarks, drawing sheet 13 from US 2026/0378239 A1
Sheet 13 Test results across several question answering benchmarks
Charts showing how visual training improves chatbot accuracy over time, drawing sheet 14 from US 2026/0378239 A1
Sheet 14 Charts showing how visual training improves chatbot accuracy over time
Performance comparison after fine tuning on visual question datasets, drawing sheet 15 from US 2026/0378239 A1
Sheet 15 Performance comparison after fine tuning on visual question datasets
Test scores measuring accuracy at describing unfamiliar photographs, drawing sheet 16 from US 2026/0378239 A1
Sheet 16 Test scores measuring accuracy at describing unfamiliar photographs
Test results matching images with relevant text descriptions, drawing sheet 17 from US 2026/0378239 A1
Sheet 17 Test results matching images with relevant text descriptions
Patent filing page

More from Salesforce

All 115 Salesforce patents →

More in AI assistant & agent

All 458 AI assistant & agent patents →

Watchlists this filing belongs to

All watchlists →
Reader comments

No comments yet

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.