Method, apparatus and computer program for permutation neural residual compression

Permutation neural residual compression using DNNs addresses the limitations of traditional video coding standards by optimizing residuals and bit rate control, enhancing video compression efficiency and quality.

JP7568349B2Active Publication Date: 2024-10-16TENCENT AMERICA LLC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2022530862
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-04-21
Filing Date
2021-05-27
Publication Date
2024-10-16
Estimated Expiration
2041-05-27

AI Technical Summary

Technical Problem

Existing video coding standards like H.264/AVC, HEVC, and VVC lack the ability to fully leverage the nonlinearity and spatiotemporal correlations of deep neural networks (DNNs) for improved compression efficiency, leading to suboptimal compression performance.

Method used

Implementing permutation neural residual compression using DNNs to estimate motion vectors, generate predicted frames, and encode residuals, allowing for flexible bit rate control without retraining models.

Benefits of technology

Enhances video compression efficiency by generating optimized residuals and providing flexible bit rate control, improving compression performance and reducing distortion while maintaining high quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568349000076
    Figure 0007568349000076
  • Figure 0007568349000077
    Figure 0007568349000077
  • Figure 0007568349000078
    Figure 0007568349000078
Patent Text Reader

Abstract

The method for permutation neural residual compression is executed by at least one processor and includes the steps of estimating a motion vector based on a current image frame and a previous reconstructed image frame, obtaining a predicted image frame based on the estimated motion vector and the previous reconstructed image frame, and subtracting the obtained predicted image frame from the current image frame to obtain a permutation residual, the method further includes encoding the obtained permutation residual using a first neural network to obtain a coded representation, and compressing the coded representation.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application is based on and claims priority to U.S. Provisional Patent Application No. 63 / 052,242, filed July 15, 2020, and U.S. Patent Application No. 17 / 236,108, filed April 21, 2021, the disclosures of which are incorporated by reference in their entireties herein.

[0002] The present application relates to video codecs, and in particular to a method, apparatus and computer program for permutation neural residual compression. [Background technology]

[0003] Video coding standards such as H.264 / Advanced Video Coding (H.264 / AVC), High-Efficiency Video Coding (HEVC), and Versatile Video Coding (VVC) share a similar (recursive) block-based hybrid prediction / transform framework, in which individual coding tools such as intra / inter prediction, integer transform, and context-adaptive entropy coding are designed in a convergent manner to optimize overall efficiency. A spatiotemporal pixel neighborhood is exploited to construct a prediction signal and obtain the corresponding residual for subsequent transform, quantization, and entropy coding.

[0004] On the other hand, the essence of Deep Neural Networks (DNNs) is to extract different levels of spatiotemporal stimuli by analyzing spatiotemporal information from the receptive fields of neighboring pixels. This ability to explore highly nonlinear and nonlocal spatiotemporal correlations offers a promising opportunity to significantly improve the quality of compression. Summary of the Invention

[0005] According to an embodiment, a method for permutation neural residual compression is executed by at least one processor and includes the steps of estimating a motion vector based on a current image frame and a previous reconstructed image frame, obtaining a predicted image frame based on the estimated motion vector and the previous reconstructed image frame, and subtracting the obtained predicted image frame from the current image frame to obtain a permutation residual, the method further includes encoding the obtained permutation residual using a first neural network to obtain an encoded representation, and compressing the encoded representation.

[0006] According to an embodiment, an apparatus for permutation neural residual compression includes at least one memory configured to store program code and at least one processor configured to read and operate according to instructions of the program code, the program code including: an estimation code configured to cause the at least one processor to estimate a motion vector based on a current image frame and a previous reconstructed image frame, a first acquisition code configured to cause the at least one processor to obtain a predicted image frame based on the estimated motion vector and the previous reconstructed image frame, and a subtraction code configured to cause the at least one processor to subtract the obtained predicted image frame from the current image frame to obtain a permutation residual, the program code further including an encoding code configured to cause the at least one processor to encode the obtained permutation residual using a first neural network to obtain an encoded representation, and a compression code configured to cause the at least one processor to compress the encoded representation.

[0007] According to an embodiment, a non-transitory computer-readable medium having stored thereon instructions which, when executed by at least one processor for permutation neural residual compression, cause the at least one processor to perform the steps of estimating a motion vector based on a current image frame and a previous reconstructed image frame, obtaining a predicted image frame based on the estimated motion vector and the previous reconstructed image frame, subtracting the obtained predicted image frame from the current image frame to obtain a permutation residual, encoding the obtained permutation residual using a first neural network to obtain an encoded representation, and compressing the encoded representation. [Brief description of the drawings]

[0008] [Figure 1]FIG. 1 is a diagram of an environment in which the methods, apparatus and systems described herein may be implemented, according to an embodiment. [Diagram 2] 2 is a block diagram of example components of one or more devices of FIG. 1. [Diagram 3] FIG. 2 is a block diagram of a training device for permutation neural residual compression during a training phase, according to an embodiment. [Figure 4] FIG. 2 is a block diagram of a testing apparatus for permutation neural residual compression during a testing phase, according to an embodiment. [Diagram 5] 1 is a flowchart of a method for permutation neural residual compression according to an embodiment. [Figure 6] 1 is a flowchart of a method for permutation neural residual compression according to an embodiment. [Figure 7] FIG. 2 is a block diagram of an apparatus for permutation neural residual compression according to an embodiment. [Figure 8] FIG. 2 is a block diagram of an apparatus for permutation neural residual compression according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] The present disclosure relates to a method and apparatus for compressing an input video by learning a substitution residual in a video coding framework using DNN-based residual compression. The learned substitution residual is a superior modification of the original residual by being visually similar to the original residual but better compressed. Furthermore, the method and apparatus herein provide flexibility in controlling the bit rate in DNN-based residual compression.

[0010] The video compression framework can be described as follows: An input video x includes image frames

[0011]

number

[0012]

number

[0013]

number

[0014]

number

[0015]

number

[0016]

number

[0017]

number

[0018]

number

[0019]

number

[0020]

number

[0021] At the decoder side, first, the quantized value

[0022]

number

[0023]

number

[0024]

number

[0025]

number

[0026]

number

[0027] The efficiency of compressing the residual rt is a factor for video compression performance. DNN-based methods can be used to assist in residual compression. For example, to improve quantization efficiency, DNNs can be used to learn advanced nonlinear transformations instead of linear transformations. The residuals may be encoded by end-to-end (E2E) DNNs, where the quantized representation is directly learned without explicit transformations.

[0028] FIG. 1 is a diagram of an environment 100 in which the methods, apparatus and systems described herein may be implemented, according to an embodiment.

[0029] 1, environment 100 may include a user device 110, a platform 120, and a network 130. The devices of environment 100 may be interconnected via wired connections, wireless connections, or a combination of wired and wireless connections.

[0030] User device 110 includes one or more devices that can receive, generate, store, process, and / or provide information associated with platform 120. For example, user device 110 may include a computing device (e.g., a desktop computer, a laptop computer, a tablet computer, a handheld computer, a smart speaker, a server, etc.), a mobile phone (e.g., a smartphone, a wireless phone, etc.), a wearable device (e.g., a piece of smart glasses or a smart watch that is worn, etc.), or a similar device. In some embodiments, user device 110 can receive information from platform 120 and / or transmit information to platform 120.

[0031] Platform 120 includes one or more devices as described elsewhere herein. In some embodiments, platform 120 may include a cloud server or a group of cloud servers. In some embodiments, platform 120 is designed to be modular, such that software components may be swapped in or out. This allows platform 120 to be easily and quickly reconfigured for different uses.

[0032] In some embodiments, as shown, platform 120 may be hosted in a cloud computing environment 122. In particular, although the embodiments described herein describe platform 120 as being hosted in a cloud computing environment 122, in some embodiments platform 120 may not be cloud-based (i.e., may be implemented outside of a cloud computing environment) or may be partially cloud-based.

[0033] Cloud computing environment 122 includes an environment that hosts platform 120. Cloud computing environment 122 can provide services, such as computing, software, data access, storage, and the like, that do not require end users (e.g., user devices 110) to know the physical location and configuration of the systems and / or devices that host platform 120. As shown, cloud computing environment 122 can include a set of computing resource(s) 124 (collectively referred to as “computing resources 124” and individually referred to as “computing resource 124”).

[0034] The computing resources 124 include one or more personal computers, workstation computers, server devices, or other types of computing and / or communication devices. In some embodiments, the computing resources 124 may host the platform 120. Cloud resources may include computing instances running on the computing resources 124, storage devices provided on the computing resources 124, data transfer devices provided by the computing resources 124, etc. In some embodiments, the computing resources 124 may communicate with other computing resources 124 via wired connections, wireless connections, or a combination of wired and wireless connections.

[0035] As shown in FIG. 1, computing resources 124 include a set of cloud resources, such as one or more applications (“APP”) 124-1, one or more virtual machines (“VM”) 124-2, virtualized storage (“VS”) 124-3, one or more hypervisors (“HYP”) 124-4, etc.

[0036] The application 124-1 includes one or more software applications that may be provided to or accessed by the user device 110 and / or the platform 120. The application 124-1 may eliminate the need to install and run a software application on the user device 110. For example, the application 124-1 may include software associated with the platform 120 and / or any other software that may be provided via the cloud computing environment 122. In some embodiments, one application 124-1 may send information to or receive information from one or more other applications 124-1 via the virtual machine 124-2.

[0037] Virtual machine 124-2 includes a software realization of a machine (e.g., a computer) that executes programs, like a physical machine. Virtual machine 124-2 can be a system virtual machine or a process virtual machine, depending on the use and correspondence of virtual machine 124-2 to any real machine. A system virtual machine can provide a complete system platform that supports the execution of a complete operating system ("OS"). A process virtual machine can execute a single program and can support a single process. In some embodiments, virtual machine 124-2 can execute on behalf of a user (e.g., user device 110) and can manage the infrastructure of cloud computing environment 122, such as data management, synchronization, or long-term data transfer.

[0038] Virtualized storage 124-3 includes one or more storage systems and / or one or more devices that use virtualization techniques within the storage systems or devices of computing resources 124. In some embodiments, within the context of storage systems, types of virtualization may include block virtualization and file virtualization. Block virtualization refers to the abstraction (or separation) of logical storage from physical storage, such that a storage system may be accessed without regard to physical storage or heterogeneous structure. This separation may allow administrators of storage systems flexibility in managing how they manage storage for end users. File virtualization may eliminate dependencies between data being accessed at the file level and where the file is physically stored. This may enable optimization of storage usage, server consolidation, and / or performance of non-disruptive file migration.

[0039] The hypervisor 124-4 may provide hardware virtualization technology that allows multiple operating systems (e.g., "guest operating systems") to run simultaneously on a host computer, such as the computing resource 124. The hypervisor 124-4 may provide a virtual operating platform for the guest operating systems and may also manage the execution of the guest operating systems. Multiple instances of different operating systems may share virtualized hardware resources.

[0040] Network 130 may include one or more wired and / or wireless networks. For example, network 130 may include a cellular network (e.g., a fifth generation (5G) network, a long-term evolution (LTE) network, a third generation (3G) network, a code division multiple access (CDMA) network, etc.), a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., a Public Switched Telephone Network (PSTN)), a private network, an ad-hoc network, an intranet, the Internet, an optical fiber-based network, etc., and / or a combination of these or other types of networks.

[0041] The number and arrangement of devices and networks shown in Figure 1 are provided as an example. In practice, there may be additional, fewer, different, or differently arranged devices and / or networks than those shown in Figure 1. Furthermore, two or more devices shown in Figure 1 may be implemented within a single device, or a single device shown in Figure 1 may be implemented as multiple distributed devices. Additionally or alternatively, one set of devices (e.g., one or more devices) of environment 100 may perform one or more functions described as being performed by other sets of devices of environment 100.

[0042] FIG. 2 is a block diagram of example components of one or more devices of FIG.

[0043] The device 200 may correspond to the user device 110 and / or the platform 120. As shown in FIG. 2, the device 200 may include a bus 210, a processor 220, a memory 230, a storage component 240, an input component 250, an output component 260, and a communication interface 270.

[0044] The bus 210 includes components that enable communication between the components of the device 200. The processor 220 is implemented in hardware, software, or a combination of hardware and software. The processor 220 is a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), or other types of processing components. In some embodiments, the processor 220 includes one or more processors that are programmable to perform functions. The memory 230 includes random access memory (RAM), read only memory (ROM), and / or other types of dynamic or static storage devices (e.g., flash memory, magnetic memory, and / or optical memory) that store information and / or instructions used by the processor 220.

[0045] Storage component 240 stores information and / or software related to the operation and use of device 200. For example, storage component 240 may include a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optical disk, and / or a solid-state disk), a compact disc (CD), a digital versatile disc (DVD), a floppy disk, a cartridge, a magnetic tape, and / or other type of non-transitory computer-readable medium and corresponding drive.

[0046] Input components 250 include components that enable device 200 to receive information, for example, via user input (e.g., a touchscreen display, a keyboard, a keypad, a mouse, buttons, switches, and / or a microphone). Additionally or alternatively, input components 250 may include sensors for sensing information (e.g., a global positioning system (GPS) component, an accelerometer, a gyroscope, and / or an actuator). Output components 260 include components that provide output information from device 200 (e.g., a display, a speaker, and / or one or more light-emitting diodes (LEDs)).

[0047] Communications interface 270 includes transceiver-like components (e.g., a transceiver and / or a separate receiver and transmitter) that enable device 200 to communicate with other devices, e.g., via a wired connection, a wireless connection, or a combination of wired and wireless connections. Communications interface 270 can enable device 200 to receive information from and / or provide information to other devices. For example, communications interface 270 can include an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi interface, a cellular network interface, etc.

[0048] The device 200 may perform one or more processes described herein. The device 200 may perform these processes in response to the processor 220 executing software instructions stored by a non-transitory computer-readable medium, such as the memory 230 and / or the storage component 240. Here, a computer-readable medium is defined as a non-transitory memory device. A memory device includes a memory space within a single physical storage device or a memory space distributed across multiple physical storage devices.

[0049] The software instructions are read into the memory 230 and / or storage component 240 from another computer-readable medium or another device via the communications interface 270. The software instructions stored in the memory 230 and / or storage component 240, when executed, may cause the processor 220 to perform one or more processes described herein. Additionally or alternatively, hardwired circuitry may be used in place of or in combination with software instructions to perform one or more processes described herein. Thus, the embodiments described herein are not limited to any specific combination of hardware circuitry and software.

[0050] The number and arrangement of components shown in Figure 2 are provided as an example. In practice, device 200 may include additional, fewer, different, or differently arranged components than those shown in Figure 2. Additionally or alternatively, one set of components (e.g., one or more components) of device 200 may perform one or more functions described as being performed by other sets of components of device 200.

[0051] Next, a method and apparatus for permutation neural residual compression is described in detail.

[0052] The method and apparatus can improve the efficiency of DNN-based residual compression. For each image frame having a residual compressed by an E2E DNN, a replacement residual is generated, which can provide better compression performance than the original residual.

[0053] Residual r with size (h,w,c) t Given a 3D image, where h, w, and c are the height, width, and number of channels, respectively, E2E residual compression produces a compressed representation

[0054]

number

[0055]

number

number

[0056]

number

[0057]

number

number

[0058]

number

[0059] 3 and 4 provide the overall workflow of the encoder and decoder according to an embodiment. There are two distinct phases: a training phase and a testing phase.

[0060] FIG. 3 is a block diagram of a training device 300 for permutation neural residual compression during the training phase, according to an embodiment.

[0061] As shown in FIG. 3, the training device 300 includes a motion estimation component 305, a motion compensation component 310, a subtractor 315, a training DNN encoder 320, a training encoder 325, a training decoder 330, a training DNN decoder 335, an adder 340, a rate loss component 345, a distortion loss component 350, and a data update component 355.

[0062] The goal of the training phase is to compute for each image frame x t For

[0063]

number

[0064]

number

[0065]

number

[0066]

number

[0067]

number

[0068]

number

[0069] The motion compensation component 310 uses the previous reconstructed image frame

[0070]

number

[0071]

number

[0072]

number

[0073] The subtractor 315 subtracts the original image frame x t and the predicted image frame

[0074]

number

[0075]

number

[0076] residual r t Using the input, the training DNN encoder 320 obtains a DNN-encoded representation, and the training encoder 325 obtains a compressed representation based on the DNN-encoded representation.

[0077]

number

[0078] Compressed Representation

[0079]

number

[0080]

number

[0081] In this disclosure, the network structure of the E2E DNN encoder-decoder is not limited in any way as long as it is trainable by gradient backpropagation. In an embodiment, the training encoder 325 and the training decoder 330 use differentiable statistical samplers to approximate the effects of actual quantization and dequantization.

[0082] The adder 340 outputs the reconstructed residual

[0083]

number

[0084]

number

[0085]

number

[0086] In the training phase, the training DNN encoder 320 and the training DNN decoder 335 are first initialized, i.e., the model weights of the training DNN encoder 320 and the training DNN decoder 335 are set based on a predetermined DNN encoder and a predetermined DNN decoder.

[0087] Then, the retraining / fine-tuning process uses the permutation residuals

[0088]

number

[0089]

number

[0090]

number

[0091]

number

[0092] Specifically, the rate loss component 345 estimates the rate loss using a predetermined rate loss estimator.

[0093]

number

[0094]

number

[0095] The distortion loss component 350 is a reconstructed image frame

[0096]

number

[0097]

number

[0098] Data update component 355 is the total loss

[0099]

number

[0100]

number

[0101]

number

[0102] In an embodiment, the weights of the predetermined DNN encoder, the predetermined DNN decoder, and the predetermined rate loss estimator are pre-trained based on a set of pre-trained data, where each training image frame

[0103]

number

[0104]

number

[0105]

number

[0106]

number

[0107]

number

[0108]

number

[0109] FIG. 4 is a block diagram of a testing apparatus 400 for permutation neural residual compression during a testing phase, according to an embodiment.

[0110] As shown in FIG. 4, the test apparatus 400 includes a motion estimation component 305, a motion compensation component 310, a subtractor 315, a test DNN encoder 405, a test encoder 410, a test decoder 415, a test DNN decoder 420, and an adder 340.

[0111] In the test phase of the encoder (i.e., the test DNN encoder 405 and the test encoder 410), the permutation residual

[0112]

number

[0113]

number

[0114] Next, the test decoder 415 generates the reconstructed residual

[0115]

number

[0116] In an embodiment, the test DNN encoder 405 and the test DNN decoder 420 are the same as the training DNN encoder 320 and the training DNN decoder 335, respectively, while the test encoder 410 and the test decoder 415 are different from the training encoder 325 and the training decoder 330, respectively. As mentioned above, the quantization and dequantization process is replaced by a differentiable statistical sampler in the training encoder 325 and the training decoder 330. In the testing phase, the actual quantization and dequantization are performed in the test encoder 410 and the test decoder 415, respectively. In this disclosure, there is no limitation on the quantization and dequantization method used by the test encoder 410 and the test decoder 415.

[0117] Reconstructed residual

[0118]

number

[0119]

number

[0120]

number

[0121]

number

[0122] Motion vector m t and the compressed representation

[0123]

number

[0124] In the test phase of the decoder (i.e., the test decoder 415 and the test DNN decoder 420), the motion vector m t , and the compressed representation

[0125]

number

[0126]

number

[0127]

number

[0128]

number

[0129]

number

[0130]

number

[0131]

number

[0132]

number

[0133]

number

[0134] The above embodiment provides flexibility in bit rate control and target metric control.

[0135]

number

[0136]

number

[0137] FIG. 5 is a flowchart of a method for permutation neural residual compression according to an embodiment.

[0138] In some embodiments, one or more process blocks of Figure 5 may be performed by platform 120. In some embodiments, one or more process blocks of Figure 5 may be performed by another device or group of devices separate from or including platform 120, such as, for example, user device 110.

[0139] As shown in FIG. 5, in operation 510, the method 500 includes estimating a motion vector based on a current image frame and a previous reconstructed image frame.

[0140] In operation 520, the method 500 includes obtaining a predicted image frame based on the estimated motion vector and the previous reconstructed image frame.

[0141] In operation 530, the method 500 includes subtracting the obtained predicted image frame from the current image frame to obtain a displacement residual.

[0142] At operation 540, the method 500 includes obtaining an encoded representation by encoding the obtained permutation residual using a first neural network.

[0143] At operation 550, the method 500 includes compressing the encoded representation.

[0144] The estimation of the motion vectors, the obtaining of the predicted image frame, the obtaining of the displacement residual, the obtaining of the coded representation, and the compressing of the coded representation may be performed by an encoding processor.

[0145] Figure 5 generally illustrates example blocks of method 500, and in some embodiments method 500 may include additional, fewer, different, or differently arranged blocks than those shown in Figure 5. Additionally or alternatively, two or more blocks of method 500 may be performed in parallel.

[0146] FIG. 6 is a flowchart of a method for permutation neural residual compression according to an embodiment.

[0147] In some embodiments, one or more process blocks of Figure 6 may be performed by platform 120. In some embodiments, one or more process blocks of Figure 6 may be performed by another device or group of devices separate from or including platform 120, such as, for example, user device 110.

[0148] As shown in FIG. 6, in operation 610, the method 600 includes decompressing the compressed representation.

[0149] At operation 620, the method 600 includes decoding the decompressed representation using a second neural network to obtain a reconstructed residual.

[0150] In operation 630, the method 600 includes obtaining a reconstructed image frame by adding the obtained reconstructed residual to the obtained predicted image frame.

[0151] The first and second neural networks may be trained by determining a distortion loss based on the obtained reconstructed residual and the obtained permutation residual, determining a rate loss based on the compressed representation, determining a rate-distortion loss gradient based on the determined distortion loss, the determined rate loss and hyper-parameters, and reducing the determined rate-distortion loss gradient by updating the obtained permutation residual.

[0152] The hyperparameters may be set based on a target bitrate of the compressed representation without retraining the first and second neural networks.

[0153] The distortion loss may be determined based on a function set based on a type of target metric of the compressed representation without retraining the first neural network and the second neural network.

[0154] The decompression of the compressed representation, the decoding of the decompressed representation, and obtaining the reconstructed image frame may be performed by a decoding processor. The method may further include obtaining, by the decoding processor, a predicted image frame based on the estimated motion vector and a previous reconstructed image frame.

[0155] Figure 6 illustrates example blocks of method 600, and in some embodiments method 600 may include additional, fewer, different, or differently arranged blocks than those illustrated in Figure 6. Additionally or alternatively, two or more blocks of method 600 may be performed in parallel.

[0156] FIG. 7 is a block diagram of an apparatus 700 for permutation neural residual compression, according to an embodiment.

[0157] As shown in FIG. 7, the apparatus 700 includes an estimation code 710 , a first acquisition code 720 , a subtraction code 730 , an encoding code 740 and a compression code 750 .

[0158] The estimation code 710 is configured to cause the at least one processor to estimate a motion vector based on a current image frame and a previous reconstructed image frame.

[0159] The first acquisition code 720 is configured to cause the at least one processor to acquire a predicted image frame based on the estimated motion vector and a previous reconstructed image frame.

[0160] Subtraction code 730 is configured to cause the at least one processor to subtract the captured predicted image frame from the current image frame to obtain a substitution residual.

[0161] The encoding code 740 is configured to cause the at least one processor to obtain an encoded representation by encoding the obtained permutation residual using a first neural network.

[0162] The compression code 750 is configured to cause the at least one processor to compress the encoded representation.

[0163] The estimation code, the first acquisition code, the subtraction code, the encoding code and the compression code may be configured to cause the encoding processor to perform a function.

[0164] FIG. 8 is a block diagram of an apparatus 800 for permutation neural residual compression, according to an embodiment.

[0165] As shown in FIG. 8, the device 800 includes a decompression code 810, a decode code 820, and an addition code 830.

[0166] The decompression code 810 is configured to cause the at least one processor to decompress the compressed representation.

[0167] The decoding code 820 is configured to cause the at least one processor to decode, using a second neural network, the decompressed representation to obtain a reconstructed residual.

[0168] The addition code 830 is configured to cause the at least one processor to add the obtained reconstructed residual back to the obtained predicted image frame to obtain a reconstructed image frame.

[0169] The first neural network and the second neural network may be trained by determining a distortion loss based on the obtained reconstructed residual and the obtained permutation residual, determining a distortion loss based on the compressed representation, determining a rate-distortion loss gradient based on the determined distortion loss, the determined rate loss and the hyper-parameters, and reducing the determined rate-distortion loss gradient by updating the obtained permutation residual.

[0170] The hyperparameters may be set based on a target bitrate of the compressed representation without retraining the first and second neural networks.

[0171] The distortion loss may be determined based on a function set based on a type of target metric of the compressed representation without retraining the first and second neural networks.

[0172] The decompression code 810, the decode code 820 and the addition code 830 may be configured to cause a decoding processor to perform a function. The apparatus 800 may further include a second acquisition code configured to cause the decoding processor to acquire a predicted image frame based on the estimated motion vector and a previous reconstructed image frame.

[0173] The above embodiments have the following advantages compared with traditional video compression methods. These embodiments can be regarded as a general module that can be applied to any E2E residual compression DNN method. For each individual image frame, its replacement residual can be optimized by an individual retraining / fine-tuning process based on the feedback of its loss, thereby improving the compression performance.

[0174] Furthermore, the above embodiments can achieve flexible bitrate control without retraining / fine-tuning the E2E residual compression model or using multiple models. These embodiments can also change the target compression metric without retraining / fine-tuning the E2E residual compression model.

[0175] The proposed methods may be used alone or in combination in any order. Furthermore, each of the methods (or embodiments), the encoder and the decoder may be realized by a processing circuit (e.g., one or more processors, or one or more integrated circuits). In one example, the one or more processors execute a program stored on a non-transitory computer-readable medium.

[0176] The foregoing disclosure has been illustrated and described, but is not intended to be exhaustive or to limit the implementation to the precise form disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice.

[0177] As used herein, the term component is intended to be interpreted broadly as hardware, software, or a combination of hardware and software.

[0178] Obviously, the systems and / or methods described herein may be implemented in various forms of hardware, software, or a combination of hardware and software. The actual dedicated control hardware or software code used to implement these systems and / or methods is not intended to limit their implementation. Thus, it should be understood that the operations and behavior of the systems and / or methods are described herein without reference to specific software code, and that software and hardware may be designed to implement the systems and / or methods based on the description herein.

[0179] Although combinations of features are recited in a claim and / or disclosed herein, these combinations are not intended to limit the disclosure of possible embodiments. Indeed, many of these features may be combined in ways not specifically recited in the claims and / or disclosed in the specification. Although each dependent claim recited below may directly depend on only one claim, the disclosure of possible embodiments includes the combination of each dependent claim with every other claim in the claim set.

[0180] No element, act, or instruction used herein is construed as critical or essential unless expressly described as such. Additionally, as used herein, the terms "a" and "one" are intended to include one or more items and may be used interchangeably with "one or more." Additionally, as used herein, the term "set" is intended to include one or more items (e.g., related items, unrelated items, combinations of related and unrelated items, etc.) and may be used interchangeably with "one or more." When only one item is intended, the term "a" or similar words are used. Also, as used herein, terms such as "having," "having," and "having" are intended to be open-ended terms. Additionally, the phrase "based on" is intended to mean "based at least in part on" unless expressly stated otherwise.

Claims

1. 1. A method for permutation neural residual compression executed by at least one processor, comprising: estimating a motion vector based on a current image frame and a previous reconstructed image frame; obtaining a predicted image frame based on the estimated motion vector and the previous reconstructed image frame; - subtracting the obtained predicted image frame from the current image frame to obtain a residual; - transforming said obtained residuals using a first neural network to obtain an encoded representation; quantizing the encoded representation to obtain a quantized representation; dequantizing the quantized representation to obtain a dequantized representation; inverse transforming the dequantized representation using a second neural network to obtain a reconstructed residual; and adding the obtained reconstructed residual to the obtained predicted image frame to obtain a reconstructed image frame, The method further comprises: determining a distortion loss based on the obtained reconstructed residual and the obtained residual; determining a rate loss based on the quantized representation; determining a gradient of a rate-distortion loss based on the determined distortion loss, the determined rate loss and hyper-parameters; updating a substitution residual for replacing the residual obtained by backpropagation by decreasing a gradient of the determined rate-distortion loss; training the first neural network and the second neural network; the hyperparameters are set based on a target bitrate of the quantized representation; A method comprising:

2. the distortion loss is determined based on a function established based on a type of target metric of the quantized representation; 2. The method of claim 1 .

3. the steps of estimating a motion vector, obtaining a predicted image frame, obtaining a residual, obtaining an encoded representation, and quantizing the encoded representation are performed by an encoding processor in the processor.

2. The method of claim 1 .

4. dequantizing, by a decoding processor in said processor, the quantized representation to obtain a dequantized representation; inverse transforming, by the decoding processor, the dequantized representation using a second neural network to obtain a reconstructed residual; obtaining, by the decoding processor, the predicted image frame based on the estimated motion vector and the previous reconstructed image frame; and adding, by the decoding processor, the obtained reconstructed residual to the obtained predicted image frame to obtain a reconstructed image frame.

4. The method according to claim 3 .

5. A permutation neural residual compression device, comprising: The apparatus comprises: at least one memory configured to store program code; at least one processor configured to read the program code and to operate according to the instructions of the program code; The program code comprises: estimation code configured to cause the at least one processor to estimate a motion vector based on a current image frame and a previous reconstructed image frame; first acquisition code configured to cause the at least one processor to acquire a predicted image frame based on the estimated motion vector and the previous reconstructed image frame; subtraction code configured to cause the at least one processor to subtract the captured predicted image frame from the current image frame to obtain a residual; encoding code configured to cause the at least one processor to obtain an encoded representation by transforming the obtained residual using a first neural network; quantization code configured to cause the at least one processor to quantize the encoded representation to obtain a quantized representation; and dequantization code configured to cause the at least one processor to dequantize the quantized representation to obtain a dequantized representation; decoding code configured to cause the at least one processor to inverse transform the dequantized representation using a second neural network to obtain a reconstructed residual; and adding code configured to cause the at least one processor to add the obtained reconstructed residual to the obtained predicted image frame to obtain a reconstructed image frame; The program code comprises: determining a distortion loss based on the obtained reconstructed residual and the obtained residual; determining a rate loss based on the quantized representation; determining a gradient of a rate-distortion loss based on the determined distortion loss, the determined rate loss and hyper-parameters; updating a substitution residual for replacing the residual obtained by backpropagation by decreasing a gradient of the determined rate-distortion loss; further comprising training code for training the first neural network and the second neural network; the hyperparameters are set based on a target bitrate of the quantized representation; An apparatus comprising:

6. the distortion loss is determined based on a function established based on a type of target metric of the quantized representation; 6. The apparatus according to claim 5 .

7. the estimation code, the first acquisition code, the subtraction code, the encoding code and the quantization code are configured to cause an encoding processor in the processor to perform a function.

6. The apparatus according to claim 5 .

8. The program code further comprises: dequantization code configured to cause a decoding processor in the processor to dequantize the quantized representation to obtain a dequantized representation; decoding code configured to cause the decoding processor to inverse transform the dequantized representation using a second neural network to obtain a reconstructed residual; second retrieval code configured to cause the decoding processor to derive the predicted image frame based on the estimated motion vector and the previous reconstructed image frame; and an addition code configured to cause the decoding processor to add the obtained reconstructed residual to the obtained predicted image frame to obtain a reconstructed image frame.

8. The apparatus according to claim 7 .

9. A computer program comprising: The computer program, when executed by a computing device comprising a memory in which the computer program is stored and a processor, causes the method according to any one of claims 1 to 4 to be implemented. A computer program comprising:

Citation Information

Patent Citations

  • Encoding method and encoder using the method

    JP1998164597A

  • Digital signal compression encoding method with improved quantization process

    JP2001518247A

  • Selecting motion vector precision

    JP2017508344A

  • Signal processing apparatus and learning method therefor

    US5491776A

  • Encoding device, decoding device, encoding method, and decoding method

    WO2019093234A1