# US 2026/0064982 A1 · Intelligently summarizing decision tree logic with large language models

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

- Number: US 2026/0064982 A1
- Document ID: US20260064982A1
- Status: Published application
- Kind: A1
- Application number: 19/172,541
- Filed: 2025-04-07
- Published: 2026-03-05
- Earliest claimed: 2024-09-03
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Kash Mohammadi; Rajasekhar Attuluri; Antonio Vazquez
- Web page: https://patentgrep.com/patent/US20260064982A1

## CPC

- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems, methods, and computer-readable media are provided for accessing a stored data structure representing a decision tree, determining a plurality of rows of text representing leaf nodes of the decision tree and a plurality of conditions that describe paths to the leaf nodes along with a label for the corresponding leaf node, generating a prompt including the plurality of rows of text and a request to generate a result comprising a natural language summary column, executing the prompt against a large language model, receiving a result comprising a natural language summary column, storing a first natural language summary of a first path from the natural language summary column in association with a first leaf node in the stored data structure, and storing a second natural language summary of a second path from the natural language summary column in association with a second leaf node in the stored data structure.

## Claims

### Claim 1

A computer-implemented method comprising:
accessing a stored data structure that represents a decision tree, wherein the decision tree is stored to make recommendations for unlabeled data based at least in part on a set of labeled training data, wherein the decision tree comprises a plurality of leaf nodes along a plurality of paths;
determining a plurality of rows of text based at least in part on the stored data structure, wherein each row of the plurality of rows represents a leaf node of the plurality of leaf nodes and comprises a plurality of conditions that describe a path to the leaf node along with a label for the leaf node, each condition of the plurality of conditions representing a branching node along a path to the leaf node; wherein the plurality of conditions are logically combined using a logical operator;
generating a prompt comprising the plurality of rows of text and a request to generate a result comprising a natural language summary column, wherein each row of the natural language summary column is requested to include a natural language summary of a corresponding path to a leaf node of the plurality of leaf nodes;
executing the prompt against a large language model;
receiving a particular result comprising a particular natural language summary column;
storing a first particular natural language summary of a first path from the particular natural language summary column in association with a first leaf node in the stored data structure; and
storing a second particular natural language summary of a second path from the particular natural language summary column in association with a second leaf node in the stored data structure.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the prompt further includes a request to generate a natural language summary of a plurality of paths to leaf nodes of the plurality of leaf nodes,
wherein the particular result further comprises a narrative natural language summary, and wherein the method further comprises:
storing the narrative natural language summary in association with the stored data structure.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the method further includes:
causing the display of a representation of the stored data structure, wherein the representation includes the first particular natural language summary displayed in association with the first leaf node.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the prompt further comprises descriptions of a plurality of parameters for the conditions and a suggested condition to emphasize within the particular result.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the decision tree of the stored data structure was generated using logic to maximize the homogeneity of samples in each child node.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the prompt further comprises a description of a target table comprising the natural language summary column and a target table condition column to identify the condition for each of the natural language summaries of the natural language summary column.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the method further comprises:
detecting a delimiter text between column names of the particular result;
determining the first particular natural language summary from the particular result based on the delimiter text.

### Claim 8

A computer-program product comprising one or more non-transitory machine-readable storage media, including stored instructions configured to cause a computing system to perform a set of actions including:
accessing a stored data structure that represents a decision tree, wherein the decision tree is stored to make recommendations for unlabeled data based at least in part on a set of labeled training data, wherein the decision tree comprises a plurality of leaf nodes along a plurality of paths;
determining a plurality of rows of text based at least in part on the stored data structure, wherein each row of the plurality of rows represents a leaf node of the plurality of leaf nodes and comprises a plurality of conditions that describe a path to the leaf node along with a label for the leaf node, each condition of the plurality of conditions representing a branching node along a path to the leaf node; wherein the plurality of conditions are logically combined using a logical operator;
generating a prompt comprising the plurality of rows of text and a request to generate a result comprising a natural language summary column, wherein each row of the natural language summary column is requested to include a natural language summary of a corresponding path to a leaf node of the plurality of leaf nodes;
executing the prompt against a large language model;
receiving a particular result comprising a particular natural language summary column;
storing a first particular natural language summary of a first path from the particular natural language summary column in association with a first leaf node in the stored data structure; and
storing a second particular natural language summary of a second path from the particular natural language summary column in association with a second leaf node in the stored data structure.

### Claim 9 (depends on 8)

The computer-program product of claim 8, wherein the prompt further includes a request to generate a natural language summary of a plurality of paths to leaf nodes of the plurality of leaf nodes,
wherein the particular result further comprises a narrative natural language summary, and wherein the set of actions further comprises:
storing the narrative natural language summary in association with the stored data structure.

### Claim 10 (depends on 8)

The computer-program product of claim 8, wherein the set of actions further includes:
causing the display of a representation of the stored data structure, wherein the representation includes the first particular natural language summary displayed in association with the first leaf node.

### Claim 11 (depends on 8)

The computer-program product of claim 8, wherein the prompt further comprises descriptions of a plurality of parameters for the conditions and a suggested condition to emphasize within the particular result.

### Claim 12 (depends on 8)

The computer-program product of claim 8, wherein the decision tree of the stored data structure was generated using logic to maximize the homogeneity of samples in each child node.

### Claim 13 (depends on 8)

The computer-program product of claim 8, wherein the prompt further comprises a description of a target table comprising the natural language summary column and a target table condition column to identify the condition for each of the natural language summaries of the natural language summary column.

### Claim 14 (depends on 8)

The computer-program product of claim 8, wherein the set of actions further comprises:
detecting a delimiter text between column names of the particular result;
determining the first particular natural language summary from the particular result based on the delimiter text.

### Claim 15

A system comprising:
one or more processors;
one or more non-transitory computer-readable media storing instructions, which, when executed by the system, cause the system to perform a set of actions including:
accessing a stored data structure that represents a decision tree, wherein the decision tree is stored to make recommendations for unlabeled data based at least in part on a set of labeled training data, wherein the decision tree comprises a plurality of leaf nodes along a plurality of paths;
determining a plurality of rows of text based at least in part on the stored data structure, wherein each row of the plurality of rows represents a leaf node of the plurality of leaf nodes and comprises a plurality of conditions that describe a path to the leaf node along with a label for the leaf node, each condition of the plurality of conditions representing a branching node along a path to the leaf node; wherein the plurality of conditions are logically combined using a logical operator;
generating a prompt comprising the plurality of rows of text and a request to generate a result comprising a natural language summary column, wherein each row of the natural language summary column is requested to include a natural language summary of a corresponding path to a leaf node of the plurality of leaf nodes;
executing the prompt against a large language model;
receiving a particular result comprising a particular natural language summary column;
storing a first particular natural language summary of a first path from the particular natural language summary column in association with a first leaf node in the stored data structure; and
storing a second particular natural language summary of a second path from the particular natural language summary column in association with a second leaf node in the stored data structure.

### Claim 16 (depends on 15)

The system of claim 15, wherein the prompt further includes a request to generate a natural language summary of a plurality of paths to leaf nodes of the plurality of leaf nodes,
wherein the particular result further comprises a narrative natural language summary, and wherein the set of actions further comprises:
storing the narrative natural language summary in association with the stored data structure.

### Claim 17 (depends on 15)

The system of claim 15, wherein the prompt further comprises descriptions of a plurality of parameters for the conditions and a suggested condition to emphasize within the particular result.

### Claim 18 (depends on 15)

The system of claim 15, wherein the decision tree of the stored data structure was generated using logic to maximize the homogeneity of samples in each child node.

### Claim 19 (depends on 15)

The system of claim 15, wherein the prompt further comprises a description of a target table comprising the natural language summary column and a target table condition column to identify the condition for each of the natural language summaries of the natural language summary column.

### Claim 20 (depends on 15)

The system of claim 15, wherein the set of actions further comprises:
detecting a delimiter text between column names of the particular result;
determining the first particular natural language summary from the particular result based on the delimiter text.
