# US 2026/0064560 A1 · Updating computational workflow using trace feedback

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

- Number: US 2026/0064560 A1
- Document ID: US20260064560A1
- Status: Published application
- Kind: A1
- Application number: 18/817,033
- Filed: 2024-08-27
- Published: 2026-03-05
- Earliest claimed: 2024-08-27
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Ching-An CHENG; Aiming NIE; Adith SWAMINATHAN; Ahmed AWADALLAH
- Web page: https://patentgrep.com/patent/US20260064560A1

## CPC

- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 8/41: Compilation
- G06F 11/004: {Error avoidance (G06F11/07 and subgroups take precedence)}
- G06F 11/302: {where the computing system component is a software system}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/063: using electronic means
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/105: {Shells for specifying net layout}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computing system including one or more processing devices configured to receive context data. The one or more processing devices obtain a workflow graph of a computational workflow. The one or more processing devices process a workflow input at the computational workflow to obtain a workflow output. The one or more processing devices select an adjustable parameter included in the computational workflow. The one or more processing devices compute a trace feedback including an execution trace of the processing of the workflow input starting at a selected workflow node that includes the selected adjustable parameter. The trace feedback further includes an output feedback received in response to the workflow output. The one or more processing devices compute a parameter update to the selected adjustable parameter based at least in part on the context data and the trace feedback and apply the parameter update to the selected adjustable parameter.

## Claims

### Claim 1

A computing system comprising:
one or more processing devices configured to:
receive context data;
obtain a workflow graph of a computational workflow, wherein:
the computational workflow includes a plurality of workflow nodes that each include a respective adjustable parameter; and
the workflow graph is structured as a directed acyclic graph (DAG);
process a workflow input at the computational workflow to obtain a workflow output;
select an adjustable parameter included in the computational workflow;
compute a trace feedback including:
an execution trace of the processing of the workflow input starting at a selected workflow node that includes the selected adjustable parameter, wherein the execution trace specifies a subgraph of the DAG; and
an output feedback received in response to the workflow output;
compute a parameter update to the selected adjustable parameter based at least in part on the context data and the trace feedback; and
apply the parameter update to the selected adjustable parameter.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein:
the plurality of workflow nodes include at least one machine learning model; and
the one or more processing devices are configured to select a plurality of machine learning model weights included in the machine learning model as the selected adjustable parameter.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein:
the plurality of workflow nodes include at least one machine learning model; and
the one or more processing devices are configured to select a hyperparameter of the machine learning model as the selected adjustable parameter.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein:
the plurality of workflow nodes include at least one machine learning model; and
the one or more processing devices are configured to select a prompt received at the machine learning model as the selected adjustable parameter.

### Claim 5 (depends on 1)

The computing system of claim 1, wherein the context data specifies an output objective of the computational workflow.

### Claim 6 (depends on 5)

The computing system of claim 5, wherein the context data includes an instruction to increase or decrease a numerical quantity included in the workflow output.

### Claim 7 (depends on 1)

The computing system of claim 1, wherein:
the trace feedback is a text feedback; and
the one or more processing devices are configured to compute the parameter update at least in part at a language processing machine learning model.

### Claim 8 (depends on 1)

The computing system of claim 1, wherein:
the selected adjustable parameter is rewritable code;
the one or more processing devices are configured to compute the output feedback at least in part at a compiler and a code execution environment; and
the output feedback includes a console message generated at the compiler or the code execution environment during compilation or execution of the rewritable code.

### Claim 9 (depends on 1)

The computing system of claim 1, wherein:
the one or more processing devices are configured to process respective workflow inputs at the computational workflow in a plurality of parameter update iterations; and
in the plurality of parameter update iterations, the one or more processing devices are configured to modify respective adjustable parameters of two or more of the workflow nodes.

### Claim 10 (depends on 9)

The computing system of claim 9, wherein, at each of the parameter update iterations, the one or more processing devices are further configured to add an indication of the selected adjustable parameter and the output feedback to the context data.

### Claim 11 (depends on 1)

The computing system of claim 1, wherein the one or more processing devices are configured to compute the subgraph of the workflow graph as a minimal subgraph between the selected adjustable parameter and the workflow output.

### Claim 12

A method for use with a computing system, the method comprising:
receiving context data;
obtaining a workflow graph of a computational workflow, wherein:
the computational workflow includes a plurality of workflow nodes that each include a respective adjustable parameter; and
the workflow graph is structured as a directed acyclic graph (DAG);
processing a workflow input at the computational workflow to obtain a workflow output;
selecting an adjustable parameter included in the computational workflow;
computing a trace feedback including:
an execution trace of the processing of the workflow input starting at a selected workflow node that includes the selected adjustable parameter, wherein the execution trace specifies a subgraph of the DAG; and
an output feedback received in response to the workflow output;
computing a parameter update to the selected adjustable parameter based at least in part on the context data and the trace feedback; and
applying the parameter update to the selected adjustable parameter.

### Claim 13 (depends on 12)

The method of claim 12, wherein:
the plurality of workflow nodes include at least one machine learning model; and
the method further comprises selecting a plurality of machine learning model weights included in the machine learning model as the selected adjustable parameter.

### Claim 14 (depends on 12)

The method of claim 12, wherein:
the plurality of workflow nodes include at least one machine learning model; and
the method further comprises selecting a hyperparameter of the machine learning model as the selected adjustable parameter.

### Claim 15 (depends on 12)

The method of claim 12, wherein:
the plurality of workflow nodes include at least one machine learning model; and
the method further comprises selecting a prompt received at the machine learning model as the selected adjustable parameter.

### Claim 16 (depends on 12)

The method of claim 12, wherein the context data specifies an output objective of the computational workflow.

### Claim 17 (depends on 12)

The method of claim 12, wherein:
the trace feedback is a text feedback; and
the method further comprises computing the parameter update at least in part at a language processing machine learning model.

### Claim 18 (depends on 12)

The method of claim 12, wherein:
the selected adjustable parameter is rewritable code;
the output feedback is computed at least in part at a compiler and a code execution environment; and
the output feedback includes a console message generated at the compiler or the code execution environment during compilation or execution of the rewritable code.

### Claim 19 (depends on 12)

The method of claim 12, wherein the method further comprises:
processing respective workflow inputs at the computational workflow in a plurality of parameter update iterations; and
in the plurality of parameter update iterations, modifying respective adjustable parameters of two or more of the workflow nodes.

### Claim 20

A computing system comprising:
one or more processing devices configured to:
receive context data, wherein the context data is a text input that specifies an output objective of a computational workflow;
obtain a workflow graph of the computational workflow, wherein the computational workflow includes a plurality of workflow nodes that each include a respective adjustable parameter;
process a workflow input at the computational workflow to obtain a workflow output;
select an adjustable parameter included in the computational workflow;
compute a trace feedback including:
an execution trace of the processing of the workflow input starting at a selected workflow node that includes the selected adjustable parameter, wherein the execution trace specifies a subgraph of the workflow graph; and
an output feedback received in response to the workflow output,
wherein the trace feedback is a text feedback;
compute a parameter update to the selected adjustable parameter based at least in part on the context data and the trace feedback, wherein the parameter update is computed at least in part at a language processing machine learning model; and
apply the parameter update to the selected adjustable parameter.
