Amazon patents method to spot errors in AI models using data fingerprints
This filing describes a system that checks if a machine learning model is behaving normally by comparing its internal data patterns, called embeddings, against a known good set. If the patterns look different, the system changes how it handles the data to prevent errors or bad outputs.
In the filing’s own words
Systems and methods are provided to detect anomalous data obtained from and/or to be routed to a machine learning model. A system can identify a first embedding generated by a machine learning model. The system can obtain a first set of data associated with the machine learning model and can compare the first embedding generated by the machine learning model with the first set of data. Based on comparing the first embedding generated by the machine learning model with the first set of data, the system can determine a manner of processing a second set of data (e.g., an input to and/or an output of the machine learning model). The system can process the second set of data according to the manner of processing the second set of data.
What exactly they claim (claim 1)
1. A computing system comprising: data processing hardware; and memory in communication with the data processing hardware, the memory storing instructions, wherein execution of the instructions by the data processing hardware causes the data processing hardware to: obtain, from a user computing device, an input, wherein the input comprises a request to generate an output using a machine learning model, wherein the computing system generates a prompt for the machine learning model based on the input, and wherein the prompt comprises at least a portion of the input and at least a portion of additional data; provide, to a second computing system, the prompt, wherein the second computing system implements the machine learning model; identify, in real time, a vector embedding of a first plurality of vector embeddings generated by the machine learning model based on the prompt; obtain, from a data store, a first set of data associated with the machine learning model, wherein each machine learning model of a plurality of machine learning models is associated with a respective set of data of a plurality of sets of data stored by the data store, wherein the first set of data comprises a second plurality of vector embeddings; compare the vector embedding generated by the machine learning model with the second plurality of vector embeddings; determine a manner of processing a second set of data associated with the machine learning model based on comparing the vector embedding generated by the machine learning model with the second plurality of vector embeddings and based on one or more of a query vector, a key vector, or a value vector associated with an attention mechanism of the machine learning model, wherein the second set of data comprises a respective input to the machine learning model or a respective output of the machine learning model; and process the second set of data according to the manner of processing the second set of data.
Facts
- Company
- Amazon (Amazon Technologies, Inc.)
- Official title
- ANOMALY DETECTION FOR MACHINE LEARNING MODELS USING EMBEDDINGS OF THE MACHINE LEARNING MODELS
- Publication number
- US20260300817A1
- Application number
- 19096279
- Filed
- Mar 31, 2025
- Published
- Oct 1, 2026
- Inventors
- 4
- Claims
- 21
Classified under
G06N 20/00 Physics & computingMore from Amazon in AI & software
- Amazon patents system that cites sources for AI answers Sep 29, 2026
- Amazon patents tech to swap words in movies using actor's voice Sep 8, 2026
- Amazon patents ML tool to add graphics to live sports from moving cameras Sep 15, 2026
- Amazon patents shopping assistant that remembers your search filters Oct 6, 2026
- Amazon patents system where AI agents split tasks and talk to each other Oct 20, 2026
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.
