# US 2022/0019874 A1 · Method, device, and computer program for operating a deep neural network

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

- Number: US 2022/0019874 A1
- Document ID: US20220019874A1
- Status: Published application
- Kind: A1
- Application number: 17/429,105
- Filed: 2020-03-24
- Published: 2022-01-20
- Earliest claimed: 2019-04-09
- Applicants: Robert Bosch GmbH
- Inventors: Thomas Pfeil; Volker Fischer
- Web page: https://patentgrep.com/patent/US20220019874A1

## CPC

- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/08: Learning methods
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for operating a deep neural network having at least one skip connection. The method includes: selecting a first path through the deep neural network along the specifiable sequence, using the skip connection; propagating an input variable along the first path; checking whether the output variable corresponds to a specifiable criterion, such that if the specifiable criterion is not met a further path through the deep neural network is selected that is longer by at least one layer than the first path, and the input variable is thereupon propagated along the second path with reuse of the intermediate results of the first path. A computer program, a device for carrying out the method, and a machine-readable storage element on which the computer program is stored, are also described.

## Claims

### Claim at position 1

1-10. (canceled)

### Claim 11

A method for operating a deep neural network that has at least one skip connection, the method comprising the following steps:
selecting a first path through the deep neural network along the skip connection;
ascertaining an output variable by propagating an input variable of the deep neural network along the first path;
checking whether the output variable meets a specifiable criterion; and
selecting, based on the specifiable criterion not being met, a second path through the deep neural network that differs from the first path, and ascertaining the output variable by propagating the input variable of the deep neural network along the second path.

### Claim 12 (depends on 11)

The method as recited in claim 11, wherein those layers of the neural network that are not required for a respective path used being deactivated during the propagation of the input variable along the first and second paths, and not being activated until that layer is required for the respective path.

### Claim 13 (depends on 11)

The method as recited in claim 11, wherein intermediate variables of those layers that were ascertained during the propagation along the first path are reused in the propagation of the input variable along the second path.

### Claim 14 (depends on 13)

The method as recited in claim 13, wherein only the intermediate variables of those layers by which the second path differs from the first path are ascertained during the propagation along the second path, and those layers of the second path that are connected to more than one preceding layer and were also contained in the first path ascertaining, during the propagation along the second path, their intermediate variables as a function of a provided intermediate variable of the respective immediately preceding connected layer of the second path and of a preceding provided intermediate variable of the immediately preceding connected layer of the first path.

### Claim 15 (depends on 11)

The method as recited in claim 11, further comprising the following steps:
providing a plurality of different paths through the deep neural network;
selecting at least the first path and the second path from the plurality of different paths;
ascertaining the output variable by propagating the input variable of the deep neural network simultaneously along at least the first path and the second path, intermediate variables of common layers of the first path and second path being first ascertained, in succession, up to the layer starting from which a sequence of the layers of the first and second paths differ;
ascertaining intermediate variables of those remaining layers of the first path and of those remaining layers of the second path that have a same position in the sequence of layers of the first and second paths, respectively ascertained in parallel;
checking the specifiable criterion when the output variable of the first path is outputted; and
continuing the propagation when the criterion is not met until the output variable of the second path is outputted.

### Claim 16 (depends on 11)

The method as recited in claim 11, wherein: (i) the selection of the first and second paths is a function of the input variable and/or a function of a specifiable energy/time contingent that has a maximum permissible consumption level in order to propagate the input variable through the deep neural network, and/or (ii) the specifiable criterion characterizes a specifiable minimum accuracy or reliability of the output variable.

### Claim 17 (depends on 11)

The method as recited in claim 11, wherein each path of the deep neural network is trained separately from one another, and/or at least one group of paths is trained in common.

### Claim 18

A device configured to operate a deep neural network that has at least one skip connection, the device configured to:
select a first path through the deep neural network along the skip connection;
ascertain an output variable by propagating an input variable of the deep neural network along the first path;
check whether the output variable meets a specifiable criterion; and
select, based on the specifiable criterion not being met, a second path through the deep neural network that differs from the first path, and ascertain the output variable by propagating the input variable of the deep neural network along the second path.

### Claim 19

A non-transitory machine-readable storage element on which is stored a computer program for operating a deep neural network that has at least one skip connection, the computer program, when executed by a computer, causing the computer to perform the following steps:
selecting a first path through the deep neural network along the skip connection;
ascertaining an output variable by propagating an input variable of the deep neural network along the first path;
checking whether the output variable meets a specifiable criterion; and
selecting, based on the specifiable criterion not being met, a second path through the deep neural network that differs from the first path, and ascertaining the output variable by propagating the input variable of the deep neural network along the second path.
