Get the newsletter
Google · AI / ML · Filed Oct 22, 2024 · USPTO published Aug 27, 2026 · Aug 27 release

Google Patents a Way to Teach AI to Categorize Your Search Queries

Google has filed a patent for a system that trains an AI to read your search queries and automatically assign category tags to them, potentially letting search engines organize and retrieve information without as much human labeling work.

User interface showing keyword suggestions, search volume trends, and popularity changes. Drawing from patent filing US 2026/0252559 A1.
User interface showing keyword suggestions, search volume trends, and popularity changes.All 4 drawings ↓
Publication number
US 2026/0252559 A1(US20260252559A1)
Applicant
Google LLC
Filed · Published
Oct 22, 2024 · Aug 27, 2026
Inventors
Jordan N. Gergov, Yen Chang, Michael Simbirsky, Kumar Avinava Dubey
Status when we published
Examiner raised objections; the company can respond
Document
19 claims
US classification
707/718
Examiner
WILLOUGHBY, ALICIA M (Art Unit 2156)
Parent application
National Stage Entry of PCT/US2024/031216 (filed May 28, 2024)(PCTUS2024031216)

What Google's query-tagging system actually does

Every time you type something into Google, your query gets processed alongside millions of others. Organizing all those queries so the search engine can find patterns in them is an enormous task, and right now it often requires a lot of human effort to label and categorize them.

What Google's new patent describes is a way to hand that labeling job to an AI. The system trains a language model on example queries, teaching it to recognize what a group of searches is generally about. Once trained, the AI reads through Google's full library of stored queries and stamps each one with a short descriptive tag called a retrieval token.

Think of it like a librarian who reads every book title and scribbles a subject tag on the spine, except the librarian can process billions of entries and never needs a coffee break. Those tags then make it much faster to pull up the right group of queries when the search engine needs them.

From the filing · CLAIM 1
… training a language model to generate a trained language model, wherein the trained language model predicts, for each training sample, one or more generalizations that describe the training sample, each generalization of the one or more generalization being an n-gram; …

Translation: The system trains AI to create short phrases that summarize search queries.

How the language model turns queries into retrieval tokens

The patent describes a training-and-tagging pipeline built around a large language model (LLM), the same class of AI behind tools like ChatGPT.

The process works in two stages:

  • Training: Google feeds the model batches of real search queries drawn from a query store (a large database of past searches). The model learns to produce generalizations, short phrases called n-grams (any sequence of one or more words) that describe what a group of queries has in common. For example, queries like "best running shoes" and "trail running sneakers" might both get the generalization "running footwear."
  • Tagging: Once trained, the model sweeps through every query in the store and predicts the best generalization for each one. Those generalizations are then converted into retrieval tokens, compact identifiers that get saved alongside each query in a separate data store.
  • Storage: Every query ends up linked to its retrieval tokens, creating an index that groups similar queries together under shared labels without humans manually categorizing them.

The key technical idea is that the AI learns to abstract upward from a specific question to a broader theme, making it possible to cluster millions of varied queries under a manageable set of tags.

From the filing · THE ABSTRACT
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for training a large language model (LLM) to predict generalizations of public queries.

Translation: Google invented a way to train AI models to categorize public search queries automatically.

What this means for how Google's search index works

For Google, the practical payoff here is about scale. Manually labeling billions of search queries is expensive and slow. A system that generates consistent category tags automatically could make it cheaper to maintain the internal indexes that power features like query suggestions, ad targeting, and related-search recommendations.

For everyday users, the effects would be indirect but real: better organized query data tends to produce more accurate search results and more relevant suggestions. This is the quiet infrastructure side of search, the part nobody sees but everyone benefits from. Google's search-infrastructure filings sit alongside the broader stream of this week's Big Tech patents in ad tech and AI-assisted indexing, where the competition to automate data labeling at scale is intensifying.

That makes this Google's 75th filing in Language AI we've tracked since May, joining work like one matching search to formats and one teaching AI to fix accounts.

Source: US 2026/0252559 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.

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 · 4 sheets

4 drawing sheets from US 2026/0252559 A1 · click any drawing to enlarge

Overall system and server architecture, drawing sheet 1 from US 2026/0252559 A1
Sheet 1 Overall system and server architecture
Keyword search planner interface, drawing sheet 2 from US 2026/0252559 A1
Sheet 2 Keyword search planner interface
Language model training process, drawing sheet 3 from US 2026/0252559 A1
Sheet 3 Language model training process
Computer server hardware components, drawing sheet 4 from US 2026/0252559 A1
Sheet 4 Computer server hardware components
Patent filing page