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.

- 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.
… 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.
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.
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
Show the other 9 sheets

No comments yet