# US 2026/0075209 A1 · Method, apparatus and system for encoding and decoding a tensor

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

- Number: US 2026/0075209 A1
- Document ID: US20260075209A1
- Status: Published application
- Kind: A1
- Application number: 19/108,342
- Filed: 2023-07-28
- Published: 2026-03-12
- Earliest claimed: 2022-10-13
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Christopher James ROSEWARNE; THI HONG NHUNG NGUYEN
- Web page: https://patentgrep.com/patent/US20260075209A1

## CPC

- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/136: Incoming video signal characteristics or properties
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06T 9/002: {using neural networks}
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- H04N 19/90: using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A system and method of encoding at least a plurality of tensors forming a hierarchical representation for a single frame into a bitstream. The method comprises deriving a first unit of information from a plurality of tensors forming the hierarchical representation, the plurality of tensors including at least a first tensor and a second tensor, feature maps of the first tensor having a larger spatial resolution than feature maps of the second tensor and encoding, in a first mode, at least the first unit of information into the bitstream. In a second mode, the method also comprises deriving a second unit of information derived from the first tensor; and encoding, the second unit of information and the first unit of information into the bitstream.

## Claims

### Claim 1

A method of encoding at least a plurality of tensors forming a hierarchical representation for a single frame into a bitstream, the method comprising:
deriving a first unit of information from a plurality of tensors forming the hierarchical representation, the plurality of tensors including at least a first tensor and a second tensor, feature maps of the first tensor having a larger spatial resolution than feature maps of the second tensor;
encoding, in a first mode, at least the first unit of information into the bitstream;
deriving, in a second mode, a second unit of information from at least the first tensor; and
encoding, in the second mode, the second unit of information and the first unit of information into the bitstream.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising determining based on at least one of a quality configuration for encoding and a machine task to be completed, whether to operate in the first mode or the second mode.

### Claim 3 (depends on 2)

The method according to claim 2, further comprising determining operation in the second mode if the machine task is to be completed is instance segmentation.

### Claim 4 (depends on 1)

The method according to claim 1, wherein deriving the first unit of information comprises combining at least the first and second tensors into a first combined tensor, and applying a convolutional layer followed by a batch normalisation layer to the first combined tensor.

### Claim 5 (depends on 4)

The method according to claim 4, wherein deriving the first unit of information further comprises providing the output of the batch normalisation layer to a tanh layer.

### Claim 6 (depends on 1)

The method according to claim 1, wherein
deriving the first unit of information comprises combining at least the first and second tensor into a first combined tensor, and applying a first convolutional layer and batch normalisation layer to the first combined tensor; and
deriving the second unit of information comprises combining at least the first tensor and another tensor into a second combined tensor, and applying a second convolutional layer and batch normalisation to the second combined tensor.

### Claim 7 (depends on 6)

The method according to claim 6, wherein
deriving the first unit of information further comprises providing the output of the first batch normalisation layer to a tanh layer; and
deriving the second unit of information further comprises providing the output of the second batch normalisation layer to a tanh layer.

### Claim 8

A method of decoding at least a plurality of tensors forming a hierarchical representation for a single frame from a bitstream, the method comprising:
decoding a bitstream including at least a first unit of information from a bitstream;
deriving, in a first mode, a plurality of tensors forming the hierarchical representation from the first unit of information, the plurality of tensors including at least a first tensor and a second tensor, feature maps of the first tensor having a larger spatial resolution than feature maps of the second tensor;
decoding, in a second mode, a second unit of information from the bitstream; and
deriving, in the second mode, a plurality of tensors forming at least part of the hierarchical representation from the second unit of information and at least a part of the first unit of information, the second unit of information corresponding to the first tensor.

### Claim 9 (depends on 8)

The method according to claim 8, further comprising decoding indication of whether to use the second mode from the bitstream.

### Claim 10 (depends on 8)

The method according to claim 8, wherein, in the second mode, the plurality of tensors from the second unit of information are selected using a multiplexor.

### Claim 11 (depends on 8)

The method according to claim 8, wherein, tensors corresponding to at least the first tensor are selected using convolutional layers.

### Claim 12 (depends on 11)

The method according to claim 11, wherein, in the second mode, the convolutional layers receive tensors for at least the first tensor derived from each of the first and second units of information.

### Claim 13 (depends on 11)

The method according to claim 11, wherein, in the first mode, the convolutional layers receive (i) at least the first tensor from the first unit of information, and (ii) an identity matrix representing tensors derived from the second unit of information.

### Claim 14

A non-transitory computer-readable storage medium which stores a program for executing a method of encoding at least a plurality of tensors forming a hierarchical representation for a single frame into a bitstream, the method comprising:
deriving a first unit of information from a plurality of tensors forming the hierarchical representation, the plurality of tensors including at least a first tensor and a second tensor, feature maps of the first tensor having a larger spatial resolution than feature maps of the tensor;
encoding, in a first mode, at least the first unit of information into the bitstream;
deriving, in a second mode, a second unit of information from the first tensor; and
encoding, in the second mode, the second unit of information and the first unit of information into the bitstream.

### Claim 15

An encoder configured encode at least a plurality of tensors forming a hierarchical representation for a single frame into a bitstream, by:
deriving a first unit of information from a plurality of tensors forming the hierarchical representation, the plurality of tensors including at least a first tensor and a second tensor, feature maps of the first tensor having a larger spatial resolution than feature maps of the second tensor;
encoding, in a first mode, at least the first unit of information into the bitstream;
deriving, in a second mode, a second unit of information from at least the first tensor; and
encoding, in the second mode, the second unit of information and the first unit of information into the bitstream.

### Claim 16

A system comprising:
a memory; and
a processor, wherein the processor is configured to execute code stored on the memory for implementing a method of encoding at least a plurality of tensors forming a hierarchical representation for a single frame into a bitstream, the method comprising
deriving a first unit of information from a plurality of tensors forming the hierarchical representation, the plurality of tensors including at least a tensor and a tensor, feature maps of the first tensor having a larger spatial resolution than feature maps of the tensor;
encoding, in a first mode, at least the first unit of information into the bitstream;
deriving, in a second mode, a second unit of information from the first tensor; and
encoding, in the second mode, the second unit of information and the first unit of information into the bitstream.

### Claim 17

A non-transitory computer-readable storage medium which stores a program for executing a method of method of decoding at least a plurality of tensors forming a hierarchical representation for a single frame from a bitstream, the method comprising:
decoding a bitstream including at least a first unit of information from a bitstream;
deriving, in a first mode, a plurality of tensors forming the hierarchical representation from the first unit of information, the plurality of tensors including at least a first tensor and a second tensor, feature maps of the first tensor having a larger spatial resolution than feature maps of the second tensor;
decoding, in a second mode, a second unit of information from the bitstream; and
deriving, in the second mode, a plurality of tensors forming at least part of the hierarchical representation from the second unit of information and at least a part of the first unit of information, the second unit of information corresponding to at least the first tensor.

### Claim 18

A decoder configured to decode at least a plurality of tensors forming a hierarchical representation for a single frame from a bitstream, by:
decoding a bitstream including at least a first unit of information from a bitstream;
deriving, in a first mode, a plurality of tensors forming the hierarchical representation from the first unit of information, the plurality of tensors including at least a first tensor and a second tensor, feature maps of the first tensor having a larger spatial resolution than feature maps of the second tensor;
decoding, in a second mode, a second unit of information from the bitstream; and
deriving, in the second mode, a plurality of tensors forming at least part of the hierarchical representation from the second unit of information and at least a part of the first unit of information, the second unit of information corresponding to at least the first tensor.

### Claim 19

A system comprising:
a memory; and
a processor, wherein the processor is configured to execute code stored on the memory for implementing a method of decoding at least a plurality of tensors forming a hierarchical representation for a single frame from a bitstream, the method comprising:
decoding a bitstream including at least a first unit of information from a bitstream;
deriving, in a first mode, a plurality of tensors forming the hierarchical representation from the first unit of information, the plurality of tensors including at least a first tensor and a second tensor, feature maps of the first tensor having a larger spatial resolution than feature maps of the second tensor;
decoding, in a second mode, a second unit of information from the bitstream; and
deriving, in the second mode, a plurality of tensors forming at least part of the hierarchical representation from the second unit of information and at least a part of the first unit of information, the second unit of information corresponding to at least the first tensor.
