# US 2023/0409584 A1 · Searching compression profiles for trained neural networks

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

- Number: US 2023/0409584 A1
- Document ID: US20230409584A1
- Status: Published application
- Kind: A1
- Application number: 18/334,091
- Filed: 2023-06-13
- Published: 2023-12-21
- Earliest claimed: 2020-03-26
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Ragav Venkatesan; Gurumurthy Swaminathan; Xiong Zhou; Runfei Luo; Vineet Khare
- Web page: https://patentgrep.com/patent/US20230409584A1

## CPC

- G06F 16/2474: {Sequence data queries, e.g. querying versioned data}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06F 16/248: Presentation of query results
- G06F 16/252: {between a Database Management System and a front-end application}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- H03M 7/30: Compression (speech analysis-synthesis for redundancy reduction G10L19/00; for image communication H04N); Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M 7/3059: {Digital compression and data reduction techniques where the original information is represented by a subset or similar information, e.g. lossy compression}
- H03M 7/6076: {Selection between compressors of the same type}
- G06N 3/008: based on physical entities controlled by simulated intelligence so as to replicate intelligent life forms, e.g. based on robots replicating pets or humans in their appearance or behaviour
- G06N 3/092: Reinforcement learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06Q 10/10: Office automation; Time management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Compression profiles may be searched for trained neural networks. An iterative compression profile search may be performed response to a search request. Different prospective compression profiles may be generated for trained neural networks according to a search policy. Performance of compressed versions of the trained neural networks according to the compression profiles may be tracked. The search policy may be updated according to an evaluation of the performance of the compression profiles for the compressed versions of the trained neural networks using compression performance criteria. When a search criteria is satisfied, a result for the compression profile search may be provided.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A system, comprising:
one or more processors; and
a memory, that stores program instructions that, when executed by the at least one processor, cause the one or more processors to:
automatically search for a compression profile that optimizes a performance characteristic of one or more neural networks trained according to a respective one or more data sets, wherein the searching comprises:
generate different prospective compression profiles for the one or more trained neural networks;
collect performance information of the different prospective compression profiles for respectively compressed versions the one or more trained neural networks using the one or more data sets;
evaluate the performance information of the different prospective compression profiles for the respective compressed versions of the one or more trained neural networks to identify one of the different prospective compression profiles that optimizes the performance characteristic of the one or more trained neural networks; and
provide the identified compression profile.

### Claim 22 (depends on 21)

The system of claim 21, wherein the memory stores further program instructions that, when executed by the at least one processor, cause the one or more processors to receive, via an interface, the performance characteristic prior to performing the automatically searching.

### Claim 23 (depends on 21)

The system of claim 21, wherein the automatic search is performed responsive to receipt of a request to perform the search for an optimal compression policy for the one or more trained neural networks.

### Claim 24 (depends on 21)

The system of claim 21, wherein the memory stores further program instructions that, when executed by the at least one processor, cause the one or more processors to store the compressed version of the one or more trained neural networks.

### Claim 25 (depends on 21)

The system of claim 21, wherein the automatic search is triggered as part of an application to compress the one or more trained neural networks for deployment.

### Claim 26 (depends on 21)

The system of claim 21, wherein the automatic search is performed according to a policy trained using a reinforcement learning technique.

### Claim 27 (depends on 21)

The system of claim 21, wherein the at least one processor and the memory are implemented as part of a machine learning service of a provider network.

### Claim 28

A method, comprising:
performing, by one or more computing devices:
automatically searching for a compression profile that optimizes a performance characteristic of one or more neural networks trained according to a respective one or more data sets, wherein the searching comprises:
generating different prospective compression profiles for the one or more trained neural networks;
collecting performance information of the different prospective compression profiles for respectively compressed versions the one or more trained neural networks using the one or more data sets;
evaluating the performance information of the different prospective compression profiles for the respective compressed versions of the one or more trained neural networks to identify one of the different prospective compression profiles that optimizes the performance characteristic of the one or more trained neural networks; and
providing the identified compression profile.

### Claim 29 (depends on 28)

The method of claim 28, further comprising receiving, via an interface, the performance characteristic prior to performing the automatically searching.

### Claim 30 (depends on 28)

The method of claim 28, wherein the automatic search is performed responsive to receiving a request to perform the search for an optimal compression policy for the one or more trained neural networks.

### Claim 31 (depends on 28)

The method of claim 28, further comprising storing the compressed version of the one or more trained neural networks.

### Claim 32 (depends on 28)

The method of claim 28, wherein the automatic search is triggered as part of an application to compress the one or more trained neural networks for deployment.

### Claim 33 (depends on 28)

The method of claim 28, wherein the automatic search is performed according to a policy trained using a reinforcement learning technique.

### Claim 34 (depends on 28)

The method of claim 28, wherein the one or more computing devices are implemented as part of a machine learning service of a provider network.

### Claim 35

One or more non-transitory computer-readable storage media storing program instructions that, when executed on or across one or more computing devices, cause the one or more computing devices to implement:
automatically searching for a compression profile that optimizes a performance characteristic of one or more neural networks trained according to a respective one or more data sets, wherein the searching comprises:
generating different prospective compression profiles for the one or more trained neural networks;
collecting performance information of the different prospective compression profiles for respectively compressed versions the one or more trained neural networks using the one or more data sets;
evaluating the performance information of the different prospective compression profiles for the respective compressed versions of the one or more trained neural networks to identify one of the different prospective compression profiles that optimizes the performance characteristic of the one or more trained neural networks; and
providing the identified compression profile.

### Claim 36 (depends on 35)

The one or more non-transitory computer-readable storage media of claim 35, storing further program instructions that when executed on or across the one or more computing devices, cause the one or more computing devices further implement receiving, via an interface, the performance characteristic prior to performing the automatically searching.

### Claim 37 (depends on 35)

The one or more non-transitory computer-readable storage media of claim 35, wherein the automatic search is performed responsive to receiving a request to perform the search for an optimal compression policy for the one or more neural networks.

### Claim 38 (depends on 35)

The one or more non-transitory computer-readable storage media of claim 35, storing further program instructions that when executed on or across the one or more computing devices, cause the one or more computing devices further implement storing the compressed version of the one or more trained neural networks.

### Claim 39 (depends on 35)

The one or more non-transitory computer-readable storage media of claim 35, wherein the automatic search is triggered as part of an application to compress the one or more trained neural networks for deployment.

### Claim 40 (depends on 35)

The one or more non-transitory computer-readable storage media of claim 35, wherein the one or more computing devices are implemented as part of a machine learning service of a provider network.
