Get the newsletter
Microsoft · AI / ML · Filed Feb 27, 2025 · USPTO published Aug 27, 2026 · Aug 27 release

Microsoft Patents an AI That Focuses Only on the Parts of a Document That Matter

Most AI models read every word of a document whether it matters or not. Microsoft is patenting a system that teaches a model to zero in on the relevant sections, ignoring the rest more aggressively with each pass.

Step-by-step visual progression of an AI progressively isolating a lung nodule within a chest scan from layer to layer. Drawing from patent filing US 2026/0253375 A1.
Step-by-step visual progression of an AI progressively isolating a lung nodule within a chest scan from layer to layer.All 13 drawings ↓
Publication number
US 2026/0253375 A1(US20260253375A1)
Applicant
Microsoft Technology Licensing, LLC
Filed · Published
Feb 27, 2025 · Aug 27, 2026
Inventors
Naoto USUYAMA, Zhengde ZHAO, Hoifung POON, Joseph Samuel PRESTON, Mu-Hsin WEI, Sid Hilmi KIBLAWI, Peter LEE
Status when we published
Waiting for an examiner
Document
20 claims
US classification
382/190

How Microsoft's iterative document scanning works

A radiologist's report runs dozens of pages. A medical AI scanning it for one specific finding still has to process the whole thing, burning through computing power on irrelevant sections. Microsoft's patent targets exactly that inefficiency.

The idea is to let the AI run multiple quick passes over a document rather than one exhaustive read. On the first pass, it assigns a rough score to each section based on how likely that section answers the question. On the next pass, it focuses more attention on high-scoring sections and less on low-scoring ones, updating the scores again. By the final pass, it has essentially learned where to look and can give a confident answer using a fraction of the processing it would otherwise need.

For you, this could mean an AI assistant that answers questions about long contracts, research papers, or medical files faster and at lower cost, without sacrificing accuracy.

From the filing · CLAIM 1
using a machine learning model, determining respective confidence scores that respective portions of the data sequence match the prompt; determining sampling probabilities for the respective portions based at least on the confidence scores; sampling a subset of the portions of the data sequence based at least on the sampling probabilities …

Translation: The system calculates how well different parts of the text match your query and picks the most likely sections to read.

How confidence scores steer each sampling pass

The system takes a prompt (a question or search query) alongside a long data sequence (a document, scan, or dataset) and runs iterative attention processing across the two.

Here is how each iteration works:

  • Confidence scoring: The model rates each portion of the document on how well it matches the prompt. Think of this as a rough relevance score assigned to every paragraph or chunk.
  • Probability sampling: Those scores are converted into sampling probabilities. Higher-scoring sections get a better chance of being included in the next round of deep processing; lower-scoring sections may be skipped or sampled lightly.
  • Attention processing: The model performs attention (the core mechanism that lets AI weigh relationships between pieces of text) only on the selected subset, not the whole document. The result feeds back into the confidence scores for the next iteration.

This feedback loop is the core invention. Instead of static, fixed attention across the entire input, the model continuously narrows focus. The patent calls this sparse attention, meaning attention that deliberately ignores large portions of the input to save compute.

After enough iterations, the model identifies the best-matching portion and returns it as the answer. The claim covers two or more iterations, leaving room for the system to dial up or down depending on document length and required accuracy.

From the filing · THE ABSTRACT
This allows attention processing to focus computational resources on relevant portions of a data sequence while utilizing fewer computational resources on relatively less-relevant portions of the data sequence.

Translation: This method saves computing power by ignoring unimportant text and focusing only on what matters.

What this means for AI searching long medical records

Processing long documents is one of the most expensive problems in AI right now. Models that handle lengthy inputs, like full medical records, legal contracts, or multi-chapter research papers, require enormous amounts of compute per query. A system that can skip provably irrelevant sections with principled math behind the skipping, rather than arbitrary truncation, could meaningfully reduce costs and expand what AI can realistically handle.

Microsoft has been building AI tools across healthcare, productivity, and enterprise software, and a method like this fits naturally into any of those pipelines where documents are long and compute budgets matter. The new Big Tech patents filing stream around AI document understanding has grown sharply in 2025, and this one sits in the middle of that trend.

This is the 48th Microsoft filing in our Language AI coverage since May, adding to a set that includes one on user web profiles and one on building drug molecules.

Source: US 2026/0253375 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 · 13 sheets

13 drawing sheets from US 2026/0253375 A1 · click any drawing to enlarge

Transformer-based object segmentation model overview, drawing sheet 1 from US 2026/0253375 A1
Sheet 1 Transformer-based object segmentation model overview
Boltzmann sampling mechanism for visual features, drawing sheet 2 from US 2026/0253375 A1
Sheet 2 Boltzmann sampling mechanism for visual features
Pipeline for candidate mask generation and refinement, drawing sheet 3 from US 2026/0253375 A1
Sheet 3 Pipeline for candidate mask generation and refinement
Progressive sampling and isolation of a lung nodule, drawing sheet 4 from US 2026/0253375 A1
Sheet 4 Progressive sampling and isolation of a lung nodule
Performance comparison table across medical datasets, drawing sheet 5 from US 2026/0253375 A1
Sheet 5 Performance comparison table across medical datasets
Ablation study results for sampling parameters, drawing sheet 6 from US 2026/0253375 A1
Sheet 6 Ablation study results for sampling parameters
Network architecture connecting client devices and servers, drawing sheet 7 from US 2026/0253375 A1
Sheet 7 Network architecture connecting client devices and servers
Flowchart of the prompt processing and attention method, drawing sheet 8 from US 2026/0253375 A1
Sheet 8 Flowchart of the prompt processing and attention method
Show the other 5 sheets
Microsoft Patents an AI That Focuses Only on the Parts of a Document That Matter patent drawing, sheet 9
Sheet 9
Microsoft Patents an AI That Focuses Only on the Parts of a Document That Matter patent drawing, sheet 10
Sheet 10
Microsoft Patents an AI That Focuses Only on the Parts of a Document That Matter patent drawing, sheet 11
Sheet 11
Microsoft Patents an AI That Focuses Only on the Parts of a Document That Matter patent drawing, sheet 12
Sheet 12
Microsoft Patents an AI That Focuses Only on the Parts of a Document That Matter patent drawing, sheet 13
Sheet 13
Patent filing page