IP Library Granted Patent US 12,634,491
Granted Patent B2
US 12,634,491 · App. 18/425,693 · Granted May 19, 2026

Transformer based video coding

Inventors: Nannan Zou (Tampere, FI); Francesco Cricrì (Tampere, FI); Honglei Zhang (Tampere, FI)
Assignee: Nokia Technologies Oy
H04N19/30H04N19/172H04N19/88
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,634,491
App. No.
18/425,693
Granted
May 19, 2026
Kind
B2
Abstract

An example method includes: receiving a target frame and one or more reference frames; extracting a first feature map from a first predicted target frame predicted from a first reference frame, and a second feature map from a second predicted frame predicted from a second target frame, wherein the first predicted target frame is a backward predicted target frame and the second predicted target frame is a forward predicted target frame; generating a refined residual feature based at least on the first feature map, the second feature map, and a third feature map extracted from a feature decoder net module or circuit; generating a frame residual based at least on the refined residual feature; and generating an output reconstructed frame based at least on the frame residual and an average frame, wherein the average frame represents an average of the first predicted target frame and the second predicted target frame.

Claims (60)

1 . An apparatus comprising at least one processor; and at least one memory storing instructions that, when executed by the at least one processor, cause the apparatus at least to perform:

receiving a target frame and one or more reference frames;

extracting three or more feature tensors at one or more different scales from each reference frame and the target frame;

providing a first set of feature tensors for first set of scales of the one or more different scales as an input to an attention block or circuit;

generating a second set of smaller feature tensors, as compared to the three or more feature tensors, for a second set of scales of the one or more different scales by splitting or pixel interleaving a second set of feature tensors, wherein the second set of smaller feature tensors are randomly shuffled, and wherein every 2 smaller feature tensors are combined to generate a first downscaled feature map; and

generating a third set of smaller feature tensors, as compared to the three or more feature tensors, for a third set of scales of the one or more different scales by splitting or pixel interleaving a third set of feature tensors, wherein the third set of smaller feature tensors are randomly shuffled, and wherein every 4 smaller feature tensors are combined to generate a second downscaled feature map.

2 . The apparatus of claim 1 , wherein the apparatus is further caused to generate an i th set of smaller feature tensors, as compared to the three or more feature tensors, for an i th set of scales of the one or more different scales by splitting or pixel interleaving an i th set of feature tensors, wherein the i th set of smaller feature tensors are randomly shuffled, and wherein every i smaller feature tensors are combined to generate an i th downscaled feature map, and wherein i is a natural number greater than 0.

3 . The apparatus of claim 1 , wherein the apparatus further comprises:

an encoder feature pyramid net block or circuit, wherein the three or more feature tensors are extracted by the encoder feature pyramid net block or circuit; and

a feature encoder net block or circuit, and wherein the apparatus is further caused to perform:

providing the extracted three or more feature tensors as an input to the feature encoder net block or circuit.

4 . The apparatus of claim 3 , wherein the feature encoder net block or circuit comprises one or more transformer encoders and/or one or more transformer decoders.

5 . The apparatus of claim 4 , wherein feature tensors at same scale and extracted from different reference frames and the target frame are provided as an input to the same transformer encoder, and wherein the transformer encoder is caused to perform: combining information between global features and local features.

6 . The apparatus of claim 4 , wherein each feature tensor has same dimension after splitting, and wherein the each split feature tensor works as memory signal for the one or more transformer decoders.

7 . The apparatus of claim 4 , wherein the first set of feature tensors of the target frame are provided as target for the one or more transformer decoders, and wherein the one or more transformer decoders are caused to perform: providing a latent tensor comprising the same dimension as the first set of feature tensors as output, and wherein the latent tensor is lossless encoded.

8 . The apparatus of claim 1 , wherein the three or more feature tensors comprise three or more three dimensional (3D) feature tensors, and wherein the apparatus further comprises a channel excitation multi-head attention block or circuit, and wherein the channel excitation multi-head attention block or circuit is caused to perform: computing an attention between the 3D feature tensors by performing:

channel excitation operation that calculates an average value of patches in a 3D feature tensor;

assigning different importance to each channel of the 3D feature tensor;

aggregating spatial feature information of the 3D feature tensor to a single channel;

passing the aggregated 3D feature tensor through a plurality of convolution layers to update dimension of the aggregated 3D feature tensor to one dimensional (1D) feature tensor; and

computing an attention map between the 1D feature tensor and 3D tensor feature maps by using a scaled dot product attention.

9 . The apparatus of claim 1 , wherein the apparatus further comprises a transformer comprising a transformer encoder and a transformer decoder, wherein the transformer receives following as input: features of a first scale of the one or more different scales; and output from a previous transformer layer, when the previous transformer layer is present; and wherein a feature map of the target frame is provided as an input to the transformer decoder, wherein the apparatus is further caused to perform:

sequentially processing the one or more different scales;

providing a latent tensor as an output; and

encoding the latent tensor by using a lossless encoder.

10 . The apparatus of claim 1 , wherein the one or more different scales comprise spatial resolution.

11 . An apparatus comprising at least one processor; and at least one memory storing instructions that, when executed by the at least one processor, cause the apparatus at least to perform:

extracting a first feature map from a first predicted target frame predicted from a first reference frame, and a second feature map from a second predicted target frame predicted from a second reference frame, wherein the first predicted target frame is a backward predicted target frame and the second predicted target frame is a forward predicted target frame;

generating a refined residual feature based at least on the first feature map, the second feature map, and a third feature map extracted from a feature decoder net module or circuit;

generating a frame residual based at least on the refined residual feature; and

generating an output reconstructed frame based at least on the frame residual and an average frame, wherein the average frame represents an average of the first predicted target frame and the second predicted target frame.

12 . The apparatus of claim 11 , wherein the apparatus further comprises a whole transformer module or circuit comprising a transformer encoder and transformer decoder, and wherein the apparatus is further caused to perform: providing the first feature map and the second feature map to the whole transformer module or circuit to generate the refined residual feature, and wherein the third feature map represents a target to the transformer decoder.

13 . A method comprising:

receiving a target frame and one or more reference frames;

extracting three or more feature tensors at one or more different scales from each reference frame and the target frame;

providing a first set of feature tensors for first set of scales of the one or more different scales as an input to an attention block or circuit;

generating a second set of smaller feature tensors, as compared to the three or more feature tensors, for a second set of scales of the one or more different scales by splitting or pixel interleaving a second set of feature tensors, wherein the second set of smaller feature tensors are randomly shuffled, and wherein every 2 smaller feature tensors are combined to generate a first downscaled feature map; and

generating a third set of smaller feature tensors, as compared to the three or more feature tensors, for a third set of scales of the one or more different scales by splitting or pixel interleaving a third set of feature tensors, wherein the third set of smaller feature tensors are randomly shuffled, and wherein every 4 smaller feature tensors are combined to generate a second downscaled feature map.

14 . The method of claim 13 , wherein the three or more feature tensors are extracted by a feature encoder net block or circuit, and wherein the feature encoder net block or circuit comprises one or more transformer encoders and/or one or more transformer decoders.

15 . The method of claim 14 , wherein each feature tensor has same dimension after splitting, and wherein the each split feature tensor works as memory signal for the one or more transformer decoders.

16 . The method of claim 14 further comprising:

providing the first set of feature tensors of the target frame as target for the one or more transformer decoders; and

providing a latent tensor comprising the same dimension as the first set of feature tensors as output by the one or more transformer decoders, wherein the latent tensor is lossless encoded.

17 . The method of claim 13 , wherein the three or more feature tensors comprise three or more three dimensional (3D) feature tensors, and wherein the method further comprises computing an attention between the 3D feature tensors, wherein computing the attention between 3D feature tensors comprises:

performing a channel excitation operation that calculates an average value of patches in a 3D feature tensor;

assigning different importance to each channel of the 3D feature tensor;

aggregating spatial feature information of the 3D feature tensor to a single channel;

passing the aggregated 3D feature tensor through a plurality of convolution layers to update dimension of the aggregated 3D feature tensor to one dimensional (1D) feature tensor; and

computing an attention map between the 1D feature tensor and 3D tensor feature maps by using a scaled dot product attention.

18 . The method of claim 13 further comprising:

receiving following as input: features of a first scale of the one or more different scales; and output from a previous transformer layer, when the previous transformer layer is present, wherein a feature map of the target frame is provided as an input to a transformer decoder;

sequentially processing the one or more different scales;

providing a latent tensor as an output; and

encoding the latent tensor by using a lossless encoder.

19 . A method comprising:

extracting a first feature map from a first predicted target frame predicted from a first reference frame, and a second feature map from a second predicted target frame predicted from a second reference frame, wherein the first predicted target frame is a backward predicted target frame and the second predicted target frame is a forward predicted target frame;

generating a refined residual feature based at least on the first feature map, the second feature map, and a third feature map extracted from a feature decoder net module or circuit;

generating a frame residual based at least on the refined residual feature; and

generating an output reconstructed frame based at least on the frame residual and an average frame, wherein the average frame represents an average of the first predicted target frame and the second predicted target frame.

20 . The method of claim 19 further comprising: providing the first feature map and the second feature map to a whole transformer module or circuit, comprising a transformer encoder and transformer decoder, to generate the refined residual feature, wherein the third feature map represents a target to the transformer decoder.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 8, 2024
From: ZOU, NANNAN; CRICRÌ, FRANCESCO; ZHANG, HONGLEI
To: NOKIA TECHNOLOGIES OY
Reel/Frame 067029/0050 →
Continuity (2)
Provisional Application 63483367 · Feb 6, 2023
Related Publication 20240267543A1 · Aug 8, 2024
References Cited (22)
US 10089556B1 · Xu · 2018 [cited by applicant]
US 20210248811A1 · Shan · 2021 [cited by examiner]
US 20210393229A1 · Shen · 2021 [cited by examiner]
US 20220198254A1 · Dalli et al. · 2022 [cited by applicant]
US 20220256227A1 · Rezazadegan Tavakoli et al. · 2022 [cited by applicant]
US 20220383525A1 · Sabato · 2022 [cited by examiner]
WO 2022104293A1 · 2022 [cited by applicant]
“Video Coding for Low Bit Rate Communication”, Series H: Audiovisual And Multimedia Systems, Infrastructure of audiovisual services—Coding of moving Video, ITU-T Recommendation H.263, Jan. 2005, 226 pages. [cited by applicant]
“Advanced Video Coding for Generic Audiovisual services”, Series H: Audiovisual and Multimedia Systems, Infrastructure of audiovisual services—Coding of moving Video, Recommendation ITU-T H.264, Apr. 2017, 812 pages. [cited by applicant]
“High Efficiency Video Coding”, Series H: Audiovisual And Multimedia Systems, Infrastructure of audiovisual services—Coding of moving video, Recommendation ITU-T H.265, Feb. 2018, 692 pages. [cited by applicant]
“Versatile Video Coding”, Series H: Audiovisual and Multimedia Systems Infrastructure of audiovisual services—Coding of moving video, Recommendation ITU-T H.266, Aug. 2020, 516 pages. [cited by applicant]
“Versatile supplemental enhancement information messages for coded video bitstreams”, Series H: Audiovisual and Multimedia Systems Infrastructure of audiovisual services—Coding of moving video, Recommendation ITU- T H.2… [cited by applicant]
Guo et al., “Causal Contextual Prediction for Learned Image Compression”, arXiv, Oct. 31, 2021, pp. 1-13. [cited by applicant]
Liu et al., “ConvTransformer: A Convolutional Transformer Network for Video Frame Synthesis”, arXiv, Jun. 1, 2021, pp. 1-17. [cited by applicant]
Lu et al., “Learning based Multi-modality Image and Video Compression”, IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Jun. 18-24, 2022, pp. 6073-6082. [cited by applicant]
“Information Technology—Generic Coding of Moving Pictures and Associated Audio Information: Systems”, Series H: Audiovisual and Multimedia Systems, Infrastructure of Audiovisual Services—Transmission Multiplexing and Sy… [cited by applicant]
“Information technology—Generic coding of moving pictures and associated audio information: Video”, Series H: Audiovisual and Multimedia Systems Infrastructure of audiovisual services—Coding of moving video, ITU-T Recom… [cited by applicant]
“Information technology—Universal coded character set (UCS)”, ISO/IEC 10646, Sixth edition, Dec. 2020, 9 pages. [cited by applicant]
“IEEE 802.11”, Wikipedia, Retrieved on Jul. 4, 2023, Webpage available at : https://en.wikipedia.org/wiki/IEEE_802.11. [cited by applicant]
“Information Technology—Coding of Audio-Visual Objects—Part 12: ISO Base Media File Format”, ISO/IEC 14496-12, Fifth edition, Dec. 15, 2015, 248 pages. [cited by applicant]
“Information Technology—Coding of Audio-Visual Objects—Part 15: Advanced Video Coding (AVC) File Format”, ISO/IEC 14496-15, First edition, Apr. 15, 2004, 29 pages. [cited by applicant]
Mentzer et al., “VCT: A Video Compression Transformer”, arXiv, Jun. 15, 2022, pp. 1-16. [cited by applicant]