# US 2022/0284306 A1 · Data pruning in tree-based fitted q iteration

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

- Number: US 2022/0284306 A1
- Document ID: US20220284306A1
- Status: Published application
- Kind: A1
- Application number: 17/192,308
- Filed: 2021-03-04
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Takayuki Osogami; Ryo Iwaki; Kohei Miyaguchi
- Web page: https://patentgrep.com/patent/US20220284306A1

## CPC

- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- B60W 50/0097: {Predicting future conditions}
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/20: Ensemble learning
- B60W 2050/0005: {Processor details or data handling, e.g. memory registers or chip architecture}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- B60W: CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT

## Abstract

A computer-implemented method is provided for data reduction in a memory device for machine learning. The method includes storing, in the memory device, data that has been used for training in a tree-based fitted Q iteration session which learns an action value function with an ensemble of decision trees from the data. The method further includes determining, by a processor device, samples to be removed from the data based on a number of samples which belong to leaf nodes of the decision trees. The method also includes removing, from the memory device, the determined samples from the data to reduce an amount of the data. The method additionally includes learning, by the processor device, a new ensemble of decision trees using the data from which the determined samples have been removed together with new data.

## Claims

### Claim 1

A computer-implemented method for data reduction in a memory device for machine learning, comprising:
storing, in the memory device, data that has been used for training in a tree-based fitted Q iteration session which learns an action value function with an ensemble of decision trees from the data;
determining, by a processor device, samples to be removed from the data based on a number of samples which belong to leaf nodes of the decision trees;
removing, from the memory device, the determined samples from the data to reduce an amount of the data; and
learning, by the processor device, a new ensemble of decision trees using the data from which the determined samples have been removed together with new data.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the samples which belong to a leaf node are removed from the memory device, when a number of the samples which belong to the leaf node exceeds a threshold.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein said storing, determining, removing, and learning steps are repeated recursively.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein each of the samples is removed with a probability that is determined responsive to an average number of the samples, where the average number of samples is taken over all leaf nodes which a given sample belongs to.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the number of samples used to determine whether to remove data comprises an average number of samples that belong to a given leaf node.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the number of samples used to determine whether to remove data comprises a minimum number of samples that belong to a given leaf node.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the number of samples used to determine whether to remove data comprises a maximum number of samples that belong to a given leaf node.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the number of samples used to determine whether to remove data comprises a median of samples that belong to a given leaf node.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the machine learning comprises a gradient tree boosting process.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising generating a prediction which controls a motion of a motor vehicle using remaining data in the memory device.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein the fitted Q iteration session computes, from a set of four-tuples, an approximation of an optimal stationary policy, and wherein the set of four-tuples comprises a state at time t, an action at time t, a reward at time t, and a discount factor γ.

### Claim 12

A computer program product for data reduction in a memory device for machine learning, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
storing, in the memory device, data that has been used for training in a tree-based fitted Q iteration session which learns an action value function with an ensemble of decision trees from the data;
determining, by a processor device, samples to be removed from the data based on a number of samples which belong to leaf nodes of the decision trees;
removing, from the memory device, the determined samples from the data to reduce an amount of the data; and
learning, by the processor device, a new ensemble of decision trees using the data from which the determined samples have been removed together with new data.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the samples which belong to a leaf node are removed from the memory device, when a number of the samples which belong to the leaf node exceeds a threshold.

### Claim 14 (depends on 12)

The computer program product of claim 12, wherein said storing, determining, removing, and learning steps are repeated recursively.

### Claim 15 (depends on 12)

The computer program product of claim 12, wherein each of the samples is removed with a probability that is determined responsive to an average number of the samples, where the average number of samples is taken over all leaf nodes which a given sample belongs to.

### Claim 16 (depends on 12)

The computer program product of claim 12, wherein the number of samples used to determine whether to remove data comprises an average number of samples that belong to a given leaf node.

### Claim 17 (depends on 12)

The computer program product of claim 12, wherein the number of samples used to determine whether to remove data comprises a minimum number of samples that belong to a given leaf node.

### Claim 18 (depends on 12)

The computer program product of claim 12, wherein the number of samples used to determine whether to remove data comprises a maximum number of samples that belong to a given leaf node.

### Claim 19 (depends on 12)

The computer program product of claim 12, wherein the number of samples used to determine whether to remove data comprises a median of samples that belong to a given leaf node.

### Claim 20

A computer processing system for data reduction in a memory device for machine learning, comprising:
a memory device configured to store program code;
a processor device operatively coupled to the memory device for running the program code to
store, in the memory device, data that has been used for training in a tree-based fitted Q iteration session which learns an action value function with an ensemble of decision trees from the data;
determine samples to be removed from the data based on a number of samples which belong to leaf nodes of the decision trees;
remove, from the memory device, the determined samples from the data to reduce an amount of the data; and
learn a new ensemble of decision trees using the data from which the determined samples have been removed together with new data.
