Google Files Patent for AI Answers That Pick the Most Fitting Source to Cite
Google's new patent goes after an annoying chatbot habit: crediting whichever matching source it happens to find, even if that is last year's plane crash article when you asked about yesterday's. The fix is to let the system weigh your actual question before it chooses what to cite.

- Publication number
- US 2026/0390542 A1(US20260390542A1)
- USPTO patent title:
- Context-Aware Source Selection for Generative Content Attribution
- Applicant
- GOOGLE LLC
- Filed · Published
- Jun 3, 2025 · Dec 3, 2026
- Inventors
- Brian Carver
- Status when we published
- Waiting for an examiner
- Document
- 20 claims
- US classification
- 707/722
- Examiner
- BULLOCK, JOSHUA (Art Unit 2153)
What Google's source-picking chatbot patent does
Every time a chatbot answers your question and tacks on a source link, it has to decide whose work gets the credit. When the same sentence shows up in several places online, that choice can go wrong. Ask about yesterday's plane crash and you might get a link about a crash from last year.
Google's patent describes a fix. After the AI writes its answer, the system checks whether any sentence matches text found in more than one source. If so, it looks at your question, the answer, and the list of candidate sources, then picks the one that fits best. That might be a news article about the right crash, or an expert's paper instead of a hobbyist's blog post.
Then it rewrites the answer to credit that source and shows you that version. Depending on the type of source, it might add a link, add a link to the license, trim the quoted text, or write the passage again.
determine, based on processing at least the user input, the responsive content, and an indication of the plurality of disparate sources associated with the corresponding segment of the additional data, a given source, from among the plurality of disparate sources, for attribution of the corresponding segment …
Translation: The system picks the best source to credit by looking at the query, the generated text, and all possible options.
How the system matches answers to sources
The patent covers a step that runs after a generative model (the AI that writes the answer) drafts a response. The system looks for passages that match text in additional data, such as the model's training data, search results pulled in to help write the answer, or documents you uploaded. If a matching passage traces back to several different sources, a second step starts.
That step takes your question, the drafted answer and the list of candidate sources, then picks the most contextually relevant one. The filing says it can also weigh earlier turns of the conversation, source details like publisher and author, and a search quality score (a number, say 0 to 1, rating how good a source is). A smaller, cheaper model can do the picking.
Matching works by cleaning up the text, cutting it into fixed chunks such as six words, and measuring edit distance: how many characters must change to make two passages identical, divided by the passage length. Near matches count too.
The last step rewrites the answer depending on the type of source:
- Add a link to the source
- Add a link plus a link to its license
- Cut the passage off at a set number of characters, or leave it out
- Write that passage, or the whole answer, again
Implementations described here are directed to contextually aware attribution of generative content.
Translation: This patent covers systems that correctly cite sources for AI generated text.
Why better citations matter for AI answers
If you use chatbots for research, the link at the end of an answer is how you check the work. A link to the wrong event, or to a weak source when an expert one exists, sends you on a detour and makes you trust the answer less. This patent aims to make the credited source match what you actually asked, which could cut down on the "why did you link that?" follow-up questions. It is the sort of change that could matter for Gemini, Google's AI assistant, though the filing does not name any product.
There is a business side too. Citations decide which publishers get credit and clicks, and the filing builds in license links for licensed material. It also describes weighing the financial interest of a source's owner, but only as a tiebreaker between sources that are equally relevant.
Google's 32nd filing we've tracked in our AI safety guardrails watchlist since May follows earlier applications like one flagging bank data use and one for page-by-page search.
Source: US 2026/0390542 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 Google 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 · 8 sheets
8 drawing sheets from US 2026/0390542 A1 · click any drawing to enlarge

No comments yet