SYSTEM AND METHOD FOR LOSSLESS IMAGE AND VIDEO COMPRESSION AND / OR TRANSMISSION USING META-NETWORKS OR NEURAL NETWORKS - Patent application
Meta-networks enable rapid determination of hyperparameters for neural networks, addressing the inefficiencies in existing video compression technologies by achieving high-quality image and video compression with reduced data transfer.
Patent Information
- Application Number
- JP2021564126
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-05-16
- Filing Date
- 2020-04-29
- Publication Date
- 2024-10-09
- Estimated Expiration
- 2040-04-29
AI Technical Summary
Existing video compression technologies have reached a point of diminishing returns and require significant time to optimize neural networks for efficient image and video compression, failing to keep up with the exponential growth in video content data transmission.
A system and method utilizing meta-networks to train neural networks on large datasets, enabling rapid determination of hyperparameters for lossy image and video compression, allowing the transfer of hyperparameters instead of compressed images, thereby reducing data transfer requirements.
The method achieves high-quality image and video compression at reduced data transfer rates, surpassing existing technologies in efficiency and speed without the need for extensive optimization time.
Smart Images

Figure 0007564416000004 
Figure 0007564416000005 
Figure 0007564416000006
Abstract
Description
[Technical field]
[0001] The present disclosure relates to the field of data compression, and more particularly, to the field of lossy image compression and / or transmission utilizing neural networks, e.g., uncommon neural networks. [Background technology]
[0002] Considering cutting-edge technology Since the launch of the Internet a little over two decades ago, the amount of data transmitted around the world has grown exponentially. Even as the amount of data transmitted has continued to grow exponentially over the past decade, video content represents an ever-increasing portion of that data. According to at least one study, video content accounted for 64% of global Internet traffic in 2014 and is on track to account for up to 85% of global Internet traffic in 2019.
[0003] As the amount of data being transmitted continues to grow exponentially, and most of the world's Internet traffic is now video content, video compression technology has become crucial. However, existing video compression technologies have not kept up with the changes. The current leading video compression technology, High Efficiency Video Coding (HVEC, also known as H.265) and its open source rival AVI, are incremental improvements on video compression technologies developed earlier this century (i.e., H.264 / MPEG-4 AVC and Google's open source VP coding format). Although new video compression standards have improved throughput at the same level of quality as the older ones, the video compression methods may already have reached a point of diminishing returns and are unlikely to provide significant further improvements.
[0004] While methods for utilizing uncommon neural networks provide for a significant reduction in the amount of data transferred for image or video frame compression, such methods described herein require a large amount of time to optimize to find the optimal network configuration for compressing a single image. Thus, to further improve efficiency, a meta-network that can operate and train on large data sets, potentially on powerful platforms such as connected computing devices in a data center, can be trained to quickly find the structure of a neural network that can reconstruct an approximation of the image, thereby enabling many businesses or institutions that require the transfer of large amounts of video or images across networks to accomplish this while utilizing a fraction of the bandwidth currently required even with current compression methods.
[0005] What is needed, for example, is a system and method for image and video compression whose performance dramatically exceeds that of state-of-the-art image and video compression without requiring a large amount of time to compress the image or video. Summary of the Invention
[0006] Accordingly, the inventors have conceived and implemented a system and method for lossy image and video compression that utilizes a meta-network to generate a set of hyper-parameters required for an image coding network that will reconstruct a desired image from a given noisy image.
[0007] According to a preferred embodiment, a system for lossy image and video compression utilizing a meta-network includes a meta-network engine including a processor, a memory, and a first plurality of programming instructions stored in the memory, which, when operating on the processor, cause the processor to: receive a desired image, receive a noisy image, receive a set of training images, train a plurality of neural networks using the set of training images to reconstruct each of the set of training images by mapping the noisy image to each of the set of training images, store parameters for each of the plurality of neural networks as a set of meta-network hyper-parameters, use the set of meta-network hyper-parameters as operating parameters for each of the plurality of neural networks, map the noisy image using the plurality of neural networks to the desired image, and generate a second set of hyper-parameters corresponding to a particular filter generated from operation of each of the plurality of neural networks, such that the second set of hyper-parameters, when applied to the noisy image using the neural network, produces an approximation of the desired image within an error that is less than a predetermined threshold, and store the second set of hyper-parameters for use in future image mapping operations.
[0008] According to another preferred embodiment, a method for lossy image compression utilizing a meta-network includes the steps of receiving a desired image, receiving a noisy image, receiving a set of training images, training a plurality of neural networks using the set of training images to reconstruct each of the set of training images by mapping the noisy image to each of the set of training images, storing parameters for each of the plurality of neural networks as a set of meta-network hyper-parameters, using the set of meta-network hyper-parameters as operating parameters for each of the plurality of neural networks, mapping the noisy image to the desired image using the plurality of neural networks and generating a second set of hyper-parameters corresponding to a particular filter generated from operation of each of the plurality of neural networks, such that the second set of hyper-parameters, when applied to the noisy image using the neural network, produces an approximation of the desired image within an error that is less than a predetermined threshold, and storing the second set of hyper-parameters for use in future image mapping operations.
[0009] Thus, the inventors have conceived and implemented a system and method for lossy image and video compression that utilizes a neural network as a function that maps a known noise image to a desired image, and allows the transfer of only the hyperparameters of the function instead of the compressed version of the image itself. This allows the reproduction of a high-quality approximation of the desired image by any system receiving the hyperparameters, provided that the receiving system possesses the same noise image and the same or similar neural network. The amount of data required to transfer an image of a given quality is dramatically reduced in contrast to existing image compression techniques. Since a video is simply a series of images, it is expected that this application of the image compression system and method will allow the transfer of image content at a rate greater than existing techniques for the same image quality, and may even soon surpass the state of the art in video compression. The following non-limiting summary of the invention is provided for clarity and should be interpreted consistently with the embodiments described in the following detailed description.
[0010] According to a preferred embodiment, a system for lossy image and video compression and transmission utilizing a neural network includes an image compression engine including a first processor, a first memory, and a first plurality of programming instructions stored in the first memory, the first plurality of programming instructions, when operating on the first processor, cause the first processor to receive a desired image, retrieve a noisy image, and map the known noisy image to the desired image using a first neural network to determine hyper-parameters, the hyper-parameters being applied to the noisy image using the first neural network. and transmitting the hyper-parameters to generate an approximation of the desired image within an error that is less than a predetermined threshold, the image restoration engine including a second processor, a second memory, and a second plurality of programming instructions stored in the memory, the second plurality of programming instructions, when operating on the second processor, causing the second processor to receive the hyper-parameters, recover a noisy image, and apply the hyper-parameters to the noisy image using a second neural network to generate an approximation of the desired image within an error that is less than a predetermined threshold.
[0011] According to another preferred embodiment, a method for lossy image and transmission utilizing neural networks is disclosed, comprising: receiving a desired image at a first computing device; recovering a noisy image using the first computing device; mapping the noisy image to the desired image using the first computing device to determine hyper-parameters using a first neural network, such that the hyper-parameters, when applied to the noisy image using the first neural network, produce an approximation of the desired image within an error that is less than a predetermined threshold; transmitting the hyper-parameters to a second computing device; receiving the hyper-parameters at the second computing device; recovering the noisy image at the second computing device; and applying the hyper-parameters to the noisy image using the second computing device to produce an approximation of the desired image within an error that is less than a predetermined threshold using a second neural network.
[0012] According to an aspect of an embodiment, the image compression engine further includes a dedicated 2D convolution processor for accelerating the operation of the first neural network.
[0013] According to an aspect of the embodiment, the image reconstruction engine further includes a dedicated 2D convolution processor for accelerating the operation of the second neural network. [Brief description of the drawings]
[0014] The accompanying drawings illustrate various embodiments and, together with the description, serve to explain the principles of the invention according to the embodiments. It will be understood by those skilled in the art that the specific arrangements illustrated in the drawings are merely exemplary and should not be construed as limiting in any way the scope of the invention or the claims herein.
[0015] [Figure 1](PRIOR ART) A methodology diagram illustrating or summarizing HVEC video compression and similar BPG image compression methodologies. [Diagram 2] 2 is a diagram illustrating the flow of objects from a compression stage to a decompression stage, illustrating functions used for the invention of the present disclosure, according to an embodiment. Alternatively, FIG. 2 may illustrate an exemplary algorithm for the implementation of aspects of a preferred embodiment. [Diagram 3] FIG. 3 is a system diagram of high-level components used in the operation of a system for lossy image compression utilizing non-generic neural networks, according to a preferred embodiment. Alternatively, FIG. 3 may show an exemplary overall system diagram, according to a preferred embodiment. [Figure 4] 1 illustrates an (eg, exemplary) system diagram of an image compression engine, according to an aspect. [Diagram 5] FIG. 1 is a system diagram (e.g., of another exemplary embodiment) of an image compression engine (e.g., when utilized for image compression) utilizing a 2D convolution application specific integrated circuit ("ASIC") according to a preferred aspect or embodiment. [Figure 6] 1 is a flow chart illustrating the processing and compression of data through a system according to an aspect. [Figure 7] 1 is a flowchart illustrating the processing and restoration of data through a system according to an aspect. [Figure 8] FIG. 2 is a method diagram of high-level components used in the operation of a system for lossy image compression utilizing non-generic neural networks in accordance with a preferred embodiment. [Figure 9] 2 is a state diagram for two users, one encoding and one decoding an image using the disclosed compression system, according to a preferred embodiment. [Figure 10] FIG. 1 is a methodology diagram illustrating training a neural network with a single image, as opposed to multiple images, from which to learn, in accordance with a preferred embodiment, results in a non-generalized approach to image compression. [Figure 11]FIG. 1 illustrates a line drawing image and a still image (or a noisy image) entering an image compression engine, where parameters are identified that enable the still image (or noisy image) to be approximately transformed into an initial non-still image (or an initial non-noisy image), and relayed across a network to a second system to recreate an approximation of the original image from the still image (or noisy image). [Figure 12] 12 is a system diagram of an image compression engine used to restore an image, according to a preferred embodiment. Alternatively, FIG. 12 may show a system diagram of an image restoration engine used to restore an image, according to an embodiment. [Figure 13] FIG. 13 is a system diagram of an image compression engine utilizing a specialized 2D convolution application specific integrated circuit ("ASIC"). Alternatively, FIG. 13 may show a system diagram of an image reconstruction engine utilizing a specialized 2D convolution application specific integrated circuit ("ASIC"). [Figure 14] 1 is a system diagram of high level components used in the operation of a system that uses a meta-network to achieve image or video compression and decompression, in accordance with a preferred embodiment. [Figure 15] FIG. 1 is a system diagram of a meta-network engine used to train a meta-network on a set of training images and compressively determine filters that can be used to transform a noisy image into an approximation of an input image, in accordance with a preferred embodiment. [Figure 16] FIG. 1 is a data flow diagram of a system for lossy compression that utilizes a meta-network to train, compress, and transmit data for restoration to a system that utilizes a particular neural network configuration, according to an embodiment. [Figure 17] FIG. 1 is a system diagram of multiple individual networks communicating with each other in a meta-network to generate a sequence of convolution filters that are applied to a noise image to progressively transform the image into an approximation of an input image, according to an embodiment. [Figure 18]FIG. 2 is a method diagram illustrating the steps required for lossy compression of images and videos using a meta-network. [Figure 19] 1 is a flowchart of steps that a single network in a meta-network performs to generate a network that trains on a set of images and acts as part of a function g for neural network hyper-parameter prediction of an image coding network f, according to an embodiment. [Figure 20] 1 is a flowchart of a process of multiple networks communicating within a meta-network for the purposes of cross-training and evolving progressive filters for transforming still images that help alleviate the vanishing gradient problem, according to an embodiment. [Figure 21] FIG. 1 is a block diagram illustrating an example hardware architecture of a computing device. [Figure 22] FIG. 1 is a block diagram illustrating an example logical architecture for a client device. [Diagram 23] FIG. 2 is a block diagram illustrating an example architectural arrangement of clients, servers, and external services. [Figure 24] FIG. 2 is another block diagram illustrating an exemplary hardware architecture of a computing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] The present inventors have conceived and implemented a system and method for lossy image and video compression that utilizes a meta-network.
[0017] The inventors have also conceived and implemented a system and method for lossy image and video compression that utilizes a neural network as a function that maps a desired image to a known noise image, allowing the transfer of only the hyperparameters of the function instead of the compressed version of the image itself. This allows the reproduction of a high quality approximation of the desired image by any system receiving the hyperparameters, provided that the receiving system possesses the same noise image and a similar neural network. The amount of data required to transfer an image of a given quality is dramatically reduced in contrast to existing image compression techniques. Since video is simply a series of images, this application of the image compression system and method works equally well for videos as it does for a single image, and may in time enable the transfer of video content at greater speeds than existing techniques for the same image quality.
[0018] One or more different embodiments may be described in this application. Furthermore, it should be understood that for one or more of the embodiments described herein, numerous alternative arrangements may be described, which are presented for illustrative purposes only and are not intended to limit the embodiments contained herein or the claims presented herein in any manner. One or more arrangements may be broadly applicable to numerous embodiments, as may be readily apparent from this disclosure. In general, the arrangements have been described in sufficient detail to enable one skilled in the art to practice one or more embodiments, and it should be understood that other arrangements may be utilized, and that structural, logical, software, electrical, and other changes may be made without departing from the scope of a particular embodiment. Specific features of one or more of the embodiments described herein may be described with reference to one or more specific embodiments or drawings that form part of this disclosure and show, by way of example, specific arrangements of one or more of the embodiments. However, it should be understood that such features are not limited to use in the one or more specific embodiments or drawings to which they are described with reference. This disclosure is not a literal description of all arrangements of one or more of the embodiments, nor a listing of one or more features of the embodiments that must be present in all arrangements.
[0019] The section headings provided in this patent application and the title of this patent application are for convenience only and are not to be construed as limiting the disclosure in any manner.
[0020] Unless explicitly specified otherwise, devices that are in communication with each other need not be in serial communication with each other. In addition, devices that are in communication with each other may communicate directly or indirectly through one or more logical or physical communication means or intermediaries.
[0021] The description of an embodiment having various components in communication with one another does not imply that all such components are required. On the contrary, a wide variety of optional components may be described to illustrate a wide variety of possible embodiments and to more fully illustrate one or more embodiments. Similarly, although process steps, method steps, algorithms, and the like may be described in a sequential order, such processes, methods, and algorithms may generally be configured to work in alternative orders unless specifically stated to the contrary. In other words, any sequence or order of steps that may be described in this patent application does not in itself indicate a requirement that the steps be performed in that order. The steps of a described process may be performed in any practical order. Furthermore, some steps may be performed simultaneously, despite being described or implied as not occurring simultaneously (e.g., because one step is described after another step). Furthermore, the illustration of a process by its depiction in the drawings does not imply that the illustrated process is exclusive of other variations and modifications thereof, does not imply that the illustrated process or any of its steps are required for one or more of the embodiments, and does not imply that the illustrated process is preferred. Also, although steps are generally recited once per aspect, this does not mean that they must occur once, or that they may occur only once each time a process, method, or algorithm is carried out or executed. Some steps may be omitted in some aspects or occurrences, or some steps may be performed multiple times in a given aspect or occurrence.
[0022] It will be readily apparent that when a single device or article is described herein, more than one device or article may be used in place of the single device or article. Similarly, it will be readily apparent that when more than one device or article is described herein, the single device or article may be used in place of the more than one device or article.
[0023] The functionality or features of a device may alternatively be embodied by one or more other devices not explicitly described as having such functionality or features, and thus other aspects need not include the device itself.
[0024] The techniques and mechanisms described or referenced herein may be described in the singular for clarity. However, it should be understood that a particular aspect may include multiple iterations of a technique or multiple instantiations of a mechanism unless otherwise specified. The process descriptions or blocks in the figures should be understood as representing modules, segments, or portions of code that include one or more executable instructions for implementing specific logical functions or steps in the process. Alternative implementations are included within the scope of various aspects, for example, in which functions may be performed in a sequence from that shown or discussed, including substantially simultaneously or in reverse order, depending on the functionality involved, as understood by those skilled in the art.
[0025] definition As used herein, "artificial intelligence" or "AI" means a computer system or component programmed to mimic some aspect or aspects of cognitive functions associated with human intelligence, such as learning, problem solving, and decision making. Current examples of AI technologies include understanding human speech, competing in strategic games such as Chess and Go, autonomously driving vehicles, performing complex simulations, interpreting complex data such as images and videos, etc.
[0026] As used herein, "function", "image transformation function", "image transformation network", and "image transformation neural network" refer to the use of a neural network as a function to transform an image or recreate an approximation of an image. The transformation is based on mapping a noise image (e.g., an input noise image) to a target image and adjusting the weights of various variables in the function, which may also be referred to as hyperparameters. The hyperparameters may also be used as inputs to the function along with the noise image to recreate an approximation of the image.
[0027] As used herein, hyperparameters refer to parameters of a function that maps a noise image to a target image (or desired image) within a specified error range. When an image inputs the function for mapping at a source location, the hyperparameters are output. The hyperparameters can then be transferred to a destination location, where they become inputs to the same (or similar) function with the same noise image, and the output of the function becomes an approximation of the desired image at the destination location. (Note that in examples, the term "hyperparameters" used in functional coding terminology (used in examples herein) corresponds to the term "weights" or "weight parameters" used in machine learning terminology).
[0028] As used herein, a "target image", also referred to interchangeably as a "target image" or a "desired image" or an "image", refers to a digital representation of an image. This digital representation can be any of a number of existing image file formats. Image files are generally classified as either raster-based formats (i.e., formats in which the pixel content or area of an image is specified) or vector-based (i.e., formats in which shapes and their relationships are specified without regard to specific pixels, areas, or image sizes). For illustrative purposes, a non-exhaustive and non-limiting list of raster-based formats includes Microsoft Windows bitmap (bmp), CompuServe's Graphics Interchange Format (gif), Joint Photographic Experts Group's JFIF format (jpg or jpeg), Portable Graphics Network (png), and Tagged Image File Format (tif or tiff). For illustrative purposes, a non-exhaustive and non-limiting list of vector-based formats includes Adobe Illustrator File (ai), CorelDRAW Image File (cdr), Scalable Vector Graphics File (svg), and Microsoft Visio Drawing File (vsd).
[0029] As used herein, "image transformation" means the act of transforming any image, or a blank or "empty" image file, into any other image. This may be done by a number of different techniques in any combination, including modifying specific pixels, using vector graphics based on mathematical equations (e.g., graphing a curve with an equation that results in perfect resolution regardless of zoom of the image itself, since the image itself is specified by an equation rather than represented by specific pixels at a given resolution), or examining and modifying groups of pixels, such as for boundary detection and modification. Changing the position of pixels of data in an image but leaving the data otherwise unchanged, e.g., rotating the image, is another example of image transformation.
[0030] As used herein, "machine learning" is an aspect of artificial intelligence in which a computer system or component can modify its behavior or understanding without being explicitly programmed. Machine learning algorithms develop models of behavior or understanding based on information sent to them as training sets, and can modify those models based on new incoming information. An example of a machine learning algorithm is AlphaGo, the first computer program to beat a human world champion at the game of Go. AlphaGo was not explicitly programmed to play Go; it was given millions of Go games and developed its own model of the game and playing strategies.
[0031] As used herein, "neural network" means a computational model, architecture, or system composed of several simple, highly interconnected processing elements that process information by their dynamic state responses to external inputs, and thus can "learn" information by recognizing patterns or trends. Neural networks, sometimes known as "artificial neural networks," are based on our understanding of the structure and function of biological neural networks, such as the mammalian brain. Neural networks are a framework for the application of machine learning algorithms.
[0032] As used herein, a "static noise image", also referred to as a "static image" or a "noise image", refers to an image that has random or pseudorandom content. In some embodiments, the random or pseudorandom content is at the pixel level, or at the level of a group, area, or region of pixels. In some embodiments, the random or pseudorandom content may include a single bit per pixel that represents either black or white for that pixel. In some embodiments, the randomness characteristic of an image may be, as part of its characteristics, a 2D maximum information entropy, or Shannon Entropy. Shannon Entropy refers to the amount of randomness or possible information that a given statistical model can have, represented in bits. For example, a single coin flip has an information entropy or Shannon Entropy of 1, while m coin flips have an entropy value of m, since a single coin flip has a value of 0 (tails) or 1 (heads) represented by one bit. The higher the entropy value of a given object, the more possible states it may have, which may make it harder to predict its state, but the more malleable it is to transform into the many possible states and obtain an estimate of another state, e.g., an approximation of another image. In some embodiments, the random or pseudo-random content may further include grayscale or color information. In some embodiments, the random or pseudo-random content may include vector graphics or other forms of image representation, instead of bitmaps or pixels.
[0033] As used herein, "video" refers to a digital representation of a sequence of images depicting motion. This digital representation can be any of the many existing video file formats. Video files typically contain video (visible) and audio (audible) data encoded in a "container." This application is primarily concerned with the video data portion of a video file. For illustrative purposes, a non-exhaustive and non-limiting list of video formats includes Audio Video Interleave (avi), Motion Pictures Expert Group (mpg, mpeg, mp2, mp4, etc.), Apple's Video Format (m4v), and Windows Media Video (wmv).
[0034] Conceptual Architecture FIG. 1 (Prior Art) is a method diagram illustrating or summarizing HEVC video compression and similar BPG image compression methodologies. First, an image or video file is input into a compression codec or compression engine (110) before the data file is encoded (120) in intra-frame chunks that, in the case of HEVC video file compression, remain unchanged throughout the frames of the video; this means that groupings of pixels do not change, or change very little, between frames of the video, and are not re-encoded (130) for many frames of the video, thereby reducing the size of the video with only minor loss of motion within the frame. In the case of BPG formats for still images, but not video for HEVC video formats, similar clusters of data, including color depth, are maintained for groups of pixels within the still images (130), representing a reduction in data required for an equally sized image, resulting in a compressed format using similar techniques for both video and still images (140).
[0035] 2 is a diagram illustrating an exemplary algorithm for implementation of aspects of a preferred embodiment. In this algorithm, a desired image 201 and a noisy image 203 are input to a function f202. The function f202 is a neural network configured to map the noisy image 203 to the desired image 201. The output of the function f202 is a set of hyper-parameters P204, or "weights", for the function f202 that maps the noisy image 202 to the desired or target image 201 within a specified error range. The mathematical formula for this algorithm is:
[0036] Given I, N, and ε, find θ as follows:
[0037]
number
[0038] The algorithm can be generally described as follows: I , height H I , and depth C I Given a color image I (corresponding to a target or desired image 201) of size W N ×H N ×C N There exists an algorithm 220 that can find a mapping between a given maximum entropy image N and I. However, such an algorithm can only reconstruct an approximation of the original image, allowing an error up to a defined threshold ε. The algorithm 220 measures the error between the two images through a function h, which can be one of a variety of possible image comparison functions, such as a pixel-wise mean squared error function. For every image I, find θ such that the above statement is true. f If there exists f202 with {f,θ fIt is possible to represent almost all images via a triplet {f, θ, N}. For a function f 202 fixed and its input N, all that is missing to create I' is θ. If the file size of θ is smaller than the file size of I, the algorithm has successfully lossy compression I since it only needs to send θ with a bitstream of size file size (θ) to create I' at the destination device from the triplet {f, θ, N} by inputting a noise image 206 and parameters θ 204 to the destination / receiver f 205 to obtain an approximate target image I' 207.
[0039] However, it is not immediately obvious how to choose a function f that efficiently finds θ. The solution is to use a neural network as function f, which has the typical structure of convolution → bias → nonlinearity → repetition. By using a neural network as function f, the solution to find the hyperparameters θ given I becomes a machine learning training problem that can be solved using, for example, stochastic gradient descent (SGD). In essence, SGD is used to learn the hyperparameters (aka weights) that minimize the error function h, so that we have θ for I.
[0040] After the hyperparameters θ 204 are output from the neural network 202, they may be input to a separate instance of the same or similar neural network 205 along with a separate instance of the same noise image 206 to generate an approximation of the desired image I 207. In this way, the system operates as a compressor and a decompressor by generating one of two objects depending on what is received as input, either the hyperparameters θ 204 or the approximation of the image I 207. Instances of these objects, such as the decompressor neural network 205 and associated data, may run on different computers, e.g., a first network endpoint possessing the desired image I 201, the function f 202, and the noise image 203 may run on one computer, such as a smartphone, laptop, or other computing device, while another function f 205, the noise image 206 may reside on another computing device, possibly but not necessarily across a network. For example, a file may be transferred via a portable memory device rather than across a network between the two computers. It is important to note that the different instances of neural networks at either end of the transmission need not be identical: similarly functioning neural networks will produce acceptable solutions even if their architectures, programming, or other characteristics differ.
[0041] 3 is an exemplary overall system diagram according to a preferred embodiment. A network endpoint 301, which may be a laptop or desktop computer, a cell phone, a workstation, or some other style of network-enabled computing device, may be connected across a network 306, such as the Internet, and possesses a desired image I 304 and a noise image N 305. At the network endpoint 301, both images may be used as inputs to an image compression engine 303, which is directly accessible by the network endpoint 301. The desired image I 304 may be one of many image formats, including .JPG / .JPEG, .PNG, .BMP, or other formats, the specific format being a non-critical factor to the invention, as new formats may be identified and described in the future. The stationary noise image N 305 may likewise be one of many formats, a single, unchanging image used in all implementations of the system, or one of several possible images, sent to the system as an input from another source, whether the network endpoint 307 or some other source that contains images. In some embodiments, the stationary noise image N 305 represents the image with the highest 2D Shannon Entropy, which may be used to transform into other images as needed. The image compression engine 303 is an engine residing on the network endpoint 301, which may take the desired image I 304 and the stationary noise image N 305 as inputs and execute the image transformation function 202 to generate hyperparameters for the function 202 that, when applied to the noise image N 350, allow for the reproduction of an approximation I' (read as "I-prime" and denoting an approximation of I) 310 of the desired image I 304. Specifically, the destination endpoint 307 may receive hyperparameters 308 for input to another instance of the image reconstruction engine 309, also using the stationary noise image 311 as input, which allows for the generation of an approximation 310, I', of the desired image I 304.
[0042] FIG. 4 is an exemplary system diagram of the image compression engine 303 according to a preferred embodiment. As shown in FIG. 3, a noise image N 305 and a goal image I 304, which respectively represent a maximum entropy noise image and an initial image to be compressed, are input to a processor 430. The processor 430 is a general computing device used to process arithmetic and logical operations and is generally known in the art. The processor 430 has two-way communication with at least a single bit of volatile memory 440, commonly known as a random access memory ("RAM"), for short-term storage of data accessed by the processor 430, and the processor uses data in the RAM to modify data in the RAM and to modify its own process. This is generally understood as one of the key interactions in modern computing. The processor 430 also communicates with a neural network 410, which acts as a function f in the algorithm 220, which acts as a framework for a machine learning algorithm 420 to process input data from the noise image 305 and the goal image 304. After the input image 304 has been approximately recreated using the algorithm 220 of FIG. 2, the hyperparameters 302 of the neural network 410 are output to the network endpoint 301 for further use, including transmission to a destination endpoint, storage on a hard drive or external memory device, or other typical uses for compressed images.
[0043] FIG. 5 is a system diagram of another exemplary embodiment of an image compression engine 500 utilizing a 2D convolution application specific integrated circuit ("ASIC") 560, according to an embodiment. In this embodiment, a 2D convolution ASIC 560 is utilized to reduce the processing time required for the system to fully compress an image. As shown in FIG. 3, a noise image N 305 and a goal image I 304, which respectively represent a maximum entropy noise image and an initial image to be compressed, are input to a processor 530. The processor 530 is a general computing device used to process arithmetic and logical operations and is generally known in the art. The processor 530 has a two-way communication with at least a single bit of volatile memory 540, commonly known as a random access memory ("RAM"), for short-term storage of data accessed by the processor 530, and the processor uses the data in the RAM to modify and alter its own processes. This is generally understood as one of the key interactions in modern computing. The 2D convolution ASIC 511 also communicates bidirectionally with both the system processor 530 and memory 540 to handle specialized processing of the convolutional neural network 510 data much faster than could otherwise be accomplished. The processor 530 also communicates with the neural network 510, which acts as a function f in the algorithm 220, which acts as a framework for the machine learning algorithm 520 to process input data from the noise image 305 and the goal image 304. After the input image 304 has been approximately recreated using the algorithm 220 of FIG. 2, the hyperparameters 302 of the neural network 510 are output to the network endpoint 301 for further use, including transmission to a destination endpoint, storage on a hard drive or external memory device, or other general use for compressing images.
[0044] FIG. 6 is a flow chart illustrating the processing and compression of data through the system, according to an embodiment. A desired image I may be input to the system (601), which is the image for which the system attempts to convert the noise image into certain hyperparameters. A check for a noise image is performed (602), which may result in either a positive or negative outcome as to whether the system already possesses a stationary noise image 305. If there is no stationary noise image currently present in the system, the noise image may be input to the system (603) through a network endpoint 307 that may possess a stationary noise image, or may be automatically generated, or may come from some other source. If a stationary noise image already exists, or after it has been received or input to the system (603), the system is in a state where both the stationary noise image N 305 and the desired image I 304 are present in the system. At this point, an image transformation function f may be utilized or executed (604) to apply to the stationary noise image N 305, the result of the transformation is checked (605) for closeness to the desired image I, where closeness is defined by an error value ε, the hyperparameters of the neural network are output (607), and the system terminates execution and prepares to receive a new input image and resume execution (601). If the image transformation function f 410 operating on the noise image N 305 does not produce a result that is sufficiently close to the desired image I 304, then the neural network 410 may modify (606) the modifiable hyperparameters θ 302 of the transformation neural network f 410 to attempt to produce a closer result until the output is sufficiently close to image I 304 (605).
[0045] FIG. 7 is a flow chart illustrating the processing and compression of data through a system according to an embodiment. First, hyperparameters are received and input to an image compression engine (701), which applies to a neural network 410 to determine the image transformation and convolution of the noise image into the desired image. The system checks to ensure that a stationary noise image N exists (702), and if no noise image exists, such an image is input to the system (703), which may be sent from the same source as the configurable hyperparameters θ, or may be inserted by another system, or may be manually input by a user on the system itself. After the noise image N is inserted into the system (703), or if a noise image already exists, for example, if the noise image is static and the same across all implementations of the present disclosure, an image transformation function f may be performed, but instead of having input hyperparameters as in FIG. 6, the hyperparameters are already input into the system (701), and the stationary noise image 305 is transformed into an image I′, which is an approximation of the desired image I 304, before output (705). In this way, image compression is done by specifying how the image is to be recreated rather than modifying the image data itself, allowing for the specification of how the image is recreated rather than recreating the image itself, ensuring good compression of the data.
[0046] 8 is a method diagram of high-level components used in the operation of a system for lossy image compression utilizing a neural network, according to a preferred embodiment. First, a desired image must exist or be input (801), which is the image that is to be attempted to be recreated in the image transformation network 410, before a stationary noise image N 305 is accessed (802). This noise image is utilized by the image transformation function f 410 to attempt to transform it into an approximation of the desired input image I 304, using modifiable hyper-parameters. After being received or accessed, if the noise image is static and unchanging 304, the image transformation function f 410 is executed (803), utilizing the modifiable hyper-parameter θ 302, and fed into a set of machine learning algorithms 250 operating on the neural network 260, resulting in the modifiable hyper-parameter θ for the image transformation function f being modified (804), (805) in an attempt to transform a closer approximation of the input image I 304. When an image is generated from the transformation of the noise image N 305, the modifiable hyperparameters θ 302 are output (806) such that a user with the image transformation function 410, the noise image 305, and the hyperparameters 302 may recreate an approximation of the original desired image 304. In this way, the image may be heavily compressed and potentially encrypted from the user without access to the image transformation function itself. The modifiable hyperparameters θ 302 may then be transmitted (807) to another network endpoint 307, such as another laptop, desktop, or workstation device, or other device capable of running a 2D convolution ASIC as specified in FIG. 5. The destination network endpoint 307 may then execute the image transformation function f using the modifiable hyperparameters θ 302 (808), inputting the modifiable hyperparameters θ (809) as parameters for the neural network 410 to transform the noise image 305 into an approximation of the desired image I 304 (810).
[0047] 9 is a state diagram of two users, one encoding and one decoding an image using the disclosed compression system. In a first state 910, user A has a desired image I304, while user B wants to receive image I304 but does not yet own it. This is similar to a user who owns an image to compress and send to another user, perhaps a friend, colleague, or a third-party service, who needs for one of many possible reasons that the file be compressed first. In a second state 920, which follows logically from the first state, training is performed with the neural network 410 adjusting the hyperparameter θ302 to enable the image transformation function to transform a stationary noise image N305 into an approximation of the desired image I304. The third state 930, following from the second state, allows user A to acquire the parameters θ 302 from training as previously described before proceeding to the fourth state 940, in which the hyper-parameters θ 302 are transmitted from user A to user B, allowing the fifth state 950 to be reached, whereby user B, possessing the hyper-parameters θ 302, may acquire I304 by utilizing the image transformation function f410 to transform the noise image N305 into an approximation of the desired image I304.
[0048] FIG. 10 is a method diagram illustrating training a neural network with a single image, as opposed to multiple images to learn from, as a result in a non-general approach to image compression. A desired image is input (1010) into the system, as previously detailed in the disclosed system, such image comprising any two-dimensional graphical file in one of a number of possible formats, including .BMP, .PNG, or others. A neural network 410 is trained (1020) using a stationary noise image N 305, without modifying or swapping out the image 305, resulting in a network that, unlike generalized neural networks, is trained on a single data point rather than a large data set. Rather than feeding the network a large data set, the edge weights of the network are adjusted (1030) based on how close a given output of the network's image transformation came to the desired image I 304. In this manner, training continues (1040) on the network 410 on the single noise image 305, using the adjusted weights and parameters. Table 1050 illustrates the differences and relationships between traditional neural networks that arrive at a generalized solution to a problem by repeatedly training on a single noisy image, and the proposed neural network 410, which utilizes a specialized training method and does not learn general image transformation techniques, but instead changes the network weights and parameters to generate new transformed images until an approximation to the desired image is produced.
[0049] FIG. 11 is a diagram illustrating actual and noise images that enter an image compression engine, where parameters that allow the noise image to be approximately transformed into an initial non-noise image are identified and relayed across a network to a second system to recreate an approximation of the original image from the noise image. A sample image 1101 and a stationary noise image 1102 are input to an image compression engine 303. Hyperparameters 303 for recreating the image 1101 are devised through training of a neural network to transform the noise image 1102 into an approximation of the desired image 1101, where the noise image 1102 is a maximum entropy image that can be transformed into any number of images with the correct transformation steps. The hyperparameters 302 for recreating the image 1101 are sent across a network 306 to an image restoration engine 309 along with a copy 1103 of the stationary noise image 1102, which outputs an approximation 1104 of the desired image 1101. Note that this is not an exact copy, but an approximation, thus illustrating a lossy compression method, creating a separate image file 1104 that is not identical to the original image 1101 .
[0050] FIG. 12 is a system diagram of an image restoration engine 1200 used to restore an image, according to an embodiment. Note that the image restoration engine 1200 uses the same components as the image compression engine 303, but is configured to receive a noise image 305 and hyper-parameters 302 (e.g., via a processor 1230) and output an approximation image I' 310. As shown in the right-hand portion of FIG. 12, the noise image N 305 and the modifiable hyper-parameters 302 of the neural network 1210 are input to the processor 1230. The processor 1230 is a general computing device used to process arithmetic and logical operations and is generally known in the art. The processor 1230 has a two-way communication with at least a single bit of volatile memory 1240, commonly known as a random access memory ("RAM"), for short-term storage of data accessed by the processor 1230, and uses the data in the RAM to modify and alter its own processes. This is generally understood as one of the key interactions in modern computing. The processor 1230 also communicates with the neural network 1210, which acts as a function f in the algorithm 220, which acts as a framework for the machine learning algorithm 1220 to process input data from the noise image 305 and the hyper-parameters θ 302 of the compression of the goal image 304 of the prior neural network for the purpose of restoration. After the hyper-parameters θ 302 are input to the processor 1230, the processor instructs the neural network 1210 to incorporate and use these hyper-parameters and directs the operation of the network in converting the noise image 305 into an approximation 310 of the input image 304 using the algorithm 220 of FIG. 2, and the approximation image I′ 310 is output to the network endpoint 307 for further use, including transmission to a destination endpoint, storage on a hard drive or external memory device, or other typical use for the now uncompressed image.
[0051] FIG. 13 is a system diagram of an alternative embodiment of an arrangement of an image reconstruction engine 1310 used for reconstruction while utilizing a specialized 2D convolution application specific integrated circuit ("ASIC") 1311 according to an embodiment. Note that the image reconstruction engine 1300 uses the same components as the image compression engine 309, but is configured to receive a noise image 305 and hyper-parameters 302 and output an approximation image I' 310. As shown in the right hand portion of FIG. 3, the noise image N 305 and the modifiable hyper-parameters 302 of the neural network 1310 are input to a processor 1330. The processor 1330 is a general computing device used to process arithmetic and logical operations and is generally known in the art. The processor 1330 has two-way communication with at least a single bit of volatile memory 1340, commonly known as random access memory ("RAM"), for short-term storage of data accessed by the processor 1330, and the processor uses the data in the RAM to modify and alter its own processes. This is commonly understood as one of the key interactions in modern computing. The 2D Convolution ASIC 1311 also communicates bidirectionally with both the system processor 1330 and memory 1340 to handle specialized processing of the Convolution Neural Network 1310 data much faster than could otherwise be achieved. The processor 1330 also communicates with the Neural Network 1310, which acts as a function f in the algorithm 220, which acts as a framework for the machine learning algorithm 1320 to process input data from the noise image 305 and the hyper-parameters θ 302 of the compression of the goal image 304 of the prior neural network for the purpose of restoration.After the hyper-parameters θ 302 are input to the processor 1330, the processor instructs the neural network 1310 to incorporate and use these hyper-parameters and directs the operation of the network in converting the noisy image 305 into an approximation 310 of the input image 304 using the algorithm 220 of FIG. 2, and the approximation image I′ 310 is output to the network endpoint 307 for further use, including transmission to a destination endpoint, storage on a hard drive or external memory device, or other typical use for the now uncompressed image.
[0052] Since training a single neural network to effectively map a known noise image to a desired image typically takes hours of highly optimized Graphical Processing Unit (GPU)-based machines to accomplish for each desired image to be compressed using conventional training methods based on (e.g., steepest gradient descent), it is important to seek a different way to efficiently determine the weights of f for a given desired image. According to one embodiment, the inventors have determined that with arbitrary precision (in the sense of how closely the output image obtained by applying N to F matches the input image used to generate the respective weights of f), it is possible to generate the weights for f in a single pass through a meta-network described below. Specifically, by passing the desired image I and the known noise image N as inputs to a function g with the meta-network, the weights for f are obtained in a single pass, as described below with reference to Figures 14-17. More precisely, the inventors have shown that a meta-network arranged as shown in Figure 17 has demonstrated significantly increased coding efficiency in terms of run-time compression of images. Specifically, training via SGD on a high-end GPU took more than 6 hours. In contrast, the execution time of g is less than 1 second on similar hardware, and can be less than 100 milliseconds on specialized hardware (e.g., a hardware-based optimized convolution stage).
[0053] FIG. 14 is a system diagram of high-level components used in the operation of a system using a meta-network to achieve image or video compression and restoration, according to a preferred embodiment. As shown on the left of FIG. 14, a given goal image I304 is provided to a meta-network engine 1410 along with a stationary (i.e., known and unchanging) noise image N305. The meta-network engine 1410 includes a "network of neural networks" that includes multiple single neural networks each performing processing on a portion of the goal image I304, such as a specific feature or color spectrum (e.g., in a three-network meta-network, each network may focus on one of each of the red, blue, and green color bands in the image). The meta-network engine 1410 uses convolutional training between the single networks within it to arrive at a set of hyper-parameters θ302 appropriate for any given image restoration engine 309 to reconstruct the goal image 304 (or an arbitrary similar reproduction thereof) from the noise image 305. This set of hyper-parameters 302 may then be stored for repeated future use and transmitted over a network 306 from one endpoint 301 to another endpoint 307, for example to enable many clients to reconstruct a goal image 304 from a single set of computed hyper-parameters (which may be useful, for example, for photo or video streaming services, where the same content is repeatedly sent to multiple destinations). At the network destination, the received set of hyper-parameters 308 is provided as input to an image reconstruction engine 309 along with a noise image I 311, the reconstructed image denoted as I' 310, such that the image reconstruction engine 309 may generate a reasonably closed reproduction of the goal image.
[0054] 15 is a system schematic diagram of a meta-network engine 1410 used to train a meta-network on a set of training images and compressively determine filters that can be used to transform a noise image into an approximation of an input image, according to a preferred embodiment. According to an embodiment, a given goal image I 304 is provided to the meta-network engine 1410 along with a stationary noise image N 305 as input. The meta-network engine 1410 includes a processor 1540 and memory 1559 for performing machine learning tasks associated with the training and transformation process. The neural network 1510 trains on the training images 1530 using a machine learning algorithm 1520 to arrive at a set of appropriate hyper-parameters for operation, the hyper-parameters including the set of hyper-parameters required by the meta-network engine 1410 to create a set of modifiable hyper-parameters 302 for storage and transmission to the target image encoding network, given the inputs of N 305 and I 304. In other words, the set of hyper-parameters determined by training is the set used for the operation of the meta-network, which (given the correct, trained set of hyper-parameters) then produces the desired set of hyper-parameters 302 from the noise 305 and target 304 images.
[0055] 16 is a data flow diagram of a system 1610 for lossy compression that utilizes a meta-network 1602 to train, compress, and transmit data for restoration to a system that utilizes a particular neural network configuration 1640, according to an embodiment. According to an embodiment, the meta-network 1602 instantiates a function g that, given a known noise image 1603 and an original image 1601 as inputs, determines a particular set of hyper-parameters θ 1604 for a given original image I 1601 and noise image N 1603 as inputs. The hyper-parameters 1604 can be used to map the same known / stationary noise image 1630 used as an input to g in the meta-network 1602 to generate the hyper-parameters θ 1604 when inserted as weights into the neural network (e.g., at the destination device) to define a specific instance of the restoration function f 1640 (where "same" means that the noise image 1630 is the same image as the noise image 1603). According to a preferred embodiment, the hyper-parameters θ 1604 may be transmitted to a destination image encoding network 1640 that includes a function f such that, given a noise image N 1630 and the hyper-parameters θ 1604 as input, f produces a dubbed image I′ 1650 that is a facsimile of the original image I. Mathematically speaking, this operation takes the form of a set of functions 1620.
[0056]
number
number
[0057] FIG. 17 is a system diagram of multiple individual neural networks 1710a communicating with each other in a meta-network 1710 to generate a set of multiple filter weights 1721, 1723, 1725 that may be inserted into neural networks 1722, 1724, and 1726 that collectively embody a concrete instance of a function f that may be used to map a noisy image 1701 to an image 1730 that is close to within the same arbitrary error limit as an input image 1711. As shown, the meta-network 1710 is a network of neural networks that includes multiple individual networks each performing an independent machine learning task focused on a portion of the original image 1711. As shown, one arrangement uses three individual networks (and the inventors have determined through practice that this configuration provides superior performance for the relative amount of resources utilized, reducing image compression tasks from hours to milliseconds), although alternative meta-network arrangements are possible with embodiments using only two individual networks, or using four or more individual networks, etc.
[0058] When the original image 1711 is provided as an input to an individual network 1710a (only this specific individual network is highlighted in the figure, but this is done for clarity, with the understanding that the discussion of the operation of 1710a applies to any and all individual networks present in the meta-network 1710), a sequence of convolutional filters 1714a-n may be applied, with the output of each filter being provided as an input to the next to enable machine learning. The convolutional output of each individual network may also be provided as an input to the next successive filter in the processing 1712a-n, 1713a-n of another individual network, so that the networks effectively learn from each other's processing and "zero in" together an ideal solution. After this convolutional processing, several non-convolutional final filters 1715a-n, 1716a-n, 1717a-n may be applied to the output of each individual network (in this case, only the output of that network) with the stationary noise image 1701 as an additional input.
[0059] This generates a set of filters 1721, 1723, 1725 that are based on a combinatorial evolution of convolutions of the original image, ensemble processing, and network-specific processing based on a noise image, such that each filter is different (based only on the processing of a single network and therefore differs from one another due to differences in the networks and their respective outputs and learning processes), but the combination of filters, when applied sequentially to a target image encoding network 1720, successively reconstruct more accurate representations 1722, 1724, 1726 before arriving at a final, arbitrarily similar reconstruction 1730 of the original image 1711.
[0060] It will be seen in FIG. 17 that data is conventionally passed between layers (e.g., 1712a-n) within a given convolutional neural network. However, additionally, inter-meta-network connections are made by embodiments, as shown in FIG. 17, by linking the output of one neural network (one horizontal column) of a meta-network (e.g., 1712a-n) to the input of the next stage of a different neural network (a different horizontal column, such as 1713a-n). During some initial testing of multiple meta-networks without these inter-meta-network connections, training and quality challenges were encountered. The training challenge was the vanishing gradient problem. This occurs because the updates that the learning algorithm wants to make to the weights are extremely small (10 -8 These small updates result in the network becoming "stale" and stopping learning, or in other words, stopping improving in performance. As is done with intra-meta-network connections, this problem can be fixed by adding skip connections between layers in the meta-network to shorten the route an update must take to reach its parameters, lowering the order in which the updates decrease. This technique has been fully utilized in the exemplary embodiment, with substantial improvements noted.
[0061] To further improve the information flow, inter-meta-network paths are added. These act as information injections between meta-networks. Their main role is to update the current meta-network about the state of the previous one. This further aids the flow of gradient information during training, leading to a more stable training process while reducing time.
[0062] Another reason for adding inter-meta-network paths is that the current meta-network may recognize the filters (and therefore transformations) of previous networks that were generated and generate filters in a way that complements the transformations of the previous filters, rather than canceling them. This ability to know the state of the previous meta-network is important because transformations to the input (noise) in image coding networks according to aspects of the present invention are typically applied sequentially. Thus, if the meta-network is tasked with predicting a transformation at a particular stage, it should know the previous transformations that have already been applied, in other words, the state of the previous meta-network rows.
[0063] Each meta-network is tasked with predicting the filter that will most appropriately transform the image coding network input into a step closer to the desired image. Since the input to the meta-network is only the desired image (a known noise image is injected late in the first row in layers 1715a-n as shown in FIG. 17), the meta-network is displaying an incomplete image. The "From" image is not displayed, but only the "To" image. Thus, late fusion of the IEN input (noise) is provided to the meta-network. This increases the information the meta-network can use to make its predictions, giving an improvement to the image quality. Furthermore, this fusion of information is done in an "or" fashion, so the meta-network can choose whether it requests or not.
[0064] In summary, the method according to the embodiment as shown in Figure 17 can be considered as an ensemble of meta-networks since the method uses a collection or group of meta-networks. One may argue that it is the same network, however, this is incorrect since all individual meta-networks are independent of each other in terms of trainable parameters, inputs, and outputs. It is convenient, although they do not even need to be trained together.
[0065] The meta-network 1710 must be trained before the function f can perform its function of determining the weights 1722, 1723, 1725 required to map a noise image N 1701 to a target image 1730. Thus, FIG. 18 is a method diagram illustrating the steps required to train a meta-network 1710 for use in lossy compression of images and videos using a meta-network. In an initial step 1810, a set of training images J are provided as inputs to the meta-network. These are used to train the meta-network based on the images J and a given noise image N (1820). This training arrives at a set of filters required to apply to the noise image N to arrive at a reconstruction of a given original image I (1830), as described above in FIG. 15. More specifically, this reconstruction process encompasses several individual networks within the meta-network, each of which generates a subset of hyper-parameters θ (1840), each of which, unlike the other subsets, focuses on a specific part or attribute of the input image I (1850). Each individual network then takes as input the state of all previous networks, such that their collective machine learning is used as a convolutional neural network built from smaller, more specialized convolutional neural networks (each focused on a specific attribute of the image, with the overall meta-network focusing on the whole by using each specific network as a convolutional filter in its own process) (1860). To reconstruct the target image, a still image N is passed through successive filters evolved by the network (1870) to generate an approximation image I' (1880). When the approximation image is determined to be acceptable, its set of hyper-parameters θ is stored, training is considered complete, and the hyper-parameters θ may then be sent to any arbitrary number of destination image encoding networks (1890), each of which may then use the hyper-parameters θ and the noise image N to rapidly generate a reconstructed image I'.
[0066] 19 is a flowchart of steps that a single network in a meta-network performs to generate a network to train on a set of images and act as part of a function g for neural network hyper-parameter prediction of an image coding network f, according to an embodiment. In an initial step 1901, a set of training images j are input to the meta-network. In each individual network in the meta-network, a check is performed (1902) to determine whether a noise image is present. If a noise image is not present, one is provided (1903), and then (or if a noise image was already present), the meta-network performs a check on the training images j to generate a network to operate as part of a function g. n An image transformation function g is run on each of I's (1904). After running the transformation, the result is checked to determine if the output image is acceptably close to the desired image I (1905); if not, each individual network in the meta-network slightly changes its parameters (1906) and repeats the function g, iterating closer to the desired output result. When the reconstructed image I' is acceptably close to the original I, the set of hyper-parameters is stored (1907) as the set of acceptable hyper-parameters required for an acceptable image transformation.
[0067] FIG. 20 is a flow chart of a process of multiple networks communicating in a meta-network for the purpose of cross-training and evolving progressive filters for transforming still images that help alleviate the vanishing gradient problem, according to an embodiment. In an initial step 2010, a convolutional processing layer i is run across every single network in the meta-network. Then, 2020, a check is performed to determine whether there are additional layers and waits to run. If so, then each individual network sends the result of its respective processing layer i as an output to be used as the input of the next convolutional layer i+1 of every next network (2040). Then i increments (2050) and continues operation (2010). When there are no more layers, the convolutional process ends and each individual network then generates its respective filter (2030), thereby generating the complete set of filters needed to recreate the target image from the noise image.
[0068] Hardware Architecture In general, the techniques disclosed herein may be implemented on hardware, or a combination of software and hardware. For example, they may be implemented within an operating system kernel, within a separate user process, within a library package coupled to a network application, on a specially constructed machine, on an application specific integrated circuit ("ASIC"), or on a network interface card.
[0069] At least some software / hardware hybrid implementations of the embodiments disclosed herein may be implemented on programmable network-resident machines (which should be understood to include intermittently connected network-aware machines) selectively activated or reconfigured by a computer program stored in memory. Such network devices may have multiple network interfaces that may be configured or designed to utilize different types of network communication protocols. Some general architectures of these machines may be described herein to illustrate one or more exemplary means by which a given unit of functionality may be implemented. According to specific embodiments, at least some of the features or functionality of the various embodiments disclosed herein may be implemented on one or more general-purpose computers associated with one or more networks, such as, for example, end-user computer systems, client computers, network servers or other server systems, mobile computing devices (e.g., tablet computing devices, mobile phones, smartphones, laptops, or other suitable computing devices), consumer electronic devices, music players, or any other suitable electronic devices, routers, switches, or other suitable devices, or any combination thereof. In at least some embodiments, at least some of the features or functionality of the various embodiments disclosed herein may be implemented in one or more virtualized computing environments (e.g., a network computing cloud, virtual machines hosted on one or more physical computing machines, or other suitable virtualization environments).
[0070] Referring now to FIG. 21, a block diagram illustrating an exemplary computing device 10 suitable for implementing at least a portion of the features or functionality disclosed herein is shown. The computing device 10 may be, for example, any one of the computing machines listed in the preceding paragraphs, or indeed any other electronic device capable of executing software-based or hardware-based instructions by one or more programs stored in memory. The computing device 10 may be configured to communicate with a number of other computing devices, such as clients or servers, over a communications network, such as a wide area network, a metropolitan area network, a local area network, a wireless network, the Internet, or other networks, whether wireless or wired, using known protocols for such communications.
[0071] In one embodiment, computing device 10 includes one or more central processing units (CPUs) 12, one or more interfaces 15, and one or more buses 14 (such as a peripheral component interconnect (PCI) bus). When operating under the control of appropriate software or firmware, CPU 12 may be responsible for implementing specific functions associated with the functionality of a specifically configured computing device or machine. For example, in at least one embodiment, computing device 10 may be configured or designed to function as a server system utilizing CPU 12, local memory 11 and / or remote memory 16, and interface 15. In at least one embodiment, CPU 12 may be caused to perform one or more of different types of functions and / or operations under the control of software modules or components, which may include, for example, an operating system and any suitable application software, drivers, etc.
[0072] CPU 12 may include one or more processors 13, such as, for example, a processor from one of the Intel, ARM, Qualcomm, and AMD families of microprocessors. In some embodiments, processor 13 may include specially designed hardware, such as an application specific integrated circuit (ASIC), an electrically erasable programmable read-only memory (EEPROM), a field programmable gate array (FPGA), etc., for controlling the operation of computing device 10. In a specific embodiment, local memory 11 (e.g., non-volatile random access memory (RAM) and / or read-only memory (ROM), including one or more levels of cache memory, etc.) may also form part of CPU 12. However, there are many different ways in which memory may be coupled to system 10. Memory 11 may be used for various purposes, such as, for example, caching and / or storing data, programming instructions, etc. It should be further appreciated that CPU 12 may be one of a variety of system-on-a-chip (SOC) type hardware that may include additional hardware such as memory or graphics processing chips, such as the QUALCOMM SNAPDRAGON™ or SAMSUNG EXYNOS™ CPUs that are becoming increasingly common in the art, such as for use in mobile or integrated devices.
[0073] As used herein, the term "processor" is not limited to integrated circuits referred to in the art simply as processors, mobile processors, or microprocessors, but broadly refers to microcontrollers, microcomputers, programmable logic controllers, application specific integrated circuits, and any other programmable circuitry.
[0074] In one embodiment, interface 15 is provided as a network interface card (NIC). Generally, a NIC controls the transmission and reception of data packets across a computer network, although other types of interface 15 may support, for example, other peripherals used with computing device 10. Among the interfaces that may be provided are an Ethernet interface, a frame relay interface, a cable interface, a DSL interface, a token ring interface, a graphics interface, etc. In addition, various types of interfaces may be provided, such as, for example, Universal Serial Bus (USB), serial, Ethernet, FIREWIRE™, THUNDERBOLT™, PCI, parallel, radio frequency (RF), BLUETOOTH™, near-field communications (e.g., using near-field magnetic), 802.11 (WiFi), Frame Relay, TCP / IP, ISDN, fast Ethernet interfaces, Gigabit Ethernet interfaces, serial ATA (SATA) or external SATA (eSATA) interfaces, high-definition multimedia interfaces (HDMI), digital visual interfaces (DVI), analog or digital audio interfaces, asynchronous transfer mode (ATM) interfaces, high-speed serial interfaces (HSSI) interfaces, point of sale (POS) interfaces, fiber optic distributed interfaces (FDDI), and the like. In general, such interfaces 15 may include physical ports appropriate for communication with an appropriate medium. In some cases, they may also include a separate processor (such as a dedicated audio or video processor as is common in the art for high fidelity A / V hardware interfaces), and in some cases, volatile and / or non-volatile memory (e.g., RAM).
[0075] The system shown in FIG. 21 illustrates one specific architecture for a computing device 10 for implementing one or more of the inventions described herein, but it is by no means the only device architecture in which at least a portion of the features and techniques described herein may be implemented. For example, an architecture having one or any number of processors 13 may be used, and such processors 13 may be present in a single device or distributed among any number of devices. In one embodiment, a single processor 13 handles communications as well as routing calculations, and in other embodiments, separate dedicated communications processors may be provided. In various embodiments, different types of features or functionality may be implemented in a system according to the present invention, including a client device (such as a tablet device or a smartphone running client software) and a server system (such as the server system described in more detail below).
[0076] Regardless of the network device configuration, the system of the present invention may employ one or more memories or memory modules (e.g., remote memory block 16 and local memory 11, etc.) configured to store data, program instructions for general network operation, or other information related to the functionality of the embodiments described herein (or any combination of the above). The program instructions may, for example, control or include the execution of an operating system and / or one or more applications. Memory 16 or memory 11, 16 may also be configured to store data structures, configuration data, encryption data, historical system operation information, or any other specific or general non-program information described herein.
[0077] Since such information and program instructions may be used to implement one or more systems or methods described herein, at least some network device embodiments may include non-transitory machine-readable storage media that may be configured or designed to store, for example, program instructions for performing various operations described herein, state information, etc. Examples of such non-transitory machine-readable storage media include, but are not limited to, magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROM disks, magneto-optical media such as read-only memory devices (ROMs), flash memory (as is common in mobile devices and integrated systems), solid-state drives (SSDs), and "hybrid SSD" storage drives that may combine the physical components of solid-state drives and hard disk drives in a single hardware device (as is becoming increasingly common in the art for personal computers), memristor memory, random access memory (RAM), and other hardware devices that are specifically configured to store and execute program instructions. It will be appreciated that such storage means may be integrated and non-removable (such as RAM hardware modules that may be soldered onto a motherboard or otherwise integrated into the electronic device), or they may be removable, such as swappable flash memory modules (such as "thumb drives" or other removable media designed to quickly replace physical storage devices), "hot-swappable" hard disk drives or solid state drives, removable optical storage disks, or other such removable media, and that such integrated removable storage media may be utilized interchangeably.Examples of program instructions include both object code, which may be produced by a compiler, machine code, which may be produced by an assembler or linker, such as bytecode, which may be produced by a JAVA™ compiler and executed using a Java Virtual Machine or equivalent, or files containing higher level code (e.g., scripts written in Python, Perl, Ruby, Groovy, or any other scripting language) that may be executed by the computer using an interpreter.
[0078] In some embodiments, the system according to the present invention may be implemented on a stand-alone computing system. Referring now to FIG. 22, a block diagram illustrating a typical illustrative architecture of one or more embodiments or components thereof on a stand-alone computing system is shown. The computing device 20 includes a processor 21 that may execute software to perform one or more functions or applications of the embodiments of the present invention, such as, for example, a client application 24. The processor 21 may execute computing instructions under the control of an operating system 22, such as, for example, a version of the MICROSOFT WINDOWS™ operating system, the APPLE OSX™ or iOS™ operating system, some types of Linux operating systems, the ANDROID™ operating system, etc. In many cases, one or more shared services 23 may be operational on the system 20 and may be useful for providing common services to the client applications 24. The services 23 may be, for example, WINDOWS™ services, user space common services in a Linux environment, or any other type of common service architecture used with the operating system 21. Input device 28 may be of any type suitable for receiving user input, including, for example, a keyboard, a touch screen, a microphone (e.g., for voice input), a mouse, a touch pad, a trackball, or any combination thereof. Output device 27 may be of any type suitable for providing output to one or more users, whether remote or local to system 20, and may include, for example, one or more screens for visual output, speakers, a printer, or any combination thereof. Memory 25 may be, for example, a random access memory having any structure and architecture known in the art for use by processor 21 to execute software.Storage device 26 may be any magnetic, optical, mechanical, memristor, or electrical storage device for storing data in digital form (such as those described above with reference to FIG. 21). Examples of storage device 26 include flash memory, magnetic hard drives, CD-ROMs, and / or the like.
[0079] In some embodiments, the system of the present invention may be implemented on a distributed computing network, such as one having any number of clients and / or servers. Referring now to FIG. 23, a block diagram is shown illustrating an exemplary architecture 30 for implementing at least a portion of a system according to an embodiment of the present invention on a distributed computing network. According to an embodiment, any number of clients 33 may be provided. Each client 33 may execute software for implementing a client-side portion of the present invention, and the clients may include a system 20 as illustrated in FIG. 22. In addition, any number of servers 32 may be provided to handle requests received from one or more clients 33. The clients 33 and the servers 32 may communicate with each other via one or more electronic networks 31, which may be various embodiments of the Internet, a wide area network, a mobile telephone network (such as a CDMA or GSM cellular network), a wireless network (such as WiFi, WiMAX, LTE, etc.), or a local area network (or indeed any network topology known in the art, and the present invention does not prefer any one over other network topologies). The network 31 may be implemented using any known network protocol, including, for example, wired and / or wireless protocols.
[0080] Additionally, in some embodiments, the server 32 may call an external service 37 when necessary to obtain additional information or to reference additional data regarding a particular call. Communication with the external service 37 may occur, for example, over one or more networks 31. In various embodiments, the external service 37 may include web-enabled services or functionality associated with or installed on the hardware device itself. For example, in embodiments in which the client application 24 is implemented on a smartphone or other electronic device, the client application 24 may retrieve information stored on the server system 32 in the cloud or on an external service 37 deployed at one or more of the premises of a particular enterprise or user.
[0081] In some embodiments of the invention, the client 33 or server 32 (or both) may utilize one or more specialized services or devices that may be deployed locally or remotely across one or more networks 31. For example, one or more databases 34 may be used or referenced by one or more embodiments of the invention. It should be understood by those skilled in the art that the databases 34 may be arranged in a wide variety of architectures and may use a wide variety of data access and manipulation means. For example, in various embodiments, the one or more databases 34 may include relational database systems using Structured Query Language (SQL), while other databases may include alternative data storage technologies, such as those referred to in the art as "NoSQL" (e.g., HADOOP CASSANDRA™, GOOGLE BIGTABLE™, etc.). In some embodiments, variant database architectures, such as column-oriented databases, in-memory databases, clustered databases, distributed databases, or flat file data repositories, may be used by the invention. Unless a specific database technology or a specific arrangement of components is specified for a particular embodiment herein, it will be understood by those skilled in the art that any combination of known or future database technologies may be used as appropriate. Furthermore, it should be understood that as used herein, the term "database" may refer to a physical database machine, a cluster of machines functioning as a single database system, or a logical database within an overall database management system. Unless a specific meaning is specified for a given use of the term "database," it should be construed to mean any of these senses of the word, all of which would be understood by those of skill in the art as the plain meaning of the term "database."
[0082] Similarly, most embodiments of the present invention may use one or more security systems 36 and configuration systems 35. Security and configuration management are general information technology (IT) and web functions, with parts of each generally associated with any IT or web system. Those skilled in the art should understand that any configuration or security subsystem known in the art, now or in the future, may be used in conjunction with embodiments of the present invention, including but not limited to, unless a particular security 36 or configuration system 35 or approach is specifically required by the description of a particular embodiment.
[0083] FIG. 24 shows an exemplary overview of a computer system 40 that may be used in any of various locations throughout the system. It is illustrative of any computer that may execute code to process data. Various modifications and changes may be made to the computer system 40 without departing from the broader scope of the systems and methods disclosed herein. A central processor unit (CPU) 41 is connected to a bus 42, which is also connected to a memory 43, a non-volatile memory 44, a display 47, an input / output (I / O) unit 48, and a network interface card (NIC) 53. The I / O unit 48 may typically be connected to a keyboard 49, a pointing device 50, a hard disk 52, and a real-time clock 51. The NIC 53 connects to a network 54, which may be the Internet or a local network, which may or may not have a connection to the Internet. Also shown as part of the system 40 is a power supply unit 45, which in this example is connected to a mains alternating current (AC) power source 46. Not shown are batteries that may be present, and many other devices and modifications that are well known but do not apply to the specific novel features of the present systems and methods disclosed herein. It should be understood that some or all of the illustrated components may be combined, such as in various integrated applications, such as, for example, Qualcomm or Samsung system-on-a-chip (SOC) devices, or when it may be appropriate to combine multiple capabilities or functions into a single hardware device (e.g., mobile devices such as smartphones, video game consoles, in-vehicle computer systems such as automobile navigation or multimedia systems, or other integrated hardware devices, etc.).
[0084] In various embodiments, functionality for implementing the systems or methods of the present invention may be distributed among any number of client and / or server components. For example, different software modules may be implemented to perform different functions in connection with the present invention, and such modules may be variously implemented for execution on the server and / or client components.
[0085] Those skilled in the art will recognize the range of possible modifications of the various embodiments described above. Accordingly, the present invention is defined by the claims and their equivalents.
Claims
1. 1. A system for lossy image and video compression utilizing a meta-network, comprising: a meta-network engine including a processor, a memory, and a first plurality of programming instructions stored in the memory, the first plurality of programming instructions, when operating on the processor, causing the processor to: Receiving a desired image; Receiving a noise image; receiving a set of training images; training a plurality of neural networks using the set of training images to reconstruct each of the set of training images by mapping the noise image to each of the set of training images; storing a set of hyper-parameters for each of the plurality of neural networks as a set of meta-network hyper-parameters; using the set of meta-network hyper-parameters as operating parameters for each of the plurality of neural networks; using the plurality of neural networks to map the noisy image to the desired image and generate a second set of hyper-parameters corresponding to a particular filter generated by each of the plurality of neural networks, such that the second set of hyper-parameters, when applied to the noisy image using the neural networks, generates an approximation of the desired image within an error that is less than a predetermined threshold; storing the second set of hyper-parameters for use in future image mapping operations.
2. Each of the plurality of neural networks generating at least one convolution filter, where the noise image can be successively filtered through all the convolution filters to map it to an approximation of a desired image; and facilitating communication between the plurality of neural networks to mitigate a vanishing gradient problem.
3. The system of claim 2 , wherein the multiple neural networks can be located on separate computing devices connected across a network.
4. The system of claim 1 , wherein the noise image is static and does not change.
5. A method for lossy image compression utilizing a meta-network, comprising: receiving a desired image; receiving a noise image; receiving a set of training images; training a plurality of neural networks using the set of training images to reconstruct each of the set of training images by mapping the noise image to each of the set of training images; storing a set of hyper-parameters for each of the plurality of neural networks as a set of meta-network hyper-parameters; using the set of meta-network hyper-parameters as operating parameters for each of the plurality of neural networks; using the plurality of neural networks to map the noisy image to the desired image and generate a second set of hyper-parameters corresponding to a particular filter generated by each of the plurality of neural networks, such that the second set of hyper-parameters, when applied to the noisy image using the neural network, generates an approximation of the desired image within an error that is less than a predetermined threshold; and storing the second set of hyper-parameters for use in future image mapping operations.
6. generating at least one convolution filter in each of the plurality of neural networks, where a noise image can be successively filtered through the convolution filters and mapped to an approximation of a desired image using a plurality of neural meta-networks; The method of claim 5 , further comprising: facilitating communication between the plurality of neural networks to mitigate a vanishing gradient problem.
7. The method of claim 6 , wherein the multiple neural networks may be located on separate computing devices connected across a network.
8. The method of claim 5 , wherein the noise image is static and does not change.
9. 1. A system for lossy compression and transmission of images and videos utilizing neural networks, comprising: an image compression engine including a first processor, a first memory, and a first plurality of programming instructions stored in the first memory, the first plurality of programming instructions, when operating on the first processor, causing the first processor to: Receiving a desired image; Obtaining a noise image; mapping the noisy image to the desired image using a first neural network to determine hyper-parameters such that, when applied to the noisy image using the first neural network, the hyper-parameters produce an approximation of the desired image within an error that is less than a predetermined threshold; transmitting the hyper-parameters; an image reconstruction engine including a second processor, a second memory, and a second plurality of programming instructions stored in the memory, the second plurality of programming instructions, when operating on the second processor, causing the second processor to: receiving the hyperparameters; obtaining the noise image; and applying the hyper-parameters to the noisy image using a second neural network to generate an approximation of the desired image within an error that is less than the predetermined threshold.
10. 10. The system of claim 9, wherein the image compression engine further comprises a dedicated 2D convolution processor for accelerating the operation of the first neural network.
11. The system of claim 9 , wherein the image reconstruction engine further comprises a dedicated 2D convolution processor for accelerating the operation of the second neural network.
12. 1. A method for lossy compression and transmission of images and videos utilizing neural networks, comprising: receiving a desired image at a first computing device; acquiring a noise image using the first computing device; using the first computing device to map the noisy image to the desired image to determine hyper-parameters using a first neural network, such that the hyper-parameters, when applied to the noisy image using the first neural network, produce an approximation of the desired image within an error that is less than a predetermined threshold; transmitting the hyperparameters to a second computing device; receiving, at a second computing device, the hyperparameters; acquiring, at the second computing device, the noise image; applying the hyper-parameters to the noisy image using the second computing device to generate an approximation of the desired image within an error that is less than the predetermined threshold using a second neural network.
13. The method of claim 12 , wherein the first computing device further comprises a dedicated 2D convolution processor.
14. The system of claim 12 , wherein the second computing device further comprises a dedicated 2D convolution processor.
Citation Information
Patent Citations
Systems and methods for providing convolutional neural network based image synthesis using stable and controllable parametric models, a multiscale synthesis framework and novel network architectures
US9922432B1
