Microsoft Files Patent for an AI Fact-Check on Answers Pulled From Company Databases
Ask an AI "Who is my manager?" and it may hand you the first name on a list of managers. A new Microsoft patent application describes a second check that catches that kind of confident wrong answer and adds a warning.

- Publication number
- US 2026/0377391 A1(US20260377391A1)
- USPTO patent title:
- Query Response Validation
- Applicant
- Microsoft Technology Licensing, LLC
- Filed · Published
- May 20, 2025 · Nov 26, 2026
- Inventors
- Yueyang CHEN, Min HUAN, Matthew David WALL, Chujie HE, Kayla Mailinh TRAN
- Status when we published
- Rejected again; the company can still amend or appeal
- Document
- 20 claims
- US classification
- 707/690
- Examiner
- WONG, HUEN (Art Unit 2168)
What Microsoft's answer-checking step actually does
Imagine you ask your company's AI assistant, "How many electrical engineers are on my team?" The database only has a row for mechanical engineers, so the AI cheerfully answers "10." It sounds sure of itself. It is also wrong.
Microsoft's filing describes a fix built around a second look. First, the system writes an answer using only the database request and the data that came back, without seeing your original question. That way the answer sticks to what the data actually says. Then a checker compares that answer to what you really asked.
If the two don't line up, the system rewrites the answer with a plain disclaimer. In the filing's example, you'd hear: "I was not able to find how many electrical engineers there were in your team. However, there are 10 mechanical engineers."
… generating an initial response based on the database query and the data retrieved from the database, wherein generating the initial response comprises providing a prompt to the LLM, the prompt including the database query and the data retrieved and excluding the user query …
Translation: The system feeds raw database results to the AI while keeping the original user question hidden.
How the checker catches a mismatched answer
The claims cover a method for checking answers from a large language model (LLM, the AI behind chatbots) when it answers questions using a database. The goal is to catch what the filing calls overfitting, where the AI bends whatever data it found to look like an answer to your question.
The steps in claim 1 run in order:
- Your question arrives in everyday language, and the system picks out the metrics (what is being measured, such as a count) and the entities (who or what it is measured for, such as electrical engineers).
- It maps those to the database's layout and writes a database request, such as a SQL query (a structured command for pulling data).
- It fetches the data, then prompts the LLM with the request and the data, leaving out your original question.
- A checker reads your question and the draft answer as a question-answer pair and decides whether they match.
- If they don't, the answer is revised and a disclaimer is added.
Dependent claims add a variation: rebuild the question from the database request (a "mocked query") and compare it to what you asked. Another claim adds a test set of labeled examples, used to tune the prompts by editing them rather than retraining the AI.
… determining whether the initial response is consistent with the user query; and based on determining that the initial response is not consistent with the user query, revising the initial response.
Translation: It checks if the AI answer actually matches what was asked and fixes it if they do not align.
Why a rejected filing still points somewhere useful
If you use an AI assistant at work to pull numbers about headcount, sales or budgets, the practical stakes are simple: a wrong answer delivered confidently is worse than "I couldn't find that." This design aims to make the assistant say what it can and can't answer, and to do it without slowing responses much, according to the filing.
A caveat on status: the patent examiner has issued a final rejection of this application. Microsoft can still amend the claims or appeal, so nothing here is settled. Even so, the filing shows the company working on a problem that matters for any business AI tool, which is getting a system to admit the limits of its own data.
Microsoft's 40th filing we've tracked since July in the AI guardrails race adds to a run that includes one catching malicious instructions and one explaining dangerous files.
Source: US 2026/0377391 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 Microsoft 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/0377391 A1 · click any drawing to enlarge

No comments yet