# US 2025/0159176 A1 · Time-Variant Multi-Hypothesis Probability Model Update for Entropy Coding

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

- Number: US 2025/0159176 A1
- Document ID: US20250159176A1
- Status: Published application
- Kind: A1
- Application number: 18/837,016
- Filed: 2022-12-29
- Published: 2025-05-15
- Earliest claimed: 2022-02-22
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Jingning Han; Yaowu Xu
- Web page: https://patentgrep.com/patent/US20250159176A1

## CPC

- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H03M 7/3079: {Context modeling}
- H03M 7/4018: {Context adapative binary arithmetic codes [CABAC]}
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N 19/124: Quantisation
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- 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)

## Abstract

Entropy coding a sequence of syntax elements using a time-variant multi-hypothesis probability model update is described. A sequence of syntax elements is received, and a symbol for a syntax element of the sequence is determined. The symbol is coded by arithmetic coding using a linear combination of a first probability model and a second probability model. The first probability model is updated using a first time-variant update rate to produce a first updated probability model for entropy coding a symbol for a subsequent syntax element of the sequence, and the second probability model is updated using a second time-variant update rate to produce a second updated probability model for entropy coding the symbol for the subsequent syntax element of the sequence. The first and second time-variant update rates are different.

## Claims

### Claim 1

An apparatus for entropy coding a sequence of syntax elements, comprising:
a processor configured to:
receive the sequence of syntax elements;
determine a symbol for a syntax element of the sequence;
entropy code, using arithmetic coding, the symbol using a linear combination of a first probability model and a second probability model;
update the first probability model using a first time-variant update rate to produce a first updated probability model for entropy coding a symbol for a subsequent syntax element of the sequence; and
update the second probability model using a second time-variant update rate to produce a second updated probability model for entropy coding the symbol for the subsequent syntax element of the sequence, wherein the second time-variant update rate is different from the first time-variant update rate.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein at least one of the first probability model or the second probability model comprises a cumulative distribution function.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein each of the first probability model and the second probability model comprises a cumulative distribution function of an M-ary random variable, wherein M is a positive integer that represents a cardinality of possible observations for a respective syntax element of the sequence of syntax elements.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein:
the first probability model comprises a first cumulative distribution function C1n;
the second probability model comprises a second cumulative distribution function C2n;
time n represents a current observation in the sequence;
the first time-variant update rate is α1;
the second time-variant update rate is α2;
cm(n,α1) is a cumulative probability within C1n for a symbol m at time n;
cm(n,α) is a cumulative probability within C2n for the symbol m at time n;
the linear combination to produce a cumulative probability cm(n) for the symbol m is
c
m
(
n
)
=
β
⁢
c
m
(
n
,
α1
)
+
(
1
-
β
)
⁢
c
m
(
n
,
α2
)
;
and
β
∈
(
0
,
1
)
.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein β=0.5.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein:
the first time-variant update rate provides a first higher adaptation rate at a beginning of use of the first probability model as compared to a first lower adaptation rate later in the use of the first probability model; and
the second time-variant update rate provides a second higher adaptation rate at a beginning of use of the second probability model as compared to a second lower adaptation rate later in the use of the second probability model.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein:
the first time-variant update rate is represented by a first step function that determines the first higher update rate when a cardinality of symbols coded through a current observation is below a first defined threshold and results in the first lower update rate when the cardinality of symbols exceeds the first defined threshold; and
the second time-variant update rate is represented by a second step function that determines the second higher update rate when the cardinality of symbols coded through the current observation is below a second defined threshold and results in the second lower update rate when the cardinality of symbols exceeds the second defined threshold.

### Claim 8 (depends on 1)

The method apparatus of claim 1, wherein:
the first time-variant update rate comprises 1/244+I(count>7)+I(count>15)+min(log2(M),2),
the second time-variant update rate comprises
1
/
2
2
+
I
⁡
(
count
>
7
)
+
I
⁡
(
count
>
15
)
+
min
(
log
2
(
M
)
,
2
)
,
count refers to a cardinality of symbols coded through a current observation,
I(comparison) is a function that returns 1 if comparison is true and otherwise returns 0, and
M is a positive integer that represents a cardinality of possible observations for a respective syntax element of the sequence of syntax elements.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein initial probabilities of each of the first probability model and the second probability model are identical.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein:
to update the first probability model includes to regularize at least one probability value so no probability of the first updated probability model is below a defined minimum resolution; and
to the second probability model includes to regularize at least one probability value so no probability of the second updated probability model is below the defined minimum resolution.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein one of:
the sequence of syntax elements comprises encoded transform coefficients, and to entropy code the symbol comprises to entropy decode a transform coefficient; or
wherein the sequence of syntax elements comprises transform coefficients, and to entropy code the symbol comprises to entropy encode a transform coefficient.

### Claim 12

(canceled).

### Claim 13

(canceled).

### Claim 14

(canceled).

### Claim 15

A method for entropy coding a sequence of syntax elements, comprising:
receiving the sequence of syntax elements;
determining a symbol for a syntax element of the sequence;
entropy coding, using arithmetic coding, the symbol using a linear combination of a first probability model and a second probability model;
updating the first probability model using a first time-variant update rate to produce a first updated probability model for entropy coding a symbol for a subsequent syntax element of the sequence; and
updating the second probability model using a second time-variant update rate to produce a second updated probability model for entropy coding the symbol for the subsequent syntax element of the sequence, wherein the second time-variant update rate is different from the first time-variant update rate.

### Claim 16 (depends on 15)

The method of claim 15, wherein at least one of the first probability model or the second probability model comprises a cumulative distribution function.

### Claim 17 (depends on 15)

The method of claim 15, wherein each of the first probability model and the second probability model comprises a cumulative distribution function of an M-ary random variable, wherein M is a positive integer that represents a cardinality of possible observations for a respective syntax element of the sequence of syntax elements.

### Claim 18 (depends on 15)

The method of claim 15, wherein:
the first probability model comprises a first cumulative distribution function C1n;
the second probability model comprises a second cumulative distribution function C2n;
time n represents a current observation in the sequence;
the first time-variant update rate is α1;
the second time-variant update rate is α2;
cm(n,α1) is a cumulative probability within C1n for a symbol m at time n;
cm(n,α2) is a cumulative probability within C2n for the symbol m at time n;
the linear combination to produce a cumulative probability cm(n) for the symbol m is
c
m
(
n
)
=
β
⁢
c
m
(
n
,
α1
)
+
(
1
-
β
)
⁢
c
m
(
n
,
α2
)
;
and
β
∈
(
0
,
1
)
.

### Claim 19 (depends on 18)

The method of claim 18, wherein β=0.5.

### Claim 20 (depends on 15)

The method of claim 15, wherein:
the first time-variant update rate provides a first higher adaptation rate at a beginning of use of the first probability model as compared to a first lower adaptation rate later in the use of the first probability model; and
the second time-variant update rate provides a second higher adaptation rate at a beginning of use of the second probability model as compared to a second lower adaptation rate later in the use of the second probability model.

### Claim 21 (depends on 15)

The method of claim 15, wherein:
the first time-variant update rate is represented by a first step function that determines the first higher update rate when a cardinality of symbols coded through a current observation is below a first defined threshold and results in the first lower update rate when the cardinality of symbols exceeds the first defined threshold; and
the second time-variant update rate is represented by a second step function that determines the second higher update rate when the cardinality of symbols coded through the current observation is below a second defined threshold and results in the second lower update rate when the cardinality of symbols exceeds the second defined threshold.

### Claim 22 (depends on 15)

The method of claim 15, wherein:
the first time-variant update rate comprises 1/244+I(count>7)+I(count>15)+min(log2(M),2),
the second time-variant update rate comprises
1
/
2
2
+
I
⁡
(
count
>
7
)
+
I
⁡
(
count
>
15
)
+
min
(
log
2
(
M
)
,
2
)
,
count refers to a cardinality of symbols coded through a current observation,
I(comparison) is a function that returns 1 if comparison is true and otherwise returns 0, and
M is a positive integer that represents a cardinality of possible observations for a respective syntax element of the sequence of syntax elements.

### Claim 23 (depends on 15)

The method of claim 15, wherein:
updating the first probability model includes regularizing at least one probability value so no probability of the first updated probability model is below a defined minimum resolution; and
updating the second probability model includes regularizing at least one probability value so no probability of the second updated probability model is below the defined minimum resolution.
