Get the newsletter
Microsoft · AI / ML · Filed May 20, 2025 · USPTO published Nov 26, 2026 · This week's release

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.

An AI system that checks search results against company databases to make sure answers given to users are accurate. Drawing from patent filing US 2026/0377391 A1.
An AI system that checks search results against company databases to make sure answers given to users are accurate.All 8 drawings ↓
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."

From the filing · CLAIM 1
… 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.

From the filing · THE ABSTRACT
… 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.

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

8 drawing sheets from US 2026/0377391 A1 · click any drawing to enlarge

Main components of the fact checking database assistant, drawing sheet 1 from US 2026/0377391 A1
Sheet 1 Main components of the fact checking database assistant
Converting your everyday question into a search command, drawing sheet 2 from US 2026/0377391 A1
Sheet 2 Converting your everyday question into a search command
Checking an initial answer against the original question, drawing sheet 3 from US 2026/0377391 A1
Sheet 3 Checking an initial answer against the original question
Adding a disclaimer when a simulated search reveals mistakes, drawing sheet 4 from US 2026/0377391 A1
Sheet 4 Adding a disclaimer when a simulated search reveals mistakes
Testing the fact checker using preapproved sample answers, drawing sheet 5 from US 2026/0377391 A1
Sheet 5 Testing the fact checker using preapproved sample answers
Steps for inspecting a draft answer before delivery, drawing sheet 6 from US 2026/0377391 A1
Sheet 6 Steps for inspecting a draft answer before delivery
Catching search mistakes by rebuilding the original question, drawing sheet 7 from US 2026/0377391 A1
Sheet 7 Catching search mistakes by rebuilding the original question
Computer hardware that hosts the verification system, drawing sheet 8 from US 2026/0377391 A1
Sheet 8 Computer hardware that hosts the verification system
Patent filing page

Watchlists this filing belongs to

All watchlists →
Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.