Get the newsletter
Microsoft · Software · Filed Jun 30, 2026 · USPTO published Dec 3, 2026 · This week's release

Microsoft Files Patent for a Search Box That Ranks Files, People and Bookmarks Together

Microsoft's patent application tries to make a work search box guess whether you want a person, a file or a bookmark after just a few letters. The twist is that the AI doing the guessing is kept deliberately small so it can run on your own device.

Publication number
US 2026/0387716 A1(US20260387716A1)
USPTO patent title:
Suggesting Resources using a Latency-Efficient Machine-Trained Ranking Model
Applicant
Microsoft Technology Licensing, LLC
Filed · Published
Jun 30, 2026 · Dec 3, 2026
Inventors
Homa BARADARAN HASHEMI, Bing LI, Wenjin XU, Upul Asanka SAMARAWICKRAMA LIYANAGE, Simerpreet KAUR
Status when we published
Waiting for an examiner
Document
20 claims
US classification
706/12
Parent application
Continuation of 18/369,064 (filed Sep 15, 2023)(18369064)

What Microsoft's type-ahead search actually does

A new hire at a big company types Pat into the search box on her work laptop. She could be after a coworker named Patterson, a spreadsheet, a saved bookmark or an app, and the computer has to guess which, fast.

Microsoft's patent application describes a way to make that guess. Each time you type a letter, the system looks up every name and title that starts with what you've typed, using a prefix tree, a branching index that narrows the matches one character at a time. Then a small AI model scores each match based on how well it fits, what kind of thing it is, and how recently you touched it.

The twist is that people, files, bookmarks and apps all get scored together in one pass, instead of each type getting its own hand-written rules. The filing also says this can run on your own device, so results can appear in a fraction of a second, even without a network connection.

From the filing · CLAIM 1
retrieving candidate resource descriptors from a data structure, the candidate resource descriptors having characters that match characters of a received query, the candidate resource descriptors being data items that describe plural different groups of resources; …

Translation: The system finds matching items from different groups based on what you type.

How Microsoft's search finds and ranks matches

The system works in two stages. First, a prefix tree (also called a trie, an index where each step down a branch is one more typed character) pulls up every name or title that matches what you've typed so far. It also allows for typos by giving misspelled paths a lower probability.

Second, it builds a list of facts, called features, about each candidate:

  • How closely the text matches the query, including edit distance (how many changes turn one string into the other).
  • What type of thing it is: a file, person, bookmark, building location or question-and-answer item.
  • Timing, such as when you last opened it and whether it's the weekend.
  • For people, how close they are to you in the company's social graph (a map of who is connected to whom).

A gradient boosted decision tree model (a team of simple yes/no flowcharts, where each new one corrects the mistakes of the last) turns those features into a score. Because every type of resource gets a score on the same scale, files and people can be compared directly. The system keeps the top results, drops anything under a cutoff such as 30 percent, and flags scores above 90 percent as high confidence.

During training, engineers build several candidate models with different numbers and depths of trees, then pick the smallest one that meets accuracy and speed targets. In one example the winner has only 20 trees, where conventional versions often use hundreds or thousands.

From the filing · THE ABSTRACT
… using a machine-trained ranking model to generate scores associated with the candidate resource descriptors, based on the feature information; sorting the candidate resource descriptors based on the scores, to provide sorted resource descriptors; …

Translation: An artificial intelligence model scores and organizes the results so the most relevant ones appear first.

Why a smaller ranking model suits your own PC

If you use a work computer, you probably search for a colleague, a document and a saved link in different places. A single search box that ranks all of them together, and answers while you type, would save you from deciding where to look first. The claims mention a search tool built into an operating system and a browser, so the same logic could sit behind more than one app.

The small ranking model is the practical part. The filing says a lightweight model lets modest devices answer in near real time, keeps searches working offline, and keeps your queries on your own machine. It also says that adding a new kind of resource means adding features and retraining, instead of writing and maintaining a fresh set of rules for each type.

Microsoft's 22nd filing we've tracked since August in our on-device AI privacy push builds on applications for swappable AI skill add-ons and a secure chip-level vault, adding another piece to its on-device AI picture.

Source: US 2026/0387716 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 · 9 sheets

9 drawing sheets from US 2026/0387716 A1 · click any drawing to enlarge

Finding and ranking company files as you type, drawing sheet 1 from US 2026/0387716 A1
Sheet 1 Finding and ranking company files as you type
Different kinds of workplace resources grouped under common labels, drawing sheet 2 from US 2026/0387716 A1
Sheet 2 Different kinds of workplace resources grouped under common labels
A search box displaying apps, bookmarks, and coworkers together, drawing sheet 3 from US 2026/0387716 A1
Sheet 3 A search box displaying apps, bookmarks, and coworkers together
Matching your typed letters to stored records, drawing sheet 4 from US 2026/0387716 A1
Sheet 4 Matching your typed letters to stored records
The AI model that scores and ranks candidate search results, drawing sheet 5 from US 2026/0387716 A1
Sheet 5 The AI model that scores and ranks candidate search results
Testing different AI models to balance speed and accuracy, drawing sheet 6 from US 2026/0387716 A1
Sheet 6 Testing different AI models to balance speed and accuracy
Steps for turning a user query into ranked search suggestions, drawing sheet 7 from US 2026/0387716 A1
Sheet 7 Steps for turning a user query into ranked search suggestions
Training the AI and the servers running it, drawing sheet 8 from US 2026/0387716 A1
Sheet 8 Training the AI and the servers running it
Show sheet 9
The computer parts that run the search tool, drawing sheet 9 from US 2026/0387716 A1
Sheet 9 The computer parts that run the search tool
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.