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

Microsoft Patents an AI That Suggests Object Names Based on Context

Renaming things in software sounds simple, but in large applications it is one of those tasks that eats hours. Microsoft has filed a patent for an AI that reads what an object actually does before suggesting what to call it.

A quick poll user interface featuring rating buttons for customer satisfaction feedback. Drawing from patent filing US 2026/0252314 A1.
A quick poll user interface featuring rating buttons for customer satisfaction feedback.All 10 drawings ↓
Publication number
US 2026/0252314 A1(US20260252314A1)
Applicant
Microsoft Technology Licensing, LLC
Filed · Published
Feb 24, 2025 · Aug 27, 2026
Inventors
Emma Margaret Belle COOPER, Mansi MALIK, Chen-mi LIN, Akshar Virendrabhai PATEL, Zhiqi FU, Anh Ngoc Tuan TRUONG, Shantanu Kiran PAKHARE, Jayant DHAWAN, Anshuman ANSU
Status when we published
Waiting for an examiner
Document
20 claims
US classification
717/108

What Microsoft's AI object-naming feature actually does

You're deep in a project, looking at a list of objects with names like "Object1," "Button3," and "Panel_temp," and you have no idea which is which anymore. This is a real problem for anyone building software, designing an app, or even working in a tool like PowerPoint, where complex files can hide dozens of individually named elements.

Microsoft's patent describes a system that looks beyond the name itself. Instead of just offering a text-box where you type something new, it reads the object's attributes (what it looks like, what it does) and its place in the pecking order of other objects around it. It then sends all that context to an AI model, which generates a list of meaningful name suggestions you can pick from.

The idea is that the AI understands what the object is for, not just what it is called, so the suggested names actually reflect the object's role in the bigger picture. You pick the one that fits, and the application updates the name in memory everywhere that object is referenced.

How the AI reads object relationships to pick a name

The patent covers a method that works in three stages.

  • Context gathering: The system pulls two things from memory: the current name of every named object in the application, and "context information" for each one. That context includes object attributes (size, type, behavior, visual properties) and an object hierarchy, meaning a map of how objects relate to each other, which is a parent, which is a child, which sits inside or alongside which.
  • AI model input construction: When you want to rename a specific object, the system packages at least a portion of that context into a prompt for a generative AI model (think of it as a large language model similar to GPT). The prompt asks the model to suggest one or more names that make sense given the object's role and surroundings, not just a generic label.
  • Suggestion and selection: The AI returns candidate names. The application presents them to you. You pick one, and the system replaces the old name stored in memory with your chosen suggestion, completing the rename.

The claim is intentionally broad: it covers any "application" that stores named objects, which means this could apply to code editors, UI design tools, spreadsheet apps, presentation software, or anything else where programmers or power users work with collections of named elements. The key technical novelty is that the AI input explicitly includes the hierarchical relationship data, so the model can infer context from structure, not just from the object in isolation.

What this means for developers working in large codebases

For a developer or a power user working in a complex file, bad object names are a constant, low-grade source of confusion. You open a project someone else built, or one you haven't touched in months, and the names tell you nothing useful. Fixing that by hand, across dozens of objects, is the kind of work people skip until it causes a real bug. A system that reads the structure and offers names that actually mean something could make that cleanup fast enough to actually happen.

The patent is also a signal about where Microsoft wants AI to sit inside its productivity and developer tools, embedded in the editing workflow rather than bolted on as a separate chat window. Microsoft's filing joins a growing body of software AI patents tracked across Big Tech patent news, where the clearest trend is AI moving from standalone assistants into the small, repetitive decisions that fill a working day.

This is the 20th Microsoft filing we've tracked in our AI vision coverage since May, adding to earlier applications like spotting people in video and reading photos aloud for blind users.

Source: US 2026/0252314 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 · 10 sheets

10 drawing sheets from US 2026/0252314 A1 · click any drawing to enlarge

System architecture for naming AI, drawing sheet 1 from US 2026/0252314 A1
Sheet 1 System architecture for naming AI
Context menu with renaming suggestions, drawing sheet 2 from US 2026/0252314 A1
Sheet 2 Context menu with renaming suggestions
Dialog box with batch renaming options, drawing sheet 3 from US 2026/0252314 A1
Sheet 3 Dialog box with batch renaming options
Tree view showing updated object names, drawing sheet 4 from US 2026/0252314 A1
Sheet 4 Tree view showing updated object names
Quick poll customer satisfaction screen, drawing sheet 5 from US 2026/0252314 A1
Sheet 5 Quick poll customer satisfaction screen
Batch renaming confirmation window, drawing sheet 6 from US 2026/0252314 A1
Sheet 6 Batch renaming confirmation window
Dropdown list of naming suggestions, drawing sheet 7 from US 2026/0252314 A1
Sheet 7 Dropdown list of naming suggestions
Detailed workflow of naming generator, drawing sheet 8 from US 2026/0252314 A1
Sheet 8 Detailed workflow of naming generator
Show the other 2 sheets
Microsoft Patents an AI That Suggests Object Names Based on Context patent drawing, sheet 9
Sheet 9
Microsoft Patents an AI That Suggests Object Names Based on Context patent drawing, sheet 10
Sheet 10
Patent filing page