WO2024074373A1 - Quantization of weights in a neural network based compression scheme - Google Patents

Quantization of weights in a neural network based compression scheme Download PDF

Info

Publication number
WO2024074373A1
WO2024074373A1 PCT/EP2023/076733 EP2023076733W WO2024074373A1 WO 2024074373 A1 WO2024074373 A1 WO 2024074373A1 EP 2023076733 W EP2023076733 W EP 2023076733W WO 2024074373 A1 WO2024074373 A1 WO 2024074373A1
Authority
WO
WIPO (PCT)
Prior art keywords
weights
neural network
quantized
distortion
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/EP2023/076733
Other languages
English (en)
French (fr)
Inventor
Bharath Bhushan DAMODARAN
Muhammet BALCILAR
Pierre Hellier
Francois Schnitzler
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
InterDigital CE Patent Holdings SAS
Original Assignee
InterDigital CE Patent Holdings SAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by InterDigital CE Patent Holdings SAS filed Critical InterDigital CE Patent Holdings SAS
Priority to US19/118,678 priority Critical patent/US20260134270A1/en
Priority to CN202380070570.5A priority patent/CN120019651A/zh
Priority to JP2025515588A priority patent/JP2025535652A/ja
Priority to EP23776657.1A priority patent/EP4599589A1/en
Publication of WO2024074373A1 publication Critical patent/WO2024074373A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/98—Adaptive-dynamic-range coding [ADRC]
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00—Computing arrangements based on biological models
    • G06N3/02—Neural networks
    • G06N3/04—Architecture, e.g. interconnection topology
    • G06N3/0495—Quantised networks; Sparse networks; Compressed networks
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00—Computing arrangements based on biological models
    • G06N3/02—Neural networks
    • G06N3/04—Architecture, e.g. interconnection topology
    • G06N3/045—Combinations of networks
    • G06N3/0455—Auto-encoder networks; Encoder-decoder networks
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00—Computing arrangements based on biological models
    • G06N3/02—Neural networks
    • G06N3/08—Learning methods
    • G06N3/084—Backpropagation, e.g. using gradient descent
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00—Arrangements for image or video recognition or understanding
    • G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124—Quantisation
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146—Data rate or code amount at the encoder output
    • H04N19/147—Data rate or code amount at the encoder output according to rate distortion criteria
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/19—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding using optimisation based on Lagrange multipliers
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91—Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00—Computing arrangements based on biological models
    • G06N3/02—Neural networks
    • G06N3/08—Learning methods
    • G06N3/0985—Hyperparameter optimisation; Meta-learning; Learning-to-learn
    • H—ELECTRICITY
    • H03—ELECTRONIC CIRCUITRY
    • H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
    • H03M7/4006—Conversion to or from arithmetic code
    • H03M7/4012—Binary arithmetic codes
    • H03M7/4018—Context adapative binary arithmetic codes [CABAC]
    • H—ELECTRICITY
    • H03—ELECTRONIC CIRCUITRY
    • H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
    • H03M7/4031—Fixed length to variable length coding
    • H03M7/4037—Prefix coding
    • H03M7/4043—Adaptive prefix coding

Definitions

  • At least one of the present embodiments generally relates to a method and an apparatus for encoding (respectively decoding) weights of a neural network, said weights being representative of an image.
  • BACKGROUND Image and video compression is a fundamental task in image processing, which has become crucial in the time of pandemic and increasing video streaming.
  • an encoding method comprises: obtaining weights of a neural network, said weights being representative of an input image; obtaining at least one value representative of a maximum absolute value of weights in a layer of said neural network; quantizing the weights of said layer responsive to said at least one value; and encoding said at least one value and the quantized weights in a bitstream.
  • An encoding apparatus comprises one or more processors and at least one memory coupled to said one or more processors, wherein said one or more processors are configured to perform the method disclosed just above.
  • a decoding method comprises: obtaining a bitstream comprising at least one value representative of a maximum absolute value of weights in a layer of a neural network and quantized weights of said layer; decoding said at least one value and said quantized weights of a neural network from the bitstream; inverse quantizing the quantized weights of said layer responsive to the at least one value to obtain dequantized weights; and reconstructing an image using a neural network parametrized by the dequantized weights.
  • a decoding apparatus comprises one or more processors and at least one memory coupled to said one or more processors, wherein said one or more processors are configured to perform the method disclosed above. Further embodiments that can be used alone or in combination are described herein. One or more embodiments also provide a computer program comprising instructions which when executed by one or more processors cause the one or more processors to perform the method for encoding/decoding image or video data according to any of the embodiments described herein. One or more of the present embodiments also provide a non-transitory computer readable medium and/or a computer readable storage medium having stored thereon instructions for encoding/decoding image or video data according to the methods described herein.
  • One or more embodiments also provide a computer readable storage medium having stored thereon encoded data, e.g. a bitstream, generated according to the methods described herein.
  • One or more embodiments also provide a method and apparatus for transmitting or receiving encoded data, e.g. a bitstream, generated according to the methods described above.
  • FIG.1 illustrates a block diagram of a system within which aspects of the present embodiments may be implemented;
  • FIG.2 illustrates an example of end-to-end neural network based compression system 200 for encoding an image using a deep neural network;
  • FIG.3 illustrates an example of an end-to-end implicit neural network based compression system for encoding an image;
  • FIG.4 illustrates an example of flowchart of a method for encoding according to an embodiment;
  • FIG.5 illustrates an example of an image decoder according to at least one embodiment;
  • FIG.6 illustrates an example of flowchart of a method for decoding according to an embodiment;
  • FIG.7 illustrates a method for training of the INR that is made aware of the quantization according to an embodiment;
  • FIG.8 illustrates an example of flowchart of a method for encoding according to an embodiment;
  • FIG.9 illustrates a model to be used for entropy encoding according to an embodiment;
  • FIG.10 illustrates an example of
  • each of the methods comprises one or more steps or actions for achieving the described method. Unless a specific order of steps or actions is required for proper operation of the method, the order and/or use of specific steps and/or actions may be modified or combined. Additionally, terms such as “first”, “second”, etc. may be used in various embodiments to modify an element, component, step, operation, etc., such as, for example, a “first decoding” and a “second decoding”. Use of such terms does not imply an ordering to the modified operations unless specifically required. So, in this example, the first decoding need not be performed before the second decoding, and may occur, for example, before, during, or in an overlapping time period with the second decoding. FIG.
  • System 100 may be embodied as a device including the various components described below and is configured to perform one or more of the aspects described in this application. Examples of such devices, include, but are not limited to, various electronic devices such as personal computers, laptop computers, smartphones, tablet computers, digital multimedia set top boxes, digital television receivers, personal video recording systems, connected home appliances, and servers. Elements of system 100, singly or in combination, may be embodied in a single integrated circuit, multiple ICs, and/or discrete components. For example, in at least one embodiment, the processing and encoder/decoder elements of system 100 are distributed across multiple ICs and/or discrete components.
  • the system 100 is communicatively coupled to other systems, or to other electronic devices, via, for example, a communications bus or through dedicated input and/or output ports.
  • the system 100 is configured to implement one or more of the aspects described in this application.
  • the system 100 includes at least one processor 110 configured to execute instructions loaded therein for implementing, for example, the various aspects described in this application.
  • Processor 110 may include embedded memory, input output interface, and various other circuitries as known in the art.
  • the system 100 includes at least one memory 120 (e.g., a volatile memory device, and/or a non-volatile memory device).
  • System 100 includes a storage device 140, which may include non-volatile memory and/or volatile memory, including, but not limited to, EEPROM, ROM, PROM, RAM, DRAM, SRAM, flash, magnetic disk drive, and/or optical disk drive.
  • the storage device 140 may include an internal storage device, an attached storage device, and/or a network accessible storage device, as non-limiting examples.
  • System 100 includes an encoder/decoder module 130 configured, for example, to process data to provide an encoded video or decoded video, and the encoder/decoder module 130 may include its own processor and memory.
  • the encoder/decoder module 130 represents module(s) that may be included in a device to perform the encoding and/or decoding functions.
  • a device may include one or both of the encoding and decoding modules.
  • encoder/decoder module 130 may be implemented as a separate element of system 100 or may be incorporated within processor 110 as a combination of hardware and software as known to those skilled in the art.
  • Program code to be loaded onto processor 110 or encoder/decoder module 130 to perform the various aspects described in this application may be stored in storage device 140 and subsequently loaded onto memory 120 for execution by processor 110.
  • one or more of processor 110, memory 120, storage device 140, and encoder/decoder module 130 may store one or more of various items during the performance of the processes described in this application.
  • Such stored items may include, but are not limited to, the input video, the decoded video or portions of the decoded video, the bitstream, matrices, variables, and intermediate or final results from the processing of equations, formulas, operations, and operational logic.
  • memory inside of the processor 110 and/or the encoder/decoder module 130 is used to store instructions and to provide working memory for processing that is needed during encoding or decoding.
  • a memory external to the processing device for example, the processing device may be either the processor 110 or the encoder/decoder module 130) is used for one or more of these functions.
  • the external memory may be the memory 120 and/or the storage device 140, for example, a dynamic volatile memory and/or a non-volatile flash memory.
  • an external non-volatile flash memory is used to store the operating system of a television.
  • a fast external dynamic volatile memory such as a RAM is used as working memory for video coding and decoding operations.
  • the input to the elements of system 100 may be provided through various input devices as indicated in block 105.
  • Such input devices include, but are not limited to, (i) a radio frequency (RF) portion that receives an RF signal transmitted, for example, over the air by a broadcaster, (ii) a Component (COMP) input terminal (or a set of COMP input terminals), (iii) a Universal Serial Bus (USB) input terminal, and/or (iv) a High Definition Multimedia Interface (HDMI) input terminal.
  • RF radio frequency
  • COMP Component
  • USB Universal Serial Bus
  • HDMI High Definition Multimedia Interface
  • the input devices of block 105 have associated respective input processing elements as known in the art.
  • the RF portion may be associated with elements suitable for (i) selecting a desired frequency (also referred to as selecting a signal, or band-limiting a signal to a band of frequencies), (ii) down converting the selected signal, (iii) band-limiting again to a narrower band of frequencies to select (for example) a signal frequency band which may be referred to as a channel in certain embodiments, (iv) demodulating the down converted and band-limited signal, (v) performing error correction, and (vi) demultiplexing to select the desired stream of data packets.
  • a desired frequency also referred to as selecting a signal, or band-limiting a signal to a band of frequencies
  • down converting the selected signal for example
  • band-limiting again to a narrower band of frequencies to select (for example) a signal frequency band which may be referred to as a channel in certain embodiments
  • demodulating the down converted and band-limited signal (v) performing error correction, and (vi) demultiplexing to select the desired stream of data packets
  • the RF portion of various embodiments includes one or more elements to perform these functions, for example, frequency selectors, signal selectors, band-limiters, channel selectors, filters, downconverters, demodulators, error correctors, and demultiplexers.
  • the RF portion may include a tuner that performs various of these functions, including, for example, down converting the received signal to a lower frequency (for example, an intermediate frequency or a near-baseband frequency) or to baseband.
  • the RF portion and its associated input processing element receives an RF signal transmitted over a wired (for example, cable) medium, and performs frequency selection by filtering, down converting, and filtering again to a desired frequency band.
  • Adding elements may include inserting elements in between existing elements, for example, inserting amplifiers and an analog-to-digital converter.
  • the RF portion includes an antenna.
  • the USB and/or HDMI terminals may include respective interface processors for connecting system 100 to other electronic devices across USB and/or HDMI connections. It is to be understood that various aspects of input processing, for example, Reed-Solomon error correction, may be implemented, for example, within a separate input processing IC or within processor 110 as necessary. Similarly, aspects of USB or HDMI interface processing may be implemented within separate interface ICs or within processor 110 as necessary.
  • the demodulated, error corrected, and demultiplexed stream is provided to various processing elements, including, for example, processor 110, and encoder/decoder module 130 operating in combination with the memory and storage elements to process the datastream as necessary for presentation on an output device.
  • Various elements of system 100 may be provided within an integrated housing, Within the integrated housing, the various elements may be interconnected and transmit data therebetween using suitable connection arrangement 115, for example, an internal bus as known in the art, including the I2C bus, wiring, and printed circuit boards.
  • the system 100 includes communication interface 150 that enables communication with other devices via communication channel 190.
  • the communication interface 150 may include, but is not limited to, a transceiver configured to transmit and to receive data over communication channel 190.
  • the communication interface 150 may include, but is not limited to, a modem or network card and the communication channel 190 may be implemented, for example, within a wired and/or a wireless medium.
  • Data is streamed to the system 100, in various embodiments, using a Wi-Fi network such as IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers).
  • IEEE 802.11 IEEE refers to the Institute of Electrical and Electronics Engineers.
  • the Wi-Fi signal of these embodiments is received over the communications channel 190 and the communications interface 150 which are adapted for Wi-Fi communications.
  • the communications channel 190 of these embodiments is typically connected to an access point or router that provides access to outside networks including the Internet for allowing streaming applications and other over-the-top communications.
  • inventions provide streamed data to the system 100 using a set-top box that delivers the data over the HDMI connection of the input block 105. Still other embodiments provide streamed data to the system 100 using the RF connection of the input block 105. As indicated above, various embodiments provide data in a non-streaming manner. Additionally, various embodiments use wireless networks other than Wi-Fi, for example a cellular network or a Bluetooth network.
  • the system 100 may provide an output signal to various output devices, including a display 165, speakers 175, and other peripheral devices 185.
  • the display 165 of various embodiments includes one or more of, for example, a touchscreen display, an organic light-emitting diode (OLED) display, a curved display, and/or a foldable display.
  • OLED organic light-emitting diode
  • the display 165 can be for a television, a tablet, a laptop, a cell phone (mobile phone), or other device.
  • the display 165 can also be integrated with other components (for example, as in a smart phone), or separate (for example, an external monitor for a laptop).
  • the other peripheral devices 185 include, in various examples of embodiments, one or more of a stand-alone digital video disc (or digital versatile disc) (DVR, for both terms), a disk player, a stereo system, and/or a lighting system.
  • DVR digital versatile disc
  • Various embodiments use one or more peripheral devices 185 that provide a function based on the output of the system 100. For example, a disk player performs the function of playing the output of the system 100.
  • control signals are communicated between the system 100 and the display 165, speakers 175, or other peripheral devices 185 using signaling such as AV. Link, CEC, or other communications protocols that enable device-to-device control with or without user intervention.
  • the output devices may be communicatively coupled to system 100 via dedicated connections through respective interfaces 160, 170, and 180. Alternatively, the output devices may be connected to system 100 using the communications channel 190 via the communications interface 150.
  • the display 165 and speakers 175 may be integrated in a single unit with the other components of system 100 in an electronic device, for example, a television.
  • the display interface 160 includes a display driver, for example, a timing controller (T Con) chip.
  • the display 165 and speaker 175 may alternatively be separate from one or more of the other components, for example, if the RF portion of input 105 is part of a separate set-top box.
  • the output signal may be provided via dedicated output connections, including, for example, HDMI ports, USB ports, or COMP outputs.
  • the embodiments can be carried out by computer software implemented by the processor 110 or by hardware, or by a combination of hardware and software. As a non-limiting example, the embodiments can be implemented by one or more integrated circuits.
  • the memory 120 can be of any type appropriate to the technical environment and can be implemented using any appropriate data storage technology, such as optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memory, and removable memory, as non-limiting examples.
  • the processor 110 can be of any type appropriate to the technical environment, and can encompass one or more of microprocessors, general purpose computers, special purpose computers, and processors based on a multi-core architecture, as non-limiting examples.
  • FIG.2 illustrates an example of end-to-end neural network based compression system 200 for encoding an image using a deep neural network.
  • An input image to be encoded, I is first processed by a deep neural network encoder 210 (hereafter identified as deep encoder).
  • the output of the encoder, ⁇ is called the embedding of the image.
  • This embedding is encoded, e.g. into a bitstream 220, by going through a quantizer Q, and then through an entropy encoder, e.g. an arithmetic encoder AE.
  • the resulting bitstream 220 is decoded by going through an entropy decoder, e.g. an arithmetic decoder AD, to reconstruct the quantized embedding ⁇ .
  • the reconstructed quantized embedding can be processed by a deep neural network decoder 230 (hereafter identified as deep decoder or decoder) to obtain the decompressed image Î.
  • the deep encoder and decoder are composed of multiple neural layers, such as convolutional layers.
  • Each neural layer can be described as a function that first multiplies the input by a tensor, adds a vector called the bias and then applies a nonlinear function on the resulting values.
  • the values of the tensor and the bias are denoted by the term “weights”.
  • the weights and, if applicable, the parameters of the non-linear functions, are called the parameters of the network.
  • the encoder and decoder are fixed, based on a predetermined model supposed to be known when encoding and decoding.
  • the encoder and the decoder neural networks are for example trained simultaneously so that they are compatible. Indeed, to learn the weights of the encoder and decoder, the neural network is trained on massive databases D of images.
  • FIG. 3 illustrates an example of an end-to-end implicit neural network (INR) based compression system 300 for encoding an image.
  • the system comprises an encoder 312 generating encoded data, e.g. in the form of a bitstream 320, and a decoder 332.
  • the encoder 312 comprises an INR 310 and the decoder 332 comprises an INR 330.
  • the rate(R)-distortion(D) trade-off is controlled by the number of weights or size of the neural network. So, for different rates, the INR has a different neural network architecture with different number of weights.
  • the INR 310 or 330 maps pixel co-ordinates (x, y) to pixel values, e.g. (R, G, B) values, or other values such as YCbCr, YUV or any other color values of a given color space, e.g.
  • the INR is designed using multi-layer perceptron (MLP) with ‘L’ being a number of layers each comprising desired number of hidden neurons.
  • MLP multi-layer perceptron
  • Each layer can be described as a function that first multiplies the input values by a tensor, adds a bias, and finally transforms the result by a non-linear activation function.
  • the values of the tensor and the bias are denoted by the term “weights” and are denoted ⁇ . These weights are unknown and are to be estimated on the encoder side.
  • Compressing an image I using the INR function ⁇ ⁇ is equivalent to determining these weights for storage or transmission.
  • the image I is first processed by the INR 310 which is responsible for determining weights ⁇ from the image I.
  • the weights ⁇ are encoded, e.g. into a bitstream 320, by going through a quantizer Q, and then through an encoder ENC, e.g. an entropy encoder such as an arithmetic encoder.
  • the resulting bitstream is decoded by going through a decoder DEC to reconstruct quantized weights which are dequantized by an inverse quantizer IQ (a.k.a a de-quantizer).
  • the pixel coordinates of the image to be reconstructed are then inputted into the INR 330 parametrized by the dequantized weights to obtain a reconstructed image Î.
  • the weights ⁇ may be determined by learning on the image I to be encoded. Consequently, each image to be encoded has its own associated weights.
  • the weights ⁇ may be determined by minimizing the following loss function: ⁇ ⁇ ⁇ ⁇ ⁇ 1 ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ , ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ ⁇ ⁇ 1 ⁇
  • the image of size ⁇ ⁇ ⁇ , ⁇ is a distortion which measures the similarity between the reconstructed pixel values, also called predicted pixel values, denoted by ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ , and the actual pixel values of the image I, denoted by I(x,y).
  • ⁇ could be any differentiable distortion measure, such as mean squared error.
  • Perceptual metrics such as LPIPS (learned perceptual image patch similarity) may also be used.
  • the loss is the mean squared error between the neural network’s activation.
  • the weights ⁇ may be determined through a batch gradient descent method or a stochastic gradient descent method.
  • the non-linear activation functions used in the INR plays a crucial role in overfitting the high frequency signals in the underlying image.
  • Sinusoidal activation functions may be used to capture high frequency details and better overfit the image I.
  • constraining the number of weights will decrease the bitlength at the expense of the distortion.
  • Some existing methods for quantizing the weights perform naive quantization of the weights by quantizing 32-bit precision weights to 16-bit precision weights.
  • Post-training quantization or primitive quantization aware training methods may also be used.
  • the compression efficiency of these methods is not optimal, since the INR is not aware of the distortions coming from the post-training quantization’s or quantization method and entropy model is not efficient in existing quantization aware training procedures.
  • Embodiments described hereafter aims at improving the quantization and possibly the entropy encoding to increase the compression efficiency, i.e. reduce the file size of weights with negligible or minimal loss of the reconstruction quality.
  • the principle may also apply to the encoding/decoding of an image (i.e. frame) of a video sequence.
  • the decoding methods disclosed hereafter make it possible to progressively decode the image, e.g. by decoding parts of the image or a low resolution image first, simply by evaluating the function ⁇ ⁇ at various pixel locations, e.g. one out of two pixels. Partially decoding images is difficult with an autoencoder.
  • FIG.4 illustrates an example of flowchart of a method for encoding an image I according to an embodiment.
  • This method may be operated by the encoder 312 of FIG.3 and for example implemented in the system 100 of FIG.1.
  • Let ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ ⁇ , ... , ⁇ ⁇ ⁇ ⁇ be a collection of tensor values, and ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ ⁇ , ... , ⁇ ⁇ ⁇ ⁇ be a collection bias of all the layers with full precision, and ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ ⁇ .
  • weights may be obtained at step S100 by training the neural network with full precision (e.g. 32-bit floating point weights) by minimizing the loss function of Equation (1).
  • a step S110 a maximum absolute value among a type of weights, e.g. among the tensor values or among the bias, in a current layer of index l is obtained.
  • the maximum absolute value is computed over this type of weights (e.g. for the tensor values) as follows: ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ max ⁇
  • the weights in the current layer are quantized responsive to the obtained maximum absolute value to obtain quantized weights.
  • the quantized ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ . ⁇ The number of fixed bit a variant, the value of q may be chosen according to any incoming image to be encoded and may thus vary per image. In this case, the value of q may be encoded in the bitstream and thus decoded on the decoder side.
  • the maximum absolute value ⁇ ⁇ ⁇ ⁇ ⁇ is encoded using n bits, e.g.
  • n 16 bits
  • the quantized weights ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ are encoded for in a bitstream 400 that may be stored on a storage medium or transmitted to another device, e.g. to a decoder.
  • the quantized weights may be directly written in the bitstream using q bits.
  • the quantized weights may be entropy encoded, e.g. using an arithmetic encoder.
  • the elements 410 (encoded maximum absolute value(s)) and 420 (encoded quantized weights) in the bitstream 400 may be arranged in any order or even interleaved in a bitstream. In an example, the above steps S110 to S130 may be repeated for another layer.
  • the above steps S110 to S130 are repeated for all remaining layers and the fixed-bit quantized weights of all the layers are denoted as ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ... , ⁇ ⁇ ⁇ ⁇ ⁇ . Encoding the maximum absolute value of weights for all layers costs ⁇ ⁇ ⁇ bits in addition to the fixed-bit quantized weights.
  • the above steps S110 to S130 may be repeated for the quantization and encoding of another type of weights, e.g. the bias, of one current layer or more than one layer, e.g. for all layers.
  • the quantized bias for layer l are denoted ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ and the maximum absolute value is denoted ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ .
  • the fixed-bit quantized bias of all the layers are denoted as ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ... , ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ .
  • Encoding the maximum absolute value of tensor and bias for the current layer costs 2 ⁇ ⁇ n bits in addition to the network weights.
  • only a subset of the weights may be quantized, e.g., only the biases, only the tensor values and/or only some layers.
  • only a subset of the maximum absolute values are thus signaled in the bitstream, e.g. only ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ... , ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ .
  • the above quantization may be performed at once on all quantized weights rather than in an iterative process over layers. Rather than layer by layer, the aforementioned iterative process may be performed over any subsets of weights, e.g., weight by weight, neuron by neuron, groups of neurons by groups of neurons or any combination of these subsets, including e.g., quantizing some weights of some/all layers at each iteration.
  • FIG.5 illustrates an example of an image decoder 432 according to at least one embodiment.
  • This image decoder 432 is for example implemented in the system 100 of FIG.1 and is adapted to decode encoded data, for example arranged as a bitstream 400, comprising encoded maximum absolute value(s) 410 and encoded quantized weights 420.
  • the encoded maximum absolute value(s) 410 is decoded dec from the bitstream.
  • the encoded quantized weights 420 are decoded DEC and inverse quantized (also called dequantized) responsive to the decoded maximum absolute value(s).
  • the pixel coordinates of the image to be reconstructed are then inputted into the INR 430 parametrized by the dequantized weights to obtain a reconstructed image Î.
  • FIG.6 illustrates an example of flowchart of a method for decoding according to an embodiment.
  • the decoder obtains encoded data, e.g. in the form of a bitstream, received from another device or read from a storage medium.
  • the encoded data e.g. the bitstream 400, comprises at least one maximum absolute value(s) ⁇ ⁇ 410 and the quantized weights ⁇ ⁇ ⁇ 420 for example as depicted on FIG.5.
  • quantized weights ⁇ ⁇ ⁇ and at least one maximum value ⁇ ⁇ are decoded from the bitstream. This step is the inverse of the step S130 on the encoder side.
  • the quantized weights were entropy encoded, they are entropy decoded at S610.
  • the decoded quantized weights are inverse quantized.
  • the dequantized weight is obtained as follows: ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ .
  • the same principle may apply to all layers and all types of weights, e.g. the bias, or a of them depending on what was encoded.
  • FIG.7 illustrates a method for training of the INR that is made aware of the quantization according to an embodiment. This method may be used to obtain, at the step S100, the weights to be encoded. Quantization aware training may start from already trained model’s weights ⁇ ⁇ with full precision (e.g. 32-bit floating point weights). Said otherwise, initial weights are obtained at a step S100-1, e.g. weights ⁇ ⁇ . In a variant, default random initialization of weights may be obtained instead.
  • a reconstruction loss is computed as follows: ⁇ ⁇ ⁇ ⁇ ⁇ 1 ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ , ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ ⁇ ⁇ 2 ⁇ This loss function quantized model’s prediction, i.e.
  • a step S100-5 the weights are updated responsive to reconstruction loss using a batch gradient descent method or a stochastic gradient descent method. These steps S100-2 to S100-5 are repeated until a stop criteria is reached S100-6.
  • the quantization aware-training based on a loss function defined from a distortion between quantized model’s prediction ⁇ ⁇ ⁇ ⁇ , ⁇ and original input image I is modified to include a regulation term ⁇ with a hyperparameter ⁇ .
  • T is the distortion between an image reconstructed from the neural network INR parametrized with dequantized weights ⁇ ⁇ ⁇ and an image reconstructed from the neural network INR parametrized with full-precision weights ⁇ ⁇ .
  • the following loss function is minimized : 1 ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ , ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ , ⁇ ⁇ ⁇ ⁇ 4 ⁇
  • the unquantized model ’s prediction ⁇ ⁇ ⁇ ⁇ , ⁇ at current iteration.
  • T is the distortion between an image reconstructed from the neural network INR parametrized with dequantized weights ⁇ ⁇ ⁇ and an image reconstructed from the neural network INR parametrized with unquantized weights ⁇ .
  • the following loss function is minimized: 1 ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ , ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ , ⁇ ⁇ ⁇ 5 ⁇
  • the forward pass designates the flow direction from "input" to "output”.
  • the backward pass designates the flow direction from "output” to "input”, hereinafter gradients are propagated backwards.
  • the quantized model ⁇ ⁇ ⁇ ⁇ ⁇ could not converge to the high frequency components in the original image, at least it tries to converge to the full-precision model’s prediction ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ which has less higher frequency component than the original image.
  • This regularization term thus helps the optimization especially for higher quality. In order to have a faster encoding it is sufficient to minimize only the regularization term in equation (4), i.e. ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ , ⁇ ⁇ ⁇ ⁇ , ⁇ .
  • the hyperparameter ⁇ may be chosen once and used for a whole dataset, or it be tuned according to a specific image.
  • the training may be performed in multiple devices for each hyperparameter of a set of hyperparameters, e.g. using the faster encoding, rather than encoding on a single device.
  • the weights corresponding to the lower loss are the ones that are quantized and encoded. Having an image specific hyperparameter ⁇ results in better performance.
  • the gradients are computed using straight-through-estimator (STE), and weights are updated with any optimizers.
  • the weights (tensor values and/or bias) are quantized to q-bits and encoded.
  • the steps S110 to S130 apply on the weights obtained by the above training method.
  • a maximum absolute value is determined per layer and per type of weights (tensor, bias, etc).
  • the weights obtained by the above training method are quantized responsive to the obtained maximum absolute value(s).
  • FIG.8 illustrates an example of flowchart of a method for encoding an image I according to another embodiment.
  • This method may be operated by the encoder 312 of FIG.3 and for example implemented in the system 100 of FIG.1.
  • the steps identical to the steps of the encoding method depicted on FIG.4 are identified on FIG.9 with the same numeral references.
  • the method comprises the steps S100, S110 and S120.
  • the quantized weights may be directly written in the bitstream using q bits.
  • they may also be encoded using various methods, e.g. entropy encoding method and more particularly arithmetic encoding method to gain additional compression efficiency.
  • the entropy encoding may take advantage of the weight distribution shape, and model the q-bit quantized weights ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ , ⁇ ⁇ ⁇ ⁇ ] to follow explicit univariate probability distribution, that is a fixed probability P border for the border values (it is -127and ⁇ 127 for 8-bit quantization or more generally –(2 q-1 -1) and +(2 q-1 -1) for q-bits quantization) and gaussian distribution G for the rest of the symbols as illustrated on FIG.9. Indeed, in every layer, there is at least one symbol whose value is the maximum absolute (either positive or negative).
  • the remaining symbols may follow a truncated gaussian distribution with a support of [-126 +126] and total probability of 1 ⁇ 2 ⁇ / ⁇ ⁇ ⁇ ⁇ .
  • the parameters of the gaussian distribution can be calculated by encoded symbols’ statistics whose values are not -127 or +127.
  • the parameters of the gaussian distribution’s mean ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ and variance ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ may be estimated from ⁇ ⁇ ⁇ .
  • the probability of each symbol may be defined as follows in the case where ⁇ . ; ⁇ , ⁇ ⁇ ⁇ is the gaussian distribution with given parameters ⁇ , ⁇ ⁇ .
  • ⁇ ⁇ may be encoded in the bitstream
  • the probabilities of the border values may include a term from the Gaussian distribution as defined below: 2 ⁇ ⁇ ⁇ ; ⁇ , ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ 126 ⁇ ⁇ ⁇ ⁇ 126
  • additional information may be included in the bitstream, e.g., ⁇ ⁇ or one or more bits signaling the choice made for each image.
  • FIG.10 illustrates an example of an image decoder 532 according to at least one embodiment.
  • This decoder 532 is for example implemented in the system 100 of FIG.1 and is adapted to decode encoded data, for example arranged as a bitstream 500, comprising entropy model parameters 510 mean ⁇ and standard deviation ⁇ (or variance ⁇ ⁇ ), encoded maximum absolute value(s) 515 and encoded quantized weights 520.
  • the encoded maximum absolute value(s) are decoded dec from the bitstream.
  • the parameters of the entropy model are decoded D.
  • the encoded quantized weights 520 are entropy decoded by an entropy decoder AD whose probability model is parametrized by the parameters ⁇ and ⁇ ⁇ and further by the fixed probability border value P border .
  • the decoded quantized weights are inverse quantized (also called dequantized) responsive to the decoded maximum absolute value(s).
  • the pixel coordinates of the image to be reconstructed are then inputted into the INR 530 parametrized by the dequantized weights to obtain a reconstructed image Î.
  • FIG.11 illustrates an example of flowchart of a method for decoding according to an embodiment. This method may be operated by the decoder 332 of FIG.3 or 532 of FIG.10 and for example implemented in the system 100 of FIG.1.
  • the decoder obtains encoded data, e.g. in the form of a bitstream, received from another device or read from a storage medium.
  • the encoded data comprises at least one maximum absolute value(s) ⁇ , quantized weights ⁇ ⁇ ⁇ , a mean ⁇ and a standard deviation ⁇ (or the variance ⁇ ⁇ ) of a probability model for example as depicted on FIG.9.
  • the mean ⁇ and standard deviation ⁇ (or variance ⁇ ⁇ ) and the at least one maximum absolute value ⁇ ⁇ are decoded from the bitstream.
  • a step S920 the quantized weights that were entropy encoded are entropy decoded using the probability model defined as a truncated Gaussian distribution whose parameters are ⁇ and ⁇ ⁇ and further defined by the fixed probability border value P border .
  • This step is the inverse of the entropy encoding step.
  • the decoded quantized weights are inverse quantized responsive to the decoded maximum absolute value. As an example, for a current layer l and for a tensor value, the dequantized weight is obtained as follows: ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ .
  • a step S940 the pixel coordinates of the image to be reconstructed are then inputted into the INR 330 parametrized by the dequantized weights to obtain the reconstructed image Î.
  • FIG.12 shows a rate distortion curve averaged over all the images in the Kodak dataset and shows that the proposed method 600 has a significant gain over the competitors, known as coin 610 and coin++ 620. To quantify the gain in %, the BD rate gain is computed.
  • FIG 13 shows an average gain of the disclosed method 700 of 41.8% over the coin method 710 and FIG.14 shows an average gain of the disclosed method 800 of 31.5% over the coin++ 810.
  • the regularization term T brings about 10% gain over just using 8-bit quantization with entropy coding.
  • the methods disclosed are generic and can be applied up to any INR based image/video codecs. Unless indicated otherwise, or technically precluded, the aspects described in this application can be used individually or in combination. Various numeric values are used in the present application. The specific values are for example purposes and the aspects described are not limited to these specific values. Various implementations involve decoding.
  • Decoding may encompass all or part of the processes performed, for example, on a received encoded sequence in order to produce a final output suitable for display.
  • processes include one or more of the processes typically performed by a decoder, for example, entropy decoding and inverse quantization.
  • decoding process is intended to refer specifically to a subset of operations or generally to the broader decoding process will be clear based on the context of the specific descriptions and is believed to be well understood by those skilled in the art.
  • Various implementations involve encoding.
  • “encoding” as used in this application may encompass all or part of the processes performed, for example, on an input video sequence in order to produce an encoded bitstream.
  • the implementations and aspects described herein may be implemented in, for example, a method or a process, an apparatus, a software program, a data stream, or a signal. Even if only discussed in the context of a single form of implementation (for example, discussed only as a method), the implementation of features discussed may also be implemented in other forms (for example, an apparatus or program).
  • An apparatus may be implemented in, for example, appropriate hardware, software, and firmware.
  • the methods may be implemented in, for example, an apparatus, for example, a processor, which refers to processing devices in general, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device.
  • processors also include communication devices, for example, computers, cell phones, portable/personal digital assistants (“PDAs”), and other devices that facilitate communication of information between end-users.
  • PDAs portable/personal digital assistants
  • this application or its claims may refer to “determining” various pieces of information. Determining the information may include one or more of, for example, estimating the information, calculating the information, predicting the information, or retrieving the information from memory. Further, this application or its claims may refer to “accessing” various pieces of information. Accessing the information may include one or more of, for example, receiving the information, retrieving the information (for example, from memory), storing the information, moving the information, copying the information, calculating the information, predicting the information, or estimating the information.
  • Receiving is, as with “accessing”, intended to be a broad term.
  • Receiving the information may include one or more of, for example, accessing the information, or retrieving the information (for example, from memory or optical media storage).
  • “receiving” is typically involved, in one way or another, during operations such as, for example, storing the information, processing the information, transmitting the information, moving the information, copying the information, erasing the information, calculating the information, determining the information, predicting the information, or estimating the information.
  • any of the following “/”, “and/or”, and “at least one of”, for example, in the cases of “A/B”, “A and/or B” and least one of A and B”, is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of both options (A and B).
  • such phrasing is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of the third listed option (C) only, or the selection of the first and the second listed options (A and B) only, or the selection of the first and third listed options (A and C) only, or the selection of the second and third listed options (B and C) only, or the selection of all three options (A and B and C).
  • This may be extended, as readily apparent by one of ordinary skill in this and related arts, for as many items listed.
  • the word “signal” refers to, among other things, indicating something to a corresponding decoder.
  • the encoder signals a quantization matrix for de-quantization, or at least one value representative of a maximum absolute value of weights in a layer of said neural network, quantize weights, mean and standard deviation of a gaussian distribution.
  • the same parameter is used at both the encoder side and the decoder side.
  • an encoder can transmit (explicit signaling) a particular parameter to the decoder so that the decoder can use the same particular parameter.
  • signaling can be used without transmitting (implicit signaling) to simply allow the decoder to know and select the particular parameter. By avoiding transmission of any actual functions, a bit savings is realized in various embodiments. It is to be appreciated that signaling can be accomplished in a variety of ways. For example, one or more syntax elements, flags, and so forth are used to signal information to a corresponding decoder in various embodiments. While the preceding relates to the verb form of the word “signal”, the word “signal” can also be used herein as a noun.
  • implementations may produce a variety of signals formatted to carry information that may be, for example, stored or transmitted.
  • the information may include, for example, instructions for performing a method, or data produced by one of the described implementations.
  • a signal may be formatted to carry the bitstream of a described embodiment.
  • Such a signal may be formatted, for example, as an electromagnetic wave (for example, using a radio frequency portion of spectrum) or as a baseband signal.
  • the formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream.
  • the information that the signal carries may be, for example, analog or digital information.
  • the signal may be transmitted over a variety of different wired or wireless links, as is known.
  • An encoding method comprises: obtaining weights of a neural network, said weights being representative of an input image; obtaining at least one value representative of a maximum absolute value of weights in a layer of said neural network; quantizing the weights of said layer responsive to said at least one value; and encoding said at least one value and the quantized weights in a bitstream.
  • quantizing the weights of said layer responsive to said at least one value comprises: dividing the weights by the at least one value to obtain normalized weights; and quantizing the normalized weights using a fixed-bit quantizer.
  • encoding the quantized weights comprises entropy coding the quantized weights using a probability model defined by a fixed probability for border symbol values and a gaussian distribution for remaining symbols.
  • a mean and a standard deviation of said gaussian distribution are encoded in the bitstream.
  • obtaining weights of a neural network comprises minimizing a distortion between the input image and an image reconstructed from a neural network parametrized by dequantized weights.
  • obtaining weights of a neural network comprises minimizing a loss function being a weighted sum between a first a distortion and a second distortion, wherein the first distortion is a distortion between the input image and an image reconstructed from the neural network parametrized by dequantized weights and the second distortion is a distortion between an image reconstructed from the neural network parametrized by fixed weights with a full precision and an image reconstructed from the neural network parametrized by dequantized weights.
  • obtaining weights of a neural network comprises minimizing a loss function being a weighted sum between a first a distortion and a second distortion, wherein the first distortion is a distortion between the input image and an image reconstructed from the neural network parametrized by dequantized weights and the second distortion is a distortion between an image reconstructed from the neural network parametrized by non-quantized weights and an image reconstructed from the neural network parametrized by dequantized weights.
  • weights belong to a set of weights comprising a bias and a tensor value.
  • a decoding method comprises: obtaining a bitstream comprising at least one value representative of a maximum absolute value of weights in a layer of a neural network and quantized weights of said layer; decoding said at least one value and said quantized weights of a neural network from the bitstream; inverse quantizing the quantized weights of said layer responsive to the at least one value to obtain dequantized weights; and reconstructing an image using a neural network parametrized by the dequantized weights.
  • inverse quantizing the weights of said layer responsive to said at least one value comprises: inverse quantizing the quantized weights using a fixed-bit quantizer; and multiplying the inverse quantized weights with the at least one value to obtain dequantized weights.
  • decoding the quantized weights comprises entropy decoding the quantized weights using a probability model defined by a fixed probability for border symbol values and a gaussian distribution for remaining symbols.
  • a mean and a standard deviation of said gaussian distribution are decoded from the bitstream.
  • said weights belong to a set of weights comprising a bias and a tensor value.
  • An encoding apparatus comprises one or more processors and at least one memory coupled to said one or more processors, wherein said one or more processors are configured to perform the encoding method according to any one of the examples previously disclosed.
  • a decoding apparatus comprises one or more processors and at least one memory coupled to said one or more processors, wherein said one or more processors are configured to perform the decoding method according to any one of the examples previously disclosed.
  • a computer program is disclosed that comprises program code instructions for implementing the encoding or decoding methods when executed by a processor.
  • a computer readable storage medium is disclosed that has stored thereon instructions for implementing the encoding or decoding methods.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
PCT/EP2023/076733 2022-10-04 2023-09-27 Quantization of weights in a neural network based compression scheme Ceased WO2024074373A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US19/118,678 US20260134270A1 (en) 2022-10-04 2023-09-27 Quantization of weights in a neural network based compression scheme
CN202380070570.5A CN120019651A (zh) 2022-10-04 2023-09-27 基于神经网络的压缩方案中的权重的量化
JP2025515588A JP2025535652A (ja) 2022-10-04 2023-09-27 ニューラルネットワークベースの圧縮方式における重みの量子化
EP23776657.1A EP4599589A1 (en) 2022-10-04 2023-09-27 Quantization of weights in a neural network based compression scheme

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP22306480 2022-10-04
EP22306480.9 2022-10-04

Publications (1)

Publication Number Publication Date
WO2024074373A1 true WO2024074373A1 (en) 2024-04-11

Family

ID=83691537

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2023/076733 Ceased WO2024074373A1 (en) 2022-10-04 2023-09-27 Quantization of weights in a neural network based compression scheme

Country Status (5)

Country Link
US (1) US20260134270A1 (enExample)
EP (1) EP4599589A1 (enExample)
JP (1) JP2025535652A (enExample)
CN (1) CN120019651A (enExample)
WO (1) WO2024074373A1 (enExample)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024256314A1 (en) * 2023-06-13 2024-12-19 Interdigital Ce Patent Holdings, Sas Signaling for implicit neural representation reconstruction
CN121168534A (zh) * 2025-11-19 2025-12-19 上海壁仞科技股份有限公司 基于对数量化的编解码方法和人工智能芯片
EP4765808A1 (en) * 2024-12-18 2026-06-24 InterDigital CE Patent Holdings, SAS Quantization aware training for dictionary-driven implicit neural representation for image and video compression

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021254856A1 (en) * 2020-06-18 2021-12-23 Interdigital Vc Holdings France, Sas Systems and methods for encoding/decoding a deep neural network
US20220116610A1 (en) * 2019-11-22 2022-04-14 Tencent America LLC Method and apparatus for quantization, adaptive block partitioning and codebook coding for neural network model compression

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220116610A1 (en) * 2019-11-22 2022-04-14 Tencent America LLC Method and apparatus for quantization, adaptive block partitioning and codebook coding for neural network model compression
WO2021254856A1 (en) * 2020-06-18 2021-12-23 Interdigital Vc Holdings France, Sas Systems and methods for encoding/decoding a deep neural network

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
BHARATH B DAMODARAN (INTERDIGITAL) ET AL: "[INVR] Regularized quantization aware training for the compression of 2D INVR: All intra experiments", no. m63049, 17 April 2023 (2023-04-17), XP030310041, Retrieved from the Internet <URL:https://dms.mpeg.expert/doc_end_user/documents/142_Antalya/wg11/m63049-v1-m63049.zip m63049.docx> [retrieved on 20230417] *
CAMERON GORDON ET AL: "On Quantizing Implicit Neural Representations", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 1 September 2022 (2022-09-01), XP091308424 *
DAMODARAN BHARATH BHUSHAN ET AL: "RQAT-INR: Improved Implicit Neural Image Compression", 2023 DATA COMPRESSION CONFERENCE (DCC), IEEE, 21 March 2023 (2023-03-21), pages 208 - 217, XP034345992, DOI: 10.1109/DCC55655.2023.00029 *
EMILIEN DUPONT ET AL: "COIN++: Data Agnostic Neural Compression", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 30 January 2022 (2022-01-30), XP091141793 *
WEN-PU CAI ET AL: "Weight Normalization based Quantization for Deep Neural Network Compression", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 1 July 2019 (2019-07-01), XP081387914 *
YANNICK STR\"UMPLER ET AL: "Implicit Neural Representations for Image Compression", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 8 December 2021 (2021-12-08), XP091115347 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024256314A1 (en) * 2023-06-13 2024-12-19 Interdigital Ce Patent Holdings, Sas Signaling for implicit neural representation reconstruction
EP4765808A1 (en) * 2024-12-18 2026-06-24 InterDigital CE Patent Holdings, SAS Quantization aware training for dictionary-driven implicit neural representation for image and video compression
WO2026131297A1 (en) * 2024-12-18 2026-06-25 Interdigital Ce Patent Holdings, Sas Quantization aware training for dictionary-driven implicit neural representation for image and video compression
CN121168534A (zh) * 2025-11-19 2025-12-19 上海壁仞科技股份有限公司 基于对数量化的编解码方法和人工智能芯片

Also Published As

Publication number Publication date
CN120019651A (zh) 2025-05-16
EP4599589A1 (en) 2025-08-13
US20260134270A1 (en) 2026-05-14
JP2025535652A (ja) 2025-10-28

Similar Documents

Publication Publication Date Title
US20260134270A1 (en) Quantization of weights in a neural network based compression scheme
WO2024184044A1 (en) Coding unit based implicit neural representation (inr)
WO2020190696A1 (en) Low displacement rank based deep neural network compression
US12556720B2 (en) Learned video compression and connectors for multiple machine tasks
WO2025219070A1 (en) Method and device for image enhancement based on residual coding using invertible deep network
TWI875777B (zh) 編碼深度神經網路之系統及方法
US20260067479A1 (en) Fine-tuning a limited set of parameters in a deep coding system for images
EP4728736A1 (en) Adaptive fourier mapping for implicit neural representation
US20260136032A1 (en) Training method of an end-to-end neural network based compression system
US20260112069A1 (en) Method and device for fine-tuning a selected set of parameters in a deep coding system
US20260172574A1 (en) Entropy adaptation for deep feature compression using flexible networks
CN121773431A (zh) 针对隐式神经表示的扭曲层格式
CN122719983A (zh) Inr网络的多尺度字典学习和训练
WO2025011945A1 (en) Video compression using an implicit neural representation network
WO2025140843A1 (en) Multiple frequency fourier mapping for implicit neural representation based compression
EP4591576A1 (en) Deep neural network based image compression using a latent shift based on gradient of latents entropy
CN122642014A (zh) 用于图像和视频压缩的由更新的字典驱动的隐式神经表示
CN121890072A (zh) 字典驱动的用于图像和视频压缩的隐式神经表示
CN122680738A (zh) 多定义隐式神经表示视频编码

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23776657

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2025515588

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2025515588

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 202517024565

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 202380070570.5

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 202517024565

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2023776657

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2023776657

Country of ref document: EP

Effective date: 20250506

WWP Wipo information: published in national office

Ref document number: 202380070570.5

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 2023776657

Country of ref document: EP