Video compression techniques for reliable transmission.
By encoding frames relative to the last acknowledged good frame and using a sliding window of confirmed frames, the method addresses frame loss and corruption issues in traditional video streaming, enhancing performance in latency-sensitive applications.
Patent Information
- Application Number
- JP2024505454
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-07-30
- Filing Date
- 2022-07-08
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional video compression and streaming techniques rely on previous frames, leading to latency and inefficiencies when frames are dropped, causing data loss and corruption, which is particularly problematic in latency-sensitive applications like online gaming and autonomous driving.
A method for continuous data generation and compression where each frame is encoded relative to the last acknowledged good frame, allowing for efficient recovery from frame loss by using differential encoding and a sliding window of confirmed frames, minimizing latency and data loss.
This approach reduces latency and data loss by ensuring frames can be accurately decoded and displayed even with frame drops, maintaining application performance in latency-sensitive scenarios.
Smart Images

Figure 2024530909000001_ABST
Abstract
Description
[Technical field]
[0001] This application claims priority to U.S. Non-Provisional Patent Application No. 17 / 365,669, entitled “VIDEO COMPRESSION TECHNIQUES FOR RELIABLE TRANSMISSION,” filed July 30, 2021, which is incorporated herein in its entirety for all purposes. [Background technology]
[0002] Data streaming is becoming increasingly important for a variety of different industries and applications. In some applications, such as online gaming, it can be important for streaming game or video data to have low latency to avoid latency that adversely affects game play. Using traditional video compression and streaming techniques, the data for a video frame in a sequence may all reference changes relative to the previous frame in the sequence, except in the case of key frames (e.g., "i-frames") that do not depend on other frames in the sequence. This reliance on previous frames can create problems when a frame is dropped, for example, because then subsequent frames in the sequence will miss some of the change information needed to decode the proper frame. Another key frame can be sent to compensate for this frame drop, but there will be some latency experienced in generating the new key frame, as well as the extra time and bandwidth required to transmit another relatively large key frame.
[0003] Various embodiments according to the present disclosure are now described with reference to the drawings. [Brief description of the drawings]
[0004] [Figure 1A] FIG. 2 illustrates image data for an exemplary image sequence, in accordance with at least one embodiment. [Figure 1B] FIG. 2 illustrates image data for an exemplary image sequence, in accordance with at least one embodiment. [Figure 1C] FIG. 2 illustrates image data for an exemplary image sequence, in accordance with at least one embodiment. [Figure 2A] FIG. 1 shows the flow of frames in a video sequence. [Figure 2B] FIG. 1 shows the flow of frames in a video sequence. [Figure 3A] A diagram illustrating a throw of frames in a second video sequence according to at least one embodiment. [Figure 3B] A diagram illustrating a throw of frames in a second video sequence according to at least one embodiment. [Figure 3C] A diagram illustrating a throw of frames in a second video sequence according to at least one embodiment. [Figure 3D] A diagram illustrating a throw of frames in a second video sequence according to at least one embodiment. [Figure 4] FIG. 2 illustrates a video encoding and transmission pipeline, according to at least one embodiment. [Figure 5A] FIG. 1 illustrates a process for dynamically determining a reference frame for calculating one or more subsequent frame differentials, according to at least one embodiment. [Figure 5B] FIG. 1 illustrates a process for dynamically determining a reference frame for calculating one or more subsequent frame differentials, according to at least one embodiment. [Figure 6] FIG. 1 illustrates components of a system for encoding and transmitting image data in accordance with at least one embodiment. [Figure 7A] FIG. 2 illustrates inference and / or training logic in accordance with at least one embodiment. [Figure 7B] FIG. 1 illustrates inference and / or training logic in accordance with at least one embodiment. [Figure 8] FIG. 1 illustrates an example data center system in accordance with at least one embodiment. [Figure 9] FIG. 1 illustrates a computer system according to at least one embodiment. [Figure 10] FIG. 1 illustrates a computer system according to at least one embodiment. [Figure 11] A diagram illustrating at least a portion of a graphics processor in accordance with one or more embodiments. [Figure 12] A diagram illustrating at least a portion of a graphics processor in accordance with one or more embodiments. [Figure 13] FIG. 1 illustrates an example data flow diagram for an advanced computing pipeline according to at least one embodiment. [Figure 14] FIG. 1 is a system diagram for an exemplary system for training, adapting, instantiating, and deploying machine learning models in an advanced computing pipeline according to at least one embodiment. [Figure 15A] FIG. 1 is a data flow diagram for a process for training a machine learning model, according to at least one embodiment. [Figure 15B] FIG. 1 illustrates a client-server architecture for extending an annotation tool with a pre-trained annotation model, according to at least one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0005] Techniques according to various embodiments may provide for the generation, compression, and / or encoding of sequential or differential data. In particular, various embodiments provide for the generation of compressed sequential data, where each instance of a sequence may represent a difference from one or more previous instances in the sequence. This may include, for example, but not limited to, frames in a video sequence. In at least some instances or applications, latency may be significant or even critical. To reduce the amount of data that needs to be transmitted for such applications, the data may be compressed using any of a variety of compression techniques. One such technique is to send an initial video frame (or other data instance), which includes all relevant data for that frame, such as pixel values for each pixel location in that video frame. Subsequent frames may then be provided using the initial video frame as a reference or reference frame, sending only data for pixel locations whose pixel values differ from the reference frame. In various embodiments, the reference frame may correspond to a previously received and confirmed successfully decoded frame, rather than the immediately preceding frame in the sequence, to minimize the effects of dropped, incomplete, or corrupted frames. To further reduce data transmission requirements, a difference may be calculated with respect to one of several previously verified or confirmed frames, which may be cached on the local device, for example. In at least one embodiment, a difference may be calculated or estimated for the current frame with respect to each of several potential reference frames. A reference frame determined to be "optimal" for the current frame may then be selected, such as one that may represent the least amount of difference data to be transmitted, or the least amount of processing to decode or render. The set of possible reference frames may be updated when a new frame is successfully verified or confirmed, such as when an acknowledgement message is received from the receiving device.
[0006] In at least one embodiment, an image generation system can generate such a sequence of images or video frames that, when played sequentially, will present a scene of the content, such as an animation or gameplay scene. In each individual image, there may be various objects represented, which may include both foreground and background objects, which may be static or dynamic. The location, size, and orientation of any of those objects, whether static or dynamic, may change based at least in part on the movement of a virtual camera used to determine factors, such as the viewpoint or zoom level, for the image. In such an image or video sequence, these changes in view, location, size, and orientation may be viewed as a set of changes in the individual pixels used to represent those objects. These changes between frames may ultimately be viewed as differences in pixel data in some embodiments.
[0007] In online or real-time applications or use cases, these video sequences may be delivered using techniques such as video streaming. In applications such as streaming video for movies, delays or latency may be annoying to a user, but may not substantially prevent that user from viewing and enjoying the video. However, as noted above, in other types of video streaming, significant latency may reduce the enjoyment of the experience or even result in an unacceptable experience. For example, streaming of live sporting events may be at least somewhat latency sensitive, as viewers may not want to miss some events in the live stream or have delays in viewing those events, for example, resulting from problems with the video feed. In applications such as video conferencing, significant delays may reduce the value or impact of a discussion. In applications such as online gaming, significant latency issues may be significant, as they may cause players to lose or be at a significant disadvantage if they are unable to effectively determine what is happening in the game for extended periods of time. In applications such as robotics or autonomous driving, where physical decisions may be made based at least in part on a live video stream, latency that results in incorrect actions being taken, or in the desired actions not being taken, can have dire consequences. In these and other such applications or use cases, simply buffering received data and waiting for frames to catch up or addressing frame loss or corruption by using a reliable transport may not be sufficient. Increased latency resulting from such approaches may have adverse effects on the application, such as making an online game less interactive or an automated application slower and less responsive. For at least some of these applications and use cases, it may be desirable to be able to limit the impact of data loss.
[0008] As an example, consider an initial image frame 100 of FIG. 1A, which may correspond to a frame of a video sequence. For simplicity of explanation, this initial frame shows a solid black object 102 in front of a solid white background in a low-resolution image comprising an array of 18×18 pixels. To transmit this initial image, pixel data (i.e., the color to be displayed at each pixel location) must be transmitted for all 324 pixels. FIG. 1A also shows a subsequent frame 110 in the sequence, which shows the same black object 102 in a slightly different location. Without image compression, it would again be necessary to transmit pixel data for all 324 pixels in this subsequent frame in order to properly render and display this subsequent frame 110.
[0009] To reduce the amount of data to be transmitted, one or more data compression techniques may be used that include only the changes with respect to the previous frame in the sequence. For example, consider the overlaid frame 120 of FIG. 1B. A comparison may be made between the initial frame 100 and the subsequent frame 110, which shows that many of the white background pixels remain white and some of the pixels 124 corresponding to the object remain black. There are two regions of pixels that have changed in value. There is a first region 122 where the pixel was black in the initial image but changed to a white background pixel in the subsequent image 110. There is a second region 126 where the white background pixel changes to a black pixel to represent the current location of the object. To reduce the amount of data to be transmitted for the subsequent image 110, data representing only the pixels with changes 130 with respect to the initial image 100 may be transmitted. In other words, data for the 46 pixels with different values in the subsequent frame may be transmitted for the subsequent frame, and pixel data for the remaining 278 pixels may be retained and used from the initial frame 100. Even with this simple example, which ignores aspects such as color variation or anti-aliasing, a significant reduction in data transfer can be obtained.
[0010] However, for such a scheme to function without errors, each frame in the sequence may need to be received in its entirety and decoded correctly as it serves as the basis for subsequent frames in the sequence. If a frame is dropped, this may result in loss of data that may affect the visual quality of the video sequence or may prevent the frame from being properly decoded. As an example, consider the video sequence of Figures 2A and 2B. Frame 200 in Figure 2A belongs to an exemplary video sequence 202. The initial frame in this sequence is an i-frame (A) that contains data for all pixels in that frame. As mentioned above, an i-frame (or other type of key frame) does not depend on previous frames in the sequence and can stand alone as a complete video frame or image. A subsequent frame (B), here a p-frame (or a "progressing" frame representing progression from the immediately preceding frame), may depend on or reference back to i-frame A, although any other related type of dependent frame or image data representation could also be used, and thus the data transmitted for p-frame B includes only data for pixels whose values have changed (or have changed by at least a minimal amount) with respect to the values in i-frame A. The small box in the lower left corner of p-frame B indicates that the frame references back to i-frame A and includes data for the differences with respect to i-frame A. As shown in this exemplary sequence 202, each subsequent frame references back to the immediately preceding frame and therefore includes only the changes with respect to the immediately preceding frame.
[0011] However, it may occur that data (e.g., one or more packets) for one or more of the frames in the video sequence 202 may be dropped, partially received, corrupted, or otherwise unable to be used to decode a proper image or video frame. As shown, in received frame 250 in the video sequence 202 of FIG. 2B, p-frame C was not received completely and correctly. As shown, p-frame D, which depends on the missed p-frame C, will then not be able to reflect the changes in p-frame C. At best, unless frames B and C are very similar, this will result in some jerkiness or noise in the video signal, but at worst, this may result in the video frame for p-frame D being unable to be properly decoded and provided for display. Similarly, subsequent frames, such as p-frame E, will be unable to recover this lost information and may continue to have problems with the video being displayed that is based, at least in part, on the lost change data for p-frame C. If the server sending out the video stream in this example does not receive an acknowledgement for p-frame C, the server may determine that a new i-frame F needs to be sent to recover from the data loss. In other examples, a client receiving the sequence may realize that a frame was dropped and may request a new i-frame. Although sending the new i-frame allows the video to recover as if no data had been lost, the generation of the new i-frame may take some time, and sending a relatively large amount of data for the new i-frame may also take some time (and additional bandwidth), so there will be some delay between the dropped frame and the new i-frame F being sent. In applications that are time-constrained, or at least latency-sensitive, such delays or latencies may have significant adverse effects, as explained previously.
[0012] Some conventional approaches rely on a client-side determination that a frame in a sequence or cadence was not received within an expected time window. For example, if the system is running at a certain frame rate, such as 60 FPS, the client device will know approximately when to expect the next frame in a video sequence to be received from the network. With slight adjustments, the client device can determine how long to wait for a given frame to arrive. If the frame does not arrive within that time period, it can be assumed that the data for that frame is lost for many situations. However, such approaches can be quite costly, as there is generally some lag in returning that information to the server, having the server process that data, and then sending out new, updated, or additional data as a result. Furthermore, if the stream is invalidated by the client, subsequent ongoing frames that were or will be received after that point will be invalid, and thus the client will have to wait until another i-frame is received to effectively resume the video stream from the current point.
[0013] Some conventional techniques utilize some type of forward error correction (FEC) to attempt to minimize the effects of packet loss during data transmission. FEC effectively forces the source of the transmission, such as a media server, to send redundant data so that the receiver of the transmission, such as a client device, can utilize only the portion of the data that is received and is error-free. Such techniques can allow the client to use this extra or redundant data to reconstruct at least a portion of the data that was missed. For limited data loss, the client may be able to recover completely without receiving the lost packet(s). However, such techniques are not optimal because they require additional bandwidth for this redundant data and are still susceptible to packet loss if the loss is not small enough to allow recovery.
[0014] Thus, techniques according to various embodiments may compress or encode video sequences or other such data in a manner that avoids at least some of these and other such problems related to data loss or corruption. Such techniques may utilize modified compression techniques, such as those that may be based at least in part on encoding formats such as H.264, HEVC, VP9, FLV, or WEBM, among others. FIG. 3A illustrates an initial set of frames 300 of an exemplary video sequence 302 that may be transmitted according to various embodiments. In this example, i-frame A is transmitted as the first frame in the sequence, at least since there is no previous frame in the sequence to reference or depend on from. This i-frame may include a complete set of image data, including values for each pixel in the frame. The next frame in the sequence 302, here p-frame B, may include data for changes relative to the previous frame A, similar to the sequence described with respect to FIG. 2A. However, in this example, the server (or other such source) transmitting the sequence may not yet have received acknowledgment that p-frame B was properly and completely received and decoded. Thus, the server may decide not to generate data for the next frame in the sequence, here p frame C, to include the changes relative to the immediately preceding frame B, but instead generate data for p frame C to include the changes relative to the last acknowledged "good" frame, here i frame A. In this way, p frame C may involve more data to be transmitted than if p frame C only reflected the changes relative to p frame B, but the data for p frame C will allow p frame C to be fully and correctly decoded and displayed even if the intermediate p frame B is dropped or corrupted. Similarly, the subsequent p frame D in this example may also involve data for the changes relative to the last acknowledged frame A, so that frame D may be displayed properly without significant added latency even if frames B and / or C are dropped or corrupted.
[0015] In this example, an acknowledgement (or "ack") is received for p frame B at least after the generation of p frame D. As shown, the next frame (p frame E) may then have data determined to be transmitted that represents a change relative to the last acknowledged good frame, which is now p frame B as shown in FIG. 3B. If an acknowledgement for frames C, D, or E is not received before data is determined to be transmitted for p frame F, then p frame F may also have data that represents a change relative to the last acknowledged frame B. However, if an acknowledgement for frames C, D, or E is received before data for frame F is determined, then that data may instead represent a change relative to the most recent frame (in sequence 302) of those frames for which an acknowledgement was received. In many embodiments, the frame data is sent at regular intervals that may approximate the frame rate at which the frames are to be displayed, such as 60 frames per second (fps). Thus, frame acknowledgments should be received with similar frequency so that most frames may end up depending on the most recent frame unless a frame is dropped. If an acknowledgment is not received for a duration corresponding to several frames, it may indicate a problem that may need to be addressed using another approach. In such cases, sending a new i-frame may not solve the problem, as the frame may either not be received properly or not received in a timely manner. In some embodiments, an i-frame may be sent after a determined number of frames, such as five or more frames, have been transmitted without acknowledgments.
[0016] As shown in FIG. 3C, if a frame such as p frame C is dropped (or corrupted, etc.), the subsequent p frame D can still represent changes with respect to the last acknowledged frame A. In some instances, the frame data may have been properly received, but the corresponding acknowledgement may not have been properly received. When an acknowledgement is received for another frame, here p frame B, subsequent frames can depend on that frame, as shown for p frames E and F. This approach effectively creates a sliding window in which a given frame will depend from the most recent frame in the sequence for which an acknowledgement has been received (or other indication has been provided or determined). As shown in FIG. 3D, subsequent frames can depend on p frame D once an acknowledgement has been received, and so on. In this way, even if one or more frames are dropped, subsequent frames can recover and decode or display the proper image by utilizing data representing changes (e.g., differences) in the video content from the last acknowledged good frame. The dropped frames may then only cause a temporary delay (on the order of one frame) in the video update, which may cause an abrupt change in pixel values that may be barely noticeable, and may be short enough to have minimal, if any, impact on the application. For example, a gamer may not be unduly disadvantaged by not having a video update for a period of time on the order of about 30 milliseconds, but may be disadvantaged if several frames have been dropped or corrupted and new i-frames need to be sent out, as in the conventional method, which may cause delays on the order of a second or more. Forward error correction may still be used with such a process.
[0017] In at least one embodiment, a frame received by a client device may be in an acknowledged or unacknowledged state, which may correspond to whether the frame was properly received, decoded, verified, and / or acknowledged. When a frame is successfully decoded and acknowledged, for example, the frame may be considered to be an acknowledged frame. In at least one embodiment, the client device may keep only the most recent acknowledged frame in a local buffer. This acknowledged frame will correspond to the last good frame in the sequence and may be used to decode subsequent frames in the sequence until a new frame in the sequence is acknowledged.
[0018] In at least one embodiment, the client device may cache at least the two most recent acknowledged frames in a buffer. This may help account for the asynchronous nature of communication when a frame is acknowledged by the client but the acknowledgement is not received and processed by the server before the next frame is generated and transmitted, which next frame would then represent deltas from the previous acknowledged frame. In this way, a frame that is received with delta data with respect to any previous acknowledged frame may be properly decoded and displayed and verified as a new acknowledged frame.
[0019] In some embodiments, the client device may buffer multiple confirmed frames, so that any subsequent progressing frames can utilize any of those buffered confirmed reference frames as a base for differencing. In at least one embodiment, the transmitting server may maintain a list of confirmed reference frames buffered by the client device, and may update this list whenever a new confirmed frame is added to or removed from this buffer. In at least one embodiment, the client device may send a request to the server to remove a confirmed frame from the buffer. The client device may then wait for an acknowledgement response back from the server before removing the confirmed frame from the buffer. If an acknowledgement response from the server is not received after a period of time, the client device may send another request to remove the frame from the buffer. Such an approach may prevent buffer overruns. Such an approach may also help avoid a situation where the server lists a given frame that is available as a potential reference frame, but the frame is no longer available on the client device. Additionally, this helps avoid a situation where a frame is already in the process of being transmitted when it is removed from the buffer, such that the confirmed frame is no longer available as a reference frame. In some embodiments, the client device may request that the server select frames to be removed from the buffer, in which case the server may respond with instructions to remove one or more selected frames from the buffer, such that the server will no longer use the frames as reference frames. This may enable, at least in some embodiments, the server to have administrative responsibility for the buffer on the client device.
[0020] In at least one embodiment, the transmitting server or source may attempt to determine which confirmed frame should be used as a reference frame for the subsequent ongoing frame. Various rules or policies for making such a determination may be set as appropriate, such as being user configurable or being made at least in part based on network conditions. In at least one embodiment, the reference frame that would result in the smallest delta may be selected, such as one that may have the smallest number of changes or that may result in the smallest amount of data to be transmitted for the subsequent frame. In some embodiments, in the absence of significant network problems or concerns, the reference frame with the most changes may be selected instead to minimize the impact of corrupted or inaccurate data in the previous frame. In some embodiments, the transmitting server may have a preference to utilize more recent confirmed frames to avoid situations where older frames may be removed from a buffer on the client device. Other rules or techniques for selection may also be used within the scope of various embodiments.
[0021] In one such implementation, the client device can inform the server when a confirmed frame is to be flushed from the buffer so that the server knows that the confirmed frame can no longer be used as a base, reference, or key frame for subsequent frames. In some embodiments, the server can instruct the client device as to which confirmed frames to remove from the buffer, such as based on the difference exceeding a maximum difference threshold or having a maximum number of frames in the buffer that have a smaller difference with respect to the current frame, among other options. The client device can also query the server as to which frames to discard from the buffer if the client needs or desires to clear space in the buffer. In some embodiments, at least a portion of this information can be conveyed through an acknowledgement message sent from the client device or other such recipient.
[0022] Subsequent frames that have not been acknowledged may also be stored in the buffer, as these frames may become new acknowledged frames in the sequence after an acknowledgement is sent or another acknowledgement requirement is satisfied. Each time a new frame is acknowledged, one of the older acknowledged frames in the sequence may be discarded from the buffer, at least when the maximum number or size of frames in the buffer is met, approached, or exceeded. In some embodiments, a maximum number of unacknowledged frames may be kept in the buffer, as prolonged periods without acknowledgements or confirmations may indicate network or other problems, such that different corrective actions may be taken or the problem should be investigated. In many streams, new i-frames or key frames may be generated for changes such as scene or programming changes in a game (which will change most, if not all, of the pixel data), or new levels or cut scenes, and whenever a new i-frame is received by the client, the client may flush all previous frames from the buffer, as they will no longer be able to serve as key frames for subsequent frames in the video sequence. In at least some embodiments, new i-frames are sent only when necessary or requested, and thus there may be very few (as little as one) i-frames sent for a given stream, which may be beneficial since i-frames can be expensive due to the amount of data that must be generated, transmitted, and stored. If the problem is a network bandwidth issue, sending unnecessary i-frames may actually make the problem worse, especially for higher resolutions such as 4K or 8K.
[0023] As mentioned above, the benefits of such techniques may be used for applications and use cases other than video and media applications. Benefits may be gained for a variety of use cases where distinct or reference data is used and reference points may be advantageously updated over time. This may include, for example, distinct temperature or sensor data transmissions for mechanical or electrical systems. Such techniques may also be advantageously used in use cases where latency and buffering are an issue, such as may be related to video conferencing, audio streaming, automation, and the like. Even in the case of use cases such as online gaming where video may benefit from such techniques, there may be other data or information that can benefit as well. For example, input data sent from a client device to a server when streaming a game (e.g., user input data from a mouse, control pad, VR control stick, audio input device, motion sensor, gesture control, or touch screen, among other options) is often sent as a set of relative positional movements. This data may have a similar need for low latency, and it may be desirable to avoid this input data being corrupted as a result of missed data. By coalescing events from the last acknowledged event (or buffering the data for each event), benefits similar to those for video streams may be obtained by handling missed packets, etc., without the overhead of requesting retransmission of the data. Such techniques may be applied to the transmission of individual "states" or "time slices" of a changing data set, e.g., a subsequent state or time slice of a data set may be encoded, or at least described or generated, as a set of differences relative to a particular previous state or time slice of the same data set.
[0024] FIG. 4 illustrates, for purposes of presentation, an exemplary video encoding pipeline 400 that may be used to transmit video data to at least one client device or other such recipient. It should be understood that, in at least some embodiments, such video data may include or be associated with audio data as well. In this example, pixel data for a current frame to be rendered may be received from a video source 402, such as a camera, a media server, or an online game host. In this example, the video data is received at a video encoder 404 that is configured to encode the data using a particular encoding format. In the case of an initial frame, the encoder 404 may encode the frame as an i-frame or key frame, which may be passed to a stream server 408 or other such sender for transmission over at least one network 410 to a client device 412 or other intended recipient. The receiver 414 of the client device may receive this video data and pass it to the video decoder 416 to decode the video frames, which may then be presented on the display 420, or via other such mechanisms, such as a projector, monitor, or wearable display. In this example, the video decoder 416 may cause the frame to be stored in the reference buffer 418 as an acknowledged frame that may be used as a reference for subsequent frames in the video stream. The video decoder 416 may also cause an acknowledgement to be sent to the stream server 408, which may communicate the acknowledgement to the video encoder 404. The video encoder may have stored a copy of the i-frame in the reference buffer 406 and may designate the frame as an acknowledged frame that may then be used as a basis for subsequent video frames on the stream.
[0025] In this example, the second frame in the sequence may use the initial i-frame as a reference frame because at this point, there is no other frame to act as a reference frame for the second frame, regardless of whether an acknowledgement for the first frame has already been received. For the third or subsequent frame in the sequence, the video encoder 404 may examine the confirmed reference frames in the reference buffer 406 to determine which one to use as a reference frame to determine a differential for the current frame. As discussed above, this selection may be determined using any of a number of different rules, policies, or techniques, such as to select the reference frame that will result in the smallest number of changes or that will result in the smallest amount of data to be transmitted for the current frame. In at least one embodiment, the video encoder may select as a reference frame any frame in the local reference buffer 406 that has been confirmed by the client device 412 and that has been indicated to be cached or buffered in the client reference buffer 418. Once a reference frame is selected, the video encoder 404 may generate a differential and encode data for the current video frame that may be transmitted to the client device 412. In this example, once properly decoded and verified, the client device 412 can cause the current frame to be stored in the client reference buffer 418 and can cause an acknowledgment to be sent to the stream server 408 that the new frame can then serve as a reference frame for subsequent frames on that stream.
[0026] If a buffer removal criterion is met, such as a maximum number of buffered frames being met or exceeded, the client device 412 can submit a request to the stream server 408 or video encoder 404 to remove at least one older or prior confirmed frame in the sequence from the client reference buffer 418. An acknowledgement can be received from the video encoder 404 and / or stream server acknowledging that one or more particular frames may be removed from the client reference buffer 418 and will no longer be used as reference frames. As mentioned above, this can include one or more frames requested for removal by the client device or selected for removal by, for example, the video encoder 404. In at least one embodiment, the video encoder 404 (or other responsible or monitoring component) can instruct that the confirmed frames should be removed from the buffer without receiving a request from the client device. In at least one embodiment, frames other than the oldest frame may be removed from the buffer, such as to remove frames that are most similar to another confirmed frame in the buffer, to maximize the diversity of data in the reference buffer to allow for better compression optimization for subsequent frames. In various embodiments, the video encoder 404 may encode multiple streams to be transmitted to multiple receivers, and the ongoing frames sent out on each stream may depend at least in part on the confirmed frames available on those devices. In some embodiments, a maximum number of distinct reference frames may be allowed to be used by the video encoder to prevent significant additional processing requirements on the video encoder, as well as to limit the size of the reference buffer 406.
[0027] FIG. 5A illustrates an exemplary process 500 for encoding a data stream for transmission that may be implemented according to various embodiments. In this example, at 502, an initial video frame in a sequence is encoded as a key frame. This may be the first frame in the entire sequence or the first frame after a scene change, among other options. At 504, this initial key frame may be buffered as a confirmed frame, i.e., a frame that has been confirmed as being able to be used as a reference frame for possible subsequent frames. In at least one embodiment, at least since there may not currently be another frame to be used as a reference frame and it may be undesirable to send out another key frame unless a confirmation or acknowledgement is first received, any key frame or i-frame may be designated as a confirmed frame that may be used as a reference frame. At 506, this key frame may also be transmitted to a client device or other such recipient for decoding and display.
[0028] At 508, a confirmed frame from the buffered frames may be determined or selected for use as a reference frame for a subsequent frame in the sequence. This may include, for example, determining the confirmed frame that will result in the smallest difference or the smallest number of changes with respect to the frame to be encoded. In at least one embodiment, this may include determining two or more differences in parallel and then selecting one of the confirmed frames based at least in part on one or more aspects of the differences. The next frame may then be encoded at 510 using the difference data for the selected reference frame. Data for this frame may be stored in a buffer for potential use as a future reference frame for the sequence. At 514, the encoded data for this frame may also be transmitted to the client device for decoding and display as part of the current video sequence. During this process, at 516, a determination may be made as to whether there has been a change in the buffer on the client device. This may include, for example, receiving an acknowledgement from the client device of a new confirmed frame in the buffer or a notification of the removal of one or more frames from the client reference buffer. In embodiments where the video encoder may instruct the client device to remove a frame from the client reference buffer, this may include sending a notification of such an instruction. If there is no change in the buffer, the process may continue. If there is a change in the client reference buffer, at 518 the frame data stored in the local buffer may be updated to reflect the change(s), such as to reflect the identified frame that is now buffered on the client device and available to serve as a reference frame for one or more subsequent frames in the sequence. The process may then continue based at least in part on this updated buffer data.
[0029] FIG. 5B illustrates a process 550 for decoding and displaying video data that may be implemented according to various embodiments. In this example, at 552, encoded data is received for a next video frame in a sequence, such as a frame following an initial key frame that was received, decoded, and displayed. At 554, this frame data may be decoded using data for an identified reference frame (unless the frame is a key frame for which there is no reference frame) stored in a client reference buffer. The identified reference frame may reference a previous frame in the sequence that was properly received and decoded, and thus may serve as a reference frame for purposes of decoding a complete video frame using difference video data between these frames. At 556, this successfully decoded video frame may be provided for presentation, such as for display through an appropriate display element. At 558, data for this successfully decoded frame may also be stored in a client reference buffer for potential use as a reference frame for one or more subsequent frames in the sequence. Also, at 560, an acknowledgement may be sent indicating that the frame was successfully decoded and stored in the client reference buffer and is available as a potential reference frame. During this process, at 562, a decision may be made to remove one or more frames from the client reference buffer. As mentioned above, this decision may be made by the client device, the video encoder, or a remote server, among other options. If the client device determines that at least one frame should be removed, at 564, a request to remove one or more from the client reference buffer may be sent to the video encoder, or a component or server managing the encoding process. The request may specify the frame(s) or allow the video encoder (or other component) to select the frame(s) to be removed.Once the acknowledgment is received, at 566, the specified frame(s) may be removed from the client reference buffer and will be unavailable for use as a potential reference frame for future frames in the sequence. As noted above, in other embodiments, the video encoder may command that one or more frames be removed from the client buffer rather than responding to a request from the client device. The process may then continue using the current frame in the client reference buffer.
[0030] As described, the various techniques presented herein are lightweight enough to execute in real-time on a client device, such as a personal computer or gaming console. Such processing may be performed on content generated on that client device or received from an external source, such as streaming content received over at least one network. The source may be any suitable source, such as a game host, a streaming media provider, a third-party content provider, or another client device, among other options. In some instances, the processing and / or rendering of this content may be performed by one of these other devices, systems, or entities and then provided to the client device (or another such recipient) for presentation or another such use.
[0031] As an example, Figure 6 illustrates an exemplary network configuration 600 that may be used to provide, generate, modify, encode, and / or transmit content. In at least one embodiment, a client device 602 may generate or receive content for a session using components of a content application 604 on the client device 602 and data stored locally on the client device. In at least one embodiment, a content application 624 (e.g., an image generation or editing application) running on a content server 620 (e.g., a cloud server or an edge server) may initiate a session associated with at least the client device 602 that may utilize a session manager and user data stored in a user database 634, causing content 632 to be determined by a content manager 626. A scene generation module 628 may generate or obtain the content determined to be provided, such as may relate to an animation or gaming application, and at least a portion of that content, if required for this type of content or platform, may need to be rendered using a rendering engine and transmitted to the client device 602 using an appropriate transmission manager 622 for sending by download, streaming, or another such transmission channel. An encoder 630 may be used to encode and / or compress this data before transmitting to the client device 602. In at least one embodiment, this content 632 may include video or image data for a scene. In at least one embodiment, a client device 602 receiving this content may provide this content to a corresponding content application 604, which may also or alternatively include a scene generation module or rendering engine 612 (if necessary) for rendering at least a portion of this content for presentation.A decoder 614 may also be used to decode data received over network(s) 640 for presentation via the client device 602, such as image or video content through a display 606, and audio, such as sounds and music, through at least one audio playback device 608, such as speakers or headphones. In at least one embodiment, at least a portion of this content may already be stored on, rendered on, or accessible to the client device 602, such that a transmission over network 640 is not required for at least a portion of the content, such as if the content was previously downloaded or stored locally on a hard drive or optical disk. In at least one embodiment, a transmission mechanism, such as data streaming, may be used to transfer this content from the server 620, or content database 634, to the client device 602. In at least one embodiment, at least a portion of this content may be obtained or streamed from another source, such as a third party content service 660, which may also include a content application 662 for generating or providing the content. In at least one embodiment, portions of this functionality may be implemented using multiple computing devices or multiple processors within one or more computing devices, such as may include a combination of a CPU and a GPU.
[0032] In at least one embodiment, the content application 624 includes a content manager 626 that can determine or analyze the content before it is sent to the client device 602. In at least one embodiment, the content manager 626 can also include or work with other components that can generate, modify, encode, or enhance the content to be provided. In at least one embodiment, this can include determining which frames are available to serve as reference frames, or can select reference frames for a particular frame to be encoded. In at least one embodiment, the image, video, or scene generation components 628 can be used to generate images, videos, or other media content. In at least one embodiment, the content manager 626 can cause the selected and encoded content to be sent to the client device 602. In at least one embodiment, the content application 604 on the client device 602 can also include components such as a rendering engine, or an image or video decoder 614, such that any or all of this functionality can additionally or alternatively be implemented on the client device 602. In at least one embodiment, the content application 662 on the third party content serving system 660 may also include such functionality. In at least one embodiment, the location at which at least a portion of this functionality is implemented may be configurable or may depend on factors such as the type of client device 602 or the availability of a network connection with adequate bandwidth, among other factors. In at least one embodiment, a system for content generation may include any suitable combination of hardware and software in one or more locations.In at least one embodiment, the generated image or video content in one or more resolutions may also be provided or made available to other client devices 650, such as for download or streaming from a media source that stores a copy of the image or video content. In at least one embodiment, this may include transmitting images of game content for a multiplayer game, where different client devices may display the content at different resolutions, including one or more super-resolutions.
[0033] In this example, the client devices may include any suitable computing device, such as may include a desktop computer, a notebook computer, a set-top box, a streaming device, a gaming console, a smartphone, a tablet computer, a VR headset, an AR goggles, a wearable computer, or a smart television. Each client device may submit requests over at least one wired or wireless network, such as may include the Internet, an Ethernet, a local area network (LAN), or a cellular network, among other options. In this example, the requests may be submitted to an address associated with a cloud provider, which may operate or control one or more electronic resources in the cloud provider environment, such as may include a data center or a server farm. In at least one embodiment, the requests may be received or processed by at least one edge server located on the network edge and outside at least one security layer associated with the cloud provider environment. In this manner, latency may be reduced by allowing client devices to interact with servers that are closer to them while also improving the security of resources in the cloud provider environment.
[0034] In at least one embodiment, such a system may be used to perform graphical rendering operations. In other embodiments, such a system may be used for other purposes, such as to provide image or video content for testing or validating autonomous machine applications, or to perform deep learning operations. In at least one embodiment, such a system may be implemented using edge devices or may incorporate one or more virtual machines (VMs). In at least one embodiment, such a system may be implemented at least in part in a data center or at least in part using cloud computing resources.
[0035] Inference and Training Logic 7A illustrates inference and / or training logic 715 that may be used to perform inference and / or training operations associated with one or more embodiments. More details regarding inference and / or training logic 715 are provided below in conjunction with FIGs. 7A and / or 7B.
[0036] In at least one embodiment, the inference and / or training logic 715 may include, but is not limited to, code and / or data storage 701 for storing forward and / or output weights and / or input / output data and / or other parameters for configuring neurons or layers of a neural network that are trained and / or used to infer in one or more embodiments. In at least one embodiment, the training logic 715 may include or be coupled to code and / or data storage 701 for storing graph code or other software for controlling the timing and / or order in which the weights and / or other parameter information should be loaded to configure logic including integer and / or floating point units (collectively, arithmetic logic units (ALUs)). In at least one embodiment, code such as graph code loads the weights or other parameter information into a processor ALU based on the architecture of the neural network to which the code corresponds. In at least one embodiment, code and / or data storage 701 stores weight parameters and / or input / output data for each layer of a neural network that is trained or used in conjunction with one or more embodiments during forward propagation of the input / output data and / or weight parameters during training and / or inference using aspects of one or more embodiments. In at least one embodiment, any portion of code and / or data storage 701 may be included with other on-chip or off-chip data storage, including a processor's L1, L2, or L3 cache or system memory.
[0037] In at least one embodiment, any portion of the code and / or data storage 701 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, the code and / or code and / or data storage 701 may be cache memory, dynamic randomly addressable memory (“DRAM”), static randomly addressable memory (“SRAM”), non-volatile memory (e.g., flash memory), or other storage. In at least one embodiment, the selection of whether the code and / or code and / or data storage 701 is internal or external to the processor, for example, or comprises DRAM, SRAM, flash, or some other storage type, may depend on available storage, on-chip versus off-chip, latency requirements of the training and / or inference functions being performed, batch sizes of data used in the inference and / or training of the neural network, or some combination of these factors.
[0038] In at least one embodiment, the inference and / or training logic 715 may include, without limitation, code and / or data storage 705 for storing back and / or output weights and / or input / output data corresponding to neurons or layers of a neural network trained and / or used to infer in accordance with one or more aspects of the embodiment. In at least one embodiment, the code and / or data storage 705 stores weight parameters and / or input / output data for each layer of a neural network trained or used in conjunction with one or more embodiments during backpropagation of input / output data and / or weight parameters during training and / or inference using aspects of one or more embodiments. In at least one embodiment, the training logic 715 may include or be coupled to code and / or data storage 705 for storing graph code or other software for controlling the timing and / or sequence in which the weights and / or other parameter information should be loaded to configure logic including integer and / or floating point units (collectively, arithmetic logic units (ALUs)) in the code and / or data storage 705. In at least one embodiment, code such as graph code loads the weights or other parameter information into a processor ALU based on the architecture of the neural network to which the code corresponds. In at least one embodiment, any portion of the code and / or data storage 705 may be included with other on-chip or off-chip data storage, including a processor's L1, L2, or L3 cache or system memory. In at least one embodiment, any portion of the code and / or data storage 705 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, the code and / or data storage 705 may be cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other storage.In at least one embodiment, the selection of whether the code and / or data storage 705 is, for example, internal or external to the processor, or whether it consists of DRAM, SRAM, flash, or some other storage type, may depend on the available storage, on-chip versus off-chip, latency requirements of the training and / or inference functions being performed, batch sizes of data used in inference and / or training of the neural network, or some combination of these factors.
[0039] In at least one embodiment, code and / or data storage 701 and code and / or data storage 705 may be separate storage structures. In at least one embodiment, code and / or data storage 701 and code and / or data storage 705 may be the same storage structure. In at least one embodiment, code and / or data storage 701 and code and / or data storage 705 may be partially the same storage structure and partially separate storage structures. In at least one embodiment, code and / or data storage 701 and any portion of code and / or data storage 705 may be included with other on-chip or off-chip data storage, including a processor's L1, L2, or L3 cache or system memory.
[0040] In at least one embodiment, the inference and / or training logic 715 may include one or more arithmetic logic units ("ALUs") 710, including, but not limited to, integer and / or floating point units, for performing logical and / or mathematical operations based at least in part on or indicated by the training and / or inference code (e.g., graph code), the results of which may produce activations (e.g., output values from layers or neurons in a neural network) that are stored in activation storage 720, where these activations are a function of input / output and / or weight parameter data stored in code and / or data storage 701 and / or code and / or data storage 705. In at least one embodiment, the activations stored in activation storage 720 are generated according to linear algebra and / or matrix-based mathematics performed by ALU(s) 710 in response to executing instructions or other code, and the weight values stored in code and / or data storage 705 and / or code and / or data storage 701 are used as operands along with other values, such as bias values, gradient information, momentum values, or other parameters or hyperparameters, any or all of which may be stored in code and / or data storage 705 or code and / or data storage 701, or in another storage, on-chip or off-chip.
[0041] In at least one embodiment, ALU(s) 710 are included within one or more processors or other hardware logic devices or circuits, while in other embodiments, ALU(s) 710 may be external to the processor or other hardware logic device or circuit that uses them (e.g., a coprocessor). In at least one embodiment, ALU 710 may be included within an execution unit of a processor, or otherwise within a bank of ALUs accessible by execution units of a processor, either within the same processor or distributed among different processors of different types (e.g., central processing units, graphics processing units, fixed function units, etc.). In at least one embodiment, code and / or data storage 701, code and / or data storage 705, and activation storage 720 may be on the same processor or other hardware logic device or circuit, while in other embodiments, they may be in different processors or other hardware logic devices or circuits, or in some combination of the same processor or other hardware logic device or circuit and different processors or other hardware logic devices or circuits. In at least one embodiment, any portion of activation storage 720 may be included with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory. Additionally, inference and / or training code may be stored with other code accessible to the processor or other hardware logic or circuitry, and may be fetched and / or processed using the processor's fetch, decode, schedule, execute, retirement, and / or other logic circuitry.
[0042] In at least one embodiment, activation storage 720 may be cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other storage. In at least one embodiment, activation storage 720 may be fully or partially within or external to one or more processors or other logic circuitry. In at least one embodiment, the selection of whether activation storage 720 is internal or external to a processor, for example, or whether it comprises DRAM, SRAM, flash, or some other storage type, may depend on available storage, on-chip versus off-chip, latency requirements of the training and / or inference functions being performed, batch sizes of data used in inference and / or training of a neural network, or some combination of these factors. In at least one embodiment, the inference and / or training logic 715 shown in FIG. 7a may be used in conjunction with an application-specific integrated circuit ("ASIC"), such as a Tensorflow® processing unit from Google, an inference processing unit (IPU) from Graphcore™, or a Nervana® (e.g., "Lake Crest") processor from Intel Corp. In at least one embodiment, the inference and / or training logic 715 shown in FIG. 7a may be used in conjunction with other hardware, such as central processing unit ("CPU") hardware, graphics processing unit ("GPU") hardware, or a field programmable gate array ("FPGA").
[0043] FIG. 7b illustrates inference and / or training logic 715, according to at least one or more embodiments. In at least one embodiment, the inference and / or training logic 715 may include, but is not limited to, hardware logic in which computational resources are dedicated or otherwise used only in conjunction with weight values or other information corresponding to one or more layers of neurons in a neural network. In at least one embodiment, the inference and / or training logic 715 illustrated in FIG. 7b may be used in conjunction with an application specific integrated circuit (ASIC), such as a Tensorflow® processing unit from Google, an inference processing unit (IPU) from Graphcore™, or a Nervana® (e.g., “Lake Crest”) processor from Intel Corp. In at least one embodiment, the inference and / or training logic 715 illustrated in FIG. 7b may be used in conjunction with other hardware, such as central processing unit (CPU) hardware, graphics processing unit (GPU) hardware, or a field programmable gate array (FPGA). In at least one embodiment, the inference and / or training logic 715 includes, but is not limited to, code and / or data storage 701 and code and / or data storage 705, which may be used to store code (e.g., graph code), weight values, and / or other information including bias values, gradient information, momentum values, and / or other parameter or hyperparameter information. In at least one embodiment shown in FIG. 7b, each of the code and / or data storage 701 and the code and / or data storage 705 is associated with dedicated computational resources, such as computation hardware 702 and computation hardware 706, respectively. In at least one embodiment, each of the computation hardware 702 and computation hardware 706 comprises one or more ALUs that perform mathematical functions, such as linear algebra functions, only on the information stored in the code and / or data storage 701 and the code and / or data storage 705, respectively, with the results stored in the activation storage 720.
[0044] In at least one embodiment, each of the code and / or data storage 701 and 705 and the corresponding computation hardware 702 and 706, respectively, corresponds to a different layer of a neural network, whereby activations resulting from one “storage / computation pair 701 / 702” of the code and / or data storage 701 and the computation hardware 702 are provided as inputs to a “storage / computation pair 705 / 706” of the code and / or data storage 705 and the computation hardware 706 to mirror the conceptual organization of the neural network. In at least one embodiment, each of the storage / computation pairs 701 / 702 and 705 / 706 may correspond to more than one neural network layer. In at least one embodiment, additional storage / computation pairs (not shown) may be included in the inference and / or training logic 715 after or in parallel with the storage / computation pairs 701 / 702 and 705 / 706.
[0045] Data Center 8 illustrates an example data center 800 in which at least one embodiment may be used. In at least one embodiment, the data center 800 includes a data center infrastructure layer 810, a framework layer 820, a software layer 830, and an application layer 840.
[0046] 8, data center infrastructure layer 810 may include a resource orchestrator 812, grouped computing resources 814, and node computing resources ("node CRs") 816(1)-816(N), where "N" represents any positive integer. In at least one embodiment, node CRs 816(1)-816(N) may include, without limitation, any number of central processing units ("CPUs") or other processors (including accelerators, field programmable gate arrays (FPGAs), graphics processors, etc.), memory devices (e.g., dynamic read only memory), storage devices (e.g., solid state or disk drives), network input / output ("NW I / O") devices, network switches, virtual machines ("VMs"), power modules, and cooling modules. In at least one embodiment, one or more of nodes CR from among nodes CR 816(1)-816(N) may be a server having one or more of the computing resources described above.
[0047] In at least one embodiment, the grouped computing resources 814 may include a separate grouping of node CRs stored in one or more racks (not shown), or many racks stored in a data center at various geographic locations (also not shown). The separate grouping of node CRs in the grouped computing resources 814 may include grouped compute resources, network resources, memory resources, or storage resources that may be configured or allocated to support one or more workloads. In at least one embodiment, several node CRs including CPUs or processors may be grouped in one or more racks to provide compute resources to support one or more workloads. In at least one embodiment, the one or more racks may also include any number of power modules, cooling modules, and network switches, in any combination.
[0048] In at least one embodiment, resource orchestrator 812 may configure or otherwise control one or more nodes CR 816(1)-816(N) and / or grouped computing resources 814. In at least one embodiment, resource orchestrator 812 may include a software design infrastructure ("SDI") management entity for data center 800. In at least one embodiment, resource orchestrator may include hardware, software, or some combination thereof.
[0049] In at least one embodiment, as shown in FIG. 8 , framework layer 820 includes a job scheduler 822, a configuration manager 824, a resource manager 826, and a distributed file system 828. In at least one embodiment, framework layer 820 may include a framework for supporting software 832 in software layer 830 and / or one or more applications 842 in application layer 840. In at least one embodiment, software 832 or application(s) 842 may include web-based service software or applications, such as those offered by Amazon Web Services, Google Cloud, and Microsoft Azure, respectively. In at least one embodiment, framework layer 820 may be a type of free and open source software web application framework, such as, but not limited to, Apache Spark™ (hereinafter “Spark”), which may utilize distributed file system 828 for large-scale data processing (e.g., “big data”). In at least one embodiment, the job scheduler 822 may include a Spark driver to facilitate scheduling of workloads supported by various tiers of the data center 800. In at least one embodiment, the configuration manager 824 may be capable of configuring different tiers, such as a software tier 830, as well as a framework tier 820 including Spark and a distributed file system 828 to support large scale data processing. In at least one embodiment, the resource manager 826 may be capable of managing clustered or grouped computing resources that are mapped or allocated to support the distributed file system 828 and the job scheduler 822. In at least one embodiment, the clustered or grouped computing resources may include grouped computing resources 814 in the data center infrastructure tier 810.In at least one embodiment, the resource manager 826, in coordination with the resource orchestrator 812, may manage these mapped or allocated computing resources.
[0050] In at least one embodiment, the software 832 included in the software layer 830 may include software used by the nodes CR 816(1)-816(N), the grouped computing resources 814, and / or at least a portion of the distributed file system 828 of the framework layer 820. The one or more types of software may include, but are not limited to, Internet web page searching software, email virus scanning software, database software, and streaming video content software.
[0051] In at least one embodiment, the application(s) 842 included in the application layer 840 may include one or more types of applications used by the nodes CR 816(1)-816(N), the grouped computing resources 814, and / or at least a portion of the distributed file system 828 of the framework layer 820. The one or more types of applications may include, without limitation, any number of genomics applications, cognitive compute, and machine learning applications including training or inference software, machine learning framework software (e.g., PyTorch, TensorFlow, Caffe, etc.), or other machine learning applications used in conjunction with one or more embodiments.
[0052] In at least one embodiment, any of configuration manager 824, resource manager 826, and resource orchestrator 812 may implement any number and type of self-correcting actions based on any amount and type of data obtained in any technically feasible manner. In at least one embodiment, the self-correcting actions may relieve data center operators of data center 800 from determining potentially faulty configurations and potentially avoiding underutilized and / or underperforming portions of the data center.
[0053] In at least one embodiment, data center 800 may include tools, services, software, or other resources for training one or more machine learning models or predicting or inferring information using one or more machine learning models according to one or more embodiments described herein. For example, in at least one embodiment, a machine learning model may be trained by calculating weight parameters according to a neural network architecture using the software and computing resources described above with respect to data center 800. In at least one embodiment, a trained machine learning model corresponding to one or more neural networks may be used to infer or predict information using the resources described above with respect to data center 800 by using the weight parameters calculated through one or more training techniques described herein.
[0054] In at least one embodiment, the data center may use a CPU, application specific integrated circuit (ASIC), GPU, FPGA, or other hardware to perform training and / or inference using the resources described above. Additionally, one or more of the software and / or hardware resources described above may be configured as a service to enable a user to train or perform inference on information, such as image recognition, speech recognition, or other artificial intelligence services.
[0055] Inference and / or training logic 715 is used to perform inference and / or training operations associated with one or more embodiments. More details regarding inference and / or training logic 715 are provided below in conjunction with Figures 7A and / or 7B. In at least one embodiment, inference and / or training logic 715 may be used in the system of Figure 8 for inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0056] Such components may be used to generate enhanced content, such as image or video content, with upscaled resolution, reduced presence of artifacts, and improved visual quality.
[0057] Computer Systems 9 is a block diagram illustrating an exemplary computer system, which may be a system 900 having interconnected devices and components formed with a processor that may include an execution unit for executing instructions, a system-on-a-chip (SOC), or any combination thereof, according to at least one embodiment. In at least one embodiment, computer system 900 may include components such as a processor 902 to employ an execution unit that includes logic for implementing algorithms to process data according to the present disclosure, such as, but not limited to, in embodiments described herein. In at least one embodiment, computer system 900 may include a processor such as the PENTIUM® processor family, Xeon™, Itanium®, XScale™, and / or StrongARM™, Intel® Core™, or Intel® Nervana™ microprocessors available from Intel Corporation of Santa Clara, Calif., although other systems (including PCs with other microprocessors, engineering workstations, set-top boxes, etc.) may be used. In at least one embodiment, computer system 900 may run a version of the WINDOWS® operating system available from Microsoft Corporation of Redmond, Washington, although other operating systems (e.g., UNIX® and Linux®), embedded software, and / or graphical user interfaces may also be used.
[0058] Embodiments may be used in other devices, such as handheld devices and embedded applications. Some examples of handheld devices include cellular phones, Internet protocol devices, digital cameras, personal digital assistants ("PDAs"), and handheld PCs. In at least one embodiment, an embedded application may include a microcontroller, a digital signal processor ("DSP"), a system-on-a-chip, a network computer ("NetPC"), a set-top box, a network hub, a wide area network ("WAN") switch, or any other system that may implement one or more instructions according to at least one embodiment.
[0059] In at least one embodiment, computer system 900 may include, but is not limited to, a processor 902, which may include one or more execution units 908 for performing machine learning model training and / or inference according to the techniques described herein. In at least one embodiment, computer system 900 is a single processor desktop or server system, while in other embodiments, computer system 900 may be a multi-processor system. In at least one embodiment, processor 902 may include, but is not limited to, a complex instruction set computer ("CISC") microprocessor, a reduced instruction set computing ("RISC") microprocessor, a very long instruction word ("VLIW") microprocessor, a processor implementing a combination of instruction sets, or any other processor device, such as, for example, a digital signal processor. In at least one embodiment, the processor 902 may be coupled to a processor bus 910 that may transmit data signals between the processor 902 and other components in the computer system 900.
[0060] In at least one embodiment, the processor 902 may include, but is not limited to, a level 1 ("L1") internal cache memory ("cache") 904. In at least one embodiment, the processor 902 may have a single internal cache or multiple levels of internal cache. In at least one embodiment, the cache memory may be external to the processor 902. Other embodiments may include a combination of both internal and external cache depending on the particular implementation and needs. In at least one embodiment, the register file 906 may store different types of data in various registers, including, but not limited to, integer registers, floating point registers, status registers, and an instruction pointer register.
[0061] In at least one embodiment, an execution unit 908 is also present in the processor 902, including, but not limited to, logic for performing integer and floating point operations. In at least one embodiment, the processor 902 may also include a microcode ("u-code") read only memory ("ROM") that stores microcode for some macroinstructions. In at least one embodiment, the execution unit 908 may include logic for dealing with a packed instruction set 909. In at least one embodiment, by including the packed instruction set 909 in the instruction set of the general purpose processor 902 along with associated circuitry for executing the instructions, operations used by many multimedia applications may be performed using packed data in the general purpose processor 902. In one or more embodiments, many multimedia applications may be accelerated and executed more efficiently by using the full width of the processor's data bus to perform operations on packed data, which may eliminate the need to transfer smaller units of data across the processor's data bus to perform one or more operations one data element at a time.
[0062] In at least one embodiment, the execution unit 908 may also be used in a microcontroller, an embedded processor, a graphics device, a DSP, and other types of logic circuits. In at least one embodiment, the computer system 900 may include, but is not limited to, a memory 920. In at least one embodiment, the memory 920 may be implemented as a dynamic random access memory ("DRAM") device, a static random access memory ("SRAM") device, a flash memory device, or other memory device. In at least one embodiment, the memory 920 may store instruction(s) 919 and / or data 921 represented by data signals that may be executed by the processor 902.
[0063] In at least one embodiment, a system logic chip may be coupled to the processor bus 910 and the memory 920. In at least one embodiment, the system logic chip may include, but is not limited to, a memory controller hub ("MCH") 916, and the processor 902 may communicate with the MCH 916 via the processor bus 910. In at least one embodiment, the MCH 916 may provide a high bandwidth memory path 918 to the memory 920 for instruction and data storage, and for storage of graphics commands, data, and textures. In at least one embodiment, the MCH 916 may direct data signals between the processor 902, the memory 920, and other components in the computer system 900, and may bridge data signals between the processor bus 910, the memory 920, and the system I / O 922. In at least one embodiment, the system logic chip may provide a graphics port for coupling to a graphics controller. In at least one embodiment, the MCH 916 may be coupled to memory 920 through a high-bandwidth memory path 918, and the graphics / video card 912 may be coupled to the MCH 916 through an Accelerated Graphics Port (“AGP”) interconnect 914.
[0064] In at least one embodiment, computer system 900 may use system I / O 922, a proprietary hub interface bus, to couple MCH 916 to an I / O controller hub ("ICH") 930. In at least one embodiment, ICH 930 may provide direct connectivity to some I / O devices via a local I / O bus. In at least one embodiment, the local I / O bus may include, but is not limited to, a high-speed I / O bus for connecting peripherals to memory 920, a chipset, and processor 902. Examples may include, but are not limited to, an audio controller 929, a firmware hub ("Flash BIOS") 928, a wireless transceiver 926, data storage 924, a legacy I / O controller 923 including a user input and keyboard interface 925, a serial expansion port 927 such as a Universal Serial Bus ("USB"), and a network controller 934. Data storage 924 may comprise a hard disk drive, a floppy disk drive, a CD-ROM device, a flash memory device, or other mass storage device.
[0065] In at least one embodiment, FIG. 9 illustrates a system including interconnected hardware devices or "chips," although in other embodiments, FIG. 9 may illustrate an exemplary system-on-a-chip ("SoC"). In at least one embodiment, the devices may be interconnected with proprietary interconnects, standard interconnects (e.g., PCIe), or some combination thereof. In at least one embodiment, one or more components of computer system 900 are interconnected using a compute express link (CXL) interconnect.
[0066] Inference and / or training logic 715 is used to perform inference and / or training operations associated with one or more embodiments. More details regarding inference and / or training logic 715 are provided below in conjunction with Figures 7A and / or 7B. In at least one embodiment, inference and / or training logic 715 may be used in the system of Figure 9 for inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0067] Such components may be used to generate enhanced content, such as image or video content, with upscaled resolution, reduced presence of artifacts, and improved visual quality.
[0068] 10 is a block diagram illustrating an electronic device 1000 for utilizing a processor 1010, according to at least one embodiment. In at least one embodiment, electronic device 1000 may be, for example, but not limited to, a notebook, a tower server, a rack server, a blade server, a laptop, a desktop, a tablet, a mobile device, a phone, an embedded computer, or any other suitable electronic device.
[0069] In at least one embodiment, system 1000 may include a processor 1010 communicatively coupled to any suitable number or type of components, peripherals, modules, or devices, including, but not limited to, a 10C bus, a System Management Bus (“SMBus”), a Low Pin Count (LPC) bus, a Serial Peripheral Interface (“SPI”), a High Definition Audio (“HDA”) bus, a Serial Advance Technology Attachment (“SATA”) bus, a Universal Serial Bus (“USB”) (versions 1, 2, 3), or a Universal Asynchronous Receiver / Transmitter (“UART”) bus. In at least one embodiment, FIG. 10 illustrates a system including interconnected hardware devices or "chips," although in other embodiments, FIG. 10 may illustrate an exemplary system-on-a-chip ("SoC"). In at least one embodiment, the devices illustrated in FIG. 10 may be interconnected with proprietary interconnects, standard interconnects (e.g., PCIe), or some combination thereof. In at least one embodiment, one or more components of FIG. 10 are interconnected using a Compute Express Link (CXL) interconnect.
[0070] In at least one embodiment, FIG. 10 illustrates a display 1024, a touch screen 1025, a touch pad 1030, a Near Field Communication ("NFC") unit 1045, a sensor hub 1040, a thermal sensor 1046, an Express Chipset ("EC") 1035, a Trusted Platform Module ("TPM") 1038, a BIOS / firmware / flash memory ("BIOS,FW flash") 1022, a DSP 1060, a drive 1020, such as a Solid State Disk ("SSD") or a Hard Disk Drive ("HDD"), a wireless local area network unit ("WLAN") 1050, a Bluetooth unit 1052, a wireless wide area network unit ("WWAN") 1054, a Bluetooth device 1056, a Bluetooth-enabled wireless device 1058, a Bluetooth-enabled wireless device 1060, a Bluetooth-enabled wireless device 1062, a Bluetooth-enabled wireless device 1064, a Bluetooth-enabled wireless device 1066, a Bluetooth-enabled wireless device 1068 ... Network) 1056, Global Positioning System (GPS) 1055, a camera, such as a USB 3.0 camera ("USB 3.0 Camera") 1054, and / or a Low Power Double Data Rate ("LPDDR") memory unit ("LPDDR3") 1015, implemented, for example, in the LPDDR3 standard. Each of these components may be implemented in any suitable manner.
[0071] In at least one embodiment, other components may be communicatively coupled to the processor 1010 through the components described above. In at least one embodiment, an accelerometer 1041, an ambient light sensor ("ALS") 1042, a compass 1043, and a gyroscope 1044 may be communicatively coupled to the sensor hub 1040. In at least one embodiment, a thermal sensor 1039, a fan 1037, a keyboard 1046, and a touch pad 1030 may be communicatively coupled to the EC 1035. In at least one embodiment, a speaker 1063, a headphone 1064, and a microphone ("mic") 1065 may be communicatively coupled to an audio unit ("audio codec and class d amplifier") 1062, which may be communicatively coupled to the DSP 1060. In at least one embodiment, the audio unit 1064 may include, for example, without limitation, an audio coder / decoder ("codec") and a Class D amplifier. In at least one embodiment, a SIM card ("SIM") 1057 may be communicatively coupled to the WWAN unit 1056. In at least one embodiment, components such as the WLAN unit 1050 and Bluetooth unit 1052, as well as the WWAN unit 1056, may be implemented in a Next Generation Form Factor ("NGFF").
[0072] Inference and / or training logic 715 is used to perform inference and / or training operations associated with one or more embodiments. More details regarding inference and / or training logic 715 are provided below in conjunction with Figures 7a and / or 7b. In at least one embodiment, inference and / or training logic 715 may be used in the system of Figure 10 for inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.
[0073] Such components may be used to generate enhanced content, such as image or video content, with upscaled resolution, reduced presence of artifacts, and improved visual quality.
[0074] 11 is a block diagram of a processing system according to at least one embodiment. In at least one embodiment, system 1100 includes one or more processors 1102 and one or more graphics processors 1108 and may be a single processor desktop system, a multiprocessor workstation system, or a server system having multiple processors 1102 or processor cores 1107. In at least one embodiment, system 1100 is a processing platform integrated into a system-on-chip (SoC) integrated circuit for use in a mobile, handheld, or embedded device.
[0075] In at least one embodiment, the system 1100 may include or be incorporated within a server-based gaming platform, a game console including a game and media console, a mobile gaming console, a handheld game console, or an online game console. In at least one embodiment, the system 1100 is a mobile phone, a smart phone, a tablet computing device, or a mobile Internet device. In at least one embodiment, the processing system 1100 may also include, be coupled to, or be incorporated within a wearable device, such as a smart watch wearable device, a smart eyewear device, an augmented reality device, or a virtual reality device. In at least one embodiment, the processing system 1100 is a television or set-top box device having one or more processors 1102 and a graphical interface generated by one or more graphics processors 1108.
[0076] In at least one embodiment, the one or more processors 1102 each include one or more processor cores 1107 for processing instructions that, when executed, perform operations for system and user software. In at least one embodiment, each of the one or more processor cores 1107 is configured to process a particular instruction set 1109. In at least one embodiment, the instruction set 1109 may facilitate Complex Instruction Set Computing (CISC), Reduced Instruction Set Computing (RISC), or computing via Very Long Instruction Words (VLIW). In at least one embodiment, the processor cores 1107 may each process a different instruction set 1109, and the instruction set 1109 may include instructions to facilitate emulation of other instruction sets. In at least one embodiment, the processor cores 1107 may also include other processing devices, such as a digital signal processor (DSP).
[0077] In at least one embodiment, the processor 1102 includes a cache memory 1104. In at least one embodiment, the processor 1102 may have a single internal cache or multiple levels of internal cache. In at least one embodiment, the cache memory is shared among various components of the processor 1102. In at least one embodiment, the processor 1102 also uses an external cache (e.g., a Level 3 (L3) cache or Last Level Cache (LLC)) (not shown), which may be shared among the processor cores 1107 using known cache coherency techniques. In at least one embodiment, additionally, a register file 1106 is included in the processor 1102, which may include different types of registers (e.g., integer registers, floating point registers, status registers, and an instruction pointer register) for storing different types of data. In at least one embodiment, the register file 1106 may include general purpose registers or other registers.
[0078] In at least one embodiment, the one or more processors 1102 are coupled to one or more interface buses 1110 for transmitting communication signals, such as address, data, or control signals, between the processors 1102 and other components in the system 1100. In at least one embodiment, the interface bus 1110 in one embodiment may be a processor bus, such as a version of a Direct Media Interface (DMI) bus. In at least one embodiment, the interface 1110 is not limited to a DMI bus, but may include one or more peripheral component interconnect buses (e.g., PCI, PCI Express), a memory bus, or other types of interface buses. In at least one embodiment, the processor(s) 1102 include an integrated memory controller 1116 and a platform controller hub 1130. In at least one embodiment, a memory controller 1116 facilitates communication between memory devices and other components of the system 1100, and a platform controller hub (PCH) 1130 provides connection to I / O devices via a local I / O bus.
[0079] In at least one embodiment, the memory device 1120 may be a dynamic random access memory (DRAM) device, a static random access memory (SRAM) device, a flash memory device, a phase change memory device, or any other memory device having suitable performance to act as process memory. In at least one embodiment, the memory device 1120 may operate as system memory for the system 1100 to store data 1122 and instructions 1121 for use when the one or more processors 1102 execute applications or processes. In at least one embodiment, the memory controller 1116 may also couple to an optional external graphics processor 1112, which may communicate with one or more graphics processors 1108 in the processor 1102 to perform graphics and media operations. In at least one embodiment, a display device 1111 may be connected to the processor(s) 1102. In at least one embodiment, the display device 1111 may include one or more of an internal display device, such as in a mobile electronic device or laptop device, or an external display device attached via a display interface (e.g., DisplayPort, etc.). In at least one embodiment, the display device 1111 may include a head mounted display (HMD), such as a stereoscopic display device for use in virtual reality (VR) or augmented reality (AR) applications.
[0080] In at least one embodiment, the platform controller hub 1130 allows peripherals to connect to the memory device 1120 and the processor 1102 via a high-speed I / O bus. In at least one embodiment, the I / O peripherals include, but are not limited to, an audio controller 1146, a network controller 1134, a firmware interface 1128, a wireless transceiver 1126, a touch sensor 1125, and a data storage device 1124 (e.g., hard disk drive, flash memory, etc.). In at least one embodiment, the data storage device 1124 can be connected via a storage interface (e.g., SATA) or via a peripheral bus such as a peripheral component interconnect bus (e.g., PCI, PCI Express). In at least one embodiment, the touch sensor 1125 can include a touch screen sensor, a pressure sensor, or a fingerprint sensor. In at least one embodiment, the wireless transceiver 1126 may be a Wi-Fi transceiver, a Bluetooth transceiver, or a mobile network transceiver such as a 3G, 4G, or Long Term Evolution (LTE) transceiver. In at least one embodiment, the firmware interface 1128 enables communication with system firmware and may be, for example, a unified extensible firmware interface (UEFI). In at least one embodiment, the network controller 1134 may enable network connectivity to a wired network. In at least one embodiment, a high performance network controller (not shown) couples to the interface bus 1110. In at least one embodiment, the audio controller 1146 is a multi-channel high definition audio controller.In at least one embodiment, system 1100 includes an optional legacy I / O controller 1140 for coupling legacy (e.g., Personal System 2 (PS / 2)) devices to the system. In at least one embodiment, platform controller hub 1130 can also connect to one or more universal serial bus (USB) controller 1142 connected input devices, such as a keyboard and mouse 1143 combination, a camera 1144, or other USB input devices.
[0081] In at least one embodiment, instances of memory controller 1116 and platform controller hub 1130 may be embedded in a discreet external graphics processor, such as external graphics processor 1112. In at least one embodiment, platform controller hub 1130 and / or memory controller 1116 may be external to one or more processors 1102. For example, in at least one embodiment, system 1100 may include external memory controller 1116 and platform controller hub 1130, which may be configured as a memory controller hub and a peripheral controller hub in a system chipset in communication with processor(s) 1102.
[0082] Inference and / or training logic 715 is used to perform inference and / or training operations associated with one or more embodiments. More details regarding the inference and / or training logic 715 are provided below in conjunction with FIG. 7A and / or FIG. 7B. In at least one embodiment, portions or all of the inference and / or training logic 715 may be incorporated into the graphics processor 1500. For example, in at least one embodiment, the training and / or inference techniques described herein may use one or more of the ALUs embodied in the graphics processor. Moreover, in at least one embodiment, the inference and / or training operations described herein may be performed using logic other than that shown in FIG. 7A or FIG. 7B. In at least one embodiment, the weight parameters may be stored in on-chip or off-chip memory and / or registers (shown or not shown) that configure the ALUs of the graphics processor for implementing one or more machine learning algorithms, neural network architectures, use cases, or training techniques described herein.
[0083] Such components may be used to generate enhanced content, such as image or video content, with upscaled resolution, reduced presence of artifacts, and improved visual quality.
[0084] 12 is a block diagram of a processor 1200 having one or more processor cores 1202A-1202N, an integrated memory controller 1214, and an integrated graphics processor 1208, according to at least one embodiment. In at least one embodiment, the processor 1200 may include additional cores, up to additional core 1202N, represented by a dashed box. In at least one embodiment, each of the processor cores 1202A-1202N includes one or more internal cache units 1204A-1204N. In at least one embodiment, each processor core also has access to one or more shared cached units 1206.
[0085] In at least one embodiment, the internal cache units 1204A-1204N and the shared cache unit 1206 represent a cache memory hierarchy within the processor 1200. In at least one embodiment, the cache memory units 1204A-1204N may include at least one level of instruction and data cache within each processor core, and one or more levels of shared mid-level cache, such as level 2 (L2), level 3 (L3), level 4 (L4), or other levels of cache, where the highest level of cache before external memory is classified as an LLC. In at least one embodiment, cache coherency logic maintains coherency between the various cache units 1206 and 1204A-1204N.
[0086] In at least one embodiment, the processor 1200 may also include a set of one or more bus controller units 1216 and a system agent core 1210. In at least one embodiment, the one or more bus controller units 1216 manage a set of peripheral buses, such as one or more PCI or PCI Express buses. In at least one embodiment, the system agent core 1210 provides management functionality for various processor components. In at least one embodiment, the system agent core 1210 includes one or more integrated memory controllers 1214 for managing access to various external memory devices (not shown).
[0087] In at least one embodiment, one or more of the processor cores 1202A-1202N include support for simultaneous multithreading. In at least one embodiment, the system agent core 1210 includes components for coordinating and operating the cores 1202A-1202N during multithreaded processing. In at least one embodiment, the system agent core 1210 may additionally include a power control unit (PCU), the PCU including logic and components for adjusting the power state of one or more of the processor cores 1202A-1202N and the graphics processor 1208.
[0088] In at least one embodiment, processor 1200 additionally includes a graphics processor 1208 for performing graphics processing operations. In at least one embodiment, graphics processor 1208 couples to a system agent core 1210 that includes a shared cache unit 1206 and one or more integrated memory controllers 1214. In at least one embodiment, system agent core 1210 also includes a display controller 1211 for driving graphics processor output to one or more coupled displays. In at least one embodiment, display controller 1211 may also be a separate module coupled to graphics processor 1208 via at least one interconnect or may be incorporated within graphics processor 1208.
[0089] In at least one embodiment, a ring-based interconnect unit 1212 is used to couple the internal components of processor 1200. In at least one embodiment, alternative interconnect units such as a point-to-point interconnect, a switched interconnect, or other techniques may be used. In at least one embodiment, graphics processor 1208 couples to ring interconnect 1212 via I / O link 1213.
[0090] In at least one embodiment, I / O link 1213 represents at least one of several types of I / O interconnects, including an on-package I / O interconnect that facilitates communication between various processor components and a high-performance embedded memory module 1218, such as an eDRAM module. In at least one embodiment, each of processor cores 1202A-1202N and graphics processor 1208 use embedded memory module 1218 as a shared last level cache.
[0091] In at least one embodiment, the processor cores 1202A-1202N are homogenous cores that execute a common instruction set architecture. In at least one embodiment, the processor cores 1202A-1202N are heterogeneous in terms of instruction set architecture (ISA), where one or more of the processor cores 1202A-1202N execute a common instruction set and one or more other of the processor cores 1202A-1202N execute a subset of the common instruction set or a different instruction set. In at least one embodiment, the processor cores 1202A-1202N are heterogeneous in terms of microarchitecture, where one or more cores with relatively high power consumption are combined with one or more cores with lower power consumption. In at least one embodiment, the processor 1200 may be implemented on one or more chips or as an SoC integrated circuit.
[0092] Inference and / or training logic 715 is used to perform inference and / or training operations associated with one or more embodiments. More details regarding inference and / or training logic 715 are provided below in conjunction with FIG. 7a and / or FIG. 7b. In at least one embodiment, portions or all of the inference and / or training logic 715 may be incorporated into processor 1200. For example, in at least one embodiment, the training and / or inference techniques described herein may use one or more of the ALUs embodied in graphics processor 1512, graphics core(s) 1202A-1202N, or other components in FIG. 12. Moreover, in at least one embodiment, the inference and / or training operations described herein may be performed using logic other than that shown in FIG. 7A or FIG. 7B. In at least one embodiment, the weight parameters may be stored in on-chip or off-chip memory and / or registers (shown or not shown) that constitute the ALU of graphics processor 1200 for implementing one or more machine learning algorithms, neural network architectures, use cases, or training techniques described herein.
[0093] Such components may be used to generate enhanced content, such as image or video content, with upscaled resolution, reduced presence of artifacts, and improved visual quality.
[0094] Virtualized Computing Platform FIG. 13 is an exemplary data flow diagram for a process 1300 for generating and deploying an image processing and inference pipeline, according to at least one embodiment. In at least one embodiment, the process 1300 may be deployed for use with imaging devices, processing devices, and / or other device types at one or more facilities 1302. The process 1300 may be performed within a training system 1304 and / or a deployment system 1306. In at least one embodiment, the training system 1304 may be used to perform training, deployment, and implementation of machine learning models (e.g., neural networks, object detection algorithms, computer vision algorithms, etc.) for use in the deployment system 1306. In at least one embodiment, the deployment system 1306 may be configured to offload processing and compute resources between distributed computing environments to reduce infrastructure requirements at the facility 1302. In at least one embodiment, one or more applications in the pipeline may use or call services of the deployment system 1306 (e.g., inference, visualization, compute, AI, etc.) during execution of the application.
[0095] In at least one embodiment, some of the applications used in the advanced processing and inference pipeline may use machine learning models or other AI to perform one or more processing steps. In at least one embodiment, the machine learning models may be trained at the facility 1302 using data (e.g., imaging data) 1308 generated at the facility 1302 (and stored in one or more picture archiving and communication system (PACS) servers at the facility 1302), may be trained using imaging or sequencing data 1308 from another facility(s), or a combination thereof. In at least one embodiment, the training system 1304 may be used to provide applications, services, and / or other resources for generating practical, deployable machine learning models for the deployment system 1306.
[0096] In at least one embodiment, the model registry 1324 may be backed by an object storage that may support versioning and object metadata. In at least one embodiment, the object storage may be accessible, for example, from within a cloud platform, through a cloud storage (e.g., cloud 1426 of FIG. 14 ) compatible application programming interface (API). In at least one embodiment, machine learning models in the model registry 1324 may be uploaded, listed, modified, or deleted by a developer or partner of the system interacting with the API. In at least one embodiment, the API may provide access to methods that allow a user with appropriate credentials to associate a model with an application, so that the model may be executed as part of the execution of a containerized instantiation of the application.
[0097] In at least one embodiment, the training pipeline 1404 (FIG. 14) may include a scenario in which the facility 1302 is training its own machine learning models or has existing machine learning models that need to be optimized or updated. In at least one embodiment, imaging data 1308 generated by imaging device(s), sequencing device(s), and / or other device types may be received. In at least one embodiment, once the imaging data 1308 is received, AI-assisted annotation 1310 may be used to assist in generating annotations corresponding to the imaging data 1308 to be used as ground truth data for the machine learning model. In at least one embodiment, the AI-assisted annotation 1310 may include one or more machine learning models (e.g., convolutional neural networks (CNNs)), where the one or more machine learning models may be trained to generate annotations corresponding to several types of imaging data 1308 (e.g., from several devices). In at least one embodiment, the AI-assisted annotations 1310 may then be used directly or may be adjusted or fine-tuned using an annotation tool to generate ground truth data. In at least one embodiment, the AI-assisted annotations 1310, the labeled clinic data 1312, or a combination thereof may be used as ground truth data to train a machine learning model. In at least one embodiment, the trained machine learning model may be referred to as an output model 1316 and may be used by the deployment system 1306 as described herein.
[0098] In at least one embodiment, the training pipeline 1404 (FIG. 14) may include a scenario in which the facility 1302 requires a machine learning model for use in performing one or more processing tasks for one or more applications in the deployment system 1306, but the facility 1302 may not currently have such a machine learning model (or may not have an optimized, efficient, or effective model for such purposes). In at least one embodiment, an existing machine learning model may be selected from the model registry 1324. In at least one embodiment, the model registry 1324 may include machine learning models trained to perform a variety of different inference tasks on imaging data. In at least one embodiment, the machine learning models in the model registry 1324 may have been trained on imaging data from a facility different from the facility 1302 (e.g., a remote facility). In at least one embodiment, the machine learning models may have been trained on imaging data from one location, two locations, or any number of locations. In at least one embodiment, when training on imaging data from a particular location, the training may be performed at that location, or at least in a manner that protects the confidentiality of the imaging data or limits the imaging data from being transferred off-premise. In at least one embodiment, once a model is trained or partially trained at one location, the machine learning model may be added to a model registry 1324. In at least one embodiment, the machine learning model may then be retrained or updated at any number of other facilities, and the retrained or updated model may be made available in the model registry 1324. In at least one embodiment, a machine learning model may then be selected from the model registry 1324, sometimes referred to as an output model 1316, and used in the installation system 1306 to perform one or more processing tasks for one or more applications of the installation system.
[0099] In at least one embodiment, training pipeline 1404 (FIG. 14), a scenario may include that facility 1302 requires a machine learning model for use in performing one or more processing tasks for one or more applications in deployment system 1306, but facility 1302 may not currently have such a machine learning model (or may not have a model optimized, efficient, or effective for such purposes). In at least one embodiment, the machine learning model selected from model registry 1324 may not be fine-tuned or optimized for imaging data 1308 generated at facility 1302 due to differences in populations, robustness of training data used to train the machine learning model, variety of anomalies in the training data, and / or other issues with the training data. In at least one embodiment, AI-assisted annotation 1310 may be used to assist in generating annotations corresponding to imaging data 1308 to be used as ground truth data for retraining or updating the machine learning model. In at least one embodiment, labeled data 1312 may be used as ground truth data for training the machine learning model. In at least one embodiment, retraining or updating the machine learning model may be referred to as model training 1314. In at least one embodiment, the model training 1314, e.g., the AI-assisted annotations 1310, the labeled clinic data 1312, or a combination thereof, may be used as ground truth data to retrain or update the machine learning model. In at least one embodiment, the trained machine learning model may be referred to as output model 1316 and may be used by the deployment system 1306 as described herein.
[0100] In at least one embodiment, the deployment system 1306 may include software 1318, services 1320, hardware 1322, and / or other components, features, and functionality. In at least one embodiment, the deployment system 1306 may include a software “stack” whereby the software 1318 may be built on top of services 1320 and may use services 1320 to perform some or all of the processing tasks, and the services 1320 and the software 1318 may be built on top of hardware 1322 and may use hardware 1322 to perform the processing, storage, and / or other compute tasks of the deployment system 1306. In at least one embodiment, the software 1318 may include any number of different containers, each of which may perform an instantiation of an application. In at least one embodiment, each application may perform one or more processing tasks (e.g., inference, object detection, feature detection, segmentation, image enhancement, calibration, etc.) in an advanced processing and inference pipeline. In at least one embodiment, an advanced processing and inference pipeline may be defined based on a selection of different containers desired or required to process the imaging data 1308 in addition to the containers that receive and configure the imaging data for use by each container and / or for use by facility 1302 after processing through the pipeline (e.g., to convert the output to a usable data type). In at least one embodiment, the combination of containers in software 1318 (e.g., making up a pipeline) may be referred to as a virtual device (as described in more detail herein), which may utilize services 1320 and hardware 1322 to perform some or all processing tasks of applications instantiated in the containers.
[0101] In at least one embodiment, the data processing pipeline may receive input data (e.g., imaging data 1308) in a particular format in response to an inference request (e.g., a request from a user of the deployment system 1306). In at least one embodiment, the input data may represent one or more images, videos, and / or other data representations generated by one or more imaging devices. In at least one embodiment, the data may undergo pre-processing as part of the data processing pipeline to prepare the data for processing by one or more applications. In at least one embodiment, post-processing may be performed on the output of one or more inference tasks or other processing tasks of the pipeline to prepare output data for a subsequent application and / or to prepare output data for transmission and / or use by a user (e.g., in response to an inference request). In at least one embodiment, the inference tasks may be performed by one or more machine learning models, such as trained or deployed neural networks, which may include the output model 1316 of the training system 1304.
[0102] In at least one embodiment, tasks of a data processing pipeline may be encapsulated in container(s), where each container(s) represents a separate, fully functional instantiation of an application and a virtualized computing environment that may reference machine learning models. In at least one embodiment, the containers or applications may be published to a private (e.g., limited access) area of a container registry (described in more detail herein), and trained or deployed models may be stored in a model registry 1324 and associated with one or more applications. In at least one embodiment, images of the applications (e.g., container images) may be available in the container registry, and once selected from the container registry by a user for deployment in the pipeline, the images may be used to generate a container for instantiation of the application for use by the user's system.
[0103] In at least one embodiment, a developer (e.g., a software developer, clinician, physician, etc.) may develop, publish, and store (e.g., as a container) an application to perform image processing and / or inference on the provided data. In at least one embodiment, the development, publishing, and / or storage may be performed using a software development kit (SDK) associated with the system (e.g., to ensure that the developed application and / or container conforms to or is compatible with the system). In at least one embodiment, the developed application may be tested locally (e.g., at the first facility against data from the first facility) using an SDK that may support at least some of the services 1320 as the system (e.g., system 1400 of FIG. 14). In at least one embodiment, because a DICOM object may contain anywhere from one to hundreds of images or other data types, and due to variations in the data, the developer may be responsible for managing the extraction and preparation of the incoming data (e.g., setting up constructs for the application, incorporating pre-processing into the application, etc.). In at least one embodiment, once verified by system 1400 (e.g., for accuracy), the application may be made available in a container registry for selection and / or implementation by a user to perform one or more processing tasks on the data at the user's facility (e.g., a second facility).
[0104] In at least one embodiment, the developer may then share the application or container over a network for access and use by users of the system (e.g., system 1400 of FIG. 14). In at least one embodiment, the completed and validated application or container may be stored in a container registry, and the associated machine learning model may be stored in a model registry 1324. In at least one embodiment, a requesting entity providing an inference or image processing request may browse the container registry and / or the model registry 1324 for applications, containers, datasets, machine learning models, etc., select a desired combination of elements for inclusion in a data processing pipeline, and submit an image processing request. In at least one embodiment, the request may include input data (and, in some instances, associated patient data) required to perform the request, and / or may include a selection of application(s) and / or machine learning model(s) to be executed in processing the request. In at least one embodiment, the request may then be passed to one or more components of the deployment system 1306 (e.g., a cloud) to perform processing of the data processing pipeline. In at least one embodiment, processing by the deployment system 1306 may include referencing selected elements (e.g., applications, containers, models, etc.) from the container registry and / or the model registry 1324. In at least one embodiment, once results are produced by the pipeline, the results may be returned to the user for viewing (e.g., for viewing in a viewing application suite running on a local, on-premise workstation or terminal).
[0105] In at least one embodiment, services 1320 may be utilized to aid in the processing or execution of applications or containers in the pipeline. In at least one embodiment, services 1320 may include compute services, artificial intelligence (AI) services, visualization services, and / or other service types. In at least one embodiment, services 1320 may provide functionality that is common to one or more applications in software 1318, and thus the functionality may be abstracted into services that may be called or utilized by the applications. In at least one embodiment, the functionality provided by services 1320 may run dynamically and more efficiently, and may scale well by allowing applications to process data in parallel (e.g., using parallel computing platform 1430 (FIG. 14)). In at least one embodiment, services 1320 may be shared between and among various applications, rather than each application that shares the same functionality provided by services 1320 being required to have a respective instance of services 1320. In at least one embodiment, the services may include, by way of non-limiting example, an inference server or engine that may be used to perform detection or segmentation tasks. In at least one embodiment, a model training service may be included that may provide machine learning model training and / or retraining capabilities. In at least one embodiment, a data augmentation service may further be included that may provide GPU accelerated data (e.g., DICOM, RIS, CIS, REST-compliant, RPC, raw, etc.) extraction, resizing, scaling, and / or other enhancements. In at least one embodiment, a visualization service may be used that may add image rendering effects such as ray tracing, rasterization, denoising, sharpening, etc. to add realism to 2D (two-dimensional) and / or 3D (three-dimensional) models.In at least one embodiment, virtual device services may be included that provide beamforming, segmentation, inference, imaging, and / or support for other applications in the virtual device pipeline.
[0106] In at least one embodiment, if the services 1320 include an AI service (e.g., an inference service), the one or more machine learning models may be executed by calling (e.g., as an API call) an inference service (e.g., an inference server) to execute the machine learning model(s), or processing thereof, as part of the application execution. In at least one embodiment, if another application includes one or more machine learning models for a segmentation task, the application may call the inference service to execute the machine learning models to perform one or more of the processing operations related to the segmentation task. In at least one embodiment, software 1318 implementing advanced processing and inference pipelines including segmentation and anomaly detection applications may be streamlined because each application may call the same inference service to perform one or more inference tasks.
[0107] In at least one embodiment, the hardware 1322 may include a GPU, a CPU, a graphics card, an AI / deep learning system (e.g., an AI supercomputer such as NVIDIA's DGX), a cloud platform, or a combination thereof. In at least one embodiment, different types of hardware 1322 may be used to provide efficient and dedicated support of the software 1318 and services 1320 in the deployment system 1306. In at least one embodiment, the use of GPU processing for processing locally (e.g., at facility 1302), within the AI / deep learning system, in a cloud system, and / or in other processing components of the deployment system 1306 may be implemented to improve the efficiency, accuracy, and effectiveness of image processing and generation. In at least one embodiment, the software 1318 and / or services 1320 may be optimized for GPU processing for deep learning, machine learning, and / or high performance computing, as non-limiting examples. In at least one embodiment, at least a portion of the computing environment of the deployment system 1306 and / or the training system 1304 may be executed using GPU-optimized software (e.g., a combination of hardware and software of NVIDIA's DGX system) on one or more supercomputers or high performance computing systems in a data center. In at least one embodiment, the hardware 1322 may include any number of GPUs, which may be called upon to perform parallel processing of data as described herein. In at least one embodiment, the cloud platform may further include GPU processing for GPU-optimized execution of deep learning tasks, machine learning tasks, or other computing tasks. In at least one embodiment, the cloud platform (e.g., NVIDIA's NGC) may be executed using AI / deep learning supercomputer(s) and / or GPU-optimized software (e.g., provided on NVIDIA's DGX system) as a hardware abstraction and scaling platform.In at least one embodiment, the cloud platform may integrate an application container clustering system or orchestration system (e.g., KUBERNETES) across multiple GPUs to enable seamless scaling and load balancing.
[0108] 14 is a system diagram for an example system 1400 for generating and deploying an imaging deployment pipeline, according to at least one embodiment. In at least one embodiment, system 1400 may be used to implement process 1300 of FIG. 13 and / or other processes including advanced processing and inference pipelines. In at least one embodiment, system 1400 may include training system 1304 and deployment system 1306. In at least one embodiment, training system 1304 and deployment system 1306 may be implemented using software 1318, services 1320, and / or hardware 1322 as described herein.
[0109] In at least one embodiment, the system 1400 (e.g., the training system 1304 and / or the deployment system 1306) may be implemented in a cloud computing environment (e.g., using the cloud 1426). In at least one embodiment, the system 1400 may be implemented locally with respect to a healthcare service facility or as a combination of both cloud and local computing resources. In at least one embodiment, access to APIs in the cloud 1426 may be limited to authorized users through enacted security measures or protocols. In at least one embodiment, the security protocol may include web tokens, which may be signed by an authentication (e.g., AuthN, AuthZ, Gluecon, etc.) service and may have appropriate permissions. In at least one embodiment, the APIs of a virtual device (as described herein) or other instantiation of the system 1400 may be limited to a set of public IPs that are inspected or permitted for interaction.
[0110] In at least one embodiment, the various components of system 1400 may communicate among each other via wired and / or wireless communication protocols using any of a variety of different network types, including, but not limited to, a local area network (LAN) and / or a wide area network (WAN). In at least one embodiment, communications between the facility and the components of system 1400 (e.g., for sending inference requests, for receiving results of inference requests, etc.) may be communicated via data bus(es), wireless data protocols (Wi-Fi), wired data protocols (e.g., Ethernet), etc.
[0111] In at least one embodiment, the training system 1304 may execute a training pipeline 1404 similar to that described herein with respect to FIG. 13. In at least one embodiment, if one or more machine learning models are to be used in the deployment pipeline 1410 by the deployment system 1306, the training pipeline 1404 may be used to train or retrain one or more (e.g., pre-trained) models and / or implement one or more of the pre-trained models 1406 (e.g., without the need for retraining or updating). In at least one embodiment, the training pipeline 1404 may result in the generation of an output model(s) 1316. In at least one embodiment, the training pipeline 1404 may include any number of processing steps, such as, but not limited to, imaging data (or other input data) conversion or adaptation. In at least one embodiment, different training pipelines 1404 may be used for different machine learning models used by the deployment system 1306. In at least one embodiment, a training pipeline 1404 similar to the first example described with respect to FIG. 13 may be used for the first machine learning model, a training pipeline 1404 similar to the second example described with respect to FIG. 13 may be used for the second machine learning model, and a training pipeline 1404 similar to the third example described with respect to FIG. 13 may be used for the third machine learning model. In at least one embodiment, any combination of tasks in the training system 1304 may be used depending on what is needed for each respective machine learning model. In at least one embodiment, one or more of the machine learning models may already be trained and ready for deployment, and thus the machine learning models may not undergo any processing by the training system 1304 and may be implemented by the deployment system 1306.
[0112] In at least one embodiment, the output model(s) 1316 and / or the pre-trained model(s) 1406 may include any type of machine learning model depending on the implementation or embodiment. In at least one embodiment, and without limitation, the machine learning models used by the system 1400 may include machine learning model(s) using linear regression, logistic regression, decision trees, support vector machines (SVMs), naive Bayes, k-nearest neighbors (Knn), k-means clustering, random forests, dimensionality reduction algorithms, gradient boosting algorithms, neural networks (e.g., autoencoders, convolutional, recurrent, perceptrons, long / short term memory (LSTM), Hopfield, Boltzmann, deep belief, deconvolution, generative adversarial, liquid state machines, etc.), and / or other types of machine learning models.
[0113] In at least one embodiment, the training pipeline 1404 may include AI-assisted annotations, as described in more detail herein with respect to at least FIG. 15B. In at least one embodiment, the labeled data 1312 (e.g., traditional annotations) may be generated by any number of techniques. In at least one embodiment, the labels or other annotations may be generated within a drawing program (e.g., an annotation program), a computer aided design (CAD) program, a labeling program, another type of program suitable for generating annotations or labels for ground truth, and / or may be hand-drawn in some instances. In at least one embodiment, the ground truth data can be synthetically generated (e.g., generated from a computer model or rendering), realistically generated (e.g., designed and generated from real-world data), machine automated (e.g., using feature analysis and learning to extract features from data and then generate labels), human annotated (e.g., a labeler or annotation expert defines the location of the labels), and / or a combination thereof. In at least one embodiment, for each instance of imaging data 1308 (or other data type used by the machine learning model), there can be corresponding ground truth data generated by the training system 1304. In at least one embodiment, AI-assisted annotation can be performed as part of the deployment pipeline 1410, either in addition to or instead of AI-assisted annotation included in the training pipeline 1404. In at least one embodiment, system 1400 can include a multi-tier platform that can include a diagnostic application (or other application type) software layer (e.g., software 1318) that can perform one or more medical imaging and diagnostic functions. In at least one embodiment, system 1400 can be communicatively coupled (e.g., via an encrypted link) to one or more facility's PACS server networks.In at least one embodiment, system 1400 may be configured to access and reference data from a PACS server to perform operations such as training machine learning models, deploying machine learning models, image processing, inference, and / or other operations.
[0114] In at least one embodiment, the software layer may be implemented as a secure, encrypted, and / or authenticated API through which the application or container may be invoked (e.g., called) from an external environment(s) (e.g., facility 1302). In at least one embodiment, the applications may then call or execute one or more services 1320 to perform compute, AI, or visualization tasks associated with the respective application, and the software 1318 and / or services 1320 may leverage hardware 1322 to perform the processing tasks in an effective and efficient manner.
[0115] In at least one embodiment, the introduction system 1306 may execute an introduction pipeline 1410. In at least one embodiment, the introduction pipeline 1410 may include any number of applications that may be applied sequentially, non-sequentially, or otherwise to imaging data (and / or other data types) generated by an imaging device, a sequencing device, a genomics device, etc., including AI-assisted annotations, as described above. In at least one embodiment, as described herein, the introduction pipeline 1410 for an individual device may be referred to as a virtual device for the device (e.g., a virtual ultrasound device, a virtual CT scan device, a virtual sequencing device, etc.). In at least one embodiment, there may be more than one introduction pipeline 1410 for a single device, depending on the information desired from the data generated by the device. In at least one embodiment, there may be a first introduction pipeline 1410 if anomaly detection is desired from the MRI machine, and a second introduction pipeline 1410 if image enhancement is desired from the output of the MRI machine.
[0116] In at least one embodiment, the image generation application may include a processing task that includes the use of a machine learning model. In at least one embodiment, a user may desire to use their own machine learning model or select a machine learning model from the model registry 1324. In at least one embodiment, a user may implement their own machine learning model or select a machine learning model for inclusion in the application to perform the processing task. In at least one embodiment, the application may be selectable and customizable, and by defining the construction of the application, the deployment and implementation of the application for a particular user is presented as a more seamless user experience. In at least one embodiment, by leveraging other features of the system 1400, such as the services 1320 and the hardware 1322, the deployment pipeline 1410 may be even more user friendly, provide easier integration, and produce more accurate, efficient, and timely results.
[0117] In at least one embodiment, the deployment system 1306 may include a user interface 1414 (e.g., a graphical user interface, a web interface, etc.) that may be used to select applications for inclusion in the deployment pipeline(s) 1410, deploy applications, modify or change applications or their parameters or configurations, use and interact with the deployment pipeline(s) 1410 during setup and / or deployment, and / or otherwise interact with the deployment system 1306. Although not shown with respect to the training system 1304, the user interface 1414 (or a different user interface) may be used to select models for use in the deployment system 1306, to select models for training or retraining in the training system 1304, and / or to otherwise interact with the training system 1304.
[0118] In at least one embodiment, a pipeline manager 1412 may be used in addition to an application orchestration system 1428 to manage interactions between applications or containers of the deployment pipeline(s) 1410 and the services 1320 and / or hardware 1322. In at least one embodiment, the pipeline manager 1412 may be configured to facilitate application-to-application interactions, application-to-service interactions, and / or application or service-to-hardware interactions. While shown in at least one embodiment as being included in the software 1318, this is not intended to be limiting, and in some instances (e.g., as shown in FIG. 12cc), the pipeline manager 1412 may be included in the services 1320. In at least one embodiment, the application orchestration system 1428 (e.g., Kubernetes, DOCKER, etc.) may include a container orchestration system that may group applications into containers as logical units for coordination, management, scaling, and deployment. In at least one embodiment, by associating applications (e.g., a reconstruction application, a segmentation application, etc.) from the deployment pipeline(s) 1410 with individual containers, each application can run in a self-contained environment (e.g., at the kernel level) to improve speed and efficiency.
[0119] In at least one embodiment, each application and / or container (or image thereof) may be developed, modified, and deployed individually (e.g., a first user or developer may develop, modify, and deploy a first application and a second user or developer may develop, modify, and deploy a second application separately from the first user or developer), allowing focus and attention to be paid to the tasks of a single application and / or container(s) without being distracted by the tasks of another application(s) or container(s). In at least one embodiment, communication and coordination between different containers or applications may be aided by the pipeline manager 1412 and the application orchestration system 1428. In at least one embodiment, the application orchestration system 1428 and / or pipeline manager 1412 may facilitate communication between each of the applications or containers, and sharing of resources between them, so long as the expected inputs and / or outputs of each container or application are known by the system (e.g., based on the construction of the application or container). In at least one embodiment, one or more of the applications or containers in the deployment pipeline(s) 1410 may share the same services and resources, so the application orchestration system 1428 may orchestrate, load balance, and determine sharing of services or resources among the various applications or containers. In at least one embodiment, a scheduler may be used to track the resource requirements of the applications or containers, the current or planned usage of those resources, and the availability of the resources. In at least one embodiment, the scheduler may thus allocate resources to different applications and distribute the resources among the applications taking into account the requirements and availability of the system.In some instances, the scheduler (and / or other components of the application orchestration system 1428) may determine resource availability and distribution based on constraints imposed on the system (e.g., user constraints), such as quality of service (QoS), the urgency of needing data output (e.g., to determine whether real-time or deferred processing should be performed), etc.
[0120] In at least one embodiment, services 1320 utilized and shared by applications or containers in deployment system 1306 may include compute services 1416, AI services 1418, visualization services 1420, and / or other service types. In at least one embodiment, an application may call (e.g., execute) one or more of services 1320 to perform processing operations for the application. In at least one embodiment, compute services 1416 may be utilized by an application to perform supercomputing or other high-performance computing (HPC) tasks. In at least one embodiment, compute service(s) 1416 may be utilized to perform parallel processing (e.g., using parallel computing platform 1430) to process data through one or more of the applications and / or one or more tasks of a single application substantially simultaneously. In at least one embodiment, a parallel computing platform 1430 (e.g., NVIDIA's CUDA) may enable general purpose computing on GPUs (e.g., GPU 1422). In at least one embodiment, a software layer of the parallel computing platform 1430 may provide access to a virtual instruction set and the parallel computational elements of the GPU for execution of compute kernels. In at least one embodiment, the parallel computing platform 1430 may include memory, which in some embodiments may be shared among multiple containers and / or among different processing tasks within a single container.In at least one embodiment, inter-process communication (IPC) calls may be generated for multiple containers and / or multiple processes within a container to use the same data from a shared segment of memory of the parallel computing platform 1430 (e.g., when multiple different stages of an application or multiple applications are processing the same information). In at least one embodiment, rather than making copies of the data and moving the data to different locations in memory (e.g., read / write operations), the same data in the same location of memory may be used for any number of processing tasks (e.g., at the same time, at different times, etc.). In at least one embodiment, as data is used and new data is generated as a result of processing, this information of the new location of the data may be stored and shared among the various applications. In at least one embodiment, the location of the data and the location of updated or modified data may be part of the definition of how the payload is understood within the container.
[0121] In at least one embodiment, the AI service 1418 may be utilized to perform an inference service to execute machine learning model(s) associated with an application (e.g., tasked with performing one or more processing tasks of the application). In at least one embodiment, the AI service 1418 may utilize the AI system 1424 to execute machine learning model(s) (e.g., neural networks such as CNNs) for segmentation, reconstruction, object detection, feature detection, classification, and / or other inference tasks. In at least one embodiment, an application of the deployment pipeline(s) 1410 may perform inference on the imaging data using the output model 1316 from the training system 1304 and / or one or more of the application's other models. In at least one embodiment, two or more instances of inference using the application orchestration system 1428 (e.g., a scheduler) may be available. In at least one embodiment, the first category may include a high priority / low latency path that may achieve a higher service level agreement, such as for performing inference on urgent requests during an emergency or for a radiologist during a diagnosis. In at least one embodiment, the second category may include a standard priority path that may be used for requests that may not be urgent or where analysis may be performed at a later time. In at least one embodiment, the application orchestration system 1428 may distribute resources (e.g., services 1320 and / or hardware 1322) based on the priority paths for different inference tasks of the AI service 1418.
[0122] In at least one embodiment, a shared storage may be attached to the AI service 1418 in the system 1400. In at least one embodiment, the shared storage may act as a cache (or other storage device type) and may be used to process inference requests from applications. In at least one embodiment, when an inference request is submitted, the request may be received by a set of API instances of the deployment system 1306, and one or more instances may be selected (e.g., for best fit, for load balancing, etc.) to process the request. In at least one embodiment, to process the request, the request may be entered into a database, the machine learning model may be located from the model registry 1324 if not already in the cache, and a validation step may ensure that the appropriate machine learning model is loaded into the cache (e.g., the shared storage) and / or a copy of the model may be saved to the cache. In at least one embodiment, if the application is not already running or there are not enough instances of the application, a scheduler (e.g., of the pipeline manager 1412) may be used to launch the application referenced in the request. In at least one embodiment, an inference server may be started to run the model if one has not already been started. Any number of inference servers may be started per model. In at least one embodiment, in a pull model where inference servers are clustered, models may be cached whenever load balancing is advantageous. In at least one embodiment, inference servers may be statically loaded onto corresponding distributed servers.
[0123] In at least one embodiment, inference may be performed using an inference server running in a container. In at least one embodiment, an instance of an inference server may be associated with a model (optionally multiple versions of the model). In at least one embodiment, when a request to perform inference on a model is received, if an instance of the inference server does not exist, a new instance may be loaded. In at least one embodiment, when starting the inference server, the model may be passed to the inference server, such that the same container may be used to service different models as long as the inference servers are running as different instances.
[0124] In at least one embodiment, during application execution, an inference request for a given application may be received, a container (e.g., hosting an instance of an inference server) may be loaded (if not already loaded), and a start procedure may be called. In at least one embodiment, pre-processing logic in the container may load, decode, and / or perform any additional pre-processing on the incoming data (e.g., using CPU(s) and / or GPU(s)). In at least one embodiment, once the data is prepared for inference, the container may perform inference on the data as needed. In at least one embodiment, this may include a single inference call for one image (e.g., a hand x-ray) or may require inference on hundreds of images (e.g., a chest CT). In at least one embodiment, the application may summarize the results before completion, which may include, but is not limited to, generating a single confidence score, pixel-level segmentation, voxel-level segmentation, visualization, or generating text to summarize the findings. In at least one embodiment, different models or applications may be assigned different priorities. For example, some models may have real-time (TAT<1 minute) priority and other models may have low priority (e.g., TAT<10 minutes). In at least one embodiment, model execution time may be measured from the requesting institution or entity and may include partner network traversal time as well as execution against the inference service.
[0125] In at least one embodiment, the transfer of requests between the service 1320 and the inference application may be hidden behind a software development kit (SDK) and a robust transport may be provided through a queue. In at least one embodiment, for each application / tenant ID combination, requests are queued through an API and the SDK pulls requests from the queue and gives the requests to the application. In at least one embodiment, a name for the queue may be provided in the environment where the SDK picks up the request. In at least one embodiment, asynchronous communication through the queue may be useful since the communication may allow any instance of the application to pick up the work when it becomes available. Results may be sent back through the queue to ensure that data is not lost. In at least one embodiment, the queue may also provide the ability to segment work since the highest priority work may go to a queue with the most instances of the application attached to the queue, while the lowest priority work may go to a queue with a single instance attached to the queue, which processes tasks in the order they were received. In at least one embodiment, the application may run on a GPU-accelerated instance created in the cloud 1426, and the inference service may perform inference on the GPU.
[0126] In at least one embodiment, a visualization service 1420 may be utilized to generate visualizations for viewing the applications and / or the output of the deployment pipeline(s) 1410. In at least one embodiment, a GPU 1422 may be utilized by the visualization service 1420 to generate the visualization. In at least one embodiment, rendering effects such as ray tracing may be implemented by the visualization service 1420 to generate higher quality visualizations. In at least one embodiment, the visualizations may include, but are not limited to, 2D image rendering, 3D volume rendering, 3D volume reconstruction, 2D tomography slices, virtual reality displays, augmented reality displays, and the like. In at least one embodiment, a virtualized environment may be used to generate virtual interactive displays or environments (e.g., virtual environments) for interaction by users of the system (e.g., doctors, nurses, radiologists, etc.). In at least one embodiment, visualization services 1420 may include internal visualizer, cinematics, and / or other rendering or image processing capabilities or functionality (e.g., ray tracing, rasterization, internal optics, etc.).
[0127] In at least one embodiment, hardware 1322 may include GPU 1422, AI system 1424, cloud 1426, and / or any other hardware used to run training system 1304 and / or deployment system 1306. In at least one embodiment, GPU 1422 (e.g., NVIDIA TESLA and / or QUADRO GPUs) may include any number of GPUs that may be used to perform processing tasks of any of the compute services 1416, AI services 1418, visualization services 1420, other services, and / or features or functionality of software 1318. For example, with respect to AI services 1418, GPU 1422 may be used to perform pre-processing on imaging data (or other data types used by machine learning models), post-processing on the output of machine learning models, and / or to perform inference (e.g., to run machine learning models). In at least one embodiment, cloud 1426, AI system 1424, and / or other components of system 1400 may use GPUs 1422. In at least one embodiment, cloud 1426 may include a GPU-optimized platform for deep learning tasks. In at least one embodiment, AI system 1424 may use GPUs, and cloud 1426, or at least a portion tasked with deep learning or inference, may be executed using one or more AI systems 1424. Thus, although hardware 1322 is shown as separate components, this is not intended to be limiting, and any component of hardware 1322 may be combined with and leveraged by any other component of hardware 1322.
[0128] In at least one embodiment, the AI system 1424 may include a specialized computing system (e.g., a supercomputer or HPC) configured for inference, deep learning, machine learning, and / or other artificial intelligence tasks. In at least one embodiment, the AI system 1424 (e.g., NVIDIA's DGX) may include GPU optimization software (e.g., a software stack) that may be executed using multiple GPUs 1422 in addition to CPUs, RAM, storage, and / or other components, features, or functionality. In at least one embodiment, one or more AI systems 1424 may be implemented in the cloud 1426 (e.g., in a data center) to perform some or all of the AI-based processing tasks of the system 1400.
[0129] In at least one embodiment, the cloud 1426 may include a GPU-accelerated infrastructure (e.g., NVIDIA's NGC), which may provide a GPU-optimized platform for executing the processing tasks of the system 1400. In at least one embodiment, the cloud 1426 may include an AI system(s) 1424 (e.g., as a hardware abstraction and scaling platform) for performing one or more of the AI-based tasks of the system 1400. In at least one embodiment, the cloud 1426 may leverage multiple GPUs and integrate with an application orchestration system 1428 to enable seamless scaling and load balancing between applications and services 1320. In at least one embodiment, the cloud 1426 may be tasked with executing at least some of the services 1320 of the system 1400, including the compute services 1416, the AI services 1418, and / or the visualization services 1420, as described herein. In at least one embodiment, cloud 1426 may perform small or large batch inference (e.g., running NVIDIA's TENSOR RT), provide an accelerated parallel computing API and platform 1430 (e.g., NVIDIA's CUDA), run an application orchestration system 1428 (e.g., KUBERNETES), provide a graphics rendering API and platform (e.g., for ray tracing, 2D graphics, 3D graphics, and / or other rendering techniques to produce higher quality cinematics), and / or provide other functionality for system 1400.
[0130] 15A illustrates a data flow diagram of a process 1500 for training, retraining, or updating a machine learning model, according to at least one embodiment. In at least one embodiment, the process 1500 may be performed using the system 1400 of FIG. 14 as a non-limiting example. In at least one embodiment, the process 1500 may leverage the services 1320 and / or hardware 1322 of the system 1400, as described herein. In at least one embodiment, the improved model 1512 generated by the process 1500 may be executed by the deployment system 1306 for one or more containerized applications in the deployment pipeline 1410.
[0131] In at least one embodiment, model training 1314 may include retraining or updating the initial model 1504 (e.g., a pre-trained model) using new training data (e.g., new input data, such as the customer dataset 1506 and / or new ground truth data related to the input data). In at least one embodiment, to retrain or update the initial model 1504, output or loss layer(s) of the initial model 1504 may be reset or removed and / or replaced with updated or new output or loss layer(s). In at least one embodiment, the initial model 1504 may have parameters (e.g., weights and / or biases) remaining from a previous training that were previously fine-tuned, and thus training or retraining 1314 may not take as long or require as much processing as training a model from scratch. In at least one embodiment, by having the output or loss layer(s) of the initial model 1504 reset or replaced during model training 1314, parameters may be updated or retuned for the new dataset based on a loss calculation related to the accuracy of the output or loss layer(s) in generating predictions for the new customer dataset 1506 (e.g., image data 1308 in FIG. 13 ).
[0132] In at least one embodiment, the pre-trained model 1406 may be stored in a data store or registry (e.g., model registry 1324 of FIG. 13). In at least one embodiment, the pre-trained model 1406 may have been trained, at least in part, at one or more facilities other than the facility performing the process 1500. In at least one embodiment, to protect the privacy and rights of patients, subjects, or customers of the different facilities, the pre-trained model 1406 may have been trained on-premise using customer or patient data generated on-premise. In at least one embodiment, the pre-trained model 1406 may be trained using the cloud 1426 and / or other hardware 1322, but the privacy-protected sensitive patient data may not be transferred to, used by, or accessible to any components of the cloud 1426 (or other off-premise hardware). In at least one embodiment, if the pre-trained models 1406 are trained using patient data from more than one facility, the pre-trained models 1406 may be trained individually for each facility and then trained on patient or customer data from another facility. In at least one embodiment, customer or patient data from any number of facilities may be used to train the pre-trained models 1406 on-premise and / or off-premise, such as in a data center or other cloud computing infrastructure, if the customer or patient data has been released from privacy concerns (e.g., by waiver, for experimental use, etc.) or if the customer or patient data is included in a public data set.
[0133] In at least one embodiment, when selecting an application for use in the deployment pipeline 1410, the user may also select the machine learning model to be used for the particular application. In at least one embodiment, the user may not have a model for use, and therefore the user may select a pre-trained model 1406 for use with the application. In at least one embodiment, the pre-trained model 1406 may not be optimized to produce accurate results for the user's facility's customer dataset 1506 (e.g., based on patient diversity, demographics, type of medical imaging device used, etc.). In at least one embodiment, prior to deploying the pre-trained model 1406 in the deployment pipeline 1410 for use with the application(s), the pre-trained model 1406 may be updated, re-trained, and / or fine-tuned for use at the respective facility.
[0134] In at least one embodiment, a user may select a pre-trained model 1406 to be updated, retrained, and / or fine-tuned, and the pre-trained model 1406 may be referred to as an initial model 1504 for the training system 1304 in the process 1500. In at least one embodiment, a customer dataset 1506 (e.g., imaging data, genomics data, sequencing data, or other data types generated by devices at the facility) may be used to perform model training 1314 (which may include, but is not limited to, transfer learning) on the initial model 1504 to generate an improved model 1512. In at least one embodiment, ground truth data corresponding to the customer dataset 1506 may be generated by the training system 1304. In at least one embodiment, the ground truth data may be generated, at least in part, by clinicians, scientists, physicians, practitioners at the facility (e.g., as labeled clinic data 1312 of FIG. 13 ).
[0135] In at least one embodiment, AI-assisted annotation 1310 may be used in some instances to generate ground truth data. In at least one embodiment, AI-assisted annotation 1310 (e.g., implemented using an AI-assisted annotation SDK) may leverage machine learning models (e.g., neural networks) to generate suggested or predicted ground truth data for a customer dataset. In at least one embodiment, a user 1510 may use an annotation tool within a user interface (graphical user interface (GUI)) on a computing device 1508.
[0136] In at least one embodiment, a user 1510 may interact with a GUI via a computing device 1508 to edit or fine-tune the (automatic) annotation. In at least one embodiment, polygon editing features may be used to move vertices of a polygon to more accurate or fine-tuned locations.
[0137] In at least one embodiment, once the customer dataset 1506 has associated ground truth data, the ground truth data (e.g., from AI-assisted annotation, manual labeling, etc.) may be used during model training 1314 to generate an improved model 1512. In at least one embodiment, the customer dataset 1506 may be applied to the initial model 1504 any number of times, and the ground truth data may be used to update parameters of the initial model 1504 until an acceptable level of accuracy is achieved for the improved model 1512. In at least one embodiment, once the improved model 1512 is generated, the improved model 1512 may be deployed in one or more deployment pipelines 1410 at the facility to perform one or more processing tasks on the medical imaging data.
[0138] In at least one embodiment, the improved model 1512 may be uploaded to the pre-trained models 1406 in the model registry 1324 to be selected by another facility. In at least one embodiment, this process may be completed at any number of facilities, such that the improved model 1512 may be further improved any number of times on new datasets to generate a more generalized model.
[0139] FIG. 15B is an example diagram of a client-server architecture 1532 for extending an annotation tool with a pre-trained annotation model, according to at least one embodiment. In at least one embodiment, an AI-assisted annotation tool 1536 may be instantiated based on the client-server architecture 1532. In at least one embodiment, the annotation tool 1536 in an imaging application may assist a radiologist, for example, to identify organs and anomalies. In at least one embodiment, the imaging application may include, by way of non-limiting example, a software tool that helps a user 1510 identify a few extreme points on a particular organ of interest in a raw image 1534 (e.g., in a 3D MRI or CT scan) and receive an automatically annotated result for all 2D slices of the particular organ. In at least one embodiment, the results may be stored in a data store as training data 1538 and used (for example, but not limited to) as ground truth data for training. In at least one embodiment, when the computing device 1508 sends out the extreme points for AI-assisted annotation 1310, for example, a deep learning model may receive this data as input and return an inference result of a segmented organ or anomaly. In at least one embodiment, a pre-instantiated annotation tool, such as the AI-assisted annotation tool 1536B in FIG. 15B, may be extended by making an API call (e.g., API call 1544) to a server, such as the annotation assisted server 1540, which may include a set of pre-trained models 1542, stored in an annotation model registry. In at least one embodiment, the annotation model registry may store pre-trained models 1542 (e.g., machine learning models such as deep learning models) that are pre-trained to perform AI-assisted annotation for a particular organ or anomaly. These models may be further updated by using the training pipeline 1404.In at least one embodiment, the pre-installed annotation tools can be improved over time as new labeled clinic data 1312 is added.
[0140] Such components may be used to generate enhanced content, such as image or video content, with upscaled resolution, reduced presence of artifacts, and improved visual quality.
[0141] Other variations are within the spirit of the disclosure. Thus, while the disclosed techniques are susceptible to various modifications and alternative constructions, several illustrative examples thereof have been shown in the drawings and have been described in detail above. It should be understood, however, that there is no intention to limit the disclosure to the particular disclosed form or forms, but on the contrary, the intention is to cover all modifications, alternative constructions, and equivalents falling within the spirit and scope of the disclosure as defined in the appended claims.
[0142] The use of the terms "a," "an," and "the," and similar referents in the context of describing the disclosed embodiments (particularly in the context of the claims that follow) should be construed to cover both the singular and the plural and should not be construed as defining terms, unless otherwise stated herein or clearly contradicted by context. The terms "comprising," "having," "including," and "containing" should be construed as open-ended terms (meaning "including, but not limited to"), unless otherwise indicated. The term "connected," when referring to a physical connection, without modification, should be construed as being partially or completely contained within, attached to, or joined to one another, even if there is something intervening. Reciting a range of values herein is merely intended to serve as a shorthand method of individually referring to each separate value falling within the range, unless otherwise stated herein and unless each separate value is incorporated into the specification as if it were individually recited herein. Use of the term "set" (e.g., "set of items") or "subset" should be construed as a non-empty collection comprising one or more members, unless otherwise stated or contravened by context. Furthermore, unless otherwise stated or contravened by context, the term "subset" of a corresponding set does not necessarily refer to a strict subset of the corresponding set, and a subset and a corresponding set may be equivalent.
[0143] Conjunctions such as phrases of the form "at least one of A, B, and C" or "at least one of A, B, and C" are understood in the context in which they are generally used to indicate that an item, term, etc. may be either A or B or C, or any non-empty subset of the set of A, B, and C, unless specifically stated otherwise or otherwise clearly contradicted by the context. For example, in the illustrative example of a set having three members, the conjunctive phrases "at least one of A, B, and C" and "at least one of A, B, and C" refer to any of the following sets: {A}, {B}, {C}, {A, B}, {A, C}, {B, C}, {A, B, C}. Thus, such conjunctives do not generally imply that some embodiments require that at least one of A, at least one of B, and at least one of C are each present. Further, unless stated otherwise or contradicted by context, the term "plurality" refers to a plurality (e.g., "a plurality of items" refers to multiple items). A plurality is at least two items, but may be more when so indicated either explicitly or by context. Further, unless stated otherwise or clear from context, the phrase "based on" means "based at least in part on" and not "based only on."
[0144] The operations of processes described herein may be performed in any suitable order unless otherwise stated herein or otherwise clearly contradicted by context. In at least one embodiment, processes such as the processes described herein (or variations and / or combinations thereof) are performed under the control of one or more computer systems configured with executable instructions and implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) that collectively execute on one or more processors, by hardware, or by a combination thereof. In at least one embodiment, the code is stored in a computer-readable storage medium, e.g., in the form of a computer program comprising a plurality of instructions executable by one or more processors. In at least one embodiment, the computer-readable storage medium is a non-transitory computer-readable storage medium that excludes transitory signals (e.g., propagating transitory electrical or electromagnetic transmissions), but includes non-transitory data storage circuitry (e.g., buffers, caches, and queues) within a transceiver of a transitory signal. In at least one embodiment, the code (e.g., executable code or source code) is stored on a set of one or more non-transitory computer readable storage media that store executable instructions (or have other memory for storing executable instructions) that, when executed by (i.e., as a result of) one or more processors of a computer system, cause the computer system to perform the operations described herein. The set of non-transitory computer readable storage media, in at least one embodiment, comprises a plurality of non-transitory computer readable storage media, where one or more of the individual non-transitory storage media of the plurality of non-transitory computer readable storage media does not contain all of the code, but the plurality of non-transitory computer readable storage media collectively store all of the code.In at least one embodiment, the executable instructions are executed such that different instructions are executed by different processors, e.g., a non-transitory computer-readable storage medium stores the instructions and a main central processing unit ("CPU") executes some of the instructions and a graphics processing unit ("GPU") executes other instructions. In at least one embodiment, different components of a computer system have separate processors, with the different processors executing different subsets of the instructions.
[0145] Thus, in at least one embodiment, a computer system is configured to implement one or more services that, singly or collectively, perform the operations of the processes described herein, and such a computer system is configured with applicable hardware and / or software that enables the performance of the operations. Further, a computer system that implements at least one embodiment of the present disclosure is a single device, and in another embodiment, a distributed computer system comprising multiple devices that operate in different ways, such that a distributed computer system performs the operations described herein, and such that no single device performs all the operations.
[0146] The use of any illustrative or exemplary language (e.g., "such as") provided herein is intended only to further illuminate embodiments of the disclosure and does not limit the scope of the disclosure unless otherwise stated. No language in the specification should be construed as indicating any non-claimed element as essential to the practice of the disclosure.
[0147] All references cited in this specification, including publications, patent applications, and patents, are hereby incorporated by reference to the same extent as if each reference was individually and specifically indicated to be incorporated by reference and was set forth in its entirety herein.
[0148] In the specification and claims, the terms "coupled" and "connected," along with their derivatives, may be used. It should be understood that these terms may not be intended as synonyms for each other. Rather, in certain instances, "connected" or "coupled" may be used to indicate that two or more elements are in direct or indirect physical or electrical contact with each other. "Coupled" may also mean that two or more elements are not in direct contact with each other, but yet still cooperate or interact with each other.
[0149] Unless specifically stated otherwise, throughout the specification, terms such as "processing," "computing," "calculating," or "determining" may be understood to refer to the actions and / or processes of a computer or computing system, or similar electronic computing device, manipulating and / or transforming data represented as physical quantities, such as electronic quantities, in the computing system's registers and / or memory to other data similarly represented as physical quantities in the computing system's memory, registers, or other such information storage, transmission, or display device.
[0150] Similarly, the term "processor" may refer to any device, or part of a device, that processes electronic data from registers and / or memory and converts the electronic data into other electronic data that may be stored in registers and / or memory. As a non-limiting example, a "processor" may be a CPU or a GPU. A "computing platform" may comprise one or more processors. A "software" process as used herein may include software and / or hardware entities that perform work over time, such as tasks, threads, and intelligent agents. Also, each process may refer to multiple processes for performing instructions serially or in parallel, continuously or intermittently. The terms "system" and "method" are used interchangeably herein to the extent that a system may embody one or more methods and a method may be considered a system.
[0151] As used herein, reference may be made to obtaining, acquiring, receiving, or inputting analog or digital data into a subsystem, computer system, or computer-implemented machine. Obtaining, acquiring, receiving, or inputting analog and digital data may be accomplished in various ways, such as by receiving data as a parameter of a function call or a call to an application programming interface. In some implementations, the process of obtaining, acquiring, receiving, or inputting analog or digital data may be accomplished by transferring data over a serial or parallel interface. In other implementations, the process of obtaining, acquiring, receiving, or inputting analog or digital data may be accomplished by transferring data over a computer network from a providing entity to an acquiring entity. Reference may also be made to providing, outputting, transmitting, sending, or presenting analog or digital data. In various instances, the process of providing, outputting, transmitting, sending, or presenting analog or digital data may be accomplished by transferring data as an input or output parameter of a function call, a parameter of an application programming interface, or an inter-process communication mechanism.
[0152] Although the above description sets forth example implementations of the described techniques, it is contemplated that other architectures may be used to implement the described functionality and are within the scope of this disclosure. Additionally, while for purposes of explanation, specific distributions of responsibilities have been defined above, various functions and responsibilities may be distributed and divided in different manners depending on the circumstances.
[0153] Further, although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter claimed in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claims.
Claims
1. sending, to a client device, first video frame data for a first video frame in a sequence of video frames to be displayed; sending to the client device second video frame data for a second video frame in the sequence, the second video frame data including pixel data changes relative to the first video frame, the client device being enabled to generate the second video frame for display using the first video frame data and the second video frame data; determining that an acknowledgment has been received indicating that the client device has successfully received the second video frame data; sending to the client device third video frame data for a third video frame in the sequence, the third video frame data including a change in the pixel data with respect to the first video frame or the second video frame; 4. A computer-implemented method comprising:
2. determining whether the third video frame data should include changes relative to the first video frame or changes relative to the second video frame based at least in part on one or more optimization parameters; The computer-implemented method of claim 1 , further comprising:
3. The computer-implemented method of claim 2 , wherein the optimization parameter relates to at least one of a data size for the change, a number of changes, a recency of transmission, or a network performance condition.
4. storing the first video frame data and the second video frame data in a client reference buffer, wherein both the first video frame data and the second video frame data are available for use by the client device as reference frames for determining the third video frame data. The computer-implemented method of claim 1 , further comprising:
5. receiving an acknowledgment from the client device indicating that the client device successfully received the third video frame data; causing the third video frame to be available, along with the first and second video frames, for use as a reference frame for one or more subsequent video frames in the sequence; The computer-implemented method of claim 1 , further comprising:
6. receiving a request from the client device to remove the first video frame from a client reference buffer on the client device; sending an acknowledgement to the client device that the first video frame should be removed from consideration as a reference frame for one or more subsequent video frames in the sequence and may be removed from the client reference buffer; The computer-implemented method of claim 1 , further comprising:
7. determining to remove at least one of the first video frame data, the second video frame data, and the third video frame data from the client reference buffer based at least in part on a recency or diversity of data in the client reference buffer on the client device; The computer-implemented method of claim 1 , further comprising:
8. encoding the first video frame data, the second video frame data, and the third video frame data prior to sending to the client device. The computer-implemented method of claim 1 , further comprising:
9. a streaming server for transmitting a stream of video data to a client device; an encoder for encoding a sequence of video frame data to be included in said stream; 11. A video streaming system comprising: selecting a reference frame to use for a current frame in the video stream, the reference frame corresponding to one of the one or more confirmed frames stored in a reference buffer for which video data was acknowledged as received by the client device; Encoding video data for the current frame including changes in pixel data relative to the selected reference frame. and for encoding said sequence by:
10. 10. The video streaming system of claim 9, wherein the encoder is further for selecting the reference frame using at least one selection criterion.
11. 10. The video streaming system of claim 9, wherein the at least one selection criterion includes at least one of data size, number of changes, recency of transmission, or network performance conditions.
12. 10. The video streaming system of claim 9, wherein the encoder is further for receiving an acknowledgement from the client device that the current frame was properly received and decoded by the client device, and data for the current frame should be stored in the reference buffer as an additional acknowledged frame.
13. 10. The video streaming system of claim 9, wherein the encoder is for removing from the reference buffer one or more identified frames that are indicated as no longer available for use as a reference frame.
14. 10. The video streaming system of claim 9, wherein the encoder is for applying forward error correction to the video data before the video data is transmitted to the client device.
15. The system further comprises: A system for performing a simulation operation; A system for performing simulation operations for testing or validating an autonomous machine application; A system for rendering graphical output; A system for performing deep learning operations, A system implemented using edge devices; A system incorporating one or more virtual machines (VMs); A system implemented at least in part in a data center; or A system implemented at least in part using cloud computing resources 11. The video streaming system of claim 10, comprising at least one of:
16. When executed by one or more processors, the one or more processors are selecting a reference frame to use for a current frame in the video stream, the reference frame corresponding to one of the one or more confirmed frames stored in the reference buffer for which video data has been acknowledged as received by the client device; encoding video data for the current frame including changes in pixel data relative to the selected reference frame; A non-transitory computer-readable storage medium containing instructions.
17. 20. The non-transitory computer-readable storage medium of claim 16, wherein the encoder is further for selecting the reference frame using at least one selection criterion.
18. 20. The non-transitory computer-readable storage medium of claim 16, wherein the at least one selection criterion includes at least one of data size, number of changes, recency of transmission, or network performance conditions.
19. 17. The non-transitory computer-readable storage medium of claim 16, wherein the encoder is further for receiving an acknowledgement from the client device that the current frame was properly received and decoded by the client device and data for the current frame should be stored in the reference buffer as an additional acknowledged frame.
20. 17. The non-transitory computer-readable storage medium of claim 16, wherein the encoder is for removing from the reference buffer one or more identified frames that are indicated as no longer available for use as a reference frame.
