Video and feature coding for multi-task machine learning

By introducing the neural network backbone and task-specific head structure into video encoding, efficient encoding and decoding of videos and features is achieved, solving the problems of resource waste and inefficiency in multi-task machine learning environments in traditional technologies, and is suitable for hybrid applications Systematic video processing.

CN118742904APending Publication Date: 2024-10-01OP SOLUTIONS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202280091631.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-12-23
Filing Date
2022-12-21
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Traditional video encoding technology suffers from inefficiencies in multi-task machine learning environments, especially when video data for human vision and machine consumption need to be processed simultaneously, resulting in a waste of resources and increased computational complexity.

Method used

A task-specific decoder is designed, which uses a combined structure of a neural network backbone and a head. It encodes and decodes video and features through a bitstream structure, supports multi-task machine learning, and uses a neural network backbone and a task-specific head. Perform feature extraction and video decoding to achieve efficient encoding and decoding of videos and features.

Benefits of technology

It improves the efficiency of video encoding and decoding, reduces the consumption of computing resources, supports multi-task machine learning, is suitable for video processing in hybrid systems, and improves the processing capabilities of video data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118742904A_ABST
    Figure CN118742904A_ABST
Patent Text Reader

Abstract

A system and method for video and feature coding of a neural network structure for multitasking machine learning includes an encoder, a decoder, and a decoder-compliant bitstream. A task-specific video decoder includes a first decoder that receives a bitstream having at least one feature and a description of a neural network backbone for generating the bitstream; and a task-specific neural network header. The neural network header recreates a neural network backbone from the description, receives features from the bitstream, and generates a task-specific output.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. Provisional Patent Application S / N. 63 / 293,157, filed on December 23, 2021, entitled “VIDEO AND FEATURE CODING FOR MULTI-TASK MACHINE LEARNING,” and also claims priority to U.S. Provisional Patent Application S / N. 63 / 293,217, filed on December 23, 2021, entitled “SYSTEMS AND METHODS FOR ADAPTIVE NETWORK OPTIMIZATION FOR MULTIPLE TASK FEATURE CODING,” the disclosures of which are hereby incorporated by reference in their entirety. Technical Field

[0003] The present invention generally relates to the field of video encoding and decoding. In particular, the present invention relates to systems and methods for video and feature encoding for multi-task machine learning. Background Art

[0004] A video codec may include electronic circuits or software that compresses or decompresses digital video. It can convert uncompressed video to a compressed format, or vice versa. In the context of video compression, a device that compresses video (and / or performs some of its functions) may generally be referred to as an encoder, and a device that decompresses video (and / or performs some of its functions) may be referred to as a decoder.

[0005] The format of the compressed data may conform to standard video compression specifications. The compression may be lossy in that the compressed video lacks some information present in the original video. The result may include that the decompressed video may have a lower quality than the original uncompressed video because there is not enough information to accurately reconstruct the original video.

[0006] There can be a complex relationship between video quality, the amount of data used to represent the video (e.g., determined by the bitrate), the complexity of the encoding and decoding algorithms, sensitivity to data loss and errors, ease of editing, random access, end-to-end delay (e.g., latency), and so on.

[0007] Motion compensation may include methods of predicting a video frame or a portion thereof given a reference frame, such as a previous and / or future frame, by taking into account the motion of the camera and / or objects in the video. It may be used for encoding and decoding of video data for video compression, such as for encoding and decoding using the Advanced Video Coding (AVC) standard (also known as H.264) of the Moving Picture Experts Group (MPEG). Motion compensation may describe a picture based on a transformation from a reference picture to a current picture. The reference picture may be previous in time when compared to the current picture, and may be future when compared to the current picture. Compression efficiency may be improved when images can be accurately synthesized from previously transmitted and / or stored images.

[0008] While video content is typically thought of as being for human consumption, there is a growing demand for video in industrial settings and other environments where content is evaluated by machines rather than humans.

[0009] Recent trends in robotics, surveillance, monitoring, IoT, etc. have introduced use cases where a large portion of all images and videos recorded in the field are only consumed by machines, without ever reaching human eyes. These machines process images and videos with the goal of completing tasks such as object detection, object tracking, segmentation, event detection, etc. Recognizing that this trend is pervasive and will only accelerate in the future, international standardization bodies have worked to standardize image and video coding that is primarily optimized for machine consumption. For example, in addition to already established standards such as Compact Descriptors for Visual Search and Compact Descriptors for Video Analytics, standards like JPEG AI and Video Coding for Machines have been launched. Therefore, it is increasingly important in the art to further improve the encoding and decoding of videos consumed by machines and hybrid systems where both human viewers and machines consume the video.

[0010] In many applications, such as surveillance systems with multiple cameras, smart transportation, smart city applications, and / or smart industrial applications, traditional video encoding may need to compress large amounts of video from cameras and transmit over the network for machine consumption and for human consumption. Subsequently, at the machine site, algorithms for feature extraction can typically be applied using convolutional neural networks or deep learning techniques, including object detection, event action recognition, pose estimation, etc. Summary of the invention

[0011] A task-specific decoder is provided, comprising a first decoder receiving a bitstream having at least one feature and a description of a neural network backbone used by an encoder to generate the bitstream encoded therein. The task-specific decoder also comprises a neural network head, the neural network head being trained for a specific task. The neural network head receives the backbone description from the first decoder and recreates the neural network backbone. The neural network head also receives at least one feature and an output of the neural network backbone and generates a task-specific output.

[0012] In some embodiments, the first decoder includes a video decoder and a feature decoder. The task-specific decoder may also include a bitstream parser that receives the bitstream and provides a neural network description substream to the video decoder and a feature substream to the feature decoder.

[0013] In some embodiments, the first decoder may include a neural network description decoder and a feature / video decoder. In this case, a bitstream parser may be provided that parses the received bitstream to provide a neural network description substream to the neural network description decoder and a feature substream to the feature / video decoder.

[0014] The task-specific decoder may include a plurality of neural network heads, each neural network head being trained for a specific task. Preferably, each neural network head receives the at least one feature and the output of the neural network backbone and generates a task-specific output.

[0015] A bitstream structure is also provided. The bitstream includes a stream level header, a feature sub-bitstream, a video sub-bitstream and a neural network description sub-stream. The feature sub-bitstream preferably also includes a feature stream header and a feature stream payload. The video sub-bitstream preferably includes a video stream header and a video stream payload. The neural network sub-bitstream preferably includes a neural network stream header and a neural network feature stream payload.

[0016] These and other aspects and features of non-limiting embodiments of the present invention will become apparent to those skilled in the art after reading the following description of specific non-limiting embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] For the purpose of illustrating the present invention, the accompanying drawings show various aspects of one or more embodiments of the present invention. However, it should be understood that the present invention is not limited to the precise arrangements and instrumentalities shown in the accompanying drawings, in which:

[0018] Figure 1 is a simplified block diagram illustrating an exemplary embodiment of a video encoding system;

[0019] Figure 2 is a simplified block diagram further illustrating an exemplary embodiment of video encoding for a machine system;

[0020] Figure 3 is a simplified block diagram illustrating an exemplary embodiment of a system for encoding and decoding video for machine consumption as described in the present disclosure;

[0021] Figure 4 is a block diagram further illustrating an exemplary embodiment of a system for adaptive neural network optimization for multi-task feature encoding;

[0022] Figure 5 is a block diagram further illustrating an exemplary embodiment of a machine process having a decoder output as an input for task completion;

[0023] Figure 6 is a schematic diagram illustrating an exemplary embodiment of a neural network as described in the present disclosure;

[0024] FIG7 is a schematic diagram illustrating an exemplary embodiment of multi-task learning as described in the present disclosure;

[0025] Figure 8 is a block diagram illustrating an exemplary embodiment of an encoder as described in the present disclosure;

[0026] Fig. 9 is a block diagram illustrating an exemplary embodiment of a decoder as described in the present disclosure;

[0027] Fig.10 is a block diagram illustrating an exemplary embodiment of a bitstream as described in the present disclosure;

[0028] Fig.11 is a schematic diagram illustrating an exemplary embodiment of a pruned neural network;

[0029] Fig.12 is a block diagram illustrating an exemplary embodiment of a machine learning module;

[0030] Fig.13 is a schematic diagram illustrating an exemplary embodiment of a neural network;

[0031] Fig.14 is a schematic diagram illustrating an exemplary embodiment of a node of a neural network;

[0032] Fig.15 is a block diagram illustrating an exemplary embodiment of a video decoder;

[0033] Fig.16 is a block diagram illustrating an exemplary embodiment of a video encoder; and

[0034] Fig.17 is a block diagram of a computing system that can be used to implement any one or more of the methods disclosed herein, or any one or more portions thereof.

[0035] The drawings are not necessarily drawn to scale and may be illustrated with phantom lines, diagrammatic representations and incomplete views. In certain instances, details that are not necessary for understanding the embodiments or that render other details difficult to perceive may have been omitted. DETAILED DESCRIPTION

[0036] Figure 1 An exemplary embodiment of a VVC-compliant encoding / decoding system including a channel applied to a machine is shown. Unfortunately, conventional approaches may require a large amount of video transmission from multiple cameras, which may take a lot of time to make efficient and fast real-time analysis and decisions. In some embodiments, the VCM approach can solve this problem by encoding the video at the transmitter site and extracting some features, and then transmitting the resulting encoded bitstream to a VCM decoder. At the decoder site, the video can be decoded for human vision, and the features can be decoded for machines. As used herein, the term VCM refers broadly to video encoding and decoding for machine consumption, and is not limited to a specific proposed protocol.

[0037] "Features" used in this disclosure are specific structures and / or content attributes of data. Examples of features may include SIFT, audio features, color histograms (hist), motion histograms, speech levels, loudness levels, etc. Features may be timestamped. Each feature may be associated with a single frame in a set of frames. Features may include high-level content features, such as timestamps, labels of people and objects in the video, coordinates of objects and / or regions of interest, frame masks for region-based quantization, and / or any other features that may occur to a person skilled in the art after reviewing the entire contents of this disclosure. As another non-limiting example, features may include features describing the spatial and / or temporal characteristics of a frame or a set of frames. Examples of features describing spatial and / or temporal characteristics may include motion, texture, color, brightness, edge count, blur, block effects, etc. When in offline mode, all machine models as described in further detail below may be stored at the encoder and / or stored in the encoder's memory and / or may be accessed by the encoder. Examples of such models may include, but are not limited to, full or partial convolutional neural networks, key point extractors, edge detectors, saliency map constructors, etc. When in online mode, one or more models may be transmitted to the feature extractor 220 by a remote machine in real time or at some point prior to extraction.

[0038] At the decoder site, it will be appreciated that video can be decoded for human vision and features can be decoded for machines. Systems that provide video for both human vision and machine consumption are sometimes referred to as hybrid systems. The systems and methods disclosed herein are intended to be applicable to both machine-based systems and hybrid systems.

[0039] Figure 1 1 is a high-level block diagram of a system for encoding and decoding video in a hybrid system that includes human audience consumption of video content and machine consumption. A source video is received by a video encoder 105 that provides a compressed bitstream for transmission over a channel to a video decoder 110. The video encoder can encode video for human consumption as well as encode video for machine consumption. The video decoder 110 provides complementary processing to the compressed bitstream to extract video for human vision 115 and task analysis and feature extraction 120 for machine consumption. Feature extraction can be classified as any computer vision task, such as edge detection, line detection, object detection, or more recent techniques, such as convolutional neural networks, where the output of feature extraction can be spatially mapped back to the pixel space of the input video. Video encoding can include any standard video encoder and / or encoding technique, such as Advanced Video Codec (AVC), Versatile Video Coding (VVC), or High Efficiency Video Coding (HEVC).

[0040] Reference now Figure 2 , an exemplary embodiment of an encoder for video coding (VCM) of a machine is shown. The VCM encoder 202 can be implemented using any circuit including but not limited to digital and / or analog circuits; the VCM encoder 202 can be configured using hardware configuration, software configuration, firmware configuration and / or any combination thereof. The VCM encoder 202 can be implemented as a computing device and / or a component of a computing device, which can include but is not limited to any computing device as described below. In one embodiment, the VCM encoder 202 can be configured to receive an input video 204 and generate an output bitstream 208. The reception of the input video 204 can be implemented in any manner described below. The bitstream can include but is not limited to any bitstream as described below.

[0041] The VCM encoder 202 may include, but is not limited to, a preprocessor 206, a video encoder 210, a feature extractor 215, an optimizer 220, a feature encoder 225, and / or a multiplexer 230. The preprocessor 206 may receive an input video 204 stream and parse out video, audio, and metadata substreams of the stream. The preprocessor 206 may include and / or communicate with a decoder, as described in further detail below; in other words, the preprocessor 206 may have the ability to decode the input stream. In a non-limiting example, this may allow the input video 204 to be decoded, which may facilitate downstream pixel domain analysis.

[0042] Further references Figure 2 , VCM encoder 202 can operate in hybrid mode and / or video mode. When in hybrid mode, VCM encoder 200 can be configured to encode visual signals intended for human consumers and to encode feature signals intended for machine consumers; machine consumers may include, but are not limited to, any device and / or component, including, but not limited to, a computing device as described in further detail below. For example, when in hybrid mode, the input signal can pass through preprocessor 206.

[0043] Still reference Figure 2 , the video encoder 210 may include, but is not limited to, any video encoder 210 described in further detail below. When the VCM encoder 202 is in hybrid mode, the VCM encoder 202 may send an unmodified input video 204 to the video encoder 210 and send a copy of the same input video 204 and / or an input video 204 that has been modified in some manner to the feature extractor 215. The modifications to the input video 204 may include any scaling, transformation, or other modifications that would occur to a person of ordinary skill in the art after reviewing the entirety of this disclosure. For example, but not limited to, the input video 204 may be rescaled to a smaller resolution, a specific number of pictures in a sequence of pictures in the input video 204 may be discarded, the frame rate of the input video 204 may be reduced, color information may be modified, for example, but not limited to, by converting RGB video to grayscale video, and the like.

[0044] Still reference Figure 2 , the video encoder 210 and the feature extractor 215 are connected and may exchange useful information in both directions. For example, but not limited to, the video encoder 210 may pass motion estimation information to the feature extractor 220, and vice versa. The video encoder 210 may provide a quantization map and / or data description thereof based on a region of interest (ROI) that the video encoder 210 and / or the feature extractor 215 may identify to the feature extractor 215, and vice versa. The video encoder 210 may provide the feature extractor 215 with data describing one or more partitioning decisions based on features present and / or identified in the input video 204, the input signal, and / or any frame and / or subframe thereof; the feature extractor 218 may provide the video encoder 210 with data describing one or more partitioning decisions based on features present and / or identified in the input video 204, the input signal, and / or any frame and / or subframe thereof. The video encoder 210 feature extractor 215 may share and / or transmit temporal information for optimal group of pictures (GOP) decisions to each other. Each of these techniques and / or processes may be performed, without limitation, as described in further detail below.

[0045] Continue to refer Figure 2 , the feature extractor 220 can operate in an offline mode or an online mode. The feature extractor 220 can identify and / or otherwise act on and / or manipulate features. "Features" as used in the present disclosure are specific structures and / or content attributes of data. Examples of features may include SIFT, audio features, color histograms, motion histograms, speech levels, loudness levels, etc. Features may be timestamped. Each feature may be associated with a single frame in a set of frames. Features may include high-level content features such as timestamps, labels of people and objects in the video, coordinates of objects and / or regions of interest, frame masks for region-based quantization, and / or any other features that may occur to a person skilled in the art after reviewing the entire contents of this disclosure. As another non-limiting example, features may include features that describe spatial and / or temporal characteristics of a frame or a set of frames. Examples of features that describe spatial and / or temporal characteristics may include motion, texture, color, brightness, edge count, blur, block effects, etc. When in offline mode, all machine models as described in further detail below may be stored at the encoder and / or stored in the encoder's memory and / or accessible by the encoder. Examples of such models may include, but are not limited to, whole or partial convolutional neural networks, keypoint extractors, edge detectors, saliency map constructors, etc. When in online mode, one or more models may be transmitted to the feature extractor 220 by a remote machine in real time or at some point prior to extraction.

[0046] Still reference Figure 2 , the feature encoder 225 is configured to encode a feature signal, such as, but not limited to, a feature signal generated by the feature extractor 220. In one embodiment, after extracting the features, the feature extractor 220 may pass the extracted features to the feature encoder 225. The feature encoder 225 may use entropy coding and / or similar techniques (such as, but not limited to, those described below) to produce a feature stream, which may be passed to the multiplexer 230. The video encoder 210 and / or the feature encoder 225 may be connected via the optimizer 220; the optimizer 220 may exchange useful information between those video encoders 210 and the feature encoder 225. For example, but not limited to, information related to codeword construction and / or entropy coding length may be exchanged and reused by the optimizer 220 for optimal compression.

[0047] In one embodiment, continue to refer to Figure 2, the video encoder 210 can generate a video stream; the video stream can be passed to the multiplexer 230. The multiplexer 230 can multiplex the video stream with the feature stream generated by the feature encoder 225; alternatively or additionally, the video and feature bitstreams can be sent to different devices through different channels, different networks, and / or sent at different times or time intervals (time multiplexing). Each of the video stream and the feature stream can be implemented in any manner suitable for implementing any bitstream described in the present disclosure. In one embodiment, multiplexing the video stream and the feature stream can produce a mixed bitstream, which can be transmitted as described in further detail below.

[0048] Still reference Figure 2 , where the VCM encoder 200 is in video mode, the VCM encoder 200 may use the video encoder 210 for video and feature encoding. The feature extractor 220 may transmit the features to the video encoder 210; the video encoder 210 may encode the features into a video stream decodable by a corresponding video decoder 250. It should be noted that the VCM encoder 200 may use a single video encoder 210 for video encoding and feature encoding, in which case it may use different sets of parameters for video and features. Alternatively, the VCM encoder 200 may be two separate video encoders 210 that may operate in parallel.

[0049] Still reference Figure 2 , system 200 may include and / or communicate with a VCM decoder 240. VCM decoder 240 and / or its elements may be implemented using any circuit and / or type of configuration suitable for the configuration of VCM encoder 200 as described above. VCM decoder 240 may include, but is not limited to, a demultiplexer 245. Demultiplexer 245 may be operable to demultiplex a bitstream (if multiplexed as described above). For example, but not limited to, demultiplexer 245 may separate a multiplexed bitstream containing one or more video bitstreams and one or more feature bitstreams into separate video and feature bitstreams.

[0050] Continue to refer Figure 2 , the VCM decoder 240 may include a video decoder 250. The video decoder 250 may be implemented in any manner suitable for a decoder described in further detail below, but is not limited thereto. In one embodiment, but not limited thereto, the video decoder 250 may generate an output video that may be viewed by a human or other creature and / or a device having visual perception capabilities.

[0051] Still reference Figure 2, the VCM decoder 240 may include a feature decoder 255. In one embodiment, but not limited to, the feature decoder 255 may be configured to provide one or more decoded data to the machine. The machine may include, but is not limited to, any computing device as described below, including but not limited to any microcontroller, processor, embedded system, system on chip, network node, etc. The machine may operate, store, train, receive input from, generate output for, and / or otherwise interact with a machine model, as described in more detail below. The machine may be included in the Internet of Things (IoT), which is defined as a network of objects with processing and communication components, some of which may not be conventional computing devices such as desktop computers, laptops, and / or mobile devices. Objects in IoT may include, but are not limited to, any device having an embedded microprocessor and / or microcontroller and one or more components for interfacing with a local area network (LAN) and / or a wide area network (WAN); one or more components may include, but are not limited to, a wireless transceiver, such as a BLUETOOTH transceiver that communicates in the 2.4-2.485 GHz frequency band, such as a Bluetooth transceiver that complies with the protocol promulgated by Bluetooth SIG, Inc., Kirkland, Washington, and / or a network communication component that operates according to the MODBUS protocol promulgated by Schneider Electric SE, Rueil-Malmaison, France, and / or the ZIGBEE specification of the IEEE802.15.4 standard promulgated by the Institute of Electrical and Electronics Engineers (IEEE). A person skilled in the art will recognize, after reviewing the entire contents of this disclosure, various alternative or additional communication protocols and devices that support such protocols that can be used in accordance with this disclosure, each of which is considered to be within the scope of this disclosure.

[0052] Continue to refer Figure 2Each of the VCM encoder 202 and / or the VCM decoder 240 may be designed and / or configured to perform any method, method step, or sequence of method steps in any embodiment described in the present disclosure in any order and with any degree of repetition. For example, each of the VCM encoder 202 and / or the VCM decoder 240 may be configured to repeatedly perform a single step or sequence until a desired or commanded result is achieved; the repetition of a step or sequence of steps may be performed iteratively and / or recursively using the output of a previous repetition as the input of a subsequent repetition, thereby aggregating the input and / or output of the repetition to produce an aggregated result, reducing or decrementing one or more variables such as global variables, and / or dividing a larger processing task into a collection of iteratively addressed smaller processing tasks. Each of the VCM encoder 202 and / or the VCM decoder 240 may perform any step or sequence of steps as described in the present disclosure in parallel, such as performing a step two or more times simultaneously and / or substantially simultaneously using two or more parallel threads, processor cores, etc.; the division of tasks between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. Those skilled in the art, after reviewing the entirety of this disclosure, will recognize various ways in which steps, sequences of steps, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iterative, recursive, and / or parallel processing.

[0053] The present systems and methods are based on a machine learning architecture that supports multiple tasks for end users. The most common machine learning architecture in use today is a neural network. One of the drawbacks of simple single-task neural networks is the time complexity and computational cost of training. In order to achieve high performance, neural networks must typically be trained using very large data sets with hundreds of thousands and sometimes millions of samples (e.g., images and videos). Training a separate network each time a new use case emerges can be highly redundant and resource-wasting. Therefore, methods have been developed to reuse trained portions of a neural network for multiple tasks. By training a portion of the network to support multiple tasks, users can save storage space, computing power, and reduce energy consumption.

[0054] Reference now Figure 3 , discloses components of a system and method for video and feature encoding of a neural network structure for multi-task machine learning. The system includes a neural network backbone 305, an encoder 310, a bitstream 315 sent over a channel, a bitstream compatible decoder 320, and a neural network head 325. The system can be used for machine learning tasks such as object detection, event detection, tracking, segmentation, etc. Its intended end user is a human or a machine. The system and method can be used in ongoing standardization such as Video Coding for Machines, and can be used in use cases such as the Internet of Things.

[0055] In the context of a neural network, the backbone is the portion of the network that includes most of the layers and nodes and is primarily responsible for a large number of calculations. On the other hand, the head is the portion of the network that is responsible for making the final prediction or decision based on the output of the backbone. As used herein, those portions of a neural network that can be reused and substantially unchanged for different tasks are referred to as "neural network backbones" (trunks). The remainder of the neural network modified based on the target task is referred to as "neural network heads" (heads).

[0056] Figure 4 is a block diagram illustrating an exemplary embodiment of a system for adaptive neural network optimization for multi-task feature coding; the system can be used in a method for adaptive neural network optimization, which can be used to implement multi-task feature coding in a system such as a standard for machine video coding (VCM), or can be used to implement multi-task feature coding in any other system for neural networks performing image and video processing by machines such as the Internet of Things (IoT).

[0057] Typically, an input image or video is passed through an encoder 400 that extracts relevant features. The encoder 400 includes a preprocessor 405 coupled to a neural network backbone (NNB) 410, the output of which is a set of features that can be further compressed using a feature or video encoder 415. The NNB 410 can also receive input and / or training data from a machine model 460. The output of the video encoder 415 is a feature substream. In addition to the features, the description of the NNB 410 can be compressed, and the description substream can be combined in a multiplexer 420 with a feature substream from a neural network description encoder 425 to form a bitstream 430.

[0058] The bitstream 430 is sent through a channel to a decoder 435, which decodes / decompresses the two substreams and produces the NNB description as well as the feature set. The bitstream 430 is received by a demultiplexer 440, which parses the bitstream into a NNB description substream applied to a neural network description decoder 445 and a feature set substream applied to a feature / video decoder 450. The end user (machine) 455 receives the feature set and passes it as input to a neural network head (e.g., Figure 3 , 325) (NNH), the neural network head produces a decision at the output related to one or more tasks performed by the machine. This is possible, for example, if the complete neural network (NN) is pre-trained and the parameters of the NNB are known and do not change.

[0059] Figure 54 is a block diagram illustrating an exemplary embodiment of a machine process, wherein the output of the decoder 435 is used as an input for task completion 525. In the case where the NNB 410 has not been trained by the machine and the parameters of the NNB 410 are unknown, the machine receives the NNB description from the decoder 435 and reconstructs the complete NN backbone 515, and optionally fine-tunes the NNH to align with the NNB, or to support additional tasks that were not included in the original NNB training. Here, NN retraining (NNH fine-tuning) is an optional step 520.

[0060] If the machine 455 knows the complete NN, for example by knowing all NNB parameters, then the NNB description does not need to be transmitted to the decoder. In this case, the bitstream may contain only the feature substream 510.

[0061] To facilitate flexibility on the encoder side, in case a task needs to be changed or the parameters of the current task need to be changed, the machine can send the NNB description to the encoder side aligned with the relevant machine model. Figure 1 Shown in.

[0062] Together with the NNB description, the decoder sends the time interval during which the given NNB description is valid. After the time interval expires, the NNB description returns to the previous or default NNB description.

[0063] On the encoder side, the feature / video encoder can be implemented using existing video and feature standards, such as Versatile Video Coding (VVC), High Efficiency Video Coding (HEVC), Alliance for Open Media Video 1 (AOMedia Video 1, AV1), Compression Descriptor for Video Analytics (CDVA), etc.

[0064] NN description encoders can be implemented using simple techniques such as Variable Length Coding (VLC), or more advanced standards such as Neural Network Compression and Representation (NNR).

[0065] Figure 66 is a schematic diagram showing an exemplary embodiment of a neural network as described in the present disclosure, which illustrates a combined convolutional neural network-deep neural network (CNN-DNN) architecture for machine learning of image and video data. An input image or video is passed through a convolutional neural network (CNN) 605, which uses a series of processing steps including a convolution layer 610 and a pooling layer 615. Each layer in the network uses filters to process the input and outputs so-called feature maps, which are two-dimensional images containing a specific level of detail related to the entire task. CNNs can have anywhere from two or three to dozens of such layers. The lower layers filter small details of the input image, such as edges and lines. As you advance through the higher layers of the CNN, the output more closely represents the features of interest for the task. For example, the highest layers in a CNN for face detection will produce feature maps containing features such as eye contours, nose contours, etc. The output of the highest layer is "flattened" and passed through a deep neural network (DNN) 610, which outputs the probability that the image contains a specific object, with or without location details.

[0066] In addition to the object detection task, the same architecture with minor modifications can be used for object tracking, segmentation, event detection and other tasks. As has been seen, more general features are represented at the lower layers of CNN 605. These features are shared between different objects and sometimes even between different tasks. This fact is used in the design of multi-task architectures. The parts of the neural network that can be reused and not changed for different tasks are called "neural network backbones" (trunks). The rest of the (multiple) neural networks modified based on the target task are called "neural network heads" (heads).

[0067] refer to Fig. 6A and Figure 6B , showing two exemplary variants of a backbone-head split for a multi-task architecture. The training process can be generic for all backbone-head architectures and variants - for example, the backbone is trained only once, and all parameters (such as connection weights and activation function thresholds) are typically not changed. Using the backbone, a head is added to the backbone, for example by connecting the last layer of the backbone to the first layer of the head. The entire network is then put through training, keeping the backbone parameters constant and only varying the parameters of the head until satisfactory performance is achieved on the training and / or validation datasets.

[0068] exist Fig. 6AIn (Variant A), the entire CNN 605 is designated as the backbone, and the DNN 610 is designated as the head. This means that the CNN 605 can be trained only once, while the DNN 610 can be trained multiple times, each time for a separate task, or alternatively several DNNs 610 can be trained, each for a separate task. This variant is best suited for tasks that span different modalities, such as object detection and event detection. For example, the backbone can be trained to detect people, while the first head can be trained to identify people, and the second head can be trained to detect aggregations of a specific number of people, respectively.

[0069] exist Figure 6B In (Variant B), only the first part of CNN 605 (e.g., the first convolutional layer 610 and the first pooling layer 615) is designated as the backbone, while the rest of CNN 605 together with DNN 610 is designated as the head. Figure 6B An example is shown where only the first layer is included in the backbone, but the number of lower layers of the CNN 505 that may be included in the backbone may vary and may be pre-specified or determined during the training process. Typically, all lower layers that represent the most general features with respect to the task are included in the backbone. Figure 6B This variant of is best suited for more general task support. The backbone can be reused in different object detection tasks. For example, a backbone that detects outlines and edges of people and animals can be used to help detection and tracking of moving living objects.

[0070] Since the boundary point for backbone-head separation can be achieved at any layer of a CNN or DNN, the presented variants A and B are chosen only for illustration purposes. In an extreme case, Figure 6B As depicted, the backbone contains only the first layer of the CNN. This implementation greatly reduces the computational load on the edge device and offloads most of the computation to the central server. In most cases, it will also produce a larger bitstream. At the other extreme, the head can contain only the last layer of the DNN, in which case almost all computation is performed at the edge device.

[0071] To determine the right boundary point, the system architect needs to decide which tradeoffs apply to a given use case. The tradeoffs to consider are power consumption, computational constraints, bitstream bandwidth, etc. These decisions depend largely on the type of device that plays the role of encoder, decoder, and the available communication channel.

[0072] FIG. 7 is a schematic diagram illustrating an exemplary embodiment of multi-task learning as described in the present disclosure; Fig. 7A and Figure 7B Two types of multi-task learning are disclosed in. Fig. 7A, the first type is multi-learning. In multi-learning, the backbone as well as the head are trained for each task. Learning iterations (epochs) 1 to n are performed for tasks 1 to n. In each iteration, the backbone is combined with the head and the entire network is trained, thereby updating the parameters of the backbone and the head. After each iteration, the backbone parameters change. After n iterations, the backbone contains the final values ​​of the parameters that remain constant. This final backbone is then used for all n tasks without the need for additional updates. This type may be preferred if the dataset used for training is small, and / or if there is a balance in the amount of data available for each task.

[0073] Figure 7B The second type shown is transfer learning. In transfer learning, the backbone is trained only once using one or more pre-training processes. Then, for each task from 1 to n, heads 1 to n are added to the pre-trained backbone, and in a process called fine-tuning, only the parameters of the heads are trained. This type of learning may be preferred when the training dataset is large and / or there is an imbalance in the amount of data available for each task.

[0074] Transfer learning is more widely used in practice and generally allows for greater flexibility in exploiting the system. Nonetheless, both types of learning can produce backbones that are suitable for use in the system. Figure 3 In the simplified block diagram, on the encoder side, there is a neural network backbone 305 as input, while the output of the decoder is passed to (multiple) neural network heads 325.

[0075] Embodiments of some exemplary systems assume the availability of a pre-trained backbone at the encoder site. The process of backbone training can take any suitable form known in the art. Training can be performed offline or online, at the encoder site or at some other location, etc. If training is performed away from the encoder, all relevant parameters or parameter updates need to be transmitted to the encoder before starting encoding. Training can be performed at the encoder site, with or without joint training with the encoder. Joint training with the encoder can be performed as described in PCT application PCT / US22 / 40722 entitled "SYSTEMS AND METHODS FOR JOINT OPTIMIZATION TRAINING (Systems and Methods for Joint Optimization Training)" filed on August 18, 2022, the entire contents of which are incorporated herein by reference. Training complexity and resource considerations (such as storage availability and energy consumption) can constitute the main factors determining the online / offline learning tradeoff and learning location.

[0076] Figure 8 8 is a block diagram further illustrating an exemplary embodiment of an encoder 800 as described in the present disclosure. Figure 3 As shown, the input of the encoder 300, 800 can be the output of the backbone network 305. Figure 8 , which is passed through a preprocessor 805. The preprocessor 805 takes the most common backbone outputs in the form of feature maps and recombines them into a format suitable for video encoding and feature encoding. An example of a suitable recombining is to arrange consecutive feature maps into a single frame as consecutive regions of the frame. The details of the feature map recombining can be as disclosed in PCT application PCT / US22 / 32048, entitled “VIDEOCODING FOR MACHINES (VCM) ENCODER” filed on June 3, 2022, the entire contents of which are incorporated herein by reference. For feature encoders, preprocessing may not be required in many cases.

[0077] The encoder 800 may include but does not necessarily need to include both a video encoder 810 and a feature encoder 815. The encoder 800 can operate in three modes. The first mode is a joint coding mode: in this mode, both the video encoder 810 and the feature encoder 815 are present. The feature encoder 815 compresses the description of the neural network backbone and all parameters of the backbone. This can be done using statistical coding such as variable length coding (VLC), or arithmetic coding, or context-adaptive binary arithmetic coding, or any other similar type of coding. The output of the feature encoder 815 is a feature bitstream, which can be used by the decoder to identify the appropriate backbone and fill in the required parameters if necessary. The video encoder 810 uses traditional block-based frequency transform, motion compensation coding to compress the reassembled feature map. The video encoder 810 can use a standard encoder, such as general video coding (VVC), high-efficiency video coding (HEVC), advanced video coding (AVC), open media alliance video 1 (AV1), etc.

[0078] The input to encoder 800 is preferably standard compliant, as preprocessing ensures the correct format. The output of the video encoder is a video bitstream that a video decoder can use to output feature maps with any level of degradation introduced by the video encoder. For each frame, in addition to standard parameters, the header contains information about the location and sequence of feature maps so that feature maps can be extracted from decoded frames in the proper order. The feature encoder 815 and video encoder 810 can communicate in real time during encoding to optimize the compression of the video stream and feature stream by removing statistical redundancy. PCT application PCT / US22 / 47829, filed on October 26, 2022, entitled “SYSTEMS AND METHODS FOR OBJECT AND EVENT DETECTIONAND FEATURE-BASED RATE-DISTORTION OPTIMIZATION FOR VIDEO CODING” (the entire contents of which are incorporated herein by reference), and PCT application PCT / US22 / 47829, filed on October 26, 2022, entitled “SYSTEMS AND METHODS FOR MOTION INFORMATION TRANSFER FROM VISUAL TO FEATURE DOMAIN AND FEATURE-BASED DECODER-SIDE MOTION VECTOR REFINEMENT Details of the feature encoder's communication with the video encoder are described in PCT application PCT / US22 / 48376, entitled "VISUAL-TO-FEATURE DOMAIN MOTION INFORMATION TRANSFER AND FEATURE-BASED DECODER-SIDE MOTION VECTOR REFINEMENT CONTROL" (the entire contents of which are incorporated herein by reference). A post-processor can combine the two sub-bitstreams into a single bitstream with a stream-level header containing appropriate parameters.

[0079] The second mode in which the encoder 800 is operable is a video-only encoding mode: in this mode, the feature maps are encoded as in the previous mode using the video encoder 810, while the description of the neural network backbone and all parameters of the backbone are passed as header parameters to the video encoder 810. For example, using supplemental enhancement information (SEI). The parameters may be implicitly encoded using entropy coding of the video encoder 810 (same as all other headers and supplementary information).

[0080] The third mode in which the encoder 800 is operable is a feature encoding only mode: in this mode, the feature encoder 815 compresses the description of the neural network backbone and all parameters of the backbone as well as the features (e.g., feature maps). To compress the features, techniques such as VLC, Huffman coding, Compressed Descriptors for Video Analytics (CDVA), etc. are used.

[0081] Fig. 9 is a block diagram illustrating an exemplary embodiment of a decoder 900, and further details are described in Figure 3 The decoder 320 described in . The decoder 900 receives a bitstream, which is passed to a parser 905, which parses the stream-level header to extract the video and feature sub-bitstreams. In the case of using the video-only encoder mode, the bitstream can be passed directly to the video decoder 910 without parsing. In the case of using the feature-only encoder mode, the bitstream can be passed directly to the feature decoder 915 without parsing.

[0082] The feature bitstream is passed to the feature decoder 915, which reconstructs the feature stream using the inverse process of the feature encoder. The extracted feature stream is passed to the output. The video stream is passed to the video decoder 910. The video decoder reconstructs the original image / video using a standard video decoding process. The decoded frames are passed to the post-processor 920, which reconstructs the original feature maps in the appropriate order and converts the image format to the original image format if applicable. The stream of reconstructed original feature maps is passed to the output.

[0083] The output of the decoder 900 is delivered to the end user, which can be a human or a machine. Combining information from the feature stream and the video stream, the end user can apply the reconstructed backbone network to the appropriate task. The system may also include one or more task-specific neural network heads 925, 930, 935. The end user obtains a complete backbone network description and feature maps that are sufficient to complete the task by using the appropriate head network 925, 930, 935.

[0084] Use case examples:

[0085] Edge devices with limited computational power and / or energy constraints can be preloaded with a backbone network. The device uses a camera to record video. The video is passed through the backbone network and encoded by the proposed encoder. The encoded bitstream is then passed to the central station, which decodes the bitstream and can insert the decoded information into the multi-task head network. In this way, the central station can detect movement, detect people, and detect events of interest from a single bitstream. Most of the entire process (master intervention training and multi-task head fine-tuning) is offloaded to the central station with appropriate resources. The backbone can be retrained from time to time at the central station and sent back to the edge device for update.

[0086] Fig.10 1 is a block diagram illustrating an exemplary embodiment of a bitstream 1000 as described in the present disclosure. The structure of the proposed bitstream is as follows: (i) Bitstream level header 1010: contains high-level syntax describing the existence of sub-bitstreams and contains parameters of such sub-bitstreams, such as length, duration, format, etc. This information is used by the parser 905 in the decoder 900 to extract the sub-bitstream. (ii) Feature sub-bitstream 1015: contains feature stream header 1020, which describes the feature stream payload 1025 in terms of length, format and other relevant parameters. The feature stream header 1020 is used by the feature decoder 915 to extract and decode the feature stream payload. (iii) Video sub-bitstream 1030: contains video stream header 1035, which describes the video stream payload 1040 in terms of length, duration, resolution, frame rate and other relevant parameters. The video stream header is used by the video decoder to properly extract and decode the video stream payload; (iv) NN description substream 1045: contains NN description header 1050 and NN description payload 1055.

[0087] In the case of using a standard video encoder, the video sub-bitstream 1030 contains all elements of the coded video bitstream, such as sequence parameter set (SPS), picture parameter set (PPS), picture header (PH), slice header (SH). Alternatively, the header is modified to contain additional information about the size and positioning of the feature map, or alternatively, supplementary enhancement information (SEI) is used to add this information. In the case of using only SEI to signal relevant information, the video sub-bitstream fully complies with the standards of existing standard decoders.

[0088] Alternatively or additionally, the bitstream 1000 may include a neural network (NN) description substream 1045, which may contain a NN description header 1050 containing parameters such as the length, format, and type of the NN description, and a NN description payload 1055. Alternatively, instead of a complete description of all NN parameters, the encoder may signal an index in a lookup table or a predetermined and agreed list of NNs to be used. The list may be maintained by a central registry that updates the list and signals updates to end users. The NN description header is used by the feature decoder 915 to extract and decode the NN description payload.

[0089] The split point between NNH and NNB can be adaptively chosen depending on the level of abstraction and cross-task generalization. Furthermore, when training a NN for multiple tasks and use cases, its parts may be mostly or completely task-related, while other parts may be mostly or completely redundant for the specific task. In the following paragraphs, two techniques for adaptive optimization are proposed: vertical optimization (task-specific ablation) and horizontal optimization (computation offloading).

[0090] Fig.11 is a schematic diagram illustrating an exemplary embodiment of a pruned neural network; such an embodiment may implement vertical optimization and / or task-specific ablation

[0091] Ablation or pruning techniques are well established in the machine learning literature, with a particular focus on neural networks (Reference: Newell, Allen (1975). D. Raj Reddy (ed.). A Tutorial on Speech Understanding Systems. In Speech Recognition: Invited Papers Presented at the 1974 IEEE Symposium. New York: Academic Press). Using this approach, parts of a neural network can be removed when training for a specific task. By pruning neurons or connections (synapses), a single NN can be optimized to support multiple tasks. Examples of pruning are shown in Fig.11 Given in Fig.11 A full neural network 1100, an exemplary synapse pruned neural network 1105, and an exemplary neuron pruned neural network 1110 are shown.

[0092] Using ideas from information theory, a class of practical and near-optimal neural network size adaptation schemes has been developed. By removing less important weights from the network, several improvements can be expected: better generalization, fewer training examples required, and increased speed of learning and / or classification. The basic idea is to use second-order derivative information to make a trade-off between network complexity and training set error.

[0093] As an example, one part of a neural network can be trained for object detection, while another part can be trained for object tracking or segmentation. At a lower level, one part of the network can be trained to detect one class of objects (e.g., people), while another part can be trained to detect another class of objects (e.g., cars).

[0094] Reference now Fig.12 , which illustrates an exemplary embodiment of a machine learning module 1200 that can perform one or more machine learning processes as described in the present invention. The machine learning module can use machine learning processes to perform the determination, classification and / or analysis steps, methods, processes, etc. described in the present disclosure. A "machine learning process" as used in the present disclosure is a process that automatically uses training data 1204 to generate an algorithm that will be executed by a computing device / module to produce an output 1208 given data provided as input 1212. This is in contrast to non-machine learning software programs, in which the commands to be executed are predetermined by the user and written in a programming language.

[0095] Still reference Fig.12As used herein, "training data" is data containing correlations that a machine learning process can use to model the relationship between two or more data element categories. For example, but not limited to, training data 1204 may include multiple data entries, each entry representing a group of data elements that are recorded, received and / or generated together; data elements may be associated by shared presence in a given data entry, by proximity in a given data entry, etc. Multiple data entries in training data 1204 may give rise to one or more trends in correlations between data elements of various categories; for example, but not limited to, a higher value of a first data element belonging to a first category of data elements may tend to be associated with a higher value of a second data element belonging to a second category of data elements, thereby indicating a possible proportion or other mathematical relationship connection value belonging to the two categories. In training data 1204, multiple categories of data elements may be associated according to various correlations. Correlations may indicate causal and / or predictive connections between data elements of various categories, which may be modeled as relationships such as mathematical relationships by a machine learning process, as described in further detail below. Training data 1204 may be formatted and / or organized according to categories of data elements, for example by associating data elements with one or more descriptors corresponding to the categories of data elements. As a non-limiting example, training data 1204 may include data entered by a person or process in a standardized form so that entries of given data elements in given fields in a table can be mapped to one or more category descriptors. Elements in training data 1204 may be linked to descriptors of categories by tags, tokens, or other data elements; for example, but not limited to, training data 1204 may be provided in a fixed-length format, a format that links the location of data to a category, such as a comma-separated value (CSV) format, and / or a self-describing format such as Extensible Markup Language (XML), JavaScript Object Notation (JSON), etc., so that a process or device can detect the category of the data.

[0096] Alternatively or additionally, and with continued reference to Fig.12, the training data 1204 may include one or more unclassified elements; that is, the training data 1204 may not be formatted or contain descriptors for certain elements of the data. The machine learning algorithm and / or other process may classify the training data 1204 according to one or more classifications using, for example, natural language processing algorithms, tokenization, detection of relevant values ​​in the raw data, etc.; the categories may be generated using relevant and / or other processing algorithms. As a non-limiting example, in a text corpus, phrases that consist of multiple "n" compound words (e.g., nouns modified by other nouns) may be identified based on the statistically significant prevalence of n-grams containing such words in a particular order; such n-grams may be classified as language elements such as "words", tracked in a manner similar to individual words, and new categories generated as a result of statistical analysis. Similarly, in a data entry that includes some text data, a person's name may be identified by reference to a list, dictionary, or other compendium of terms, allowing ad-hoc classification by a machine learning algorithm, and / or automatically associating the data in the data entry with a descriptor or to a given format. The ability to automatically classify data entries can enable the same training data 1204 to be applicable to two or more different machine learning algorithms, as described in further detail below. The training data 1204 used by the machine learning module 1200 can relate any input data as described in the present disclosure to any output data as described in the present disclosure. As a non-limiting example

[0097] Further references Fig.12, one or more supervised and / or unsupervised machine learning processes and / or models may be used to filter, classify and / or select training data, as described in further detail below; such models may include, but are not limited to, training data classifiers 1216. Training data classifiers 1216 may include a "classifier," which as used in this disclosure is a machine learning model as defined below, such as a mathematical model, a neural network, or a program generated by a machine learning algorithm referred to as a "classification algorithm," as described in further detail below, which classifies inputs into categories or bins of data and outputs categories or bins of data and / or labels associated therewith. A classifier may be configured to output at least one data that labels or otherwise identifies a group of data that are clustered together, found to be close under a distance metric, as described below, and the like. The machine learning module 1200 may generate a classifier using a classification algorithm, which is defined as a process by which a computing device and / or any module and / or component operating thereon derives a classifier from the training data 1204. Classification can be performed using, but not limited to, linear classifiers such as, but not limited to, logistic regression and / or naive Bayes classifiers, nearest neighbor classifiers such as k-nearest neighbor classifiers, support vector machines, least squares support vector machines, Fisher linear discriminant, quadratic classifiers, decision trees, boosted trees, random forest classifiers, learning vector quantization, and / or neural network based classifiers.

[0098] Still reference Fig.12 , the machine learning module 1200 can be configured to perform a lazy learning process 1220 and / or protocol, which can be optionally referred to as a "lazy load" or "call when needed" process and / or protocol, which can be a process in which machine learning is performed upon receiving an input to be converted to an output by combining the input and the training set to derive an algorithm for producing an output on demand. For example, an initial set of simulations can be performed to cover initial heuristics and / or "first guesses" at the output and / or relationship. As a non-limiting example, the initial heuristics can include ranking of associations between inputs and elements of the training data 1204. Heuristics can include selecting a certain number of the highest ranked associations and / or training data 1204 elements. Lazy learning can implement any suitable lazy learning algorithm, including but not limited to the K nearest neighbor algorithm, the lazy Bayes algorithm, etc.; those skilled in the art, after reviewing the entire contents of this disclosure, will be aware of various lazy learning algorithms that can be applied to generate outputs as described in the present disclosure, including but not limited to lazy learning applications of machine learning algorithms as described in further detail below.

[0099] Alternatively or additionally, and with continued reference to Fig.12, a machine learning model 1224 may be generated using a machine learning process as described in the present disclosure. A "machine learning model" as used in the present disclosure is a mathematical and / or algorithmic representation of a relationship between an input and an output, generated using any machine learning process, including but not limited to any process as described above, and stored in a memory; once an input is created, the input is submitted to a machine learning model 1224, which generates an output based on the derived relationship. For example, but not limited to, a linear regression model generated using a linear regression algorithm may use coefficients derived during the machine learning process to calculate a linear combination of input data to calculate output data. As another non-limiting example, a machine learning model 1224 may be generated by creating an artificial neural network, such as a convolutional neural network including an input layer of nodes, one or more intermediate layers, and an output layer of nodes. Connections between nodes may be created by a process of "training" the network, in which elements from a set of training data 1204 are applied to input nodes, and then connections and weights between nodes in adjacent layers of the neural network are adjusted using a suitable training algorithm (such as Levenberg-Marquardt, conjugate gradient, simulated annealing, or other algorithms) to produce desired values ​​at output nodes. This process is sometimes referred to as deep learning.

[0100] Still reference Fig.12 , the machine learning algorithm may include at least a supervised machine learning process 1228. As defined herein, at least one supervised machine learning process 1228 includes an algorithm that receives a training set that relates multiple inputs to multiple outputs, and seeks to find one or more mathematical relationships that relate the inputs to the outputs, wherein each of the one or more mathematical relationships is optimal according to a certain criterion assigned to the algorithm using a certain scoring function. For example, the supervised learning algorithm may include inputs and outputs as described above in the present disclosure, and a scoring function that represents the desired form of the relationship to be detected between the inputs and the outputs. For example, the scoring function may seek to maximize the probability that a given input and / or a combination of element inputs is associated with a given output to minimize the probability that a given input is not associated with a given output. The scoring function may be represented as a risk function that represents the "expected loss" of the algorithm that relates the inputs to the outputs, wherein the loss is calculated as an error function that represents the degree to which the prediction generated by the relationship is incorrect when compared to a given input-output pair provided in the training data 1204. After reading the entire contents of this disclosure, those skilled in the art will recognize various possible variations of at least one supervised machine learning process 1228 that can be used to determine the relationship between inputs and outputs. The supervised machine learning process may include a classification algorithm as defined above.

[0101] Further references Fig.12, the machine learning process may include at least an unsupervised machine learning process 1232. As used herein, an unsupervised machine learning process is a process that derives inferences in a data set without regard to labeling; as a result, the unsupervised machine learning process is free to discover any structure, relationship, and / or correlation provided in the data. The unsupervised process may not require a response variable; the unsupervised process may be used to find interesting patterns and / or inferences between variables, to determine the degree of correlation between two or more variables, etc.

[0102] Still reference Fig.12 , the machine learning module 1200 can be designed and configured to create a machine learning model 1224 using techniques for developing linear regression models. The linear regression model can include ordinary least squares regression, which aims to minimize the square of the difference between the predicted result and the actual result according to an appropriate norm (e.g., a vector space distance norm) for measuring such a difference; the coefficients of the resulting linear equation can be modified to improve the minimization. The linear regression model can include a ridge regression method, in which the function to be minimized includes a least squares function plus a term that multiplies the square of each coefficient by a scalar to penalize large coefficients. The linear regression model can include a least absolute shrinkage and selection operator (LASSO) model, in which ridge regression is combined with a least squares term multiplied by a factor of 1 divided by twice the number of samples. The linear regression model can include a multi-task Lasso model, in which the norm applied in the least squares term of the Lasso model is a Frobenius norm equal to the square root of the sum of the squares of all terms. The linear regression model may include an elastic network model, a multi-task elastic network model, a minimum angle regression model, a LARS model, an orthogonal matching pursuit model, a Bayesian regression model, a logistic regression model, a stochastic gradient descent model, a perceptron model, a passive attack algorithm, a robust regression model, a Huber regression model, or any other suitable model that a person skilled in the art may think of after reading the entire disclosure. In one embodiment, the linear regression model may be generalized to a polynomial regression model, thereby seeking a polynomial equation (e.g., a quadratic, cubic, or higher order equation) that provides the best predicted output / actual output fit; a method similar to the above method may be applied to minimize the error function, which will be apparent to a person skilled in the art after reading the entire disclosure.

[0103] Continue to refer Fig.12, the machine learning algorithms may include, but are not limited to, linear discriminant analysis. The machine learning algorithms may include quadratic discriminant analysis. The machine learning algorithms may include kernel ridge regression. The machine learning algorithms may include support vector machines, including but not limited to regression processes based on support vector classification. The machine learning algorithms may include stochastic gradient descent algorithms, including classification and regression algorithms based on stochastic gradient descent. The machine learning algorithms may include nearest neighbor algorithms. The machine learning algorithms may include various forms of latent space regularization, such as variational regularization. The machine learning algorithms may include Gaussian processes, such as Gaussian process regression. The machine learning algorithms may include cross decomposition algorithms, including partial least squares and / or canonical correlation analysis. The machine learning algorithms may include naive Bayesian methods. Machine learning algorithms may include decision tree based algorithms, such as decision tree classification or regression algorithms. Machine learning algorithms may include ensemble methods, such as bagging meta-estimators, random tree forests, AdaBoost, gradient tree boosting, and / or voting classifier methods. Machine learning algorithms may include neural network algorithms, including convolutional neural network processes.

[0104] Reference now Fig.13 , an exemplary embodiment of a neural network 1300 is shown. Neural network 1300, also known as an artificial neural network, is a network of "nodes," or a data structure having one or more inputs, one or more outputs, and a function that determines the output based on the input. Such nodes may be organized in a network, such as, but not limited to, a convolutional neural network, including an input layer of nodes, one or more intermediate layers, and an output layer of nodes. Connections between nodes may be created by a process of "training" the network, in which elements from a training data set are applied to the input nodes, and then a suitable training algorithm (such as Levenberg-Marquardt, conjugate gradient, simulated annealing, or other algorithms) is used to adjust the connections and weights between nodes in adjacent layers of the neural network to produce desired values ​​at the output nodes. This process is sometimes referred to as deep learning. Connections may run only from input nodes to output nodes in a "feedforward" network, or the output of one layer may be fed back to the input of the same or different layer in a "recurrent network."

[0105] Reference now Fig.14 , shows an exemplary embodiment of a node of a neural network. The node may include but is not limited to multiple inputs x i , which can receive values ​​from the input to the neural network containing this node and / or from other nodes. The node can use the value corresponding to the input x i The multiplication weight w ito perform a weighted sum of the inputs. Additionally or alternatively, a bias b can be added to the weighted sum of the inputs so that a bias is added to each unit in the neural network layer independent of the inputs to the layer. The weighted sum can then be input to a function φ, which can generate one or more outputs y. Applied to the input x i The weight w i It may indicate whether an input is "excitatory", indicating that it has a strong influence on one or more outputs y, for example by having a corresponding weight with a large value, and / or indicating that it has a weak influence on one or more inputs y, for example by having a corresponding weight with a small value. i The value of may be determined by training a neural network using training data, which may be performed using any suitable process as described above.

[0106] Still reference Fig.14 As used in this disclosure, a "convolutional neural network" is a neural network in which at least one hidden layer is a convolutional layer that convolves the input with a subset of the input called a "kernel" and one or more additional layers (e.g., pooling layers, fully connected layers, etc.). CNNs may include, but are not limited to, deep neural network (DNN) extensions, where a DNN is defined as a neural network with two or more hidden layers.

[0107] Fig.15 15 is a system block diagram illustrating an example decoder 1500 capable of adaptive cropping. The decoder 1500 may include an entropy decoder processor 1504, an inverse quantization and inverse transform processor 1508, a deblocking filter 1512, a frame buffer 1516, a motion compensation processor 1520 and / or an intra prediction processor 1524.

[0108] In operation, still refer to Fig.15 , the bitstream 1528 may be received by the decoder 1500 and input to the entropy decoder processor 1504, which may entropy decode a portion of the bitstream into quantized coefficients. The quantized coefficients may be provided to the inverse quantization and inverse transform processor 1508, which may perform inverse quantization and inverse transform to create a residual signal, which may be added to the output of the motion compensation processor 1520 or the intra-frame prediction processor 1524, depending on the processing mode. The output of the motion compensation processor 1520 and the intra-frame prediction processor 1524 may include a block prediction based on a previously decoded block. The sum of the prediction and the residual may be processed by the deblocking filter 1512 and stored in the frame buffer 1516.

[0109] In one embodiment, still referring to Fig.15, the decoder 1500 may include circuits configured to implement any of the above operations in any of the above embodiments in any order and with any degree of repetition. For example, the decoder 1500 may be configured to repeatedly perform a single step or sequence until a desired or commanded result is achieved; the repetition of a step or sequence of steps may be iteratively and / or recursively performed using the output of a previous repetition as the input of a subsequent repetition, thereby aggregating the input and / or output of the repetition to produce an aggregated result, reducing or decrementing one or more variables such as global variables, and / or dividing a larger processing task into a collection of smaller processing tasks that are iteratively addressed. The decoder may perform any step or sequence of steps as described in the present disclosure in parallel, such as performing two or more steps simultaneously and / or substantially simultaneously using two or more parallel threads, processor cores, etc.; the division of tasks between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. A person skilled in the art will know various ways in which steps, sequences of steps, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iteration, recursion, and / or parallel processing after reviewing the entire contents of the present disclosure.

[0110] Fig.16 is a system block diagram illustrating an example video encoder 1600 capable of adaptive shearing. The example video encoder 1600 may receive an input video 1604, which may be initially segmented or partitioned according to a processing scheme such as a tree structured macroblock partitioning scheme (e.g., a quadtree plus a binary tree). An example of a tree structured macroblock partitioning scheme may include partitioning a picture frame into large block elements called coding tree units (CTUs). In some implementations, each CTU may be further partitioned into multiple sub-blocks called coding units (CUs) one or more times. The final result of the partitioning may include a set of sub-blocks that may be referred to as prediction units (PUs). Transform units (TUs) may also be utilized.

[0111] Still reference Fig.16 , the example video encoder 1600 may include an intra prediction processor 1608, a motion estimation / compensation processor 1612, which may also be referred to as an inter prediction processor, capable of constructing a motion vector candidate list including adding a global motion vector candidate to the motion vector candidate list, a transform / quantization processor 1616, an inverse quantization / inverse transform processor 1620, an in-loop filter 1624. A decoded picture buffer 1628 and / or an entropy coding processor 1632. The bitstream parameters may be input to the entropy coding processor 1632 to be included in the output bitstream 1636.

[0112] In operation, and continue to refer to Fig.16, for each block of the input video frame, it may be determined whether to process the block via intra picture prediction or using motion estimation / compensation. The block may be provided to an intra prediction processor 1608 or a motion estimation / compensation processor 1612. If the block is to be processed via intra prediction, the intra prediction processor 1608 may perform processing to output a predictor. If the block is to be processed via motion estimation / compensation, the motion estimation / compensation processor 1612 may perform processing including constructing a motion vector candidate list, the motion vector candidate list including adding a global motion vector candidate to the motion vector candidate list, if applicable.

[0113] Further references Fig.16 , a residual may be formed by subtracting the predictor from the input video. The residual may be received by a transform / quantization processor 1616, which may perform a transform process (e.g., a discrete cosine transform (DCT)) to produce coefficients that may be quantized. The quantized coefficients and any associated signaling information may be provided to an entropy coding processor 1632 for entropy coding and inclusion in an output bitstream 1636. The entropy coding processor 1632 may support encoding of signaling information associated with encoding the current block. In addition, the quantized coefficients may be provided to an inverse quantization / inverse transform processor 1620, which may reproduce pixels that may be combined with a predictor and processed by a loop filter 1624, the output of which may be stored in a decoded picture buffer 1628 for use by a motion estimation / compensation processor 1612, which may be capable of constructing a motion vector candidate list including adding a global motion vector candidate to the motion vector candidate list.

[0114] Continue to refer Fig.16 Although some variations have been described in detail above, other modifications or additions are possible. For example, in some implementations, the current block may include any symmetric block (8×8, 16×16, 32×32, 64×64, 128×128, etc.) and any asymmetric block (8×4, 16×8, etc.).

[0115] In some implementations, reference is still made to Fig.16 , a quadtree plus binary decision tree (QTBT) can be implemented. In QTBT, at the coding tree unit level, the partition parameters of the QTBT can be dynamically derived to adapt to local characteristics without sending any overhead. Subsequently, at the coding unit level, the joint classifier decision tree structure can eliminate unnecessary iterations and control the risk of wrong predictions. In some implementations, the LTR frame block update mode is available as an additional option available at each leaf node of the QTBT.

[0116] In some implementations, and still with reference to Fig.16, additional syntax elements can be signaled at different hierarchical levels of the bitstream. For example, a flag can be enabled for the entire sequence by including an enable flag encoded in a sequence parameter set (SPS). In addition, a CTU flag can be encoded at the coding tree unit (CTU) level.

[0117] Some embodiments may include a non-transitory computer program product (ie, physically implemented computer program product) storing instructions that, when executed by one or more data processors of one or more computing systems, cause at least one data processor to perform the operations herein.

[0118] Still reference Fig.16 , the encoder 1600 may include circuits configured to implement any operation in any of the above embodiments in any order and any degree of repetition. For example, the encoder 1600 may be configured to repeatedly perform a single step or sequence until a desired or commanded result is achieved; the repetition of a step or sequence of steps may be iteratively and / or recursively performed using the output of a previous repetition as the input of a subsequent repetition, thereby aggregating the input and / or output of the repetition to produce an aggregated result, reducing or decrementing one or more variables such as global variables, and / or dividing a larger processing task into a collection of smaller processing tasks that are iteratively addressed. The encoder 1600 may perform any step or sequence of steps as described in the present disclosure in parallel, such as performing two or more steps simultaneously and / or substantially simultaneously using two or more parallel threads, processor cores, etc.; the division of tasks between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. A person skilled in the art will know various ways in which steps, sequences of steps, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iteration, recursion, and / or parallel processing after reviewing the entire contents of the present disclosure.

[0119] Continue to refer Fig.16, a non-transitory computer program product (i.e., a physically implemented computer program product) may store instructions that, when executed by one or more data processors of one or more computing systems, cause at least one data processor to perform the operations and / or steps thereof described in the present disclosure, including but not limited to any of the operations described above and / or any operations that the decoder 900 and / or encoder 1600 may be configured to perform. Similarly, a computer system that may include one or more data processors and a memory coupled to the one or more data processors is also described. The memory may temporarily or permanently store instructions that cause at least one processor to perform one or more operations described herein. In addition, the method may be implemented by one or more data processors within a single computing system, or distributed across two or more computing systems. Such computing systems may be connected and may exchange data and / or commands or other instructions, etc., via one or more connections, including connections through a network (e.g., the Internet, a wireless wide area network, a local area network, a wide area network, a wired network, etc.), via direct connections between one or more of a plurality of computing systems, etc.

[0120] It should be noted that any one or more aspects and embodiments described herein can be conveniently implemented using one or more machines programmed according to the teachings of this specification (e.g., one or more computing devices used as user computing devices for electronic documents, one or more server devices, such as document servers, etc.), which will be apparent to those of ordinary skill in the computer arts. Based on the teachings of this disclosure, a skilled programmer can easily prepare appropriate software coding, which will be apparent to those of ordinary skill in the software arts. The aspects and implementations using software and / or software modules discussed above may also include appropriate hardware for assisting in implementing the machine executable instructions of the software and / or software modules.

[0121] Such software may be a computer program product using a machine-readable storage medium. A machine-readable storage medium may be any medium capable of storing and / or encoding a sequence of instructions executed by a machine (e.g., a computing device) and causing the machine to perform any of the methods and / or embodiments described herein. Examples of machine-readable storage media include, but are not limited to, disks, optical disks (e.g., CD, CD-R, DVD, DVD-R, etc.), magneto-optical disks, read-only memory "ROM" devices, random access memory "RAM" devices, magnetic cards, optical cards, solid-state storage devices. EPROM, EEPROM, and any combination thereof. The machine-readable medium used herein is intended to include a single medium and a collection of physically separated media, for example, a compact disk or a collection of one or more hard disk drives combined with a computer memory. As used herein, a machine-readable storage medium does not include signal transmission in an instantaneous form.

[0122] Such software may also include information (e.g., data) carried as a data signal on a data carrier (e.g., a carrier wave). For example, machine executable information may be included as a data-bearing signal contained in a data carrier, where the signal encodes a sequence of instructions or a portion thereof for execution by a machine (e.g., a computing device) and any associated information (e.g., data structures and data) that causes the machine to perform any of the methods and / or embodiments described herein.

[0123] Examples of computing devices include, but are not limited to, electronic book reading devices, computer workstations, terminal computers, server computers, handheld devices (e.g., tablet computers, smart phones, etc.), network devices, network routers, network switches, bridges, any machine capable of executing a sequence of instructions that specifies actions to be taken by the machine. And any combination thereof. In one example, the computing device may include and / or be included in an information station.

[0124] Fig.17 A diagrammatic representation of one embodiment of a computing device is shown in the exemplary form of a computer system 1700 within which an instruction set for causing a control system to perform any one or more of the aspects and / or methods of the present invention may be executed. It is also contemplated that a plurality of computing devices may be utilized to implement a specially configured instruction set for causing one or more of the devices to perform any one or more of the aspects and / or methods of the present invention. The computer system 1700 includes a processor 1704 and a memory 1708 that communicate with each other and with other components via a bus 1712. The bus 1712 may include any of several types of bus structures including, but not limited to, a memory bus, a memory controller, a peripheral bus, a local bus, and any combination thereof using any of a variety of bus architectures.

[0125] Processor 1704 may include any suitable processor, such as, but not limited to, a processor including logic circuits for performing arithmetic and logic operations, such as an arithmetic and logic unit (ALU), which may be regulated by a state machine and guided by operational inputs from memory and / or sensors; processor 1704 may be organized according to Von Neumann and / or Harvard architectures, as non-limiting examples. Processor 1704 may include, include and / or be included in, but not limited to, a microcontroller, a microprocessor, a digital signal processor (DSP), a field programmable gate array (FPGA), a complex programmable logic device (CPLD), a graphics processing unit (GPU), a general-purpose GPU, a tensor processing unit (TPU), an analog or mixed signal processor, a trusted platform module (TPM). A floating point unit (FPU) and / or a system on a chip (SoC).

[0126] The memory 1708 may include various components (e.g., machine-readable media), including, but not limited to, random access memory components, read-only components, and any combination thereof. In one example, a basic input / output system 1716 (BIOS), including basic routines that facilitate the transfer of information between elements within the computer system 1700, such as during startup, may be stored in the memory 1708. The memory 1708 may also include (e.g., stored on one or more machine-readable media) instructions (e.g., software) 1720 that implement any one or more aspects and / or methods of the present disclosure. In another example, the memory 1708 may further include any number of program modules, including, but not limited to, an operating system, one or more application programs, other program modules, program data, and any combination thereof.

[0127] The computer system 1700 may also include a storage device 1724. Examples of storage devices (e.g., storage device 1724) include, but are not limited to, hard disk drives, magnetic disk drives, optical disk drives combined with optical media, solid-state storage devices, and any combination thereof. The storage device 1724 may be connected to the bus 1712 via an appropriate interface (not shown). Example interfaces include, but are not limited to, SCSI, Advanced Technology Attachment (ATA), Serial ATA, Universal Serial Bus (USB), IEEE 1394 (FIREWIRE), and any combination thereof. In one example, the storage device 1724 (or one or more of its components) may be removably interfaced with the computer system 1700 (e.g., via an external port connector (not shown)). In particular, the storage device 1724 and the associated machine-readable medium 1728 may provide non-volatile and / or volatile storage of machine-readable instructions, data structures, program modules, and / or other data for the computer system 1700. In one example, the software 1720 may reside in whole or in part within the machine-readable medium 1728. In another example, the software 1720 may reside completely or partially within the processor 1704 .

[0128] The computer system 1700 may also include an input device 1732. In one example, a user of the computer system 1700 may input commands and / or other information into the computer system 1700 via the input device 1732. Examples of the input device 1732 include, but are not limited to, an alphanumeric input device (e.g., a keyboard), a pointing device, a joystick, a game pad, an audio input device (e.g., a microphone, a voice response system, etc.), a cursor control device (e.g., a mouse), a touch pad, an optical scanner, a video capture device (e.g., a still camera, a video camera, a touch screen, and any combination thereof. The input device 1732 may be connected to the bus 1712 via any of a variety of interfaces (not shown), including, but not limited to, a serial interface, a parallel interface, a game port, a USB interface, a FIREWIRE interface, a direct interface to the bus 1712, and any combination thereof. The input device 1732 may include a touch screen interface, which may be part of the display 1736 or separate from the display 1736, which will be discussed further below. The input device 1732 may be used as a user selection device for selecting one or more graphical representations in the graphical interface as described above.

[0129] The user may also input commands and / or other information to the computer system 1700 via a storage device 1724 (e.g., a removable disk drive, a flash drive, etc.) and / or a network interface device 1740. A network interface device such as the network interface device 1740 may be used to connect the computer system 1700 to one or more of various networks such as the network 1744, and one or more remote devices 1748 connected thereto. Examples of network interface devices include, but are not limited to, a network interface card (e.g., a mobile network interface card, a LAN card), a modem, and any combination thereof. Examples of networks include, but are not limited to, a wide area network (e.g., the Internet, an enterprise network), a local area network (e.g., a network associated with an office, a building, a campus, or other relatively small geographic space), a telephone network, a data network associated with a telephone / voice provider (e.g., a mobile communications provider data and / or voice network). A direct connection between two computing devices and any combination thereof. A network such as the network 1744 may employ wired and / or wireless communication modes. In general, any network topology may be used. Information (eg, data, software 1720 , etc.) may be transferred to and / or from computer system 1700 via network interface device 1740 .

[0130] The computer system 1700 may also include a video display adapter 1752 for transmitting displayable images to a display device, such as a display device 1736. Examples of display devices include, but are not limited to, liquid crystal displays (LCDs), cathode ray tubes (CRTs), plasma displays, light emitting diode (LED) displays, and any combination thereof. The display adapter 1752 and the display device 1736 may be used in conjunction with the processor 1704 to provide a graphical representation of aspects of the present disclosure. In addition to the display device, the computer system 1700 may include one or more other peripheral output devices, including, but not limited to, audio speakers, printers, and any combination thereof. Such peripheral output devices may be connected to the bus 1712 via a peripheral interface 1756. Examples of peripheral interfaces include, but are not limited to, serial ports, USB connections, FIREWIRE connections, parallel connections, and any combination thereof.

[0131] The exemplary embodiments of the present invention have been described in detail above. Various modifications and additions may be made without departing from the spirit and scope of the present invention. The features of each of the various embodiments described above may be appropriately combined with the features of the other described embodiments so as to provide a variety of feature combinations in associated new embodiments. In addition, although many separate embodiments have been described above, what is described here is merely an illustration of the application of the principles of the present invention. In addition, although the specific methods herein may be described and / or described as being performed in a specific order, the order is highly variable within the scope of ordinary technology to implement methods, systems and software according to the present invention. Therefore, this specification is only provided by way of example and does not otherwise limit the scope of the present invention.

[0132] Exemplary embodiments have been disclosed above and shown in the accompanying drawings. It will be appreciated by those skilled in the art that various changes, omissions and additions may be made to the specific disclosure herein without departing from the spirit and scope of the present invention.

Claims

1. A task-specific video decoder comprising: a first decoder receiving a bitstream having at least one feature and a description of a neural network backbone used by an encoder to generate the bitstream encoded therein; A neural network head, the neural network head being trained for a specific task, the neural network head receiving the backbone description from the first decoder and recreating the neural network backbone, the neural network head receiving the at least one feature and the output of the neural network backbone and generating a task-specific output.

2. The task-specific video decoder of claim 1, wherein: The first decoder includes a video decoder and a feature decoder, and the task-specific decoder also includes a bitstream parser, which receives the bitstream and provides a neural network description substream to the video decoder and a feature substream to the feature decoder.

3. The task-specific video decoder of claim 1 , wherein: The first decoder includes a neural network description decoder and a feature / video decoder; The task-specific decoder also includes a bitstream parser that receives the bitstream and provides a neural network description substream to the neural network description decoder and a feature substream to the feature / video decoder.

4. The task-specific video decoder of claim 1 further comprises a plurality of neural network heads, each of the neural network heads being trained for a specific task and receiving the at least one feature and the output of the neural network backbone and generating a task-specific output.

5. A bitstream comprising: Stream-level header; Characteristic sub-bitstream; Video sub-bitstream; and Neural network description substream.

6. The bitstream of claim 1, wherein: The feature sub-bitstream also includes a feature stream header and a feature stream payload.

7. The bitstream of claim 1, wherein: The video sub-bitstream also includes a video stream header and a video stream payload.

8. The bitstream of claim 1, wherein: The neural network sub-bitstream also includes a neural network stream header and a neural network feature stream payload.

9. The bitstream of claim 1, wherein: The feature sub-bitstream also includes a feature stream header and a feature stream payload; The video sub-bitstream also includes a video stream header and a video stream payload; and The neural network sub-bitstream also includes a neural network stream header and a neural network feature stream payload.

Citation Information

Patent Citations

  • Video coding for machine (VCM) based system and method for video super resolution (SR)

    US20210090217A1

  • Shared Dense Network with Robot Task-Specific Heads

    US20210181716A1