Workflow memoization
AssigneeInternational Business Machines Corporation
InventorsVasileios Vasileiadis, Michael Johnston
Life of this patent
Estimating the term…
Abstract
Workflow memoization can include generating an embedding associated with a node in a workflow. The embedding can be generated by encoding at least the node's executable and input data to the node. A matching embedding can be retrieved from a database of embeddings, which matches the generated embedding according to a match criterion. The database of embeddings can store embeddings associated with previously run nodes. Output data associated with the matching embedding can be retrieved. The output data can be used as the node's output without having to run the node in the workflow.
Claims25
A computer-implemented method comprising:
- generating an embedding associated with a node in a workflow, the embedding generated by encoding at least the node's executable and input data to the node;
- retrieving from a database of embeddings, a matching embedding that matches the generated embedding according to a match criterion, the database of embeddings storing embeddings associated with previously run nodes;
- and
- retrieving output data associated with the matching embedding, the output data for use as the node's output without having to run the node in the workflow.
A system comprising:
- a hardware processor;
- a storage device coupled with the processor;
- the hardware processor configured to at least:
- generate an embedding associated with a node in a workflow, the embedding generated by encoding at least the node's executable and an input to the node;
- retrieve from a database of embeddings stored in the storage device, a matching embedding that matches the generated embedding according to a match criterion, the database of embeddings storing embeddings associated with previously run nodes;
- and
- retrieve output data associated with the matching embedding, the output data for use as the node's output without having to run the node in the workflow.
A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a device to cause the device to:
- generate an embedding associated with a node in a workflow, the embedding generated by encoding at least the node's executable and an input to the node;
- retrieve from a database of embeddings stored in the storage device, a matching embedding that matches the generated embedding according to a match criterion, the database of embeddings storing embeddings associated with previously run nodes;
- and
- retrieve output data associated with the matching embedding, the output data for use as the node's output without having to run the node in the workflow.
A computer-implemented method comprising:
- generating a memoization embedding associated with a node in a workflow;
- retrieving from a database of embeddings, a matching embedding that matches the generated embedding according to a match criterion, the database of embeddings storing embeddings associated with previously run nodes;
- and
- retrieving output data associated with the matching embedding, the output data for use as the node's output without having to run the node in the workflow.
Dependencies are inferred from the claim text.