# US 2026/0099728 A1 · Task agnostic embedding based labeling escalation on fly

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0099728 A1
- Document ID: US20260099728A1
- Status: Published application
- Kind: A1
- Application number: 18/907,811
- Filed: 2024-10-07
- Published: 2026-04-09
- Earliest claimed: 2024-10-07
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: MohammadReza GHAEINI; Muhaimenul ADNAN
- Web page: https://patentgrep.com/patent/US20260099728A1

## CPC

- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Aspects of the disclosure include machine learning architectures with task agnostic embedding-based labeling escalation on fly. A method includes receiving a request corresponding to a task and generating, by a first pass system, a first decision. The first pass system includes a first pass model having a first complexity. The method includes generating, for the task, a task embedding in an embedding space, determining, in the embedding space, a top K subspace having K embeddings having K closest distances to the task embedding, and determining embedding labels for the K embeddings. The method includes determining to escalate the task to a second pass system having a second pass model having a second, higher complexity and, responsive to determining the embedding labels, generating, by the second pass system, a second decision for the task and returning, responsive to receiving the request, a response including the second decision.

## Claims

### Claim 1

A method for task agnostic embedding-based labeling escalation on fly, the method comprising:
receiving a request corresponding to a task;
generating, by a first pass system, a first decision for the task, the first pass system comprising a first pass model having a first complexity;
generating, for the task, a task embedding in an embedding space;
determining, in the embedding space, a top K subspace comprising K embeddings having K closest distances to the task embedding;
determining embedding labels for the K embeddings in the top K subspace;
responsive to determining the embedding labels, determining to escalate the task to a second pass system comprising a second pass model having a second complexity that is higher than the first complexity of the first pass system;
generating, by the second pass system, a second decision for the task; and
returning, responsive to receiving the request, a response comprising the second decision for the task.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the embedding labels for the K embeddings comprises assigning an embedding label to each embedding of the K embeddings according to a comparison of the first decision with the second decision for the respective task from which the respective embedding was generated.

### Claim 3 (depends on 2)

The method of claim 2, wherein the embedding labels comprise a first label when the first decision matches the second decision, and wherein the embedding labels comprise a second label when the first decision disagrees with the second decision.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining to escalate the task to the second pass system further comprises a determining that a comparison of a number of first labels to a number of second labels in the top K subspace satisfies a predetermined threshold.

### Claim 5 (depends on 3)

The method of claim 3, further comprising determining an embedding label for the task embedding according to a comparison of the first decision to the second decision.

### Claim 6 (depends on 5)

The method of claim 5, further comprising updating, after generating the second decision, the embedding space with the task embedding and the embedding label for the task embedding.

### Claim 7 (depends on 1)

The method of claim 1, wherein the K embeddings are determined using a hierarchical navigable small world (HNSW) algorithm.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining to escalate the task to the second pass system further comprises evaluating the embedding labels against one or more rules-based action strategies.

### Claim 9 (depends on 8)

The method of claim 8, wherein, according to a rule of the one or more rules-based action strategies, determining to escalate the task to the second pass system further comprises determining that a majority of the embedding labels for the K embeddings in the top K subspace have a first label.

### Claim 10 (depends on 8)

The method of claim 8, wherein, according to a rule of the one or more rules-based action strategies, determining to escalate the task to the second pass system further comprises determining that the respective embedding label for the embedding of the K embeddings having a closest distance to the task embedding has a first label.

### Claim 11 (depends on 8)

The method of claim 8, wherein, according to a rule of the one or more rules-based action strategies, determining to escalate the task to the second pass system further comprises determining that at least one of the embedding labels for the K embeddings in the top K subspace have a first label.

### Claim 12

A system comprising a memory, computer readable instructions, and one or more circuitry for executing the computer readable instructions, the computer readable instructions controlling the one or more circuitry to perform operations comprising:
receive a request corresponding to a task;
generate, by a first pass system, a first decision for the task, the first pass system comprising a first pass model having a first complexity;
passing the first decision to a classifier configured to determine a class of the first decision;
responsive to the class, determining that the task should be checked for on-the-fly escalation to a second pass system comprising a second pass model having a second complexity that is higher than the first complexity of the first pass system;
receiving, for the task, a task embedding in an embedding space;
determining, in the embedding space, a top K subspace comprising K embeddings having K closest distances to the task embedding;
determining embedding labels for the K embeddings in the top K subspace; and
responsive to determining the embedding labels, returning a response comprising the first decision for the task.

### Claim 13 (depends on 12)

The system of claim 12, wherein determining the embedding labels for the K embeddings comprises assigning an embedding label to each embedding of the K embeddings according to a comparison of the first decision with the second decision for the respective task from which the respective embedding was generated.

### Claim 14 (depends on 13)

The system of claim 13, wherein the embedding labels comprise a first label when the first decision matches the second decision, and wherein the embedding labels comprise a second label when the first decision disagrees with the second decision.

### Claim 15 (depends on 12)

The system of claim 12, wherein determining to return the response comprising the first decision further comprises determining that on-the-fly escalation to the second pass system is not required.

### Claim 16 (depends on 15)

The system of claim 15, wherein determining that on-the-fly escalation to the second pass system is not required comprises evaluating the embedding labels against one or more rules-based action strategies.

### Claim 17 (depends on 15)

The system of claim 15, wherein determining that on-the-fly escalation to the second pass system is not required comprises determining that the embedding labels for the K embeddings in the top K subspace satisfy a predetermined condition.

### Claim 18

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by one or more processors to cause the one or more processors to perform operations comprising:
receive a request corresponding to a task;
generate, by a first pass system, a first decision for the task, the first pass system comprising a first pass model having a first complexity;
passing the first decision to a classifier configured to determine a class of the first decision;
responsive to the class, determining whether the task should be checked for on-the-fly escalation to a second pass system comprising a second pass model having a second complexity that is higher than the first complexity of the first pass system;
determining, by the classifier, that the first decision belongs to a predetermined class;
responsive to determining the predetermined class, bypassing on-the-fly escalation and passing the task to the second pass system;
generating, by the second pass system, a second decision for the task; and
returning, responsive to receiving the request, a response comprising the second decision for the task.

### Claim 19 (depends on 18)

The computer program product of claim 18, further comprising:
generating, for the task, a task embedding in an embedding space; and
determining an embedding label for the task embedding according to a comparison of the first decision to the second decision.

### Claim 20 (depends on 19)

The computer program product of claim 19, further comprising updating, after generating the second decision, the embedding space with the task embedding and the embedding label for the task embedding.
