# US 2022/0292376 A1 · Methods for Compressing a 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/0292376 A1
- Document ID: US20220292376A1
- Status: Published application
- Kind: A1
- Application number: 17/639,713
- Filed: 2020-08-04
- Published: 2022-09-15
- Earliest claimed: 2019-09-04
- Assignees: Volkswagen Aktiengesellschaft
- Applicants: Volkswagen Aktiengesellschaft
- Inventors: Nikhil Kapoor; Peter Schlicht; John Serin Varghese; Jan David Schneider
- Web page: https://patentgrep.com/patent/US20220292376A1

## CPC

- G06N 3/045: Combinations of networks
- G06N 5/04: Inference or reasoning models
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/063: using electronic means
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The disclosure relates to methods for compressing a neural network, wherein members of a vehicle fleet locally execute the neural network and during at least one inference phase each determine a selection of elements of the neural network that should be pruned, wherein the members of the fleet transmit the respective determined selection to a central server, wherein the central server merges the respective transmitted selections and generates a merged selection, and wherein the central server prunes the neural network on the basis of the merged selection.

## Claims

### Claim 1

A method for compressing a neural network, comprising:
executing the neural network by members of a vehicle fleet locally and determining, during at least one inference phase by the members, a selection of elements of the neural network that should be pruned;
transmitting, by the members of the fleet, the respectively determined selection to a central server;
merging, by the central server, the respectively transmitted selections and generating a merged selection; and
pruning, by the central server, the neural network on the basis of the merged selection.

### Claim 2 (depends on 1)

The method of claim 1, wherein the selection is transmitted to the central server if at least one transmission criterion is met.

### Claim 3 (depends on 1)

The method of claim 1, wherein the members of the fleet each provide a ranking of the selected elements and the selection is transmitted to the central server in the form of the ranking, wherein the central server provides a merged ranking on the basis of the transmitted rankings in order to carry out the merging, and wherein the neural network pruned on the basis of the merge ranking.

### Claim 4 (depends on 1)

The method of claim 1, wherein the neural network is fed input data that vary with time in order to determine the respective selection in each case, wherein temporal activation differences of elements of the neural network are determined for temporally adjacent input data, and wherein the elements of the neural network are selected depending on the determined temporal activation differences.

### Claim 5 (depends on 1)

The method or claim 1, comprising retraining the neural network after the pruning.

### Claim 6 (depends on 1)

The method or claim 1, comprising deactivating the elements for pruning at least temporarily.

### Claim 7 (depends on 1)

The method of claim 1, wherein the pruning only takes place if at least one trigger criterion is met.

### Claim 8 (depends on 1)

The method of claim 1, comprising transmitting the pruned neural network to at least one member of the fleet.

### Claim 9

A member of a vehicle fleet, comprising:
a computing apparatus,
wherein the computing apparatus is designed to locally execute the neural network and during at least one inference phase each determine a selection of elements of the neural network that should be pruned, and
to transmit the determined selection to a central server.

### Claim 10

A central server, comprising:
a computing apparatus,
wherein the computing apparatus is designed to merge selections of elements of a neural network transmitted by respective members of a fleet and generate merged selection, and to prune the neural network on the basis of the merged selection.

### Claim 11

A system, comprising:
a member of a vehicle fleet, comprising: a computing apparatus, wherein the computing apparatus is designed to locally execute the neural network and during at least one inference phase each determine a selection of element of the neural network that should be pruned, and to transmit the determined selection to a central server; and
a central server, comprising a further computing apparatus, wherein the further computing apparatus is designed to merge selections of elements of a neural network transmitted by respective members of a fleet and generate merged selection, and to prune the neural network on the basis of the merged selection.

### Claim 12 (depends on 2)

The method of claim 2, wherein the members of the fleet each provide a ranking of the selected elements and the selection is transmitted to the central server in the form of the ranking, wherein the central server provides a merged ranking on the basis of the transmitted rankings in order to carry out the merging, and wherein the neural network is pruned on the basis of the merged ranking.

### Claim 13 (depends on 2)

The method of claim 2, wherein the neural network is fed input data that vary with time in order to determine the respective selection in each case, wherein temporal activation differences of elements of the neural network are determined for temporally adjacent input data, and wherein the elements of the neural network are selected depending on the determined temporal activation differences.

### Claim 14 (depends on 3)

The method of claim 3, wherein the neural network is fed input data that vary with time in order to determine the respective selection in each case, wherein temporal activation differences of elements of the neural network are determined for temporally adjacent input data, and wherein the elements of the neural network are selected depending on the determined temporal activation differences.

### Claim 15 (depends on 2)

The method of claim 2, comprising retraining the neural network after the pruning.

### Claim 16 (depends on 3)

The method of claim 3, comprising retraining the neural network after the pruning.

### Claim 17 (depends on 4)

The method of claim 4, comprising retraining the neural network after the pruning.

### Claim 18 (depends on 2)

The method of claim 2, comprising deactivating the elements for pruning at least temporarily.

### Claim 19 (depends on 3)

The method of claim 3, comprising deactivating the elements for pruning at least temporarily.

### Claim 20 (depends on 4)

The method of claim 4, comprising deactivating the elements for pruning at least temporarily.
