# US 11,120,338 B2 · Genetic generation of tools for convolutional neural network

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

- Number: US 11,120,338 B2
- Document ID: US11120338B2
- Status: Granted
- Kind: B2
- Application number: 15/817,539
- Filed: 2017-11-20
- Published: 2019-05-23
- Granted: 2021-09-14
- Earliest claimed: 2017-11-20
- Assignees: Colossio, Inc.
- Applicants: Colossio, Inc.
- Inventors: Joseph A. Jaroch
- Web page: https://patentgrep.com/patent/US11120338B2

## CPC

- G06N 3/086: using evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 3/12: using genetic models
- G06F 9/30003: {Arrangements for executing specific machine instructions}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/09: Supervised learning
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods for genetic generation of tools for use in a convolutional neural network are provided. Randomly generated starting points and sets of positive and negative tasks are distributed to multiple processors. Each processor iterates an instruction queue over its received tasks based on existing analysis tools, generating a test score for each iteration. A set of instructions is saved as a new tool if its generated test score determines a successful test. A convolutional neural network is executed over complex test cases based on a tool set that includes the new tools. Output results of the convolutional neural network are analyzed and a new tool set is created by removing tools that are not utilized in generating the output results. Systems and machine-readable media are also provided.

## Claims

### Claim 1

A computer-implemented method for genetic generation of a tool for a convolutional neural network, the method comprising:
receiving a set of positive and negative tasks;
generating a plurality of random starting points within the set of positive and negative tasks;
distributing the received set of tasks and the generated plurality of random starting points to a plurality of processors;
at each of the plurality of processors:
using a received starting point as a random seed;
incrementing the received starting point;
initializing a size of an instruction queue;
generating an instruction operator from a set of existing tools;
generating a random instruction operand;
adding the generated instruction operator and random instruction operand to a list of instructions;
determining if the instruction queue has been filled;
executing the instruction queue if the instruction queue has been filled;
generating a score for an executed list of instructions in the instruction queue; and
saving the executed list of instructions as a new tool if the generated score is determined to be acceptable.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining that the instruction queue has not been filled; and
moving to a next destination for a next instruction by repeating the process from the point of incrementing the starting point.

### Claim 3 (depends on 1)

The method of claim 1, wherein the generated score is a final score based on success and failure over the set of positive and negative tasks.

### Claim 4 (depends on 1)

The method of claim 1, wherein the score is determined to be acceptable if a test defined by the executed list of instructions is successful.

### Claim 5 (depends on 1)

The method of claim 1, wherein the score is determined to be acceptable if a test defined by the executed list of instructions is more successful than a previous test.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining that the score is not acceptable; and
moving to a next starting point by repeating the process from the point of incrementing the starting point.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
signaling a dispatcher to stop other tool generation.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving a next set of tasks; and
distributing the next set of tasks.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
saving the new tool to the set of existing tools.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
saving the new tool to a list of built tools.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
enumerating the list of built tools.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
supplying each built tool from the enumerated list as input to a convolutional neural network; and
executing the convolutional neural network over one or more test cases using the supplied built tools.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
parsing output results of the convolutional neural network execution.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
determining that a built tool from the enumerated list was not utilized in generating the output results; and
removing the non-utilized built tool from subsequent executions by the convolutional neural network.

### Claim 15

A system for genetic generation of a tool for a convolutional neural network, the system comprising:
a memory; and
a processor configured to execute instructions which, when executed, cause the processor to:
receive a random starting point and a set of positive and negative tasks;
use a first starting point as a random seed;
increment the first starting point to obtain a second starting point;
one of initialize and increment a size of an instruction queue;
generate an instruction operator from a set of existing tools and a random instruction operand;
add the generated instruction operator and random instruction operand to a list of instructions;
execute the instruction queue if the instruction queue has been filled;
generate a score for an executed list of instructions in the instruction queue, wherein the generated score is a final score based on success and failure over the set of positive and negative tasks;
save the executed list of instructions as a new built tool if the score is determined to indicate one of a successful test and a test more successful than a previous test;
save the new built tool to a set of previously built tools to create a list of built tools;
enumerate the list of built tools; and
supply each built tool from the enumerated list as input to a convolutional neural network.

### Claim 16 (depends on 15)

The system of claim 15, further comprising instructions that cause the processor to:
determine one of the instruction queue has not been filled and the score does not indicate one of a successful test and a test more successful than a previous test;
increment the second starting point; and
repeat the instructions executed by the processor at the step of one of initialize and increment the size of the instruction queue.

### Claim 17 (depends on 15)

The system of claim 15, further comprising instructions that cause the processor to:
execute the convolutional neural network over one or more test cases based on the supplied built tools;
parse output results of the convolutional neural network execution;
remove, from the list of built tools, one or more of the built tools not utilized by the convolutional neural network to generate the output results; and
save one or more remaining built tools as a new list of built tools.

### Claim 18

A non-transitory machine-readable storage medium comprising machine-readable instructions for causing a processor to execute a method for genetic generation of a tool set for a convolutional neural network, the method comprising:
receiving a set of positive and negative tasks;
generating a plurality of random starting points;
distributing the received tasks and the generated starting points to a plurality of processors;
using a received starting point as a random seed;
incrementing the received starting point;
initializing a size of an instruction queue;
generating an instruction operator from a set of existing tools;
generating a random instruction operand;
adding the generated instruction operator and random instruction operand to a list of instructions;
determining if the instruction queue has been filled;
executing the instruction queue if the instruction queue has been filled;
generating a score for an executed list of instructions in the instruction queue,
wherein the generated score is determined to be acceptable if a test defined by the executed list of instructions is more successful than a previous test; and
saving the executed list of instructions as a new tool if the score exceeds a success threshold.

### Claim 19 (depends on 18)

The non-transitory machine-readable storage medium of claim 18, wherein the method executed by the processor further comprises:
determining that either the instruction queue has not been filled or the score does not indicate one of a successful test and a test more successful than a previous test;
incrementing the previous starting point;
incrementing the initialized size of the instruction queue; and
repeating the process beginning at the step of generating an instruction operator from the set of existing tools.

### Claim 20 (depends on 18)

The non-transitory machine-readable storage medium of claim 18, wherein the method executed by the processor further comprises:
saving the new tool to a set of previously built tools to create a new set of tools;
enumerating the new set of tools;
providing the new set of tools as inputs to a convolutional neural network;
executing the convolutional neural network over one or more test cases based on the new set of tools;
parsing output results of the convolutional neural network execution;
removing, from the new set of tools, all tools not utilized to generate the output results; and
saving the tools not removed from the new set of tools as a revised set of tools.
