# US 2026/0254962 A1 · Cross-platform neural codecs using transmitted entropy distribution parameters

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

- Number: US 2026/0254962 A1
- Document ID: US20260254962A1
- Status: Published application
- Kind: A1
- Application number: 19/063,070
- Filed: 2025-02-25
- Published: 2026-08-27
- Earliest claimed: 2025-02-25
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Tanel PÄRNAMAA; Evgenii INDENBOM; Martin LUMISTE; Ardi LOOT; Ando SAABAS
- Web page: https://patentgrep.com/patent/US20260254962A1

## CPC

- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N 19/124: Quantisation
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/154: Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion (use of rate-distortion criteria H04N19/147)
- H04N 19/198: {including smoothing of a sequence of encoding parameters, e.g. by averaging, by choice of the maximum, minimum or median value}
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/463: by compressing encoding parameters before transmission
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Cross-platform neural network codecs implemented using transmitted entropy distribution parameters are disclosed. In some examples, a neural network codec system is implemented with a first platform used to encode digital media, such as image, video, or other media that is different than a second platform used to decode the digital media. Some of the entropy distribution parameters used to decode the digital media are losslessly coded. In some examples of the disclosed technology, decoding digital media having encoded latents and hyperlatents includes producing entropy distribution parameters from hyperlatents decoded from the digital media that are shared by at least two groups of latents encoded in the digital media and used to decode latents encoded in the digital media.

## Claims

### Claim 1

A method of decoding digital media having encoded latents, the method comprising:
with a processor:
producing, from the digital media, entropy distribution parameters for decoding the digital media using an adaptive entropy model, at least one of the entropy distribution parameters having been losslessly encoded in the digital media; and
decoding the encoded latents from the digital media using at least one of the losslessly encoded entropy distribution parameters.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the adaptive entropy model comprises an entropy distribution modeled as an adaptive Gaussian distribution having mean and scale parameters; and
at least one of the entropy distribution parameters comprises a scale parameter.

### Claim 3 (depends on 2)

The method of claim 2, wherein the scale parameter is used to decode a first latent and a second, different latent from the digital media.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the digital media comprises a first bitstream comprising the losslessly encoded entropy distribution parameters; and
the digital media comprises a second bitstream comprising the encoded latents.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
producing predicted entropy distribution parameters from hyperlatents encoded in the digital media; and
the decoding the encoded latents from the digital media further comprises using at least one of the predicted entropy distribution parameters.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
storing the hyperlatents in a computer-readable storage media or transmitting the hyperlatents via a computer network.

### Claim 7 (depends on 1)

The method of claim 1, wherein at least one of the losslessly encoded entropy distribution parameters is an index for a set of predefined discrete probability distributions, wherein the index is used to decode at least one value encoded in the digital media using the adaptive entropy model.

### Claim 8 (depends on 7)

The method of claim 7, wherein the set of predefined discrete probability distributions comprises at least one discretized Gaussian distributions having a scale parameter, further comprising:
producing the scale parameter using the index for a set of predefined discrete probability distributions encoded in the digital media; or
producing the scale parameter using a predetermined mathematical formula from data encoded in the digital media.

### Claim 9 (depends on 1)

The method of claim 1, wherein the adaptive entropy model comprises an entropy distribution modeled as an adaptive Gaussian distribution having mean parameters and scale parameters, the method further comprising:
decoding hyperlatents from the digital media;
producing combined quantized latents for reconstructing images or video based on the decoded latents; and
producing at least one of the scale parameters by slicing and expanding the decoded hyperlatents, at least one of the scale parameters being shared by at least two latents encoded in the digital media.

### Claim 10 (depends on 9)

The method of claim 9, further comprising producing the mean parameters by:
producing first mean values from the decoded hyperlatents using a first machine learning model,
producing first quantized latents by shifting the decoded latents according to the first mean values,
producing second mean values from the first mean values using a second neural network,
producing second quantized latents by shifting the decoded latent values according to the second mean values, and
the decoding the latents comprises producing combined quantized latents using the first quantized latents and the second quantized latents.

### Claim 11 (depends on 9)

The method of claim 9, wherein:
the decoding the latents or the decoding the hyperlatents is performed using a decoder neural network, wherein the scale parameters used to encode the digital media are determined after training the decoder neural network.

### Claim 12 (depends on 9)

The method of claim 9, wherein:
the latents and hyperlatents are represented in a floating-point format and the encoded latents and hyperlatents are represented in an integer format;
the digital media comprises encoded individual images, video, or individual images and video; and
the hyperlatents comprise scale parameters used to entropy encode the latents.

### Claim 13 (depends on 1)

The method of claim 1, wherein the digital media is received via a computer network, the digital media comprises digital images, video, or digital images and video, the method further comprising:
using the decoded latents, reconstructing the digital images, video, or digital images and video; and
displaying the digital images, video, or digital images and video using a display.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
generating the latents by encoding the digital media using a neural network encoder;
generating the entropy distribution parameters using and adaptive entropy model;
encoding the latents and the entropy distribution parameters in the digital media; and
sending the latents and the entropy distribution parameters via a computer-readable media,
wherein a first system comprising a processor used to perform the encoding the digital media produces different entropy distribution parameters than a second system comprising the processor decoding the digital media due to differences in a representation of the latents, hyperlatents, or entropy distribution parameters between the first system and the second system.

### Claim 15 (depends on 14)

The method of claim 14, wherein the digital media comprises video, the method further comprising:
extracting a feature from a first frame of the video and producing context based on the extracted feature; and
encoding the digital media by encoding a second frame of the video using the context, wherein a parameter used to entropy encode the digital media is based on the produced context.

### Claim 16

Computer-readable storage media storing computer-executable instructions, which when executed by a processor, cause the processor to perform a method of decoding images or video with a machine learning tool, the instructions comprising:
instructions that cause the processor to produce a scale value from a received hyperlatent for decoding a latent tensor from a bitstream;
instructions that cause the processor to, with a machine learning tool, generate a predicted mean value from the received hyperlatent; and
instructions that cause the processor to decode the latent tensor based on the produced scale value and the mean value, the scale value being used to determine at least two elements of a decoded quantized latent.

### Claim 17 (depends on 16)

The computer-readable storage media of claim 16, wherein the computer-executable instructions further comprise:
instructions that cause the processor to generate the predicted mean value by producing a first mean value from the received hyperlatent, shifting at least one entropy-decoded latent, and producing second means values from the first mean values and the at least one shifted entropy-decoded latent.

### Claim 18 (depends on 16)

The computer-readable storage media of claim 16, wherein:
the instructions further comprise instructions that cause the processor to perform a method of encoding the images or video;
at least some of the computer-executable instructions or for a different type of processor than the processor or a different type of machine learning model than the machine learning model used to encode the video; and/or
the processor is a graphics processing unit or a neural processing unit.

### Claim 19 (depends on 16)

A system comprising:
the computer-readable storage media of claim 16;
the processor, wherein the processor is a graphics processing unit or a neural processing unit configured to execute the computer-executable instructions;
a network interface configured to receive a bitstream comprising the hyperlatents via a computer-readable media or a computer-readable storage media; and
a display interface to cause a display to display video or images encoded in the received bitstream.

### Claim 20

A method of training neural networks for encoding video, the method comprising:
selecting a loss function to achieve desired characteristics of a neural encoder/decoder system comprising at least one neural network;
successively encoding and decoding images from a training set applied to the neural encoder/decoder system;
comparing reconstructed frames generated by the encoder/decoder system to images from the training set to evaluate the loss function;
adjusting parameters of the at least one neural network to converge the neural networks; and
storing weights or activation values for the trained neural networks in a computer-readable storage medium.
