# US 2024/0205427 A1 · Instance-adaptive image and video compression using machine learning systems

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

- Number: US 2024/0205427 A1
- Document ID: US20240205427A1
- Status: Published application
- Kind: A1
- Application number: 18/420,635
- Filed: 2024-01-23
- Published: 2024-06-20
- Earliest claimed: 2020-09-25
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Ties Jehan VAN ROZENDAAL; Iris Anne Marie HUIJBEN; Taco Sebastiaan COHEN
- Web page: https://patentgrep.com/patent/US20240205427A1

## CPC

- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/463: by compressing encoding parameters before transmission
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/09: Supervised learning
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques are described for compressing data using machine learning systems and tuning machine learning systems for compressing the data. An example process can include receiving, by a neural network compression system (e.g., trained on a training dataset), input data for compression by the neural network compression system. The process can include determining a set of updates for the neural network compression system, the set of updates including updated model parameters tuned using the input data. The process can include generating, by the neural network compression system using a latent prior, a first bitstream including a compressed version of the input data. The process can further include generating, by the neural network compression system using the latent prior and a model prior, a second bitstream including a compressed version of the updated model parameters. The process can include outputting the first bitstream and the second bitstream for transmission to a receiver.

## Claims

### Claim 1

An apparatus, comprising:
memory; and
one or more processors coupled to the memory, the one or more processors being configured to:
receive, by a neural network compression system, input data for compression by the neural network compression system;
determine a set of updates for the neural network compression system, the set of updates comprising updated model parameters tuned using the input data;
generate, by the neural network compression system using a latent prior, a first bitstream comprising a compressed version of the input data;
generate, by the neural network compression system using the latent prior and a model prior, a second bitstream comprising a compressed version of the updated model parameters; and
output the first bitstream and the second bitstream for transmission to a receiver.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the second bitstream further comprises a compressed version of the latent prior and a compressed version of the model prior.

### Claim 3

The apparatus of clam 1, wherein the one or more processors are configured to:
generate a concatenated bitstream comprising the first bitstream and the second bitstream; and
send the concatenated bitstream to the receiver.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein, to generate the second bitstream, the one or more processors are configured to:
entropy encode, by the neural network compression system, the latent prior using the model prior; and
entropy encode, by the neural network compression system, the updated model parameters using the model prior.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the updated model parameters comprise one or more updated parameters of a decoder model, the one or more updated parameters being tuned using the input data.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the updated model parameters comprise one or more updated parameters of an encoder model, the one or more updated parameters being tuned using the input data, wherein the first bitstream is generated by the neural network compression system using the one or more updated parameters.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein, to generate the second bitstream, the one or more processors are configured to:
encode, by the neural network compression system using the one or more updated parameters, the input data into a latent space representation of the input data; and
entropy encode, by the neural network compression system using the latent prior, the latent space representation into the first bitstream.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured to:
generate model parameters of the neural network compression system based on a training dataset used to train the neural network compression system;
tune the model parameters of the neural network compression system using the input data; and
determine the set of updates based on a difference between the model parameters and the tuned model parameters.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the model parameters are tuned based on the input data, a bit size of the compressed version of the input data, a bit size of the set of updates, and a distortion between the input data and reconstructed data generated from the compressed version of the input data.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the model parameters are tuned based on the input data and a ratio of a cost of sending the set of updates and a distortion between the input data and reconstructed data generated from the compressed version of the input data, the cost being based on a bit size of the set of updates.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein, to tune the model parameters, the one or more processors are configured to:
include one or more parameters in the tuned model parameters based on a determination that including the one or more parameters in the tuned model parameters is accompanied by a decrease in at least one of a bit size of the compressed version of the input data and a distortion between the input data and reconstructed data generated from the compressed version of the input data.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein, to determine the set of updates for the neural network compression system, the one or more processors are configured to:
process the input data at the neural network compression system;
determine one or more losses for the neural network compression system based on the processed input data; and
tune model parameters of the neural network compression system based on the one or more losses, the tuned model parameters comprising the set of updates for the neural network compression system.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the one or more losses comprise a rate loss associated with a rate for sending the compressed version of the input data based on a size of the first bitstream, a distortion loss associated with a distortion between the input data and reconstructed data generated from the compressed version of the input data, and model rate loss associated with a rate for sending the compressed version of the updated model parameters based on a size of the second bitstream.

### Claim 14 (depends on 1)

The apparatus of claim 1, wherein the receiver comprises an encoder, and wherein the one or more processors are configured to:
receive, by the encoder, data comprising the first bitstream and the second bitstream;
decode, by the decoder, the compressed version of the updated model parameters based on the second bitstream; and
generate, by the decoder using the set of updated parameters, a reconstructed version of the input data based on the compressed version of the input data in the first bitstream.

### Claim 15 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured to:
train the neural network compression system by reducing a rate-distortion and model-rate loss, wherein a model-rate reflects a length of a bitstream for sending model updates.

### Claim 16 (depends on 1)

The apparatus of claim 1, wherein the model prior comprises at least one of an independent Gaussian network prior, an independent Laplace network prior, and an independent Spike and Slab network prior.

### Claim 17 (depends on 1)

The apparatus of claim 1, wherein the apparatus comprises a mobile device.

### Claim 18 (depends on 1)

The apparatus of claim 1, further comprising a camera configured to capture the input data.

### Claim 19

A method, comprising:
receiving, by a neural network compression system, input data for compression by the neural network compression system;
determining a set of updates for the neural network compression system, the set of updates comprising updated model parameters tuned using the input data;
generating, by the neural network compression system using a latent prior, a first bitstream comprising a compressed version of the input data;
generating, by the neural network compression system using the latent prior and a model prior, a second bitstream comprising a compressed version of the updated model parameters; and
outputting the first bitstream and the second bitstream for transmission to a receiver.

### Claim 20 (depends on 19)

The method of claim 19, wherein the second bitstream further comprises a compressed version of the latent prior and a compressed version of the model prior.

### Claim 21

The method of clam 19, wherein the one or more processors are configured to:
generating a concatenated bitstream comprising the first bitstream and the second bitstream; and
sending the concatenated bitstream to the receiver.

### Claim 22 (depends on 19)

The method of claim 19, wherein generating the second bitstream comprises:
entropy encoding, by the neural network compression system, the latent prior using the model prior; and
entropy encoding, by the neural network compression system, the updated model parameters using the model prior.

### Claim 23 (depends on 19)

The method of claim 19, wherein the updated model parameters comprise one or more updated parameters of a decoder model, the one or more updated parameters being tuned using the input data.

### Claim 24 (depends on 19)

The method of claim 19, wherein the updated model parameters comprise one or more updated parameters of an encoder model, the one or more updated parameters being tuned using the input data, wherein the first bitstream is generated by the neural network compression system using the one or more updated parameters.

### Claim 25 (depends on 24)

The method of claim 24, wherein generating the second bitstream comprises:
encoding, by the neural network compression system using the one or more updated parameters, the input data into a latent space representation of the input data; and
entropy encoding, by the neural network compression system using the latent prior, the latent space representation into the first bitstream.

### Claim 26 (depends on 19)

The method of claim 19, further comprising:
generating model parameters of the neural network compression system based on a training dataset used to train the neural network compression system;
tuning the model parameters of the neural network compression system using the input data; and
determining the set of updates based on a difference between the model parameters and the tuned model parameters.

### Claim 27 (depends on 26)

The method of claim 26, wherein the model parameters are tuned based on the input data and at least one of a bit size of the compressed version of the input data, a bit size of the set of updates, a distortion between the input data and reconstructed data generated from the compressed version of the input data, a ratio of a cost of sending the set of updates and the distortion between the input data and reconstructed data generated from the compressed version of the input data, the cost being based on a bit size of the set of updates.

### Claim 28 (depends on 26)

The method of claim 26, wherein tuning the model parameters comprises:
including one or more parameters in the tuned model parameters based on a determination that including the one or more parameters in the tuned model parameters is accompanied by a decrease in at least one of a bit size of the compressed version of the input data and a distortion between the input data and reconstructed data generated from the compressed version of the input data.

### Claim 29 (depends on 19)

The method of claim 19, wherein determining the set of updates for the neural network compression system comprises:
processing the input data at the neural network compression system;
determining one or more losses for the neural network compression system based on the processed input data; and
tuning model parameters of the neural network compression system based on the one or more losses, the tuned model parameters comprising the set of updates for the neural network compression system,
wherein the one or more losses comprise a rate loss associated with a rate for sending the compressed version of the input data based on a size of the first bitstream, a distortion loss associated with a distortion between the input data and reconstructed data generated from the compressed version of the input data, and model rate loss associated with a rate for sending the compressed version of the updated model parameters based on a size of the second bitstream.

### Claim 30

A non-transitory computer-readable medium having stored thereon instructions which, when executed by one or more processors, cause the one or more processors to:
receive, by a neural network compression system, input data for compression by the neural network compression system;
determine a set of updates for the neural network compression system, the set of updates comprising updated model parameters tuned using the input data;
generate, by the neural network compression system using a latent prior, a first bitstream comprising a compressed version of the input data;
generate, by the neural network compression system using the latent prior and a model prior, a second bitstream comprising a compressed version of the updated model parameters; and
output the first bitstream and the second bitstream for transmission to a receiver.
