Inverse motion compensation-based codec for partial recomputation of general artificial neural network model in video streaming processing situation
The inversion motion compensation-based codec aligns current frames with previous frames to maintain spatial consistency and classify residuals in patch units, addressing the high computational load and bandwidth issues in Vision Transformers, achieving efficient real-time video streaming.
Patent Information
- Application Number
- PCT/KR2026/006233
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-22
- Filing Date
- 2026-05-21
- Publication Date
- 2026-11-26
AI Technical Summary
Existing video codecs struggle to achieve low latency and high frame rates due to high computational load in artificial neural network operations, particularly in models like Vision Transformers, which lack deformation covariance, leading to redundant computations and increased latency and network bandwidth usage.
Inversion motion compensation-based codec aligns the current video frame within the fixed frame of the previous frame, maintaining spatial consistency and classifying residuals into patch units for transmission, allowing computational reuse and reducing redundant computations and transmission volume.
This approach significantly reduces computational load and network bandwidth by reusing intermediate operation results, enabling high-resolution, high-frame-rate services in real-time video streaming environments.
Smart Images

Figure KR2026006233_26112026_PF_FP_ABST
Abstract
Description
Inversion motion compensation-based codec for partial recomputation of general artificial neural network models in video streaming processing situations
[0001] The present invention relates to an inversion motion compensation-based codec for partial recalculation of a general artificial neural network model in a video streaming processing situation, and more specifically, to a video codec for performing or supporting artificial neural network operations based on a vision transformer model, a transmitting device for transmitting the video codec, and a receiving device for receiving the video codec.
[0002] The real-time video streaming and analytics market is rapidly expanding due to the proliferation of 5G / 6G and edge / cloud GPU infrastructure, leading to a steady increase in demand for low-latency, low-bandwidth solutions. In particular, for applications where frame-by-frame inference accuracy and latency sensitivity are simultaneously critical—such as autonomous vehicles, remote-controlled robots, and XR (AR / VR) services—technology that reduces both latency and transmission volume through computational recycling is required.
[0003] Figure 1 is a diagram illustrating a new service field for real-time video processing using artificial neural networks.
[0004] Referring to Figure 1, real-time video processing using artificial neural networks (e.g., DNN) presents the possibility of new services in fields such as autonomous driving, AR, and drones. However, artificial neural networks have difficulty achieving low latency and high frame rates due to high computational load. To solve this problem, research is being conducted to reduce computational load by utilizing the large amount of information provided redundantly between frames, but no specific alternative has been presented to date.
[0005] The technical problem to be solved by the present invention is to provide a video codec transmission device for artificial neural network computation based on a vision transformer model.
[0006] Another technical objective of the present invention is to provide a video codec receiving device for artificial neural network computation based on a vision transformer model.
[0007] Another technical objective of the present invention is to provide a video codec transmission method for vision transformer-based artificial neural network computation.
[0008] Another technical objective of the present invention is to provide a method for receiving a video codec for artificial neural network computation based on a vision transformer model.
[0009] The technical problems to be solved by the present invention are not limited to the above technical problems, and other technical problems not mentioned will be clearly understood by those skilled in the art to which the present invention belongs from the description below.
[0010] A video codec transmission device for artificial neural network computation based on a Vision Transformer model according to the present invention, for achieving the above technical problem, may include: a frame management unit storing a previous image frame and a current image frame; an inversion motion compensation execution unit that modifies the current image frame so that the same image overlaps between the previous image frame and the current image frame, aligns it with the previous image frame, and calculates a residual image between the previous image frame and the current image frame after alignment; a residual compression unit that receives the residual image from the inversion motion compensation execution unit and compresses the residual image; and a transmission unit that transmits the compressed residual image to a receiving side.
[0011] The above-described inversion motion compensation unit can perform inversion motion compensation by transforming the current image frame into a form that moves, rotates, or scales it to align it with the previous image frame.
[0012] The above frame management unit creates an input space larger than the previous image frame and the current image frame, and stores the previous image frame and the current image frame in the input space.
[0013] The above residual image includes padding patches and image patches, and the residual compression unit can generate a compressed patch-unit residual image by compressing the padding patches to have only location information and compressing the image patches to have location information.
[0014] The inversion motion compensation unit described above can modify the current image frame to align it with the previous image frame so that the same image overlaps as much as possible at the same location between the previous image frame and the current image frame.
[0015] A video codec receiving device for artificial neural network computation based on a Vision Transformer model according to the present invention, for achieving other technical objectives described above, may include: a receiving unit for receiving a compressed residual image between a previous frame and a current image frame; a frame management unit for decompressing the received compressed residual image; a new image generation unit for generating a new image frame by overwriting the previous frame that stored the decompressed residual image; and a user application execution unit for executing artificial neural network computation based on a Vision Transformer model together with residual size information for each patch of the decompressed residual image and the generated new frame.
[0016] The user application execution unit can reuse intermediate operation results for patch portions where the residual size is below a predetermined threshold based on the residual size information in the artificial neural network operation, and can re-perform the operation for the corresponding area if it exceeds the predetermined threshold.
[0017] The above compressed residual image includes padding patches and image patches, and the above compressed residual image may be an image obtained by deforming the current image frame so that the same image overlaps between the previous image frame and the current image frame, aligning it with the previous image frame, and then compressing the residual between the previous image frame and the current image frame.
[0018] The above frame management unit creates an input space larger than the above previous video frame and stores the above previous video frame in the input space.
[0019] A video codec transmission method for artificial neural network computation based on a vision transformer model according to the present invention, for achieving another technical objective described above, may include the steps of: storing a previous image frame and a current image frame; modifying the current image frame so that the same image overlaps between the previous image frame and the current image frame and aligning it with the previous image frame; calculating a residual image between the previous image frame and the current image frame after alignment; receiving the residual image and compressing the residual image; and transmitting the compressed residual image to a receiving side.
[0020] A method for receiving a video codec for artificial neural network computation based on a Vision Transformer model according to the present invention, for achieving another technical objective described above, may include the steps of: receiving a compressed residual image between a previous frame and a current image frame; decompressing the received compressed residual image; overwriting the previous frame storing the decompressed residual image to create a new image frame; and executing an artificial neural network computation based on a Vision Transformer model together with residual size information for each patch of the decompressed residual image and the newly created frame.
[0021] This invention inverts the motion compensation method to align the current video frame with the fixed coordinate system of the previous video frame. This design allows the token configuration at the same location to be maintained even in models sensitive to changes in input position, such as Vision Transformers, and enables the direct utilization of already calculated intermediate computation results in the next video frame. As a result, high-cost computations, such as feature extraction and attention calculation, which conventional technology had to perform for every video frame, are significantly reduced, thereby simultaneously decreasing latency and power consumption. Furthermore, a higher frame rate can be achieved with the same computational budget, resulting in an expanded performance margin in applications where real-time performance is critical.
[0022] The padding patch may include areas where valid image information does not exist, outer areas of the input space, or non-valid areas newly created during the matching process. In the present invention, the residual is divided into patch units to distinguish between padding patches and image patches that lack substantial image information, and the configuration in which only position coordinates are transmitted for padding patches and quantization and entropy encoding results are transmitted for image patches also produces a direct effect. Since no transmission bits are allocated to the padding area at all, network bandwidth is reduced, and the receiving side restoration process is simplified, further reducing overall pipeline delay. By combining two key means, namely inversion motion compensation and patch-specific differential encoding, redundant computation and redundant transmission are simultaneously eliminated, a significant effect is derived in achieving double efficiency in computational and communication resources compared to conventional methods.
[0023] Furthermore, the present invention simultaneously achieves computational reuse and reduced transmission volume by aligning the current video frame within the fixed frame of the previous video frame to maintain spatial consistency between video frames even in models with weak deformation covariance, and by classifying and transmitting residuals in patch units. This resolves the issues of latency and resource consumption caused by redundant computations and enables the stable provision of high-resolution, high-frame-rate services in real-time video streaming environments.
[0024] In addition, the present invention can be directly utilized in any service requiring low-latency video streaming. It can be applied to front-facing video analysis of autonomous vehicles, remote robot drone control, augmented reality and virtual reality (XR) devices, real-time monitoring of smart factories and logistics centers, and interactive media streaming such as cloud gaming and remote desktops. Since these applications require minimizing latency while increasing video resolution and frame rates, they can fully utilize the advantages of this codec, which simultaneously reduces redundant computations and transmission volume.
[0025] Furthermore, the present invention simultaneously achieves computational reuse and reduced transmission volume by aligning the current video frame within the fixed frame of the previous video frame to maintain spatial consistency between video frames even in models with weak deformation covariance, and by classifying and transmitting residuals in patch units. This resolves the issues of latency and resource consumption caused by redundant computations and enables the stable provision of high-resolution, high-frame-rate services in real-time video streaming environments.
[0026] The effects obtainable from the present invention are not limited to those mentioned above, and other unmentioned effects will be clearly understood by those skilled in the art from the description below.
[0027] The accompanying drawings, which are included as part of the detailed description to aid in understanding the present invention, provide embodiments of the present invention and explain the technical concept of the present invention together with the detailed description.
[0028] Figure 1 is a diagram illustrating a new service field for real-time video processing using artificial neural networks.
[0029] Figure 2 is a diagram illustrating video compression for transmission.
[0030] Figure 3 is a diagram illustrating the reduction in computational load through motion compensation in a CNN structure model.
[0031] Figure 4 is a diagram illustrating the problems that the existing motion compensation method has in the vision transformer model.
[0032] FIG. 5 is an exemplary drawing for comparing and explaining a conventional motion compensation method and an inversion motion compensation method according to the present invention.
[0033] FIG. 6 is a diagram illustrating a case where the image of a fixed area (610) in a video frame continues to change.
[0034] FIG. 7 is a diagram illustrating a case where an image of a fixed area (710) is maintained in a video frame.
[0035] FIG. 8 is a block diagram illustrating the function of a video codec transmission device (100) for a vision transformer-based artificial neural network operation according to the present invention.
[0036] FIG. 9 is a block diagram for explaining the detailed configuration of a frame management unit (120) of a video codec transmission device (100) according to the present invention.
[0037] FIG. 10 is a detailed drawing for explaining the function of a video codec transmission device (100) according to the present invention.
[0038] FIG. 11 is a diagram illustrating the function of an inversion motion compensation performing unit (120) in a video codec transmission device (100) according to the present invention.
[0039] FIG. 12 is an exemplary diagram illustrating the process of residual compression in a video codec transmission device (100) according to the present invention.
[0040] FIG. 13 is a block diagram illustrating the configuration of a video codec receiving device (200) for artificial neural network computation based on a vision transformer model according to the present invention.
[0041] FIG. 14 is a diagram illustrating the function of a video codec receiving device (200) according to the present invention.
[0042] Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings. The detailed description disclosed below, together with the accompanying drawings, is intended to describe exemplary embodiments of the present invention and is not intended to represent the only embodiment in which the present invention may be practiced. The following detailed description includes specific details to provide a complete understanding of the present invention. However, those skilled in the art will know that the present invention may be practiced without such specific details.
[0043] In some cases, to avoid obscuring the concept of the present invention, known structures and devices may be omitted or illustrated in the form of block diagrams focusing on the core functions of each structure and device. Additionally, throughout this specification, the same components are described using the same reference numerals.
[0044] The present invention is capable of various modifications and may have various embodiments, and specific embodiments are illustrated in the drawings and described in detail. However, this is not intended to limit the invention to specific embodiments, and it should be understood that the invention includes all modifications, equivalents, and substitutions that fall within the spirit and scope of the invention.
[0045] When it is stated that one component is "connected" or "connected" to another component, it should be understood that while it may be directly connected or connected to that other component, there may also be other components in between. On the other hand, when it is stated that one component is "directly connected" or "directly connected" to another component, it should be understood that there are no other components in between.
[0046] Terms such as "first," "second," etc., may be used to describe various components, but said components should not be limited by said terms. These terms are used solely for the purpose of distinguishing one component from another.
[0047] The terms used herein are merely for describing specific embodiments and are not intended to limit the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this specification, terms such as “comprising” or “having” are intended to indicate the presence of the features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, and should be understood as not precluding the existence or addition of one or more other features, numbers, steps, actions, components, parts, or combinations thereof.
[0048] Furthermore, the components of the embodiments described with reference to each drawing are not limited to the respective embodiments and may be implemented to be included in other embodiments within the scope of maintaining the technical spirit of the present invention; it is also obvious that multiple embodiments may be re-implemented as a single embodiment that integrates multiple embodiments, even if a separate description is omitted.
[0049] Furthermore, terms such as "~part," "~unit," "~module," and "~unit" as used in the specification refer to a unit that processes at least one function or operation, and this may be implemented in hardware, software, or a combination of hardware and software. Terms such as "~part," "~unit," and "~module" used in this specification refer to software or hardware components and should be understood as structural names encompassing a circuit, processor, memory, or set of executable instructions configured to perform a specific function. Additionally, terms such as "~part" and "~unit" as used in the specification should be interpreted as containing a sufficient structure to perform a corresponding function, and should not be interpreted as merely meaning means for performing a function. Furthermore, the term "~part" as used in the specification may be used interchangeably with "~module," which refers to a unit that processes at least one function or operation. The above '~part', '~module', or '~unit' may be implemented in hardware, software, or a combination thereof, and should be interpreted as structural names including circuits or processors configured to perform specific functions and instructions executed by said processors. The present invention relates to a video transmission codec that introduces the concept of inversion motion compensation to recycle intermediate results of computations of artificial neural networks, particularly Vision Transformer series (based), during real-time video streaming.
[0050] Specifically, spatial consistency is maintained by aligning the current frame with the fixed space of the previous frame (to maximize overlap or fit best), and computational load and network bandwidth are simultaneously reduced by compressing and transmitting residuals in patch units. Therefore, the present invention can be applied to fields of multimedia processing and artificial intelligence application technologies, such as video codec design, edge AI inference, and low-latency network streaming. Alignment can be performed in a direction that minimizes pixel differences between frames, feature vector similarity, patch-unit error, token similarity, or combinations thereof.
[0051] Before explaining the core aspects of the present invention, details regarding the deep learning model, which is an artificial intelligence model related to the present invention, will be briefly explained.
[0052] Deep learning model
[0053] The biological characteristics of the human brain, particularly the connection structure of neurons, inspired artificial neural networks, another algorithm created by early machine learning researchers. However, unlike the brain, where any physically adjacent neurons can be interconnected, artificial neural networks have fixed layer connections and data propagation directions.
[0054] For example, when an image is cut into numerous tiles and input into the first layer of a neural network, the neurons repeat the process of passing data to the next layer until a final output is generated at the last layer. Each neuron is assigned a weight representing the accuracy of the input based on the task performed, and the final output is determined by summing all the weights. In the case of a stop sign, the image's characteristics—such as its octagonal shape, red color, text, size, and movement—are finely cut and 'inspected' by the neurons, and the neural network's task is to identify whether it is a stop sign. Here, a 'probability vector' is utilized to predict the result based on weights derived from sufficient data.
[0055] Deep learning is a form of artificial intelligence that has evolved from artificial neural networks, utilizing information input and output layers similar to the neurons in the brain to learn data. However, because even basic neural networks require a massive amount of computation, the commercialization of deep learning faced obstacles from the beginning. Nevertheless, researchers continued their work and succeeded in parallelizing algorithms that prove the concept of deep learning based on supercomputers. Furthermore, the emergence of GPUs, which are optimized for parallel processing, dramatically accelerated the computational speed of neural networks, leading to the advent of true deep learning-based artificial intelligence.
[0056] Neural networks are highly likely to produce numerous incorrect answers during the 'learning' process. Returning to the example of the stop sign, to precisely adjust the weights of neuron inputs to always produce the correct answer regardless of weather conditions or day-night cycles, one might need to learn from hundreds, thousands, or perhaps even millions of images. Only when this level of accuracy is reached can the neural network be considered to have properly learned the stop sign. In 2012, Google and Stanford University Professor Andrew Ng implemented a 'Deep Neural Network' consisting of over 1 billion neural networks using 16,000 computers. Through this, they extracted and analyzed 10 million images from YouTube and succeeded in having the computer classify photos of people and cats. They enabled the computer to independently learn the process of recognizing and judging the shape and appearance of cats appearing in the videos.
[0057] The image recognition capabilities of systems trained with deep learning have already surpassed those of humans. Furthermore, the scope of deep learning extends to areas such as identifying cancer cells in the blood and tumors in MRI scans. Google's AlphaGo learned the fundamentals of Go and further strengthened its neural network through the process of repeatedly playing matches against AIs similar to itself. The emergence of deep learning has enhanced the practicality of machine learning and expanded the scope of artificial intelligence. Deep learning subdivides tasks in every way possible that can be supported by computer systems.
[0058] Below, we will take a closer look at deep learning.
[0059] Deep learning is a type of artificial neural network (ANN) based on human neural network theory. It is a set of machine learning models or algorithms that refer to a deep neural network (DNN) composed of a layer structure and having one or more hidden layers (hereinafter referred to as intermediate layers) between the input layer and the output layer. Simply put, deep learning can be described as an artificial neural network with deep layers.
[0060] The human brain is estimated to be composed of 25 billion nerve cells. The brain consists of nerve cells, and each nerve cell (neuron) refers to a single nerve cell that forms a neural network. A nerve cell contains a cell body, a single axon (or nurite) which is a projection of the cell body, and usually several dendrites (or protoplasmic processes). Information exchange between these nerve cells is transmitted through junctions between nerve cells called synapses. While a single nerve cell appears very simple when viewed in isolation, when these nerve cells come together, they are capable of possessing human intelligence. The dendrites are the part that receives signals sent by other nerve cells (Input), while the axon is the long extension from the cell body that transmits signals to other nerve cells (Output). There is a connection called a synapse that links the axon and dendrite, which transmit signals between nerve cells; however, the signal is not transmitted unconditionally, but is only transmitted when the signal strength exceeds a certain value (threshold). In other words, not only is the connection strength different for each synapse, but it also determines whether or not to transmit a signal.
[0061] Artificial neural networks (ANNs), a field of artificial intelligence, are mathematical models modeled by mimicking the structure of the biological (typically human) brain (neural networks). In other words, artificial neural networks are implemented by imitating the information processing and transmission processes of these biological neurons. As they are implemented similarly to how the human brain solves problems, neural networks possess excellent parallelism because each neuron operates independently. Furthermore, since information is distributed across numerous connections, problems in a few neurons do not significantly affect the entire network; consequently, they are resilient to a certain level of error and possess the ability to learn from a given environment.
[0062] Deep neural networks can be viewed as descendants of artificial neural networks. They are the latest version of artificial neural networks, having overcome existing limitations and achieved success in areas where numerous artificial intelligence technologies had previously failed. When examining the modeling of artificial neural networks that mimic biological neural networks, biological neurons are modeled as nodes in terms of processing units, and synapses are modeled as weights in terms of connections, as shown in Table 1 below.
[0063] Biological Neural Network Artificial Neural Network Cell Body Node Dendrite Input Axon Output Synapse Weight
[0064] Just as human biological neurons perform meaningful tasks by connecting multiple cells rather than just one, artificial neural networks connect individual neurons to one another through synapses, creating multiple interconnected layers where the connection strength between layers can be updated using weights. In this way, they are utilized in fields for learning and cognition through their multi-layered structure and connection strengths.
[0065] Each node is connected by weighted links, and the entire model learns by repeatedly adjusting these weights. Weights represent the importance of each node as a fundamental means for long-term memory. Simply put, an artificial neural network trains the entire model by initializing these weights and updating and adjusting them with the data set to be trained. Once training is complete, when a new input is received, it infers an appropriate output value. The learning principle of an artificial neural network can be viewed as the process by which intelligence is formed from the generalization of experience, and it operates in a bottom-up manner. In Figure 1, when there are two or more intermediate layers (i.e., 5 to 10), the layers are considered to be deep, and it is called a Deep Neural Network; the learning and inference model achieved through such a Deep Neural Network can be referred to as Deep Learning.
[0066] Artificial neural networks can perform a certain role even with only one intermediate layer (commonly referred to as a 'hidden layer') in addition to inputs and outputs, but as the complexity of the problem increases, the number of nodes or layers must be increased. Among these, adopting a multi-layered model by increasing the number of layers is effective, but its scope of application is limited due to the limitations that efficient learning is impossible and the amount of computation required to train the network is large.
[0067] A Deep Neural Network (DNN) is an Artificial Neural Network (ANN) composed of multiple hidden layers between an input layer and an output layer. It is a set of machine learning models or algorithms referring to a Deep Neural Network (DNN) that has one or more hidden layers between an input layer and an output layer. Connections in a neural network are formed from the input layer to the hidden layer, and from the hidden layer to the output layer.
[0068] Deep neural networks, like general artificial neural networks, can model complex non-linear relationships. For example, in a deep neural network structure for an object identification model, each object can be represented as a hierarchical composition of the basic elements of an image. In this case, additional layers can combine features from progressively gathered lower layers. This characteristic of deep neural networks enables the modeling of complex data with fewer units (nodes) compared to similarly performed artificial neural networks.
[0069] Previous deep neural networks were typically designed as feedforward networks, but recent research has successfully applied deep learning structures to Recurrent Neural Networks (RNNs). Examples include the application of deep neural network structures in the field of language modeling. In the case of Convolutional Neural Networks (CNNs), not only have they been successfully applied in the field of computer vision, but their successful applications are also well-documented. More recently, CNNs have been applied to acoustic modeling for Automatic Speech Recognition (ASR) and are considered to have been more successful than existing models. Deep neural networks can be trained using the standard backpropagation algorithm. In this process, weights can be updated through stochastic gradient descent.
[0070] The Transformer model is also a deep learning model. The Transformer is a sequence processing deep learning model proposed in the paper "Attention is All You Need," published by Google in 2017. Although originally developed for Natural Language Processing (NLP), it is now being applied to various domains, such as video and audio. The Transformer model is a deep learning model that extracts important information from input data, such as words or sentences, and generates output data. To achieve this, it uses a Self-Attention mechanism that considers the interactions between words in the input data.
[0071] As mentioned above, deep learning is a learning model based on a multi-layered artificial neural network (DNN). The structure of the Transformer includes the Self-Attention layer, Multi-Head Attention, and Feed Forward Network, all of which are composed of multi-layered neural networks, so it falls under the category of deep learning.
[0072] The Transformer learning method learns through backpropagation and gradient descent based on a large amount of data. This is the same method as other deep learning models such as CNN and RNN.
[0073] Extended Transformer applications include the Vision Transformer (ViT) for image processing, natural language processing transformers such as BERT, GPT, and T5, and computer vision architectures such as Swin Transformer and DETR.
[0074] Below, video compression and the like related to the transmission and reception of the video codec described in the present invention will be explained.
[0075] Figure 2 is a diagram illustrating video compression for transmission.
[0076] Referring to Fig. 2, a real-time compression codec can maximize transmission efficiency by reducing redundant information between video frames. First, an appropriate transformation method for the previous video frame (e.g., the T-th video frame) is found so that most of its area overlaps with the current video frame (e.g., the T+1-th video frame). This is called the motion compensation step through alignment. Next, the residual between the transformed previous video frame and the current video frame is calculated. Finally, the residual information is compressed using methods such as quantization and entropy compression. Through this, a high compression ratio is achieved.
[0077] Figure 3 is a diagram illustrating the reduction in computational load through motion compensation in a CNN structure model.
[0078] Referring to Figure 3, the model of the CNN (Convolutional Neural Network) structure has the characteristic that when the input is transformed, the intermediate operation result is also transformed in the same way. This characteristic is called transform covariance or transform equivariance.
[0079] In CNN models, translational covariance refers to the fact that images are processed through convolution operations, and these operations are translational. In other words, if an image shifts sideways, the CNN's output also shifts in the same direction. For instance, if a CNN detects the presence of an object when it is located on the left side of the screen, it can similarly detect the same object in an image where the same object has shifted slightly to the right. The ability of a CNN to produce similar outputs regardless of position is called translational covariance.
[0080] For this reason, CNNs are robust to changes in the position of objects within an image. However, since they are not equivariant to rotation, scaling, etc., additional structural design or data augmentation is required.
[0081] In this way, computational load can generally be reduced by reusing intermediate computation results for parts with small residuals, by performing the same motion compensation on the intermediate computation results of the previous video frame. However, not all artificial neural network models possess this characteristic of transformation covariance. Transformer models, which are widely used recently, do not have the characteristic of transformation covariance.
[0082] A Vision Transformer is a model that applies a Transformer structure to image processing. While Transformers originally emerged in Natural Language Processing (NLP), the Vision Transformer is a model that utilizes this concept for image classification and analysis. Instead of viewing the entire image at once, the Vision Transformer model divides the image into multiple regions (e.g., patches; referred to as patches for convenience of explanation below) and processes each patch as if it were a word in a sentence.
[0083] The image is partitioned into patches. For example, if an input image (224 x 224) is divided into several small patches (e.g., 16 x 16), a total of (224 / 16)² = 196 patches are generated. The patches are vectorized; each patch is flattened into a one-dimensional vector and then linearly projected. Positional encoding is added to preserve positional information between patches. Similar to NLP, the Transformer encoder stacks multiple layers of Self-Attention and MLP blocks, and generates the final result by outputting tokens similar to sentence classification. Patches can have a fixed or variable size.
[0084] The Vision Transformer model applies the Transformer, widely used in natural language processing, to vision tasks without significantly altering the overall architecture. Except for the input layer (sequences of image patches), the Vision Transformer model moves beyond the limited attention mechanisms of existing CNNs and replaces most of the CNN structure with Transformers. By pre-training on large datasets and performing transfer learning on small image datasets (ImageNet-1k, Cifar100), the Vision Transformer model can achieve excellent results with significantly fewer computational resources. However, it requires pre-training on a large amount of data.
[0085] One of the advantages of the Vision Transformer model is its excellent scalability, as it utilizes the Transformer structure almost intact. Although existing attention-based models are theoretically sound, they have been difficult to effectively scale to other networks due to specialized attention patterns. Since the Transformer has been proven to perform well in large-scale learning, this same benefit can be achieved. As mentioned above, it uses fewer computational resources for training than CNNs during transfer learning.
[0086] Figure 4 is a diagram illustrating the problems that the existing motion compensation method has in the vision transformer model.
[0087] While the original Transformer model was used for text processing in Natural Language Processing (NLP), the Vision Transformer model applies this structure to image processing. The Vision Transformer model treats images like sentences. In the Vision Transformer model, images are divided into a grid. Dividing an image into a grid means, for example, assuming a 224x224 pixel image is received, that image is cut into small patches of 16x16 pixels. Consequently, the entire image is divided into (224 / 16) x (224 / 16) = 14x14 = 196 patches. Each patch is a single small image (16x16x3 = 768 numbers, including RGB channels).
[0088] Just as the Transformer model treats and processes each word as a token in text, the Vision Transformer model treats each patch as a single token. This patch undergoes Flatten + Linear Projection to become a fixed-length vector (for example, 768 dimensions). These vectors then become the input to the Vision Transformer model.
[0089] Referring to Figure 4, when an image is deformed (e.g., translated, rotated, scaled, etc.), the image included in each grid changes, and the token value also changes significantly. Conventional codecs that assume only motion compensation for the previous video frame cannot utilize the similarity between video frames in a vision transformer model that lacks deformation covariance characteristics. Conventional video codecs (e.g., H.264, HEVC, etc.) reduce data by predicting how the image moved from the previous video frame to the current video frame, and this is called motion compensation.
[0090] However, models like Vision Transformers do not strictly rely on chronological order and learn similar patterns between two video frames globally. Yet, as mentioned above, since existing codecs reconstruct the current video frame based only on the previous one, Vision Transformers models find it difficult to utilize the complex similarities between two video frames.
[0091] Therefore, a video transmission codec is required that enables the utilization of similarity with the next frame without modifying the previous video frame. To this end, a codec is needed that preserves the previous video frame as is while also considering the relationship with the "upcoming video frame (next video frame)." Here, the next video frame will be referred to as the current video frame below.
[0092] This invention resolves the limitation that existing video codecs, which follow a motion compensation structure that modifies the previous video frame to fit the current video frame, provide the effect of reusing intermediate operations only to models with high deformation covariance, such as CNNs.
[0093] The video codec proposed in this invention inverts the direction of motion compensation to align the current video frame within the fixed space of the previous frame, thereby maintaining token values in the same space even in modern networks with weak deformation covariance, such as vision transformer models. Furthermore, by classifying residuals into patch units—transmitting padding patches containing only positional information and image patches containing quantized and entropy-encoded data—the transmission volume is reduced. Consequently, spatial consistency between video frames is maximized to expand the scope of computational reuse, and network bandwidth can be reduced through patch-based differential coding.
[0094] The reason for patch-unit processing is as follows: first, to improve local prediction accuracy. Since movement or change may differ in small blocks (Patch, e.g., 8x8, 16x16) rather than the entire image, independent motion vectors and predictions are performed for each patch, and the difference (residual) between the prediction result and the actual value is calculated for each patch.
[0095] The second reason for patch-unit processing is to improve compression efficiency. Representing residuals locally results in similar statistical characteristics across regions, which leads to higher compression ratios during quantization and entropy coding. This improvement in compression efficiency also enhances transmission efficiency.
[0096] FIG. 5 is an exemplary drawing for comparing and explaining a conventional motion compensation method and an inversion motion compensation method according to the present invention.
[0097] Referring to FIG. 5, the present invention proposes a video transmission codec that enables the reuse of existing intermediate operation results by inverting the existing motion compensation method, which modifies the previous video frame (540) to match the current video frame (550) when performing artificial neural network operations on a video streaming input, and matching the current video frame (550) to the previous video frame (540).
[0098] A traditional real-time video codec can align a previous video frame (510) with a current video frame (520) by moving, rotating, and scaling the previous video frame, calculate the difference between the two video frames as a residual, generate a residual image (which can be referred to in various ways such as residual information, residual, etc.) (530), and then compress the residual image. This structure has the advantage of being able to reuse already calculated intermediate results by utilizing the characteristic that the modified input in a CNN-based model is equally reflected in the intermediate feature map.
[0099] However, models like the Vision Transformer, which tokenize images by dividing them into a fixed grid, cannot utilize intermediate computation results directly with existing methods because even slight changes in input position cause significant alterations in token composition. Consequently, real-time analysis systems based on the Vision Transformer model must repeat the same computation for every video frame, even within the same area, leading to increased computational load, extended latency, and excessive network bandwidth usage.
[0100] FIG. 6 is a diagram illustrating a case where the image of a fixed area (610) in a video frame continues to change, and FIG. 7 is a diagram illustrating a case where the image of a fixed area (710) in a video frame is maintained.
[0101] FIG. 6(a) shows an image of a fixed area (610) in the shape of a box just before an object (bear) moves to the left within the image frame, and FIG. 6(b) shows an image of a fixed area (610) in the image frame where the object (bear) has moved to the left. It can be seen that the image within the fixed area (610) in FIG. 6(a) and the image within the fixed area (610) in FIG. 6(b) are the same fixed area, yet the image continues to change. In this case, the intermediate operation of this part cannot be reused in the vision transformer model.
[0102] FIG. 7(a) shows an image of a fixed area (710) in the shape of a box just before an object (bear) moves to the left within the image frame, and FIG. 7(b) shows an image of a fixed area (710) and an image of a fixed area (710) in the image frame where the object (bear) has moved to the left. It can be seen that the image within the fixed area (710) in FIG. 7(a) and the image within the fixed area (710) in FIG. 7(b) are maintained. In this case, the Vision Transformer model allows for the reuse of intermediate operations in this part. A newly input image frame is attached to the previous image frame so that the same image at the same location is maintained as much as possible (i.e., aligned on the same spatial coordinate system or placed within the same reference space). In FIG. 7, since the same or similar image information is maintained within the same spatial coordinate system, the token or intermediate operation result corresponding to that area can be reused. On the other hand, in FIG. 6, since the image composition within the same spatial coordinate system changes, the corresponding token value changes, making it difficult to reuse the intermediate operation result. The present invention enables the reuse of intermediate computation results at the patch or token level in a vision transformer-based model by aligning the current image frame so that identical or similar image information is maintained in the same spatial coordinate system. The reused intermediate computation results may include token embeddings, attention computation results, feature maps, or hidden states.
[0103] FIG. 8 is a block diagram for explaining the function of a video codec transmission device (100) for a vision transformer-based artificial neural network operation according to the present invention, FIG. 9 is a block diagram for explaining the detailed configuration of a frame management unit (120) of a video codec transmission device (100) according to the present invention, FIG. 10 is a detailed drawing for explaining the function of a video codec transmission device (100) according to the present invention, and FIG. 11 is a drawing for explaining the function of an inversion motion compensation unit (120) in a video codec transmission device (100) according to the present invention.
[0104] Referring to FIG. 8, a video codec transmission device (100) according to the present invention may include a frame management unit (110), an inversion motion compensation execution unit (120), a residual compression unit (130), and a transmission unit (140). Each component including the frame management unit (110), the inversion motion compensation execution unit (120), and the residual compression unit (130) described herein may be implemented as an independent hardware device, or as a set of instructions or program modules executed by at least one processor. In particular, each unit should be understood not merely as an abstract means of performing a function, but as a structural name supported by a physical structure such as a processor or dedicated circuitry specially programmed to perform the corresponding function.
[0105] Referring to FIGS. 8 and 9, the frame management unit (110) stores a previous video frame (or the previous video frame) (810) and a current video frame (820). The current video frame (820) may be a continuous frame following the previous video frame (810). Here, the frame management unit (110) may be configured to include a frame storage unit (113) that stores video frames and a frame update unit (115) that updates video frames.
[0106] The frame storage unit (113) stores an image (817) that is larger than the actual video frame (810). The frame storage unit (113) of the frame management unit (110) can generate an input space (or input space image) (817) of a predetermined size (e.g., a predetermined fixed size) according to the specifications of the neural network to be finally used, and then store the previous video frame (810) in the input space (817). The frame storage unit (113) can provide the input space image (817) containing the previous video frame (810) that was stored in the inversion motion compensation unit (110).
[0107] When the system is initialized, the frame storage unit (113) secures a fixed space larger than the input resolution as a single large image buffer and copies the entire first image frame (810) into that space (817). At this time, the frame storage unit (113) also records a separate transformation matrix to indicate the location and size of the area occupied by the actual image. Since the transformation matrix indicates where valid pixels exist within the fixed space (817), it is possible to immediately determine whether the area contains the actual image when checking the patch later. Subsequently, when a new frame, i.e., the current image frame (820), arrives, the inversion motion compensation unit (120) refers to the transformation matrix of the previous image frame (810) to move, rotate, or scale the current image frame (820) and place it within the fixed space (817). The transformation matrix may include parameters indicating movement, rotation, scaling, etc.
[0108] Referring to FIGS. 8 to 11, the inversion motion compensation performing unit (120) can receive an input space image (817) including a previous image frame (810) from the frame management unit (110) and receive a current image frame (820).
[0109] The inversion motion compensation unit (120) receives the previous video frame (810) provided by the frame management unit (110) and the newly input current video frame (820), and aligns the two images so that they overlap as much as possible. The inversion motion compensation unit (120) can align the current video frame (820) with the previous video frame (810) by deforming the current video frame (820) so that the same image overlaps between the previous video frame (810) and the current video frame (820). That is, the inversion motion compensation unit (120) aligns the current video frame (820) with the previous video frame (810) by deforming it into a shape by moving, rotating, or scaling it in the input space (817) containing the previous video frame (810).
[0110] FIG. 10 illustrates a modification in which an inversion motion compensation unit (120) rotates and adjusts the current image frame (820), and the rotated and adjusted current image frame (825) is shown.
[0111] When performing such a transformation, the inversion motion compensation unit (120) can transform the current video frame (820) to align it with the previous video frame (810) so that the same image overlaps as much as possible at the same location between the previous video frame (810) and the current video frame (820). That is, the inversion motion compensation unit (120) aligns the current video frame (820) within the input space (817) by transforming (moving, rotating, scaling) it so that the largest portion overlaps with the previous video frame (810).
[0112] The inversion motion compensation unit (120) first retrieves the contents of the fixed space (817) of the previous video frame (810). The inversion motion compensation unit (120) then selects the translation, rotation, or scaling that best fits the current video frame (817) within the fixed space (817) and transforms the current video frame (820). When the transformation is completed, the inversion motion compensation unit (120) places the previous video frame (810) and the current video frame (820) at the same location within the fixed coordinate system, and the difference between the two images becomes the residual. The residual thus generated and the selected transformation matrix are passed to a subsequent step.
[0113] The inversion motion compensation unit (120) can align the current image frame (820) with the previous image frame (810) and then produce a residual image (830) between the previous image frame (810) and the current image frame (820) (which may be referred to in various forms such as residual information, residual, etc.).
[0114] FIG. 12 is an exemplary diagram illustrating the process of residual compression in a video codec transmission device (100) according to the present invention.
[0115] Referring to FIG. 12, the residual compression unit (130) receives a residual image (830) from the inversion motion compensation unit (120). The residual compression unit (130) divides the residual image (830) into a plurality of patches (131) of a certain size, and then classifies each patch into two types.
[0116] The first type is a padding patch, which corresponds to a part where there is no actual image. The residual compression unit (130) can compress the padding patches (131) to have only location information (133). The residual compression unit (130) divides the residual image (830) transmitted from the inversion motion compensation unit (120) into patches of the same size and then classifies each patch into two types. First, the residual compression unit (130) determines that the borders or empty areas without image information are padding patches (131), records only the location coordinates (133), and does not send separate data.
[0117] The second type is image patches (136), which correspond to the parts where the actual image exists. The residual compression unit (130) classifies the areas with actual pixel changes into image patches (136), quantizes the residual values, and compresses them using an entropy method.
[0118] The residual compression unit (130) can compress residuals by adding position information to image patches (136). As an example, when compressing image patches (136), the residual compression unit (130) can generate a compressed residual image by quantizing and entropy-compressing and adding position information. The residual compression unit (130) bundles the padding patch coordinates and the compressed image patch data configured in this way into a continuous stream and transmits them to the transmission unit (140), thereby eliminating transmission bits for unnecessary parts and efficiently transmitting only the valid information.
[0119] The residual compression unit (130) can compress padding patches (131) to have only position information (133), quantize and entropy compress image patches (136), and then add position information, and then combine the compressed padding patches (131) and the compressed image patches (136) to generate a compressed patch unit residual image (840).
[0120] Referring to FIGS. 8 to 10, the transmission unit (140) can transmit a compressed patch unit residual image (840) to the receiving side. That is, padding patches (131) only contain location information, and image patches (136) contain quantized and entropy-encoded data, which are bundled together and transmitted.
[0121] Referring to FIG. 9, the frame management unit (110) may include a frame storage unit (113) and a frame update unit (115). As described above, the frame storage unit (113) stores an image (817) that is larger than the actual frame (810). When the frame update unit (115) receives a compressed patch unit residual, it decompresses it again and transmits it to the frame storage unit (113) to update the frame image stored in the frame storage unit (110). The frame update unit (110) applies the updated patch when necessary to keep the previous frame stored inside the frame storage unit (113) up to date. Thus, it updates the information regarding the residual image (830) for the current image frame (820) so that it can be used when predicting the next image frame.
[0122] FIG. 13 is a block diagram illustrating the configuration of a video codec receiving device (200) for artificial neural network computation based on a vision transformer model according to the present invention, and FIG. 14 is a diagram illustrating the function of a video codec receiving device (200) according to the present invention.
[0123] Referring to FIG. 13, a video codec receiving device (200) according to the present invention may include a receiving unit (210), a frame management unit (220), and a user application execution unit (230).
[0124] The receiver (210) can initially receive a previous frame (810) from the video codec transmission device (100) according to the present invention. The receiver (210) can receive a compressed residual image (840) between the previous video frame (810) and the current video frame (820) from the video codec transmission device (100). The receiver (210) transmits the compressed residual image (840), i.e., the compressed patch-unit residual image, to the frame management unit (220).
[0125] The compressed residual image (840) includes padding patches and image patches, and is an image in which the current image frame (820) is modified in a video codec transmitting device (100) so that the same image overlaps between the previous image frame (810) and the current image frame (820), and then the residual between the previous image frame (810) and the current image frame (820) is compressed.
[0126] The frame management unit (220) can decompress the received compressed residual image. The new image generation unit (230) can generate a new image frame (850) by overwriting the previous frame that stored the decompressed residual image. The new image frame (850) is an image displaying the new frame image and the residual level of each patch, and in this case, the new image frame (850) can also be generated as an input space (850) containing the new frame image.
[0127] In the video codec receiving device (200) according to the present invention, since information regarding the previous video frame (810) is initially received from the video codec transmitting device (100), as shown in FIG. 14, the frame management unit (220) may create an input space (817) larger than the previous video frame (810) and store the previous video frame (817) in the input space (817). When a patch stream arrives at the frame management unit (220), the new image generation unit (230) retrieves the previous video frame (or the previous video frame) (810) stored in the frame management unit (220), and then overwrites each patch at the corresponding location to complete a new frame (850). The completed frame and residual size information per patch can be immediately transmitted to the user application utility unit (240) where the artificial neural network is executed.
[0128] The user application execution unit (240) can execute an artificial neural network by applying the residual size information for each patch of the decompressed residual image (840) and the newly generated frame (850) together to a Vision Transformer model-based artificial neural network. At this time, the user application execution unit (240) can adjust the amount of computation by determining whether to reuse intermediate computations based on the residual size information in the artificial neural network computation. The user application execution unit (240) can optimize the amount of computation by determining whether to reuse the intermediate computation results of the application based on the provided residual size. As an example, the user application execution unit (240) can control the computation so that for patches where the residual size is greater than or equal to a predetermined size, the computation is performed without reusing the intermediate computation results of the artificial neural network, while for patches where the residual size is less than the predetermined size, the intermediate computation results are reused to optimize the amount of computation.
[0129] This invention inverts the motion compensation method to align the current video frame with the fixed coordinate system of the previous video frame. This design allows the token configuration at the same location to be maintained even in models sensitive to changes in input position, such as Vision Transformers, and enables the direct utilization of already calculated intermediate computation results in the next video frame. As a result, high-cost computations, such as feature extraction and attention calculation, which conventional technology had to perform for every video frame, are significantly reduced, thereby simultaneously decreasing latency and power consumption. Furthermore, a higher frame rate can be achieved with the same computational budget, resulting in an expanded performance margin in applications where real-time performance is critical.
[0130] As described above, in the present invention, the residual compression unit (130) divides the residual into patch units to distinguish between padding patches (131) and image patches (136) that do not contain actual image information, and the configuration in which only position coordinates are transmitted for padding patches (136) and quantization and entropy encoding results are transmitted for image patches also produces a direct effect. Since no transmission bits are allocated to the padding area at all, network bandwidth is reduced, and the recovery process at the receiving side (200) is simplified, further reducing the overall pipeline delay. By combining two key means, namely inversion motion compensation and patch-specific differential encoding, redundant computation and redundant transmission are simultaneously eliminated, thereby producing a significant effect of achieving double efficiency in computational and communication resources compared to conventional methods.
[0131] Furthermore, the present invention simultaneously achieves computational reuse and reduced transmission volume by aligning the current video frame within the fixed frame of the previous video frame to maintain spatial consistency between video frames even in models with weak deformation covariance, and by classifying and transmitting residuals in patch units. This resolves the issues of latency and resource consumption caused by redundant computations and enables the stable provision of high-resolution, high-frame-rate services in real-time video streaming environments.
[0132] In addition, the present invention can be directly utilized in any service requiring low-latency video streaming. It can be applied to front-facing video analysis of autonomous vehicles, remote robot drone control, augmented reality and virtual reality (XR) devices, real-time monitoring of smart factories and logistics centers, and interactive media streaming such as cloud gaming and remote desktops. Since these applications require minimizing latency while increasing video resolution and frame rates, they can fully utilize the advantages of this codec, which simultaneously reduces redundant computations and transmission volume.
[0133] Market entry related to the present invention is also easy. The codec proposed in this invention can be inserted as a library before and after standard H.26x / VP series encoders, and since real-time operation using only the GPU and CPU is verified without hardware modification, the initial adoption cost is low.
[0134] Furthermore, since it is compatible with open-source multimedia stacks (FFmpeg, GStreamer, etc.), it can be integrated into existing services at the level of module replacement, and deployment is also possible at the API level provided by cloud and MEC providers. With high industry interest already evident in active pilot tests in areas such as AR glasses, drone control, and smart factories, and a sufficient ecosystem foundation established to enter the market activation phase, its potential for industrial application and marketability is very high.
[0135] The scope of application extends beyond the multimedia field. In addition to video, the same principles can be applied to reduce processing delays in areas requiring the periodic transmission and interpretation of sensor grid data sensitive to location changes, such as smart city monitoring, real-time medical imaging (remote surgery and telehealth), satellite and aerial image streaming, and scientific visualization. Therefore, this invention has the potential for widespread application in various industrial sectors, including edge AI, network equipment, cloud platforms, and medical, defense, and space exploration.
[0136] Since the present invention improves performance through software while retaining existing codec and neural network pipelines, it can encompass the entire edge-AI and real-time streaming ecosystem, which is showing distinct growth, as a potential market.
[0137] The device described above may be implemented as a hardware component, a software component, and / or a combination of a hardware component and a software component. For example, the device and components described in the embodiments may be implemented using one or more general-purpose computers or special-purpose computers, such as, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions.
[0138] The frame management unit (110), inversion motion compensation execution unit (120), residual compression unit (130), and transmission unit (140), which are components of the video codec transmission device (100) proposed in the present invention, may be implemented by one or more processors. Additionally, the reception unit (210), frame management unit (220), new image generation unit (230), and user application execution unit (240), which are components of the video codec reception device (200) proposed in the present invention, may also be implemented by one or more processors.
[0139] The processing unit may execute an operating system (OS) and one or more software applications executed on said operating system. Additionally, the processing unit may access, store, manipulate, process, and generate data in response to the execution of software. For ease of understanding, the processing unit may be described as being used as a single unit, but those skilled in the art will understand that the processing unit may include multiple processing elements and / or multiple types of processing elements. For example, the processing unit may include multiple processors or one processor and one controller. Additionally, other processing configurations, such as parallel processors, are also possible.
[0140] Software may include computer programs, code, instructions, or a combination of one or more of these, and may configure a processing unit to operate as desired or command the processing unit independently or collectively. Software and / or data may be permanently or temporarily embodied in any type of machine, component, physical device, virtual equipment, computer storage medium or device, or transmitted signal wave so as to be interpreted by the processing unit or to provide instructions or data to the processing unit. Software may be distributed over networked computing devices and may be stored or executed in a distributed manner. Software and data may be stored on one or more computer-readable recording media.
[0141] The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc., either individually or in combination. The program instructions recorded on the medium may be those specifically designed and configured for the embodiment, or they may be those known and available to those skilled in the art of computer software.
[0142] Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes; optical recording media such as CD-ROMs and DVDs; magneto-optical media such as floptical disks; and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, and flash memory. Examples of program instructions include machine code, such as that generated by a compiler, as well as high-level language code that can be executed by a computer using an interpreter, etc. The hardware devices described above may be configured to operate as one or more software modules to perform the operation of the embodiments, and vice versa.
[0143] The embodiments described above are combinations of the components and features of the present invention in a specific form. Each component or feature should be considered optional unless otherwise explicitly stated. Each component or feature may be implemented in a form not combined with other components or features.
[0144] Additionally, it is possible to construct embodiments of the present invention by combining some components and / or features. The order of operations described in the embodiments of the present invention may be changed. Some components or features of one embodiment may be included in another embodiment, or may be replaced with corresponding components or features of another embodiment. It is obvious that embodiments may be constructed by combining claims that are not explicitly related in the claims, or that new claims may be included by amendment after filing.
[0145] It is obvious to those skilled in the art that the present invention may be embodied in other specific forms without departing from the essential features of the invention. Accordingly, the foregoing detailed description should not be interpreted restrictively in all respects but should be considered exemplary. The scope of the invention shall be determined by a reasonable interpretation of the appended claims, and all modifications within the equivalent scope of the invention are included within the scope of the invention.
[0146]
[0147] A video codec transmission device for artificial neural network computation based on a vision transformer model is available for industrial use.
Claims
1. A video codec transmission device for artificial neural network computation based on a Vision Transformer model, A frame management unit storing the previous video frame and the current video frame; The current video frame is modified so that the same image overlaps between the previous video frame and the current video frame, and is aligned with the previous video frame. An inversion motion compensation performing unit that calculates a residual image between the previous image frame and the current image frame after matching the above; A residual compression unit that receives the residual image from the inversion motion compensation unit and compresses the residual image; and A video codec transmitting device comprising a transmitting unit that transmits the above-mentioned compressed residual image to a receiving side.
2. In Paragraph 1, A video codec transmitting device in which the inversion motion compensation unit performs inversion motion compensation by transforming the current video frame into a form that moves, rotates, or scales it to align it with the previous video frame.
3. In Paragraph 1, A video codec transmitting device, wherein the frame management unit creates an input space larger than the previous video frame and the current video frame and stores the previous video frame and the current video frame in the input space.
4. In Paragraph 1, The above residual image is a video codec transmitting device comprising padding patches and image patches.
5. In Paragraph 4, The above residual compression unit is, A video codec transmitting device that compresses the padding patch to have only location information, compresses the image patch to have location information, and then compresses it to generate a compressed patch-unit residual image.
6. In Paragraph 1, A video codec transmitting device in which the inversion motion compensation performing unit modifies the current video frame to align it with the previous video frame so that the same image overlaps as much as possible at the same location between the previous video frame and the current video frame.
7. A video codec receiving device for artificial neural network computation based on a vision transformer model, A receiver that receives a compressed residual image between a previous frame and a current image frame; A frame management unit for decompressing the received compressed residual image; A new image generation unit that generates a new image frame by overwriting the previous frame storing the above-mentioned decompressed residual image; and A video codec receiving device comprising a user application execution unit that performs artificial neural network operations based on a Vision Transformer model together with residual size information for each patch of the above-decompressed residual image and the above-generated new frame.
8. In Paragraph 7, A video codec receiving device in which the user application execution unit reuses intermediate operation results for patch portions in which the residual size is less than or equal to a predetermined threshold based on the residual size information in the artificial neural network operation.
9. In Paragraph 7, A video codec receiving device in which the above-mentioned compressed residual image includes padding patches and image patches.
10. In Paragraph 7, The above compressed residual image is, A video codec receiving device, wherein the current video frame is modified so that the same image overlaps between the previous video frame and the current video frame, and the current video frame is aligned with the previous video frame, and the residual between the previous video frame and the current video frame is compressed.
11. In Paragraph 7, A video codec receiving device in which the frame management unit creates an input space larger than the previous video frame and stores the previous video frame in the input space.
12. A video codec transmission method for artificial neural network computation based on a Vision Transformer model, Step of saving the previous video frame and the current video frame; A step of modifying the current video frame to align it with the previous video frame so that the same image overlaps between the previous video frame and the current video frame; A step of calculating a residual image between the previous image frame and the current image frame after matching the above; A step of receiving the residual image and compressing the residual image; and A method comprising the step of transmitting the above-mentioned compressed residual image to a receiving side.
13. In Paragraph 12, The above-mentioned alignment step includes the step of aligning the current image frame with the previous image frame by transforming it into a form that moves, rotates, or scales it.
14. A method for receiving a video codec for artificial neural network computation based on a Vision Transformer model, A step of receiving a compressed residual image between the previous frame and the current image frame; A step of decompressing the received compressed residual image; A step of creating a new image frame by overwriting the previous frame that stored the above-mentioned decompressed residual image; A video codec reception method comprising the step of executing an artificial neural network operation based on a Vision Transformer model together with residual size information for each patch of the decompressed residual image and the newly generated frame.
15. In Paragraph 14, A video codec reception method, wherein the step of executing the above artificial neural network operation includes the step of reusing intermediate operation results for patch portions in which the residual size is less than or equal to a predetermined threshold based on the residual size information in the above artificial neural network operation.
