# US 2022/0292727 A1 · Class-specific neural network for video compressed sensing

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

- Number: US 2022/0292727 A1
- Document ID: US20220292727A1
- Status: Published application
- Kind: A1
- Application number: 17/695,684
- Filed: 2022-03-15
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: Kwai Inc.; Santa Clara University
- Applicants: Kwai Inc.; Santa Clara University
- Inventors: Yifei PEI; Ying LIU; Nam LING; Lingzhi LIU; Yongxiong REN; Ming Kai HSU
- Web page: https://patentgrep.com/patent/US20220292727A1

## CPC

- G06T 9/002: {using neural networks}
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/48: using compressed domain processing techniques other than decoding, e.g. modification of transform coefficients, variable length coding [VLC] data or run-length data (motion estimation in a transform domain H04N19/547; processing of decoded motion vectors H04N19/513)
- H04N 19/625: using discrete cosine transform [DCT]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A class-specific neural network for video compressed sensing and methods for training and testing the class-specific neural network are provided. The class-specific neural network includes a Gaussian-mixture model (GMM) and a plurality of encoders, where the GMM classifies video frame blocks with a plurality of clusters and assigns the video frame blocks to the plurality of clusters. Further, the plurality of encoders receive the video frame blocks and generate a plurality of compressed-sensed frame block vectors, where the plurality of encoders correspond to the plurality of clusters.

## Claims

### Claim 1

A class-specific neural network for video compressed sensing, comprising:
a Gaussian-mixture model (GMM) that classifies video frame blocks with a plurality of clusters and assigns the video frame blocks to the plurality of clusters; and
a plurality of encoders receive the video frame blocks and generate a plurality of compressed-sensed frame block vectors, wherein the plurality of encoders correspond to the plurality of clusters.

### Claim 2 (depends on 1)

The class-specific neural network of claim 1, further comprising:
a logistic regression classifier that predicts labels for the plurality of compressed-sensed frame block vectors and sends the compressed-sensed frame block vectors to a plurality of decoders.

### Claim 3 (depends on 2)

The class-specific neural network of claim 2, wherein the plurality of compressed-sensed frame block vectors are assigned to the plurality of decoders based on the labels saved in a hashmap data structure.

### Claim 4 (depends on 1)

The class-specific neural network of claim 1, wherein the GMM predicts labels for the video frame blocks.

### Claim 5 (depends on 1)

The class-specific neural network of claim 1, wherein each encoder comprises a flatten layer, a discrete cosine transform (DCT) transform layer, and a trainable compressed sensing layer.

### Claim 6 (depends on 5)

The class-specific neural network of claim 5, wherein each decoder comprises an expansion layer, a trainable reconstruction layer, an inverse DCT transform layer, and a reshape layer that converts the plurality of compressed-sensed frame block vectors to a plurality of predicted block matrices.

### Claim 7 (depends on 1)

The class-specific neural network of claim 1, wherein the logistic regression classifier predicts the labels by respectively maximizing probabilities of the plurality of compressed-sensed frame block vectors.

### Claim 8

A method for training a class-specific neural network for video compressed sensing, comprising:
training a Gaussian-mixture model (GMM) in the class-specific neural network using a plurality of video frame blocks, wherein the GMM comprises a plurality of clusters;
assigning the plurality of video frame blocks to the plurality of clusters; and
training a plurality of encoders that correspond to the plurality of clusters using the plurality of video frame blocks.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
generating labels for a plurality of compressed-sensed frame block vectors by labeling the plurality of compressed-sensed frame block vectors according to the plurality of clusters; and
training a logistic regression classifier for the plurality of compressed-sensed frame block vectors based on the labels.

### Claim 10 (depends on 9)

The method of claim 9, wherein the logistic regression classifier predicts the labels by respectively maximizing probabilities of the plurality of compressed-sensed frame block vectors.

### Claim 11

A method for testing a class-specific neural network for video compressed sensing, comprising:
assigning and sending, by a trained Gaussian-mixture model (GMM) in the class-specific neural network, a plurality of video frame blocks to a plurality of clusters; and
generating, by a plurality of encoders in the class-specific neural network, a plurality of compressed-sensed frame block vectors.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
classifying, by a trained logistic regression classifier, labels of the plurality of compressed-sensed frame block vectors; and
assigning, by the trained logistic regression classifier, the plurality of compressed-sensed frame block vectors to corresponding decoders based on the labels to reconstruct a whole video frame.

### Claim 13 (depends on 12)

The method of claim 12, wherein the plurality of compressed-sensed frame block vectors are assigned to the plurality of decoders based on the labels saved in a hashmap data structure.

### Claim 14

An apparatus for training a class-specific neural network for video compressed sensing, comprising:
one or more processors; and
a memory configured to store instructions executable by the one or more processors,
wherein the one or more processors, upon execution of the instructions, are configured to:
train a Gaussian-mixture model (GMM) in the class-specific neural network using a plurality of video frame blocks, wherein the GMM comprises a plurality of clusters;
assign the plurality of video frame blocks to the plurality of clusters; and
train a plurality of encoders that correspond to the plurality of clusters using the plurality of video frame blocks.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the one or more processors are further configured to:
generate labels for a plurality of compressed-sensed frame block vectors by labeling the plurality of compressed-sensed frame block vectors according to the plurality of clusters; and
train a logistic regression classifier for the plurality of compressed-sensed frame block vectors based on the labels.

### Claim 16

An apparatus for testing a class-specific neural network for video compressed sensing, comprising:
one or more processors; and
a memory configured to store instructions executable by the one or more processors,
wherein the one or more processors, upon execution of the instructions, are configured to:
assign and send, by a trained Gaussian-mixture model (GMM) in the class-specific neural network, a plurality of vectorized video frame blocks to corresponding clusters; and
generate, by a plurality of encoders in the class-specific neural network, a plurality of compressed-sensed frame block vectors.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the one or more processors are further configured to:
classify, by a trained logistic regression classifier, labels of the plurality of compressed-sensed frame block vectors; and
assign, by the trained logistic regression classifier, the plurality of compressed-sensed frame block vectors to corresponding decoders based on the labels to reconstruct a whole video frame.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the plurality of compressed-sensed frame block vectors are assigned to the plurality of decoders based on the labels saved in a hashmap data structure.
