/Patent Tracker
GoogleGranted patentAI & softwareInterest 6/10

Google patents method to test AI models using data density

Patent drawing
Patent drawing from the official filing.

Google has been granted a patent for a system that evaluates how well a machine learning model is trained by measuring how close its test questions are to the data it learned from. The method converts both the training data and the test questions into mathematical coordinates, then calculates a quality score based on how crowded the area around each test question is in that space.

Why it mattersThis offers a standardized way for developers to objectively measure the reliability of an AI model before it is deployed, helping ensure the system performs well on new, unseen data.

In the filing’s own words

Disclosed herein are systems and methods for objectively characterizing machine-learning models including receiving first training data formatted to be used in the training of a machine-learning model; receiving one or more challenge queries formatted to be run on the machine-learning model; generating, for the first training data, a plurality of associated training vectors that embed at least some of the first training data into a vector space; generating, for each of the one or more challenge queries, a plurality of associated challenge vectors that embed at least some of the challenge queries into the vector space; and determining, for each challenge query, a corresponding quality metric for the machine-learning model by determining a neighborhood density for each of the challenge queries in the vector space.

What exactly they claim (claim 1)

1. A system for objective characterization of machine-learning models, the system comprising: one or more processors; and computer memory storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising: receiving first training data formatted to be used in the training of a machine-learning model; receiving one or more challenge queries formatted to be run on the machine-learning model; generating, for the first training data, a plurality of associated training vectors that embed at least some of the first training data into a vector space; generating, for each of the one or more challenge queries, a plurality of associated challenge vectors that embed at least some of the challenge queries into the vector space; determining, for each challenge query, a corresponding quality metric for the machine-learning model by determining a neighborhood density for each of the challenge queries in the vector space, wherein determining the neighborhood density for each of the challenge queries in the vector space comprises determining a count of a number of training vectors within a threshold distance of each of the challenge vectors in the vector space or finding an average distance to N nearest training vectors in the vector space; and responsive to determining, for each challenge query, a corresponding quality metric for the machine-learning model, creating the machine-learning model comprising training the machine-learning model using the first training data.

Facts

Company
Google (X Development LLC)
Official title
Characterization of machine-learning models
Patent number
US12769736B2
Application number
19042774
Filed
Jan 31, 2025
Granted
Oct 20, 2026
Inventors
3
Claims
18

Classified under

G06F 16/24542 Physics & computingG06F 16/215 Physics & computing

More from Google in AI & software

Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.