LIGHTWEIGHT CONTROL LOGIC FOR DISTRIBUTED EXECUTION OF DEEP LEARNING MODELS

The technology disclosed may comprise one or more sensors, a local computing device comprising a processor, a memory component, and a cloud server. The memory component may comprise instructions for accepting sensor outputs, calculating an optimal split of the sensor outputs that maximizes energy efficiency of the processor and minimizes a size of the first portion of data. The instructions further comprise splitting the one or more compressed sensor outputs, transmitting the first portion of data to the cloud server, processing the local data into a second portion of output, receiving a first portion of output from the cloud server, and fusing the portions of output into one output. The cloud server may receive the first portion of data from the local computing device, process it into a first portion of output, and transmit the first portion of output to the local computing device.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
PRIORITY APPLICATION

This application claims priority to or the benefit of U.S. Provisional Patent Application No. 63/430,769, titled, “Robust Task Mapping Method for Multi-Branch Models in Real-Time Edge and Autonomous Systems,” filed Dec. 7, 2022. The priority provisional patent application is hereby incorporated by reference for all purposes.

STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT

This invention was made with Government support under Grant No. 2140154 awarded by the National Science Foundation (NSF). The Government has certain rights in the invention.

FIELD OF THE TECHNOLOGY

The technology disclosed relates to artificial intelligence type computers and digital data processing systems and corresponding data processing methods and products for emulation of intelligence (i.e., knowledge-based systems, reasoning systems, and knowledge acquisition systems); and including systems for reasoning with uncertainty (e.g., fuzzy logic systems), adaptive systems, machine learning systems, and artificial neural networks. The technology disclosed relates generally to data processing for artificial neural networks and, in particular, to a lightweight control logic for distributed execution of deep learning models.

BACKGROUND

The subject matter discussed in the background section should not be assumed to be prior art merely as a result of its mention in the background section. Similarly, a problem mentioned in the background section or associated with the subject matter of the background section should not be assumed to have been previously recognized in the prior art. The subject matter in the background section merely represents different approaches, which in and of themselves may also correspond to implementations of the claimed technology.

The ubiquitous integration of artificial intelligence into many aspects of the commercial and industrial sectors relies to a great extent on the effectual operation of real-time intelligent latency-critical systems, as autonomous systems—e.g., autonomous vehicles (AVs) and unmanned aerial vehicles (UAVs). With the continuous advancements in computing technologies on both the algorithmic and hardware levels, in addition to the increasing application demands, the performance expectations from such systems have elevated to new heights. One prime example here is how the AV industrial pipeline has been continuously evolving to eventually realize the level-5 autonomy aspirations—as in, full autonomy—given the massive potential with regards to improving mobility, passenger comfort, and road safety. In fact, such intelligent systems today can perform intricate tasks in real-time with high degree of accuracy, making them invaluable to numerous application domains, including Cyber-Physical Systems (CPS), biomedical applications, smart manufacturing, and industrial control systems.

In autonomous systems, the key enabler of autonomy is the collection of information-rich signals from the environment to be handled by capable processing pipelines to provide control outputs. These pipelines comprise compute-intensive modules, predominantly based on deep neural networks (DNNs) given their ability to handle huge volumes of data while achieving exceptional performance on crucial autonomy-related tasks. As these systems mostly rely on edge computing schemes in which processing is performed close to where data is generated, the caveat is that such high computational footprints collide with the small—from factor and the “relatively” low-power computing requirements of autonomous systems—a predicament made more complicated given constrained power resources. Although conventional model compression and simplification approaches have been proposed, they do not directly apply to such critical systems due to the robustness requirements with regards to maintaining a certain level of prediction quality to ensure nominal safety—that is, ensuring that correct and timely control outputs are consistently provided for safe operation or navigation.

In that sense, two recent design trends have been gaining traction as alternatives to promote resource efficiency for these latency-critical systems: (i) adopting dynamic neural networks for processing which instantiate multi-branch execution paths to support multiple modes of operation; and (ii) task offloading to remote edge servers to perform the intensive tasks on behalf of the local platforms. In essence, a DNN supporting task offloading (e.g., split computing) and local execution can be perceived as a cross-platform two-branch neural network model. Both approaches enable switching between different modes of execution when specific criteria are met—as in switching to simpler computing DNN branches to elevate energy efficiency when the underlying distribution domain is identified as canonical with simple-to-process input stream. In that sense, an effective controller is needed to capture the contextual complexity of the inputs and adapt the mode of operation accordingly. However, two challenges arise: (i) the controller must be lightweight so as not to offset the projected performance gains, which is a challenge considering how the process of context identification relies on processing the same high-dimensional input signals in the real-world environment, and (ii) Mode selection decisions need to be provided on a millisecond scale-stemming from the real-time operational requirement of latency-critical applications. In particular, mode selection decisions need to be provided before the execution paths start to diverge due to branching.

From the early systems' works, researchers have implemented controllers that leverage temporal correlations to apply corrective behaviors through feedback loops, where generated outputs are reused at the input to remedy the next state estimation. However, input non-linearity can cause such systems to suffer from noise sensitivity and performance degradation. To handle this, research works have explored adopting nonlinear neural-based solutions (e.g., DRL controllers) to capture the underlying correlations in the input data streams. For instance, prior works employ various neural structures (e.g., CNNs, and LSTMs) to achieve just that, as in capturing the correlation within the images from input camera feed for lane changing. However, given the innate stochasticity of the deployment environments, spatio-temporal information only fails to fully capture the uncertainty dynamics for robust control in latency-critical systems (e.g., autonomous systems). Moreover, some neural structures (e.g., LSTMs) can be memory inefficient and slow due to sequential state estimation. Thus, researchers have looked to applying contextual learning whereby high-level auxiliary or contextual information can be supplemented to realize a more informative state estimation when sensory inputs alone can be insufficient. For instance, prior systems propose to utilize neighboring vehicle context to predict latent states for T-section merging and to form birds-eye-view raster encodings for trajectory prediction. Other systems extract relational context of scene objects for improved object detection and tracking. Still, the added computation of complex context extraction modules places an additional burden on the power-constrained edge devices.

Multi-branch neural architectures have been proposed to allow optimizing a DNN's performance with respect to diverse execution scenarios. Prior systems proposed a multi-branch network as a tree structure, comprising a trunk for processing the shared features while each of the separate branches being designated as an expert on a subset of classes. Other prior systems adopted branches to address scale variation problems in object detection. Others have proposed branches with distinct components specialized to compute features for visually similar classes, but they retain efficiency by dynamically selecting a subset of components through a soft gating mechanism. Despite their effectiveness, the above works assume the following: (1) single platform operation, and (2) single modality input. In contrast, the approach enables adopting multi-branch architectures for multiple heterogeneous sensors and across multi-tiered hierarchies. Recent works proposed to address the latter through branches that instigate different sensor fusion combinations, and a gating module that performs branch selection based on the estimated context from the early module computations. However, the caveat is that their gating module lies along the sequential execution pipelines, and the processing is stalled until the branch selection decision is generated. This can be a computational bottleneck considering that the early features can be high-dimensional representations.

Solutions involving task offloading have long been proposed to adapt the mode of operation according to variations in the deployment environment, such as adjusting the offloading workload based on network connectivity conditions. For DNNs, split computing has been proposed to divide the network between the local (e.g., edge device) and remote (e.g., edge, fog, or cloud server) platforms at the layer that minimize the overall performance overhead on the local device. To maximize performance potential from offloading, others have proposed to modify a DNN's structure to include an early optimal offloading layer that shrinks the size of transmissible data, minimizing the costs of both computation and communication. This split-computing concept was applied for end-to-end control in autonomous vehicles. Given how wireless links can be fragile, others have also proposed to replicate the parts of the model on the remote platform on the local edge device so that in case of delayed responses, the local pipeline can be reinvoked, which was denoted as fail-safe offloading. This arrangement can be perceived as a cross-platform multi-branch model.

SUMMARY

The technology disclosed can be practiced as a system, method, or article of manufacture. One or more features of an implementation can be combined with the base implementation. Implementations that are not mutually exclusive are taught to be combinable. One or more features of an implementation can be combined with other implementations. This disclosure periodically reminds the user of these options. Omission from some implementations of recitations that repeat these options should not be taken as limiting the combinations taught in the preceding sections—these recitations are hereby incorporated forward by reference into each of the following implementations.

One or more implementations and features of the technology disclosed, or elements thereof can be implemented in the form of a computer product, including a non-transitory computer readable storage medium with computer usable program code for performing the method steps indicated. Furthermore, one or more implementations and features of the technology disclosed, or elements thereof can be implemented in the form of an apparatus including a memory and at least one processor that is coupled to the memory and operative to perform exemplary method steps. Yet further, in another aspect, one or more implementations and features of the technology disclosed or elements thereof can be implemented in the form of means for carrying out one or more of the method steps described herein; the means can include (i) hardware module(s), (ii) software module(s) executing on one or more hardware processors, or (iii) a combination of hardware and software modules; any of (i)-(iii) implement the specific techniques set forth herein, and the software modules are stored in a computer readable storage medium (or multiple such media).

The features described in this section can be combined as features. In the interest of conciseness, the combinations of features are not individually enumerated and are not repeated with each base set of features. The reader will understand how features identified in the features described in this section can readily be combined with sets of base features identified as implementations in other sections of this application. These features are not meant to be mutually exclusive, exhaustive, or restrictive; and the technology disclosed is not limited to these features but rather encompasses all possible combinations, modifications, and variations within the scope of the claimed technology and its equivalents.

It is an objective of the technology disclosed to provide systems that allow for latency-critical real time intelligent systems, potentially with multi-sensory processing pipelines and deployed as a standalone or in a multi-level system hierarchy, as specified in the independent claims. Implementations of the technology disclosed are given in the dependent claims. Implementations of the technology disclosed can be freely combined with each other if they are not mutually exclusive.

The technology disclosed features a multi-sensor machine learning system capable of offloading processing to an external server to efficiently improve energy efficiency of the system. The system may comprise a local computing device. The local computing device may comprise a processor comprising one or more execution branches, each execution branch capable of executing computer-readable instructions. The local computing device may further comprise a memory component operatively connected to the processor and the one or more sensors, communicatively coupled to a cloud server, comprising computer-readable instructions that, when executed by the processor, causes the processor to perform operations comprising accepting one or more sensor outputs from the one or more sensors, encoding the one or more sensor outputs into one or more compressed sensor outputs, each compressed sensor output comprising one or more features, and calculating an optimal split of the one or more compressed sensor outputs into a first portion of data and a second portion of data. The optimal split may comprise a split of data that maximizes energy efficiency of the processor and minimizes a size of the first portion of data. The computer-readable instructions may further comprise splitting the one or more compressed sensor outputs into the first portion of data and the second portion of data, transmitting the first portion of data to the cloud server, processing the second portion of data into a compressed second portion of output, receiving a compressed first portion of output from the cloud server, decompressing the compressed first portion of output and the compressed second portion of output into a first portion of output and a second portion of output, respectively, and fusing the first portion of output and the second portion of output into an output. The system may further comprise the cloud server communicatively coupled to the local computing device, comprising computer-readable instructions for receiving the first portion of data from the local computing device, processing the first portion of data into a compressed first portion of output, and transmitting the compressed first portion of output to the local computing device.

FIG. 2 shows a diagram of the methodology of the technology disclosed. The technology disclosed features a methodology for designing Dynamic Neural Architectures for Robust Task Processing and Offloading in Multi-Sensor Autonomous Systems. The technology disclosed achieves the mode adaptation functionality with low complexity overhead compromising the application integrity with regards to nominal safety. The operational concept of the technology disclosed relies on effective information exchange between two domains, one is the primary processing domain and the other is the controller domain. (1) At time t, input signals from multiple sensors are collected from the environment and undergo initial processing to generate initial features from their stem modules. (2) A mapping block receives the initial features and maps them to a designated branch from a multi-branch network implemented for each sensory pipeline based on the corresponding control mode. If task offloading is supported, branches can support split computing in which computing modules post the offloading point are replicated on computing edge servers. (3) Generated partial outputs are fed to a late fusion block to generate global abstract representations, which are then fed to the remaining pipeline components in (4). (5) The same abstract representations are also fed back as inputs to the controller as contextual inputs for its mode selection in the following time-step t+1. (6) Contextual inputs are encoded into further lower-dimensional representations through a low-complexity contextual encoder, before being concatenated with other auxiliary information from the processing pipeline (e.g., partial branch outputs not generated in time) or low-dimensional sensory measurements. (7) Finally, a low-complexity state-encoder maps these measurements onto mode selection decisions, which control the mapping block modes in the processing domain at time-step t+1. The key contribution is reusing the low-dimensional feature representations as contextual inputs to guide the control decisions of the following time-steps, achievable through the existing temporal correlations in input data streams (e.g., continuous camera feed) that enable realizing a lightweight controller that provides control outputs in negligible time. In essence, reusing feature representations rather than the control outputs directly aids in understanding the underlying deployment context and domain distribution, which in turn aids in assessing the input stream processing complexity and whether execution constraints can be relaxed for energy gains.

This technology disclosed is applicable to variable computing architectures of intelligent systems to significantly improve the runtime performance efficiency while maintaining robustness given various real-time operational contexts. Specifically, the efficacy of the technology disclosed was evaluated through adopting a learning-based approach for the controller using deep reinforcement learning (DRL) for the following scenarios: (1) fail-safe offloading for control applications in AVs and UAVs; and (2) multi-sensor offloading with late fusion for modular AV pipelines.

One of the unique and inventive technical features of the technology disclosed is the offloading of a portion of data for processing from a local device to a cloud server, while the rest of the data is processed on the local device. Without wishing to limit the technology disclosed to any theory or mechanism, it is believed that the technical feature of the technology disclosed advantageously provides for increased energy and time efficiency for real-time multi-sensor devices such as autonomous vehicles. None of the presently known prior references or work has the unique inventive technical feature of the technology disclosed.

Any feature or combination of features described herein are included within the scope of the technology disclosed provided that the features included in any such combination are not mutually inconsistent as will be apparent from the context, this specification, and the knowledge of one of ordinary skill in the art. Additional advantages and aspects of the technology disclosed are apparent in the following detailed description and claims.

BRIEF DESCRIPTION OF THE DRAWINGS

The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee. The color drawings also may be available in PAIR via the Supplemental Content tab.

In the drawings, like reference characters generally refer to like parts throughout the different views. Also, the drawings are not necessarily to scale, with an emphasis instead generally being placed upon illustrating the principles of the technology disclosed. In the following description, various implementations of the technology disclosed are described with reference to the following drawings, in which.

FIG. 1 illustrates an architectural diagram of a system of the technology disclosed.

FIG. 2 shows a diagram of the methodology of the technology disclosed.

FIG. 3 shows a diagram of a multi-branch dynamic model in a two-level architecture for autonomous systems.

FIG. 4 shows a diagram of the disclosed information flow between the processing and DRL domains in the technology disclosed.

FIG. 5 illustrates the hierarchical architecture of VEC and its reliance on the wireless infrastructure.

FIG. 6 shows two frames of different complexities showing single camera and late fusion mAP scores and the selected operational modes by our learning-based solution.

FIG. 7 illustrates the disclosed modular industry-grade autonomous driving system (ADS).

FIG. 8 shows a diagram of a dual-branch model for each sensory pipeline for multi-sensor modular autonomous.

FIG. 9 shows how the disclosed ResNet-18 feature extractors undergo Knowledge Distillation to train MEE-MDD using the first two blocks.

FIG. 10 shows a diagram of the structure of the hierarchical agent for runtime mode selection.

FIG. 11 depicts the variation of latency and energy analysis with respect to channel capacity. Energy as bar charts, Latency as plot lines.

FIG. 12 depicts the variation of latency and energy analysis with respect to queuing capacity. Energy as bar charts, Latency as plot lines.

FIG. 13 shows action selection frequencies (%) breakdown across the 3 policies at mAPtth=0.68 and ρρ=0.97. Numbers next to the bars indicate the average experienced mAP (AMAP) for the evaluation dataset inputs mapped to each action.

FIG. 14 compares energy and risky Actions policies, irrespective of the energy or robustness due to the LLLth constraint. Such behavior is learned by our DDDDLL solution given how the action selection frequencies closely imitate that of the 000000000000.

FIG. 15 shows one implementation of the DRL training environment.

FIGS. 16, 17, 18, 19, 20, 21, 22, 23, 24, and 25 show various tables that provide objective indicia of novelty, non-obviousness, and inventiveness of the technology disclosed.

FIG. 26 shows an example computer system that can be used to implement the technology disclosed.

DETAILED DESCRIPTION

The following detailed description is made with reference to the figures. Example implementations are described to illustrate the technology disclosed, not to limit its scope, which is defined by the claims. Those of ordinary skill in the art will recognize a variety of equivalent variations on the description that follows. Reference will now be made in detail to the exemplary implementations of the present disclosure, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.

The following discussion is presented to enable any person skilled in the art to make and use the technology disclosed and is provided in the context of a particular application and its requirements. Various modifications to the disclosed implementations will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other implementations and applications without departing from the spirit and scope of the technology disclosed. Thus, the technology disclosed is not intended to be limited to the implementations shown but is to be accorded the widest scope consistent with the principles and features disclosed herein.

The systems, devices, and methods disclosed herein are described in detail by way of examples and with reference to the figures. The examples discussed herein are examples only and are provided to assist in the explanation of the apparatuses, devices, systems, and methods described herein. None of the features or components shown in the drawings or discussed below should be taken as mandatory for any specific implementation of any of these devices, systems, or methods unless specifically designated as mandatory.

Also, for any methods described, regardless of whether the method is described in conjunction with a flow diagram, it should be understood that unless otherwise specified or required by context, any explicit or implicit ordering of steps performed in the execution of a method does not imply that those steps must be performed in the order presented but instead may be performed in a different order or in parallel.

The detailed description of various implementations will be better understood when read in conjunction with the appended drawings. To the extent that the figures illustrate diagrams of the functional blocks of the various implementations, the functional blocks are not necessarily indicative of the division between hardware circuitry. Thus, for example, one or more of the functional blocks (e.g., modules, processors, or memories) may be implemented in a single piece of hardware (e.g., a general-purpose signal processor or a block of random-access memory, hard disk, or the like) or multiple pieces of hardware. Similarly, the programs may be stand-alone programs, may be incorporated as subroutines in an operating system, may be functions in an installed software package, and the like. It should be understood that the various implementations are not limited to the arrangements and instrumentality shown in the drawings.

The processing engines and databases of the figures, designated as modules, can be implemented in hardware or software, and need not be divided up in precisely the same blocks as shown in the figures. Some of the modules can also be implemented on different processors, computers, or servers, or spread among a number of different processors, computers, or servers. In addition, it will be appreciated that some of the modules can be combined, operated in parallel or in a different sequence than that shown in the figures without affecting the functions achieved. The modules in the figures can also be thought of as flowchart steps in a method. A module also need not necessarily have all its code disposed contiguously in memory; some parts of the code can be separated from other parts of the code with code from other modules or other functions disposed in between.

Some implementations of the technology disclosed are directed to latency-critical real time intelligent systems, potentially with multi-sensory processing pipelines and deployed as a standalone or in a multi-level system hierarchy.

System and Methods

FIG. 1 illustrates an architectural diagram of a system of the technology disclosed. FIG. 1 depicts a vehicle 100. In other implementations, vehicle 100 can also be represented by a data processor of the vehicle 100. The data processor has compute resources that are on the data processor, also referred to as local compute resources 156 (e.g., ALUs, NICs, CPUs, FPGAs, GPUs, CGRAs, ASICs, etc.). The data processor has memory resources that are on the data processor, also referred to as local memory resources 166 (e.g., LUTs, latches, SRAMs, DRAMs, etc.). The data processor has compute resources that are off the data processor, also referred to as edge compute resources 106 (e.g., ALUs, NICs, CPUs, FPGAs, GPUs, CGRAs, ASICs, etc.). The data processor has memory resources that are off the data processor, also referred to as local memory resources 116 (e.g., LUTs, latches, SRAMs, DRAMs, etc.). The edge compute and memory resources 106 and 116 can be hosted on a server (e.g., on the cloud). In some implementations, some or all of the edge compute and memory resources 106 and 116 are hosted on a server (e.g., on the cloud). In other implementations, some or all of the edge compute and memory resources 106 and 116 are hosted on the client-side but not on the data processor, e.g., on another data processor or on another die, or on a host processor (e.g., CPU) attached to the data processor.

The vehicle 100 comprises a plurality of sensors 102 configured to generate sensory streams 104 characterizing at least one scene. The vehicle 100 comprises a runtime logic or (processing domain) 126 configured to identify objects in the scene by executing one or more object detection pipelines in a plurality of object detection pipelines (or dynamic networks) that is configured to process the sensory streams 104.

The plurality of object detection pipelines comprises one or more local object detection pipelines 150-160 each configured to execute entirely on compute and memory resources on the vehicle (e.g., the local compute resources 156 and the local memory resources 166). The plurality of object detection pipelines also comprises one or more edge object detection pipelines 108-110 each configured to execute at least partially on compute and memory resources off the vehicle (e.g., the edge compute resources 106 and the edge memory resources 116). In some implementations, the edge object detection pipelines 108-110 are configured to execute entirely on the compute and memory resources off the vehicle (e.g., the edge compute resources 106 and the edge memory resources 116).

The vehicle 100 comprises a control logic 136, in communication with the runtime logic 126. The control logic (or controller domain) 126 is configured to generate a current control signal 138 that makes a current selection 128 of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic 126 to cause processing of current sensory streams through the currently selected object detection pipelines. The current control signal 138 is generated based in part on results 148 of processing at least some of previous sensory streams. A previous control signal makes a previous selection of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic 126 to cause processing of the previous sensory streams through the previously selected object detection pipelines.

The technology disclosed features a multi-sensor machine learning system capable of offloading processing to an external server to efficiently improve energy efficiency of the system. The system may comprise a local computing device. The local computing device may comprise a processor comprising one or more execution branches, each execution branch capable of executing computer-readable instructions.

The local computing device may further comprise a memory component operatively connected to the processor and the one or more sensors, communicatively coupled to a cloud server, comprising computer-readable instructions that, when executed by the processor, causes the processor to perform operations comprising accepting one or more sensor outputs from the one or more sensors, encoding the one or more sensor outputs into one or more compressed sensor outputs, each compressed sensor output comprising one or more features, and calculating an optimal split of the one or more compressed sensor outputs into a first portion of data and a second portion of data. The optimal split may comprise a split of data that maximizes energy efficiency of the processor and minimizes a size of the first portion of data. The computer-readable instructions may further comprise splitting the one or more compressed sensor outputs into the first portion of data and the second portion of data, transmitting the first portion of data to the cloud server, processing the second portion of data into a compressed second portion of output, receiving a compressed first portion of output from the cloud server, decompressing the compressed first portion of output and the compressed second portion of output into a first portion of output and a second portion of output, respectively, and fusing the first portion of output and the second portion of output into an output.

The system may further comprise the cloud server communicatively coupled to the local computing device, comprising computer-readable instructions for receiving the first portion of data from the local computing device, processing the first portion of data into a compressed first portion of output, and transmitting the compressed first portion of output to the local computing device.

In some implementations, the one or more execution branches of the processor may comprise a failsafe branch. The memory component may further comprise computer-readable instructions for detecting a diminished connection between the local computing device and the cloud server, receiving a partially completed first portion of output from the cloud server, and processing, by the failsafe branch, the partially completed first portion of output into the compressed first portion of output.

In some implementations, the memory component may further comprise one or more deep neural networks (DNNs) for converting the second portion of data into the compressed second portion of output. The processor may comprise two or more execution branches. The one or more sensors may comprise RADAR, LIDAR, camera, or a combination thereof. In some implementations, the memory component may further comprise a deep reinforcement learning model for assessing a function and efficiency of the local computing device and altering or reinforcing a function of the processor and the DNNs.

The technology disclosed features dynamic architectures that facilitate optimizing for robustness and energy efficiency by means of simpler computing modules and remote edge computing. Specifically, an element of dynamicity is incorporated within the system through having multiple computing branches distributed across the platform(s), each with its own performance and prediction quality footprint. The dynamics of computation-communication conditioned on diverse runtime contexts were modeled to obtain an estimate of the expected performance gains for every branch in the architecture. Typically, the extent of these performance gains is governed by the nature of real-world environments in which systems such as autonomous systems operate, where they experience diverse distributions of input signals, system characteristics (e.g., battery discharge), and runtime conditions (e.g., wireless quality). The technology disclosed features two use cases: (1) across a two-level hierarchy supporting both offloading and early-exiting—the latter being a more efficient and simpler execution path than the primary. In fact, the early-exit can be instantiated for both the primary and fail-safe execution paths (recall the latter is when response is delayed from the cloud and local execution must be activated)—tested on both autonomous AVs and UAVs; (2) For heterogenous multi-sensor modular autonomous driving systems employing late sensor fusion and vehicular edge computing (i.e., offloading tasks to vehicular edge server). A brief description of the generic workflow is provided below.

At t, sensory measurements are inputted to the first computing modules of the pipeline, which are typically perception modules. To support efficient offloading without incurring much overhead, the first component of the perception module is an encoder-decoder structure, which enables shrinking the high dimensional inputs at the encoder output to a lower representation suitable for offloading if needed. The decoder scales back the data into a larger representation compatible with the remainder of the model. To this end, a mapping block is placed after the encoder's output to map the feature representations to the most suitable execution branch—which can be transmitted to the remote server. Next, execution progresses through the remaining computing components in each pipeline's active branch until a merger point. At this point, feature representations are passed on to two paths: 1) continuation of the primary execution path and its remaining blocks, like control and/or sensor fusion components; 2) a secondary branched-out path in which representations experience global pooling to serve as inputs for the controller based on DRL to provide control signal for the mapping block in the following time-step. Lastly, the critical operational latency deadlines are kept through either designating one of the local branches as a fail-safe if responses are delayed, or continuously keeping one of the sensory pipelines executed locally in the multi-sensor pipeline.

In-model compression has become a prominent approach for achieving efficient split-computation between the local platform and the remote server by realizing optimal offloading points early in the model. Formally, a DNN model M can be split into two parts: a head MH and tail MT to be deployed on the local and edge server platforms, respectively. The direct approach to select the splitting layer, l, has been to identify the layer at which the output zl=MH(x) becomes smaller in size than the input x to decrease transmission overhead. Oftentimes, this criterion is only met at the latter layers for many DNN architectures, which leads to increased local computation. Instead, recent split computing works proposed the notion of in-model compression, in which a modified model version M′ would comprise 3 sections: ME, MD, and MT. Submodels ME and MD represent a specialized form of an encoder-decoder architecture replacing the original MH. From here, ME would serve as the new head M1H while the concatenation MD and MT would be deployed on the edge server. Conceptually, ME is introduced to obtain the compressed form z′l=ME(x) prematurely in the network to realize an early optimal offloading point within M′. MD on the other hand serves two purposes: (i) ensuring that z′=MD(ME(x)) maintains the same spatial dimensions as the original input to MT, and (ii) minimizing the loss incurred by M′ due to the proposed structural modifications of ME and MD. In terms of the latter, techniques inspired by knowledge distillation (KD) have shown tremendous promise in maintaining the accuracy of M′ on par with that of the original M.

The mapping block maps the encoder output (or the early feature maps in general) managed by a control signal outputted from the DRL controller detailed in the next section.

The branches instigate variations of the latter components of the DNN models. The branches can either be simpler versions of the tail modules or a surrogate execution path on a remote edge server platform, either of which can offer opportunities for resource efficiency for tail model. For the former, a modular neural architecture search (NAS) and knowledge distillation techniques was implemented, where the original state-of-the-art network (e.g., ResNet®-50) was broken down into modular blocks, and then derived simpler blocks from each through the employment of simultaneous search space exploration and distillment of knowledge from the original blocks. This concept was used with ResNet®-50 and ResNet®-18 architectures on both end-to-end imitation learning control and object detection to achieve energy gains with little-to-no effect on the prediction quality; For the latter, a fork is placed after the mapping block one branch of the model to be deployed on the remote edge server to leverage offloading gains.

The key contribution of the technology disclosed is leveraging the abstract features computed towards the end of the dynamic model as contextual inputs for the controller in D2. To achieve this, a global pooling layer is applied to the outputs of the last feature computing blocks to lower their dimensional representations before routing them to the DRL domain, with the reason being to realize a lightweight controller of low complexity and virtually no latency or resource overheads. For the final computing blocks receiving outputs from the multiple branches, an imitation learning control block was implemented receiving the output from the corresponding active branch, and a late fusion block to fuse the outputs from the active branches in each sensor pipeline in the technology disclosed.

The technology disclosed features an offloading fail-safe element to reinvoke one of the local branches if responses from an active remote branch are delayed due to wireless channel impairments and modeled the overhead of such fail-safe invocation as part of the performance characterization. In the technology disclosed, it is ensured that there is always at least one sensory pipeline executing locally at all instances—most likely the radar pipeline given how in real autonomous driving systems it is poised to override control in case of an imminent collision. Furthermore, the fusion block was implemented to execute at the end of its time window t regardless of which inputs are available, so that predictions are provided in a timely manner. The technology disclosed can apply corrective behavior in real-time, practically negating the effects of such factors.

Two requirements derived the implementation of the controller: (i) it should be lightweight and adept at capturing contextual information; (ii) controller's processing should conclude before the mapping block to maintain application integrity. The proposed DRL solution satisfies both principles through discerning the contextual and temporal patterns within the data streams and wireless network. Specifically, the sensors typically capture data at high sampling frequencies (10-30 FPS in modern camera/lidar sensors) where they exhibit strong spatio-temporal correlations between successive samples, and hence the logic behind reusing the already generated abstract representations in the processing pipeline from the previous time window t−1 to estimate the context for the current time window t; (ii) the abstract representations do not need exhaustive processing and enable generating the control signal in virtually no time.

Another critical component is the training of the controller on policies that optimize the overall system performance with regards to energy efficiency and robustness while abiding by the latency constraints. In that sense, the DRL learning based approach in which the agent takes in the current state observation—contextual abstract features, wireless conditions, and auxiliary information—and maps them to actions spanning the different branch execution options. The DRL's choices are assessed based on a composite reward function that factors in: (i) An error metric evaluated relative to the score of the baseline primary full branch; (ii) the energy consumption overhead experienced by the edge device due to the selected branch; and (iii) the latency constraint which can be incorporated either explicitly or implicitly as part of the prior two objectives. For instance, in the technology disclosed, the fact that there is always a recovery fail-safe mechanism means that no execution deadlines are missed, but the energy overhead from activating the fail-safe routine can be daunting. In the simplest of forms, the reward can be defined in a weighted sum manner, with potentially higher weight assigned to the error objective to prioritize system robustness. The technology disclosed features a novel composite reward structure that evaluates differently according to: (i) how general constraints are satisfied (e.g., a robustness threshold is met); (ii) specific sensor pipeline latency constraints (e.g., did that pipeline manage to provide output for the fusion block), and (iii) the energy efficiency conditioned on the prior satisfaction of the above two criteria.

FIG. 6 shows two frames of different complexities showing single camera and late fusion mAP scores and the selected operational modes by our learning-based solution. The bounding boxes indicate the ground truths from the dataset. We implement a Deep Reinforcement Learning (DRL) based runtime solution that leverages contextual and temporal correlations in the data to optimize the offloading process for latency, energy, and robustness given concurrent pipelines. Experiments on the object detection use-case using a real-world driving dataset and an industry-grade ADS indicate that our approach is 14.99% more energy-efficient than local execution while achieving a 77.06% reduction in risky behavior form a robust-agnostic baseline. In FIG. 6, we show two frames from the Radiate dataset, and compare their mean average Precision (mAP) scores on the object detection task. As shown, the left frame instantiates a complex scene with numerous objects of diverse classes, some of them superimposed or obstructed from view leading to relatively low mAP scores. Still, we observe that through fusing the outputs from all sensory pipelines (2 cameras, lidar, and radar), an mAP score of 17.6% is realized, which surpasses the highest score achieved by a standalone sensory pipeline output—11.7% from the right stereo camera. This alludes to the power of sensor fusion as each sensor can capture its own unique set of features that complement those from other sensors to provide more comprehensive views of the driving scenes. On the flip side, the right frame contains a mere single vehicle that is easily detectable by the standalone camera, achieving a 100% mAP score. From here, we can contemplate the desired behavior when VEC is supported with regards to tuning the operating mode. Specifically, an ADS experiencing plain driving scenes can opt for offloading processing loads from a subset of sensory pipelines for resource efficiency, because although delayed server responses could cause some partial outputs to be absent by the execution deadline, partial fusion of the available local outputs would suffice for this time window due to the relative simplicity of the scene. Contrarily, complicated scenes should have all sensor outputs available for fusion to stimulate robustness, which is only achieved during local execution mode as the uncertainty of the wireless networks is avoided. This behavior would be learned by our disclosed solution as will be detailed below.

Example

The following is a non-limiting example of the technology disclosed. It is to be understood that said example is not intended to limit the technology disclosed in any way. Equivalents or substitutes are within the scope of the technology disclosed.

Imitation Learning: The approach instigates a model learning how to imitate human experts' behavior with regards to a specific control task (e.g., self-driving), where a model can learn through supervised learning to minimize a loss function between its predictions and ground-truth values. Mainly, there are two primary components: (i) Perception; to perceive events occurring in the environment, sensing modalities are provided to the AS through sensory equipment (e.g., vision through mounted cameras) to abstract higher state representations from the collected data through a processing model (e.g., DNN), and (ii) Control; concatenated at the end of the perception pipeline to receive its outputs—in addition to any available control inputs (e.g., turn left signal)—and translate them into the necessary control outputs.

Modular Pipelines: This is the standardized approach for implementing industry-grade processing pipelines for AS, which relies on having independent modules placed at different parts of the computing pipeline, each receiving the partial outputs from the preceding module(s) for processing to provide new partial outputs for the subsequent module(s) until the final control unit outputs are generated, where every module is responsible for a specific learnable task—as how the outputs from perception and localization modules in an ADS are provided to a planning module. Since perception comprises the bulk of the processing load, directing offloading optimizations towards its modules can maximize performance gains across the entire pipeline. FIG. 7 illustrates the disclosed modular industry-grade autonomous driving system (ADS). For perspective, we briefly describe the primary modules that compose a state-of-the-art ADS shown in FIG. 7 as follows. Perception: As the main receptor of the raw sensory data, the perception module is responsible for processing the data over two successive computing blocks. The first is an object detector to identify and classify objects of interest, e.g., pedestrians and vehicles, that surround the ego vehicle. A tracking module ensues to receive identified objects and associate them with their past movements so as to predict the current movement trajectory. Localization: Another module taking in the raw inputs is the localization module, whose task is to pinpoint the position of the vehicle at high precision using SLAM/GPS modules. Planning: Outputs from the perception and localization blocks are fused together onto the same 3D co-ordinate space for further processing by the behavioral and motion planning block. From here, a series of sequential path information can be generated from starting position until the endpoint. Control: The final block tasked with mapping the information generated from the planning block onto control instructions for the actuators (e.g., driving wheel, brakes, accelerator).

One prominent approach for achieving efficient split-computation between the local platform and the edge server is the application of in-model compression to obtain optimal offloading points. Formally, a DNN model M can be split into two parts: a head MH and tail MT to be deployed on the local and edge server platforms, respectively. The direct approach to select the splitting layer, t, has been to identify the layer at which the output zl=MH(x) becomes smaller in size than the input x to decrease transmission overhead. Oftentimes, this criterion is only met at the latter layers for many DNN architectures, which leads to increased local computation. Instead, recent split computing works proposed the notion of in-model compression through a bottleneck, in which a modified model version MT would comprise 3 sections: ME, MD, and MT. Submodels ME and MD represent a specialized form of an encoder-decoder architecture replacing the original MH. From here, ME would serve as the new head MlH while the concatenation of MD and MT would be deployed on the edge server. Conceptually, ME is introduced to obtain the compressed form zzl=MM #(xx) prematurely in the network to realize an early optimal offloading point—bottleneck—within. MD on the other hand serves two purposes: (i) ensuring that z′=MD(ME(X)) maintains the same spatial dimensions as the original input to MT, and (ii) minimizing the loss incurred by M′ due to the proposed structural modifications of ME and MD. In terms of the latter, techniques inspired by knowledge distillation (KD) have shown tremendous promise in maintaining the accuracy of M′ on par with that of the original M.

A supplementary model was branched out from the primary processing pipeline to be leveraged for both the main and secondary execution routines as a more energy-efficient alternative. To achieve this, this branched model would comprise simpler computing modules than those of the main processing model, reducing the latency and energy consumption overheads from local execution. This was denoted as the simpler model as the early-exit model. The technology disclosed features the early-exit model in the final system architecture as the aggregation of MD and MSM#%, following the shared ME.

Given their simpler composition, early-exit models are not as accurate as their primary counterparts, and hence, they are only invoked when the input sample belongs to the distribution of canonical samples exhibiting low complexity features. Since numerous AS applications belong to the class of regression problems (e.g., predicting control outputs), conventional approaches for deciding on the early-exiting decision based on classification confidence estimates are not directly applicable. Instead, the early exit used a modular approach, namely blockwise neural architecture search (NAS) whose advantages are fourfold: (i) A modular approach aids in identifying which blocks are the most sensitive to alterations with regards to the task at hand, allowing optimizations to be targeted towards the less-critical blocks, (ii) Customization of search blocks is supported, enabling the inclusion of desired edge computing features as incorporating a bottleneck in the first search block, (iii) The rendered simpler execution path can be leveraged for energy efficiency along both the primary and fail-safe execution paths with minimal impact on the model utility, and (iv) A student model's accuracy is not necessarily bound by that of the teacher.

Neural Architecture Search (NAS) is an established method to automate DNN model design through identifying architecture α* that achieves the best performance on a target task. Typically, a NAS search space is defined as a large supernet A with shared parameter weights W, and α*∈A is a subnet within. To manage the colossal search overheads, prior approaches proposed to divide the search space A into smaller successive independent supernets Ai with each block i possessing its shared weights Wi, leading to an exponential reduction in the search space size and the overall design turnaround time. Thus, given inputs X and ground truth values Y, α* is formed by aggregating N subnets from the search blocks which satisfy:

αα * = 0000 ⁢ aa ⁢ mmmmmm ⁡ ( αααα ⁢ AA ) ? LL + , - ( WW ? * ( αα ( ) , αα ( ; ❘ _ * ⁢ yy ) ( 1 ) ss . tt . WW * = mmmmmm ⁡ ( WW ( ) ? / 0 , ( 1 ( ? , AA ( ; ❘ _ * , yy ( ) ( 2 ) ? indicates text missing or illegible when filed

where yi-1 and yi represent the inputs and ground truth labels for search block i, respectively. Practically, pre-trained DNN models on the same task can be leveraged as teachers to obtain yi and yi-1 from their intermediate data representations at different stages, which allows guiding the search process for each search block i. In words, the main building blocks comprise a DNN architecture, such as the four primary blocks of stacked layers in a ResNet® architecture, are designated as separate teacher blocks, each with its input and output representations utilized as guides for the corresponding search block. Therefore, using knowledge distillation (KD), the training and validation loss estimates, Ltrain and Lval, between block predictions yyC((⋅) and the teacher ground truth values can be given by:

LL / 0 , ( 1 ( WW ( , AA ( ; ❘ ( - * , yy ( ) = * ? yy ( - ? ( ? *) 3 ( 3 ) LL + , - ( WW ( , AA ( ; ❘ - * , yy ( ) = * 2.5 ? ( 7 ) yy ( - ? ( ? *) 3 ( 4 ) ? indicates text missing or illegible when filed

in which K is the number of output neurons, σ(yi) is the standard deviation of yi, and j is for the function degree. The loss estimate in Lval is normalized relative to the corresponding σj(yi) to ensure fairness since feature map sizes can differ from one candidate partial model to the other within a search block. Without any loss in generality, it was found that for experiments setting j to 2 for Ltrain (Mean Squared Error) and to 1 for Lval (Mean Absolute Error) worked well. After the initial search process has concluded, partial model rankings are rendered for each search block according to Lval. If there are no target performance constraints, then the top-ranking partial models from each block can be concatenated to construct the complete DNN model However, as the goal here is to obtain more efficient computational blocks for the early exit, a target performance constraint (e.g., latency) denoted by Ctarget needs to be satisfied. To avoid the prohibitive act of evaluating each possible combination of partial models, a lookup table was constructed for the performance costs of each candidate operation within a search block (which in the case of latency are obtained through hardware measurements). Then, it was estimated the maximum allowable cumulative performance cost for each block Ci as:

CC ⁡ ( = ∑ ? OOccsstt 1 = CC / .09 : / - ∑ 1 * ) ⁢ ( ; * ? _OOccsstt 1 ( 5 ) ? indicates text missing or illegible when filed

where min_costn is the minimum cost for a partial model at block n estimated from the pre-calculated lookup table. Once each block's maximum cost Ci has been estimated using a traversal search can be performed starting from the first search block, and recursively going through the partial models of the subsequent blocks as long as the corresponding Ci constraints are satisfied. In other words, the testing of subsequent blocks is skipped if the current partially constructed model at block i has a cumulative performance cost that exceeds Ci. Furthermore, once a model satisfying the constraint has been identified, the search returns to the previous block to avoid testing inferior models.

FIG. 3 illustrates how the final rendered computing modules are to be distributed across the local platform and the edge server for the deployment stage. As shown, ME with the optimal offloading point from the first student block is placed locally to be shared by all possible execution paths. Conversely, MD is replicated across both execution domains, with the subsequent computing blocks from the original teacher model concatenated at the end of MD forming the full tail model, MSM<=--. Furthermore, the local domain possesses an extra local early exit tail MSM#% following MD as well which is constructed from the remaining student blocks, which can be invoked for the primary or fail-safe operation. All execution paths converge to supply inputs for the following module in the AS pipeline until final predictions are mapped onto physical control outputs. From this arrangement, an ample decision space of operational modes is presented that can be exploited to maximize resource efficiency based on the corresponding deployment conditions.

The challenge for an AS employing edge computing during deployment is to maintain an efficient and reliable operation in face of the wireless channel uncertainty which can negatively affect performance. To realize a control performance close to the optimal, a learning-based approach was implemented that can capture the underlying distributions of the dynamic parameters characterized by complex spatio-temporal patterns so as to tune the operational control knobs at runtime accordingly. With this setting, 2 crucial guiding principles were pinpointed for any runtime solution implementation: (i) it should be light-weighted so that the AS would not incur additional excessive processing overheads while being able to capture the desired contextual information from the environment, and (ii) the solution must maintain the application integrity with regards to latency, that is, the mode selection decision should be made available before execution paths diverge.

Deep Reinforcement Learning Solution

The technology disclosed features a deep reinforcement learning (DRL) solution to extract contextual knowledge and discern temporal patterns within both the collected data streams (e.g., mounted camera feed) and network conditions to determine the best execution strategy for an AS. The novelty of the DRL implementation is that it follows the aforementioned guiding principles as follows: (i) since AS applications process data samples collected at high sampling frequencies, strong temporal correlations exist between successive samples, and thus the abstract representation obtained from the processing pipeline at time window t−1 can be leveraged for constructing the contextual observation of the following time window t, and (ii) leveraging abstract representations imply that no exhaustive processing is needed by the DRL, allowing the solution to be compact as desired. FIG. 4 portrays the disclosed information flow between the processing and DRL domains. Mainly, the DRL reuses abstract features and the fail-safe invocation flag from the processing domain at t−1 to guide its decision for the window t. FIG. 4 illustrates this sequence of information passing over successive windows t−1 and t, where the abstract data representations Ft−1 and the offloading fail-safe invocation status It−1 represent the information of interest for the observation at window t as they reflect the data sample's complexity as well as the stability of the wireless network. Formally, the components of the DRL solution are as follows.

State Space: the observation at time t is given as ot={φt, Ft-1, It-1}, where φt represents the corresponding probed channel capacity, while Ft-1 and It-1 are the respective abstract feature representations and the fail-safe invocation flag at t−1. Given how φt (in Mbps) sustained at the AS can be approximated based on the prior experienced end-to-end latencies and transmission data sizes, it can fail to capture the intricate variations in the networking environment that may delay server response times, and cause the reactivation of the local resources as the secondary execution routines. Thus, through monitoring the fail-safe invocation status, It-1, insight can be gained for the immediate state of the network in terms of stability to account for the possible lags of pt. The technology disclosed also includes a state buffer that enables stacking observation ot with the prior k observations to form the final state representation st={ot, ot-1, . . . , ot-k}. The rationale behind having this state buffer is to add another dimension to the temporal correlations between different observations if needed by the target application without complicating the DRL implementation, i.e., keeping it as a lightweight solution.

Action Space: The action space A defines all possible actions that can be taken given a state s∈S. In the case of edge computing for AS, A represents the set of all potential execution strategies which was defined as A={Edgefs1, Edgefs2, Localfull, Localexit}, where Edgefs1 and Edgefs2 are the decisions to execute at the edge server with the distinction in the subscripts, fs1 and fs2, reflecting the offloading fail-safe choices of

MM ⁢ <= - $ ⁢ or ⁢ MM # ⁢ % $ ,

respectively. Localfull and Localexit are the respective full and early-exit local execution strategies.

Agent: Through a Q function that can estimate the value of actions for any state s, a DRL agent can identify the optimal action at each t, at=arg maxa∈AQx(st), given st under a learnt policy π. To better manage the continuous state space of the environment, experimenters adopted a Deep Q-Learning approach to approximate Qx by a policy network that is trained to maximize a reward function, R=f(λ, Etotal, error), which directs the network to select actions that minimize the error and energy consumption Etotal given the trade-off parameter, as both metrics are impacted by the choice of execution strategy. Specifically, experimenters intended for the DRL agent to learn a function that selects the most convenient action a∈A depending on the perceived scene complexity and the networking conditions, where the rationale is to set the λ parameter to a value that allows the DRL agent to learn a policy that selects the most energy efficient action iff the scene exhibits low complexity characteristics (encoded through the error metric), or else an action that instantiates the full model pipeline will be chosen. Etotal comprises the local and transmission overheads, whereas error can be evaluated as the estimated loss function from the already trained full model predictions—that is, the Mean Absolute Error (MAE) between predictions and the true labels from a supervised learning dataset. It was remarked that the interest here is only in the evaluations of the loss function to compute the DRL reward for the agent's training. The full and exit models are already trained by this point. Without loss of generality, experimenters employed a Double Deep Q-Network (DDQN) and define R as:


R=−λ*Etotal+−(1−λ)*error  (6)

To train the policy network, experimenters needed to capture the wireless network uncertainty within the DRL training process through estimates of the channel capacity, p, and abrupt interruptions that trigger the fail-safe represented by the flag, I.

Through collecting traces of channel capacity p, experimenters were able to fit them into a Rayleigh distribution—widely adopted for wireless communications. This would enable approximating channel capacity estimates as independent and identically distributed (i.i.d.) random variables sampled for the DRL training as φ~Rayleigh(0, σ), with σ being the scale factor.

The aim here is to imitate potential random network fluctuations experienced within the AS environment within the DRL environment, where the end-to-end latency when offloading can be pushed beyond the pre-specified deadlines, triggering the secondary local execution routine, and changing the system state into what experimenters denoted as a failure state. From here, experimenters characterized the rate of moving to this failure state as failure rates within the emulation environment, and leveraged a Markov model comprising two states—stable and fail. The reasons for adopting this Markov approach are two-fold: (i) the primary concern is whether failure state has been accessed or not, irrespective of which random delay component from δ caused it, and (ii) In actual deployment scenarios, it is difficult to discern in real-time the cause of this transition considering the milliseconds operational scale.

The transition probabilities between the two states are given by p(f ail) and p(rec), with the former capturing the overall failure rate over the duration of operation, whereas the latter is for the probability of recovery and returning to the stable state. p(rec) is defined independent of p(f ail) to maintain a degree of randomness over the duration the system remains in a failure state, that is, for how many successive time windows does the system incur invocations of the secondary execution routines until it transitions back to the stable state. Consequently, the temporal patterns of network quality degradation experienced in the runtime environment due to motion, terrain and surrounding object variation can be emulated. Hence, experimenters set p(rec) to 0.5 representing an equally likely chance to recover from or remain in the failure state.

FIG. 15 shows one implementation of the DRL training environment. Algorithm 1 describes how to generate the temporally correlated states to train the DRL. The first component, correlated inputs in line 2, represents a batch of consecutive data points that share a temporal relation (e.g., consecutive frames from a camera), which is needed by the DRL to learn how to estimate the data complexity for a sample i using the abstract representation of the preceding sample, Fi−1. In lines 4-8, the corresponding data rate estimate, φi, and failure state, mi are sampled and used to construct the corresponding observation, which can be aggregated with the prior k observations to construct an ensemble state. With these states, a typical DRL training procedure in lines 9-15 is performed where the agent interacts with the environment through exploration and exploitation, and samples experiences from its replay buffer to train its policy network until convergence.

The technology disclosed was compared against Sage® and Hydra® strategies employing collaborative edge computing with offloading fail-safe measures—the former for end-to-end control in ADS while the latter for UAV navigation. In brief, Sage®'s operational principle is to determine each time window, t, whether to execute locally or offload to an edge server based on whichever action is perceived to be more energy-efficient given a critical latency threshold. Their fail-safe is to re-invoke the remainder of the full local execution pipeline whenever the threshold T−LFS is reached based on corresponding estimates of the data rate, (p. As for Hydra®, it employs a more lenient deadline policy that can tolerate missing 6 successive deadlines. Specifically, it entails two operational modes when connected to a single remote edge server: (i) Performance (P); where computation is delegated to the server for energy efficiency as long as the execution deadline, T, is met, and (ii) Reliability (R); where the local pipeline is activated as a fail-safe alongside the remote execution pipeline when 6 successive deadlines are missed. Once the latency of the remote server execution falls below T once more, Hydra® switches back to Performance (P) mode. Experimenters followed their specifications and performed the analysis using 720×1280 (720p) and 360×640 image sizes for the respective ADS and UAV experiments, and set their critical deadlines, T, to 100 and 150 ms, respectively.

Experimenters trained and used ResNet®-50 and ResNet®-18 architectures as the teacher models. These architectures comprise ResNet® backbones, supplemented with relevant backends according to the AS application—conditional imitation learning component for vehicle control and the region proposal network components from Faster R-CNN for object detection. To facilitate upcoming comparisons, experimenters kept the architectural parameters of the earliest student block with the bottleneck, where experimenters used 3 and 6 output channels at the bottleneck offloading point (ME output) for the respective applications, leading to data transmission sizes 64× and 32× less than that of the inputs, respectively. These student blocks with bottlenecks are trained using blockwise KD from the first two corresponding ResNet® teacher blocks. The remaining two ResNet® teacher blocks are used to guide the blockwise NAS search for implementing the early-exit model with the search space descriptions provided in Table I in FIG. 16. Thanks to the modularity, experimenters only needed to run 3 search epochs for each teacher-student combination, with a learning rate of 2×10-3 and a batch size of 4, taking less than a day in total on a desktop machine with Nvidia® 2070 GPU. For the final traversal search, experimenters characterized Ctarget as the execution latency of the local exit model, and experimenters set it to 0.8× that of the local full model. The best performing model from the NAS satisfying Ctarget is rendered as the exit model.

End-to-end vehicle control is evaluated based on the Mean Absolute Error (MAE) between model predictions and ground truths for control outputs—steering, acceleration pedal, and braking pedal angles. For scoring models on object detection, experimenters used the prominent mean Absolute Precision (mAP) with an intersection over union (IoU) threshold of 0.5 following the Au-Air dataset paper.

Experimenters used an Nvidia® Drive PX2 AutoChauffeur and an Nvidia® Jetson Nano as the hardware computing platforms for the ADS and UAV, respectively. To maximize hardware performance efficiency and benchmark local execution latency overheads, experimenters leveraged the Nvidia® TensorRT library to compile the DNN models as highly optimized inference engines on both experimental Nvidia® platforms. Mainly, experimenters kept the default TensorRT settings in which each first visible GPU on the respective platform is designated as the target inference unit—that is, the integrated Pascal-based GPU on the TegraX2® SoC for the Drive PX2 and the Maxwell-based GPU for the Jetson Nano. Experimenters ensured that no other applications are utilizing the hardware resource during the benchmarking process. Additionally, in order to estimate the local execution power, Pexec, experimenters adopted a system-level approach and monitor the difference in consumed power on the Drive PX2 during execution and idle times, which on average reaches ≈7 W when the deployed DNNs are invoked on the target onboard GPU. For the Jetson Nano, experimenters set Pexec to 4 W. Thus, experimenters had a common ground for directly comparing the execution and offloading overheads without the effects of the usual ‘on’ power. Predominantly, experimenters could evaluate the local energy consumption overheads Eexec=Lexec·Pexec using the aforementioned values. Whereas for Ecomm, experimenters followed the practice adopted by the relevant related collaborative intelligence works, and use the 4G LTE and WiFi data transfer power consumption models to obtain estimates for the communication power, Pcomm.

The DRL model comprises 5 fully connected layers. The first 4 layers take as input the abstract features, Ft-1, map them to a lower-dimensional representation, before concatenating them with It-1 and (Pt to be inputted to the final layer. In terms of added cost, the transmission overhead of Ft-1 from the edge server back to the local DRL domain—if needed—is negligible and can be aggregated with the returned results. For perspective, Ft-1 size is ≈0.5 kB for the ADS application incurring a transmission cost of <1 ms at 5 Mbps. In terms of the DRL architecture itself, it occupies ≈0.6 MB (40× less than the smallest processing model) and completes execution in <1 ms, satisfying the requirement to provide an output decision prior to the offloading point at the encoder's output ME(⋅)—which approximately takes 12 ms. Experimenters also performed empirical evaluations for the DRL's agent performance at k=1, 2, and found that for both the experimental datasets, setting k=1 worked fine.

Experimenters compared different ResNet® architectures with regards to the experienced MAE and latency to process input images of 720p resolution in Table II in FIG. 17. Experimenters denoted the trained baselines—the teachers—as ResNet®base, the primary model with the distilled bottleneck as

DDOOssRROOtt ⁢ ® ? , ? indicates text missing or illegible when filed

and the exit model from the block-wise NAS as

DDOOssRROOtt ⁢ ® ⁢ ? . ? indicates text missing or illegible when filed

The trained baseline ResNet®-50base model achieved an average MAE of 0.033 compared to the 0.032 achieved by prior systems, whereas its latency processing overhead reached 140.16 ms. Once the bottleneck structure has been integrated, the execution latency drops to 89.66 ms for the

DDOOssRROOtt ⁢ ® ? ? indicates text missing or illegible when filed

version. Even more so, the average MAE drops to 0.03, asserting how student architectures are not bounded by their teacher's performance. The top-performing model with an early-exit tail incurred a latency execution overhead of 70.91 ms, satisfying Ctarget as defined above. The average MAE for the exit model

DDOOssRROOtt ⁢ ® ? ? indicates text missing or illegible when filed

is slightly more than the full version reaching around 0.033. Similar trends were observed for the ResNet®-18 architectures, where the average MAE dropped from ResNet®-18base to

DDOOssRROOtt ⁢ ® - ? ? indicates text missing or illegible when filed

(0.032 to 0.027), and increased back for

DDOOssRROOtt ⁢ ® - ? ? indicates text missing or illegible when filed

0.033. The full and exit ResNet® model are to be arranged forming, in turn, the DRL action space.

Firstly, experimenters associated the robustness error parameters with the MAE evaluations, and through empirical evaluations on the training dataset, experimenters found that setting errth to 0.02 offers good energy optimization opportunities from leveraging the secondary exit path with little-to-no effect on MAE. In accordance with this setting, experimenters defined a reference optimal strategy to select the most energy-efficient action as long as the MAE difference between the full and exit models is less than 0.02 (i.e, ΔMAE<0.02), or else actions instantiating the full model pipeline would be selected. Experimenters compared the energy consumption at runtime of the proposed DRL solution against other strategies: Local, Sage®, and the reference optimal strategy. All energy evaluations are normalized with respect to that of pure local execution, and experimenters repeated the analysis for two DRL policies (at λ=0.01 and 0.05) trained at k=1 for each ResNet® architecture. These λ values were chosen after performing some parametric sweeps on both the logarithmic and linear scales, with the purpose of prioritizing robustness over energy efficiency. Given LTE communication and failure rates of 1%, 10%, and 20%, experimenters observed that the policies learned by the DRL solutions consistently outperform both the local and Sage® strategies in terms of energy efficiency across all scenarios. Most notably, the energy consumption for the ResNet®-50 at 2=0.05 dropped by up to 31% and 23.3% from SAGE for the 1% and 20% failure rates, respectively.

For the ResNet®-50s, mapping policies learned by the DRL lowered the average experienced MAE across the 3 failure rates (by a factor up to 1.2%) from the other two strategies that only utilize

DDOOssRROOtt ⁢ ® - ? ? indicates text missing or illegible when filed

This points out how the DRL not only learns how to leverage the exit pipeline for energy efficiency, but also to improve its predictions on a per-sample basis, exploiting Ft-1 to determine which samples are simple enough to map to the early-exit model. For the ResNet®-18 architectures, the energy consumption still drops even for the MAE-oriented policy at λ=0.01 by respective 1.7%, 9.6%, and 12.8%. However, the larger discrepancy in MAE between the full and exit ResNet®-18 models (see in Table II) makes it harder for the DRL to decrease MAE through the learned mapping policies. Still at λ=0.01, the DRL is capable of maintaining the MAE difference from strategies that only utilize

DDOOssRROOtt ⁢ ® - ? ? indicates text missing or illegible when filed

within <1% for all failure rates.

Experimenters performed a closer in-depth analysis of the policy learned by the DRL for the ResNet®-18 at λ=0.01 for the 20% failure rate scenario. Experimenters compared the behavior of the DRL policy against that of Sage® over a clip sequence of correlated input frames from Carla's evaluation dataset. Each frame is associated with a corresponding (p and failure state m from the DRL emulation environment. All MAE estimates are referenced against that of the optimal policy (OPT) defined above and depicted by the solid horizontal black line, whereas the bar plot in the background indicates the energy consumption difference between Sage® and the DRL for every indexed frame (as shown in the legend). For instance, a negative value for DRL-SAGE at a certain frame indicates that DRL is more energy efficient by the difference in mJ. Throughout the trace, experimenters observed that the DRL is able to recognize patterns of abrupt network interruptions, reverting to local execution to avoid the fail-safe high energy penalties. On top of that, the period (frames 45-80) over which the DRL behavior is the same as the optimal demonstrates how it also learned to exploit the local exit to improve on both the error and energy objectives.

As illustrated, Higher failure rates lead the DRL to opt for more local execution actions. Despite this, the ratio between attempted offloads that suffered an offloading fail-safe invocation by both the DRL and Sage® almost remains the same across the failure rates at around ≈5× less. Analysis using WiFi: Experimenters repeated the experiments for the more power-efficient WiFi technology. In Table III in FIG. 18, the energy gains for the ResNet®-50 architecture remain substantial, reaching 36.98% and 19.85% over Sage® while dropping the MAE by 1.68% and 1.25% for the 1% and 20% failure rates, respectively. For the ResNet®-18, the MAE-energy trade-off problem becomes more complicated as their slimmer structure and the negligible WiFi transmission overhead massively shrink the energy penalty for the early-exit fail-safe, making it a more appealing action choice, and subsequently leading MAE to increase (as the 2.22% increase for λ=0.1 at 20% case). At (λ=0.01), the MAE difference at 20% failure to <1% at the expense of a 0.92% increased energy consumption over Sage®. From here, experimenters deduced that the extent of performance gains is mainly dependent on the underlying model structure and the supported wireless technology.

Experimenters trained two baseline ResNet® architectures, ResNet®base, to guide the design process of the primary,

DDOOssRROO ⁢ tt ⁢ ® A = -- >/ @ ′ ,

and early-exit,

DDOOssRROOtt ⁢ ® : B ( / >/ @ ′ ,

models for object detection. In Table IV in FIG. 19, experimenters compared the mAP evaluations on the Au-Air dataset as well as the latency execution overhead on the Jetson Nano for 360×640 inputs. Typically, with each added optimization, the model execution overhead is lowered, reaching primary/exit latency combinations of 98.84/78.96 ms and 42.21/31.38 ms for the ResNet®-50 and ResNet®-18, respectively. In terms of mAP, experimenters first remarked for perspective that the mAP value estimates for models in the original Au-Air dataset paper ranged between 22~30%. The distilled

DDOOssRROOtt ⁢ ® - 50 >/ @ ′ A = --

reached 29.9% mAP—improving over its baseline teacher (which achieve 28.8%—which indicates how

DDOOssRROOtt ⁢ ® ? ? indicates text missing or illegible when filed

generalizes better with regards to the object detection task, whereas the mAP of the exit model

DDOOssRROOtt ⁢ ® ? ? indicates text missing or illegible when filed

is slightly less at 27.1%. For the ResNet®-18, the mAP evaluations degrade slightly with each incorporated optimization—from 27.3% to 26.8% to 26.3%.

Once more, experimenters associated the robustness condition error parameters with the MAE loss, and also found that setting errth to 0.02 also works for this set of experiments. Experimenters trained a DRL policy at λ=0.5 on the object detection losses and compared it against Sage®, Hydra®, and local strategies with regards to the change in mAP and energy consumption in Table V in FIG. 20. As all the competitor strategies employ a single model pipeline, experimenters first demonstrated—prior to assessing energy gains—how the input mapping function learnt by the DRL to execution pipelines can improve mAP scores over strategies that employ a single execution pipeline—be it the full or exit model. As shown in Table V, the DRL's dynamic input mapping consistently improves mAP scores compared to any strategy employing a single exit pipeline. However, mAP percentage changes are minute compared to the full model. For instance, the DRL offered slight mAP improvements (up to 0.54%) for the ResNet®-18 architecture and sustained minor drops (reaching −0.66%) for the ResNet®-50 as the failure rate increased. The increase or decrease in mAP score can be attributed to the difference in prediction scores between the full and exit pipelines in each architecture (see Table IV), as closer mAP scores between both ResNet®-18 model allowed the DRL policy to better converge on the error objective, and improve the average mAP scores. Even for the ResNet®-50, the fact that the max mAP drop is 0.66% out of a maximum possible of 9.4% (the % drop in mAP from

DDOOssRROO ⁢ tt ⁢ ® A = -- >/ @ ′ ⁢ to ⁢ DDOOssRROOtt ⁢ ® : B ( / >/ @ ′

in Table IV) indicates how the DRL still managed to learn an effective mapping function.

For energy consumption comparisons, experimenters first reiterated that Hydra® employs a soft-deadline policy that tolerates missing 6 consecutive T deadlines before activating the local pipeline alongside the remote one. The local pipeline is deactivated once more when the total execution latency drops below T. In the table, the DRL solution for the most part outperforms Hydra® at 6=1 by up to 10.59% and 13.42% for the ResNet®-50 and ResNet®-18, respectively, except for the ResNet®-50 1% failure rate case, in which the DRL is 7.75% less efficient. This is attributed to two things: (i) the fail-safe execution overhead in the ResNet®-50 is high, and (ii) At lower failure rates, Hydra® scarcely invokes redundant local executions. Nonetheless, their soft deadlines policy caused 38 out of the 3240 validation frames to miss their deadlines. As the deadline constraint gets looser (6=2), more frames miss their deadlines, and more energy consumption overhead is incurred by the DRL relative to Hydra®. Compared to Sage®, the energy gains are not as much as in the previous experiment because of the more relaxed T=150 ms, which has facilitated both more offloads and more slack time for receiving server responses before triggering the fail-safe, making Sage® a viable option here at low failure rates.

Experimenters took a more in-depth look at how the learnt DRL policy behaves compared to Hydra® (6=1) for the ResNet®-18 over a sequence of 6 correlated frames from the evaluation dataset at 10% failure rate. For each frame, experimenters showed the mAP scores for the full and exit models to gain a better insight into the DRL's choices. At first, both the DRL and Hydra® are opting for their offloading mode as it represents the most energy-efficient option. For the following frame at t=1, the network starts to experience interruptions, which initially led the DRL to incur an additional energy penalty due to the fail-safe invocation, whereas Hydra® missed its deadline and switched to Reliability (R) mode for the following frame at t=2. Through observing (Ft−1), the DRL can discern input scene complexity, and understands from the first two frames that the exit pipeline can serve as a better candidate for this corresponding input stream, which experimenters observed for t=2 as it attempts offloading once more but with the exit model as the fail-safe. Seeing network interruptions persist, the DRL designates the Localexit as the primary mode of operation to maximize energy efficiency. Once connectivity is restored, both strategies switch back to offloading modes. All in all, the DRL achieved 168 mJ net energy gains over Hydra® and an average mAP of 81.9% compared to the 81.7%.

Understanding the expected deployment conditions, integrating the offloading fail-safe overheads as part of the performance models, and encoding network disparities through a metric like failure rates enables designing a more effective runtime solution that is capable of better management of energy resources. From the experiments, although the technology disclosed generally achieved better performance efficiency for edge computing AS applications with hard execution deadlines, less-critical applications can benefit from more tolerant strategies, such as Hydra®, employing softer deadline policies that accept missing one or two deadlines before invoking redundant execution. Additionally, despite the changes in prediction errors being mild (<1% at the worst), the DRL solution can be curtailed for absolute robustness—that is, no mAP changes—through reducing its action space to offloading decisions only.

Experimenters also found that the blockwise NAS is extremely efficient in designing both the primary and exit pipelines due to the dramatically reduced search spaces which rendered exit models of performances close to their primary counterparts. In summary, experimenters found that the degree of effectiveness of the DRL solution dependent on combinations of (i) input sizes; for offloading is more relevant as the size of an input (processing load) increases, (ii) Choices of T and LFS; for larger fail-safe overheads close to T (as in T=100 for the ResNet®-50) makes local execution strategies much more appealing, (iii) Hardware; for local execution overheads are affected accordingly, and (iv) wireless technology; for some technologies incur a more power-efficient data transfer than others. For example, the 720p inputs, ResNet®18, T=100, Nvidia® PX2, and WiFi combination in the end-to-end vehicle control experiments did not offer any improvements over the state-of-the-art, unlike other combinations.

The technology disclosed features a methodology for reliable and efficient edge computing for AS operating under stringent execution deadlines. Firstly, the technology disclosed encompasses a modular approach for designing efficient DNN computing pipelines for edge computing supporting optimal offloading points and fail-safe mechanisms using blockwise NAS and KD techniques. Then at runtime, a DRL solution is provided to adapt the execution mode according to the sample complexity and the network status. The experiments for end-to-end control and object detection have demonstrated that the technology disclosed achieved energy gains up to 31% and 13.4% with averages of 15.9% and 5.3%, respectively, with <1% change in prediction scores.

Concurrent Pipelines Design

FIG. 8 depicts the proposed processing domain for object detection with our applied modifications given concurrent DNNs and a late fusion scheme detailed as follows. FIG. 8 also depicts the disclosed object detection with late fusion and offloading support. Blue blocks/variables are passed to/from the DRL domain. Transparent blocks are inactive.

Object Detection with Late Fusion

The late fusion scheme entails processing each sensory input separately before aggregating the outputs together through fusion. Specifically, there are two primary computational tasks:

Object Detection: For each sensor, an object detection pipeline is implemented to identify and classify objects in a scene. Initially, each model entails a feature extractor based on a Convolutional Neural Network (CNN), e.g., ResNet®-18 here, responsible for abstracting raw sensory data into smaller-sized features for the following detection model, e.g., Faster R-CNN network, which consists of a regional proposal network (RPN) to suggest regions of interest where objects may exist, a classification stage to categorize the objects within each proposal, and a final post processing stage to convert classified proposals into bounding box predictions.

Fusion: As the outputs from each pipeline are bounding boxes, experimenters directly fused them together using Non-Maximum Suppression (NMS) to calculate the intersection over union (IoU) and obtain an estimate on the degree of overlapping between each pair of bounding boxes from the overall set of predictions. If an IoU for a pair of boxes exceeds a predetermined threshold, the bounding box with less confidence score is discarded, and this operation repeats until all possible pairing combinations are covered.

To avoid the overhead of offloading raw inputs, experimenters scaled the optimal offloading point injection technique into each concurrent pipeline without compromising the overall utility as follows:

Structural Alterations: Experimenters altered the structure of the feature extractors (ResNet®-18 here) within each pipeline to minimize local computation overhead prior to the offloading point and downsize the transmissible data. Specifically, experimenters substituted a considerable portion from the earliest parts of a DNN with an encoder-decoder like structure of two functional components: (i) an encoder, ME, which offers an efficient offloading option at its output through shrinking the input data into a lower-dimensional representation that retains the most relevant of features, i.e., small output sizes translate to low communication overheads, and (ii) a decoder, MD, to receive outputs from the encoder and cast them back to higher dimensional representations of dimensions compatible with the remainder of the network. Here, experimenters replaced the first two residual blocks from each ResNet®-18 with an encoder-decoder structure.

Knowledge Distillation: Next, modified architectures need to be retrained to maintain utility. Experimenters applied knowledge distillation to train ME and MD through minimizing a loss function, e.g., mean squared error (LMSE), between MD outputs and those from the original parts, Morig. FIG. 9 illustrates this for our ResNet®-18 with the loss component for a single input xx given by:

L SE = ❘ "\[LeftBracketingBar]" ❘ "\[RightBracketingBar]" ⁢ M orig ( x ) - M D ( M E ( x ) ) ❘ "\[RightBracketingBar]" ❘ "\[RightBracketingBar]" ? ( 5 ) ? indicates text missing or illegible when filed

Hence, unaltered DNN components can retain their weight values with only the parameters of the new structure trained to produce the same output values as the originals.

FIG. 5 illustrates the hierarchical architecture of Vehicular Edge Computing (VEC) and its reliance on the wireless infrastructure, where the higher bandwidths and ultra-low latencies promised by the forthcoming 5G and Dedicated Short Range Communications (DSRC) technologies are to be instrumental in VEC's wide-scale adoption. In this regard, VEC computing servers are expected to be deployed either at Road Side Units (RSUs)—as part of the V2X paradigm—or cellular base stations, where recent works have proposed to optimize the offloading process to minimize the overall latency and the energy consumed by the ADS [5, 16]. Still, we find that current approaches in the literature are lacking in the following departments. The driving context—crucial to robustness—is not factored in the offloading decision. Given how a scene's complexity directly correlates with the risk level, delayed responses could lead to consequences with different levels of severity. Adapting the offloading load according to the runtime conditions while accounting for the underlying ADS composition (e.g., concurrent sensor processing pipelines) is overlooked.

Deployment for Inference: After retraining, the modified architectures would be deployed for each concurrent detection pipeline on the local ADS. Furthermore, each MD and its succeeding blocks would be replicated across the VEC servers to enable online autonomous driving services. Thus, during runtime, servers can receive outputs from ME components, process them, and return predictions, e.g., bounding boxes coordinates, to the ADS platforms. On the ADS, available local and received predictions are fused to provide the final outputs for the following blocks.

VEC operation is reliant on the surrounding conditions with regards to the wireless channel state and the server load. Hence, experimenters implemented a learning-based approach based on deep reinforcement learning (DRL) to adapt the mode of operation so as to maximize performance efficiency while maintaining robustness—which experimenters accounted for in the offloading decision through leveraging the abstract feature representations already computed within the processing pipelines.

Hierarchical Agent

As shown in FIG. 10, the disclosed DRL solution comprises a hierarchical agent whose main components are as follows:

Contextual Encoder: In order to estimate the complexity of the corresponding scene, experimenters leveraged the computed feature set, Ft, at time window t from the main sensor processing pipelines to guide the decision for the following window t+1, given as Ft={(F1)t, (F2)t, . . . , (FN)t}. The rationale behind using the feature set of the preceding time window is twofold: (i) features do not need to be computed from scratch as they have already been generated within the primary processing pipelines, and (ii) the small window size for autonomous driving (<100 ms) means that successive frames share similar driving contexts due to the high spatio-temporal scenic correlations.

Given how Ft can outweigh other DRL inputs due to its relatively larger size, Ft needs to be initially encoded into a further lower-dimensional representation. Hence, Fis processed through a contextual encoder comprising a sequence of fully connected layers to obtain the final abstraction FF* In the experiments, FF* was of 256× smaller in size than Ft.

State Encoder: The next component is the state encoder whose input is the final state representation st={FF*, φt, qt} formed from aggregating the contextual encoder outputs, FF*, the channel capacity φt, and server queuing delays qt. Practically, the latter two metrics can be estimated by probing the edge server.

Action Space: Represented by the final fully connected layer in the state encoder, the action space covers the set of all possible modes of operation that can be selected by the DRL at runtime. Experimenters defined it as A={offload0, offload1, offload2, . . . , offloadN-1}, where an action offloadi is for choosing the offloading option for i sensory pipelines, with offload0 being pure local execution. In the case that the same DNN structure is shared across all pipelines, only the number of offloading pipelines matters. Experimenters did not consider offloadN as a viable option so that the ADS is always guaranteed a new output every time window since at least one pipeline is always processed locally. This way, even under a worst-case scenario when tasks from N−1 pipelines are offloaded and results are not received within the time limit, the vehicle can still operate in a safe manner. In practice, experimenters merely needed a subset of actions A*⊆A, with {offload0, offloadN-1}⊆A*. where A* can contain the actions that exhibit notable variability in performance. At runtime, the action vector, at, is mapped onto the control of each processing pipeline.

Training and Reward: Reinforcement learning approaches rely on having a Q function to provide value estimates for each state-action pair so as to select the optimal action OOC=arg maxa∈AQx(sŝ, a) for each sŝ under a learnt policy π. However, estimating state-action pair values in continuous state spaces is challenging, and DRL offers to approximate Qx by a policy network trained to maximize a reward. With no loss in generality, the DRL employs a Double Deep Q-Network with a compounded reward function R as:


R={A,if mAP(y)<mAPthB,otherwise  (6)

which evaluates to different functions based on a measure of robustness, which experimenters associated here with the degree of uncertainty in the final fused predictions y in (1), determined by the mean Average Precision (mAP) scores for object detectors as in. In brief, the goal is for the agent to realize a policy that deters from offloading actions when prediction confidence is low, which experimenters achieved here through leveraging the contextual information in Ft−1 to assess the scene's complexity, and make offloading decisions accordingly with the goal of minimizing prediction uncertainty. Thus, if mAPth is not met, R evaluates to A defined as:

A = { 0 , if ? == offload 0 ⁢ D   - ( , if ? == offload i ( 7 ) s . t . , i ≠ 0 , i < N ? indicates text missing or illegible when filed

for penalizing the agent whenever an offloading action is selected, with the penalty value being proportionate to the number of offloading pipelines, i, out of N total, with a maximum negative penalty of P. Recall that offloadN∉A as one pipeline always executes locally to ensure at least one output is available irrespective of the wireless network conditions. On the flip side, when mAPth is satisfied, R evaluates to B as follows:


B={P,if L(X|OOC)>LthC,otherwise  (8)

which penalizes the agent by P when its selected action OOC causes the overall execution latency for inputs X, L(X|OOC), to exceed the critical execution latency constraint, Lth. In other words, this means that the agent is penalized when not all partial outputs are available in time for late fusion. In reality, state-of-the-art ADS platforms are designed to meet the application latency demands, and hence, experimenters set the value of Lth to that of local execution. Contrarily, when Lth is satisfied, R finally evaluates to C given by:

C = { 0 , if ⁢ E ⁡ ( X | OOC ) == min ⁡ ( E ⁡ ( X | a ) | L ⁡ ( X | a ) ≤ L th ) ⁢ P , otherwise ( 9 ) ∀ a ∈ A * , A * ⊆ A

penalizing the agent by P if the energy consumption footprint E(X|C) from selecting action OOC is not the minimal from amongst those of all viable actions a∈A* that are projected to meet Lth.

Latency and Energy Estimation: In order to evaluate R for each selected OOC, the end-to-end estimates for energy and latency can be approximated every time window as follows:


L=Llocal+LTx+Lserver+LRx  (10)


E=Elocal+ETx+Eidle+ERx  (11)

where the latency L can be broken down into the respective local, transmission, server, and receiving latencies. Similarly, energy consumption comprises the same components except for incorporating idling energy as experimenters were only concerned about the ADS energy footprint. From here, the local components are given by:


Llocal=N×LME+(N−i)×Ltail|OOC==offloadi  (12)

in which LME and Ltail are the respective latencies for executing the encoder ME and the remaining tail parts of the model, respectively. When the selected action is to offload processing from i processing pipelines (i.e., OOC==offloadi), the total local execution latency accounts for processing across the N encoders and the N−i tail models. This additive form represents the most direct approach for modeling local execution. However, in reality, the concurrency of pipelines can speed up local execution depending on the available hardware resources at the expense of a larger power consumption footprint, Plocal. Experimenters approximated this trade-off through considering energy for performance evaluation, defining Elocal as:


Elocal=Llocal×Plocal  (13)

Channel Estimation: To estimate the communication overheads, experimenters first fit a Rayleigh distribution curve with scale a to throughput traces Φ collected from the real-world for different wireless technologies, i.e., Φ~Rayleigh(a). Then, experimenters used the constructed distribution to sample independent and identically distributed (i.i.d.) random variables as the channel capacity p to be used for the training and evaluation processes of the DRL agent where data transmission parameters can be evaluated as:

L Tx = ? == ccooooOOccOOdd ( ; EE $8 = LL $8 × PP $8 ( 14 ) ? indicates text missing or illegible when filed

where b is the transmissible data size from one sensory pipeline while PPSB is the transmission power incurred by the ADS. Similarly, the formulation for the receiving parameters, LLHB and EEHB, can be provided given corresponding estimates for channel capacity and data sizes in the downlink.

Server Queuing: Lastly, experimenters modeled the server latency Lserver using queuing delays:

qq 1 = ( * - J ) ⁢ ( J ) # * - J $ ⁢ % & ( 15 )

representing the probability that the offloaded task would encounter c other tasks before it in the server's processing queue, with p being the average server load, and C being the queue size. From here, experimenters were able to generate a probability density function (pdf) for values within 0-C from which experimenters could sample queuing positions, and consequently approximate Lserver.

Experimental Setup

Dataset: Experimenters used the RADIATE multimodal perception dataset for its diverse driving scenarios and adverse weather conditions such as snow, fog, and rain. The dataset covers 8 object classes with annotations from a Navtech® CTS350-X radar, a Velodyne HDL-32e LiDAR, and a ZED stereo camera. The variety of scenes provides a varying degree of difficulty for ADS and enables the robustness assessment. For instance, cameras obstructed by snow offer poor visibility indicating higher difficulty that can cause sub-optimal object detection performance. Here, experimenters implemented 4 object detection DNN pipelines: 2 stereo cameras, radar, and lidar. All inputs are mapped onto the forward-facing perspective for late fusion.

Training and Metrics: The original processing pipelines for each sensing modality comprise a ResNet®-18 followed by a Faster R-CNN. These models were trained using a batch size of 1, learning rate of 0.005, and a multi-task loss function which combines both classification and box regression losses. For the NMS fusion, experimenters used a fusion IoU threshold of 0.4. Experimenters employed mAP as the evaluation metric with boxes IoU≥0.5 since it is widely adopted for object detection tasks where the average precision is estimated using the precision and recall values.

Hardware and Performance Evaluation: Experimenters used the industry-grade Nvidia® Drive PX2 Autochauffer as the ADS hardware. The concurrent DNN models are compiled using the TensorRT library becoming inference engines. The local execution power Plocal is estimated as the difference in the ADS power measurements when processing and idling. For the transmission power PPSB experimenters evaluated it using data transfer power models.

Encoder-Decoder Structure: The input frame's resolution for each of the sensory pipelines is 672×376 (≈740.25 kB). The encoder, ME, comprises 3 layers (2 convolutional and 1 pooling), each with a stride of 2 with only 3 channels at the output. Therefore, when the outputs from ME are quantized to 8 bits for offloading, the transmissible data size b in equation 14 becomes ≈11.57 kB (64× less than the input's). The decoder MD has its output of the same dimensions as that from the original second ResNet®-18 block.

DRL Settings: For safety, experimenters always executed the radar pipeline locally and define A*={offload0, offload2, offload3}. Experimenters set P=−2, C=4000, ρ=0.9, and mAPth=0.68 unless otherwise stated. Experimenters set Lth=68.12 based on pure local execution latency.

Object Detection and Performance: Experimenters first assessed how the inclusion of ME and MD impacts the loss and prediction accuracy of object detection. Table 1 in FIG. 21 shows the changes in these metrics across different late fusion combinations on the Radiate evaluation dataset. As seen, full sensor fusion has the best performance in mAP, asserting how prediction robustness relates to the number of fused outputs. It is also observed that the new DNN structures maintain the same level of performance as their original counterparts, with the highest degradation in mAP from 71.24% to 70.38% experienced by the full fusion case, but still offering a better score than that of the simpler sensor combinations.

Table 2 in FIG. 22 displays the processing overheads for different DNN components deployed on the PX2 hardware. The encoder ME and DRL agent take 3.78 and 0.66 ms, respectively, emphasizing how the decision at is obtained before the generation of any transmissible outputs. Moreover, the execution latency for 4 pipelines on the PX2 can add up to 68.12 ms given the same power Plocal.

Channel Capacity and Queuing Analysis: In this experiment, experimenters analyzed the influence of the experienced channel capacity, φ, and queuing delay, qt, on the optimal action choice when optimizing for energy consumption under the latency constraint Lth. To elaborate, we illustrate in FIG. 11 parametric sweeps with respect to φφ given qqtt=15 ms. As shown, offloading options are consistently more energy efficient than the pure local option (offload0), but the Lth constraint dictates which action should be chosen considering how poor values of φ could disqualify some offloading choices. When φ>4 Mbps, the latency overhead for offload2 does not exceed Lth making it the optimal action until φ>7 Mbps, at which the most energy-efficient option, offload3, becomes valid. Similarly, this analysis is repeated in FIG. 12 when sweeping across qt given p=8 Mbps. Naturally, the latency overhead is linearly proportional to qt under fixed network conditions, demonstrating the influence of server load over the optimal offloading decision. From here, the key takeaway is that based on the wireless infrastructure and VEC server capabilities, the maximum number of concurrent offloading pipelines that meet Lth can be determined, and used accordingly to construct the decision space.

Robustness Analysis: To analyze the DRLs capacity to make robust decisions, experimenters defined 2 baseline policies for comparison: (i) a robustness-agnostic or R-agnostic policy that is aware of φ and qt to optimize for energy so long as Lth is satisfied, and (ii) an Oracle resembling an optimal strategy which in addition to the information available to the R-agnostic policy, also possesses the true per-frame mAP estimate apriori, and consequently, the optimal sequence of decisions satisfying the robustness constraint mAPth. All of the mentioned strategies are more energy-efficient than pure local execution, and the mAPth values are set in the experiments to 0.5, 0.68, and 0.98, estimated based on the cumulative distribution of the evaluation dataset such that 30%, 50%, and 70% of the evaluation mAP scores fall under the corresponding thresholds.

To evaluate robustness across each policy, experimenters computed the average experienced mAP per action (AMAP) given the action selection frequencies. Mainly, a robust behavior cause frames of high uncertainty (mAP≤mAPth) to be processed locally, implying how the AMAP experienced locally should be low compared to those from the offloading actions. We illustrate this concept in FIG. 13 across the three policies for mAPtth=0.68 and ρρ=0.97. As seen, the R-agnostic policy only considers performance efficiency for its action selection, and subsequently, its AMAP across offload0, offload2, and offload3, are equivalent with values of 64.39%, 65.01%, and 65.25%, respectively. Conversely, the Oracle resembles the ideal implementation of robustness, assigning high uncertainty frames to offload0, despite performance gains from offloading. In contrast to the R-agnostic policy, 66.94% of the Oracle policy decisions are offload0 with an AMAP of 50.58%, and an AMAP as high as 93.68% for the remaining offloading decisions. From here, the proposed DRL approach strives to learn the Oracle's behavior, through the observed action selection breakdown, with 63.65% of actions belonging to offload0. Moreover, the AMAP for offload2 and offload3 are 70.93% and 72.55%, respectively, which despite outperforming the R-agnostic policy, are far from that of the Oracle. This is expected considering the Oracle policy is the unrealistic ideal behavior with apriori mAP knowledge. Experimenters extended this analysis to other thresholds values in Table 3 in FIG. 23, where experimenters observed that as the robustness constraint becomes smaller, the DRL exhibits a behavior closer to the R-agnostic and farther from the Oracle and vice versa, indicating the DRL's capacity to adapt to various robustness requirements.

Furthermore, experimenters varied the server load ρ in Table 4 in FIG. 24 and show how the action frequency varies for each policy. As ρ increases, the selection of local processing becomes more frequent across all policies, irrespective of the energy or robustness due to the Lth constraint. Such behavior is learned by the DRL solution given how the action selection frequencies closely imitate that of the Oracle.

Energy Reduction vs Risky Actions: Experimenters also compare the energy savings relative to the pure local execution, offload0, in addition to their risky behaviors. Experimenters first defined Risky Actions as the fraction of offloading actions whose respective mAP scores fall below mAPth, and Robust Actions as the fraction whose scores exceed the mAPth. Experimenters compared the performance of each policy in Table 5 in FIG. 25, where although R-agnostic offers the highest energy reduction of 40.7% compared to DRL's 14.99%, 63.37% of R-agnostic's energy savings are Risky Actions, unlike DRL whose Risky Actions comprise 14.54% of the offloading decisions. Through extending this analysis further to entail multiple mAPth values, i.e., a higher threshold means a stricter offloading constraint, experimenters observed in FIG. 14 that the robustness-aware DRL at higher mAPth substantially reduces the percentage of risky offloads compared to the R-agnostic policy, with reductions of 24.50% and 77.06%, at mAPth=0.50 and mAPth=0.98 respectively.

In the technology disclosed, a methodology for robust and efficient task offloading for multi-sensor autonomous driving systems (ADS). Experimenters first showed how to integrate optimal offloading points along the processing pipelines in a multi-sensor object detection module with late fusion, and then implemented a DRL-based runtime offloading that achieves 14.99% energy efficiency over pure local execution with up to 77.06% decrease in risky offloading actions from a robust-agnostic solution. This methodology can be generalized to a variety of sensors and fusion strategies depending on the underlying system structure and how robustness is characterized with regards to the application's primary task, which would form the basis for future research works along this direction.

Although there has been shown and described the preferred implementation of the technology disclosed, it will be readily apparent to those skilled in the art that modifications may be made thereto which do not exceed the scope of the appended claims. Therefore, the scope of the technology disclosed is only to be limited by the following claims. In some implementations, the figures presented in this patent application are drawn to scale, including the angles, ratios of dimensions, etc. In some implementations, the figures are representative only and the claims are not limited by the dimensions of the figures. In some implementations, descriptions of the technology disclosed described herein using the phrase “comprising” includes implementations that could be described as “consisting essentially of” or “consisting of”, and as such the written description requirement for claiming one or more implementations of the technology disclosed using the phrase “consisting essentially of” or “consisting of” is met.

The reference numbers recited in the below claims are solely for ease of examination of this patent application, and are exemplary, and are not intended in any way to limit the scope of the claims to the particular features having the corresponding reference numbers in the drawings.

Computer System

FIG. 26 shows an example computer system 2600 that can be used to implement the technology disclosed. Computer system 2600 includes at least one central processing unit (CPU) 2642 that communicates with a number of peripheral devices via bus subsystem 2626. These peripheral devices can include a storage subsystem 2602 including, for example, memory devices and a file storage subsystem 2626, user interface input devices 2628, user interface output devices 2646, and a network interface subsystem 2644. The input and output devices allow user interaction with computer system 2600. Network interface subsystem 2644 provides an interface to outside networks, including an interface to corresponding interface devices in other computer systems.

In one implementation, the data processor 100 is communicably linked to the storage subsystem 2602 and the user interface input devices 2628.

User interface input devices 2628 can include a keyboard; pointing devices such as a mouse, trackball, touchpad, or graphics tablet; a scanner; a touch screen incorporated into the display; audio input devices such as voice recognition systems and microphones; and other types of input devices. In general, use of the term “input device” is intended to include all possible types of devices and ways to input information into computer system 2600.

User interface output devices 2646 can include a display subsystem, a printer, a fax machine, or non-visual displays such as audio output devices. The display subsystem can include an LED display, a cathode ray tube (CRT), a flat-panel device such as a liquid crystal display (LCD), a projection device, or some other mechanism for creating a visible image. The display subsystem can also provide a non-visual display such as audio output devices. In general, use of the term “output device” is intended to include all possible types of devices and ways to output information from computer system 2600 to the user or to another machine or computer system.

Storage subsystem 2602 stores programming and data constructs that provide the functionality of some or all of the modules and methods described herein. These software modules are generally executed by processors 2648.

Processors 2648 can be graphics processing units (GPUs), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), and/or coarse-grained reconfigurable architectures (CGRAs). Processors 2648 can be hosted by a deep learning cloud platform such as Google Cloud Platform™, Xilinx™, and Cirrascale™. Examples of processors 2648 include Google's Tensor Processing Unit (TPU)™, rackmount solutions like GX4 Rackmount Series™, GX26 Rackmount Series™, NVIDIA DGX-1™, Microsoft′ Stratix V FPGA™, Graphcore's Intelligent Processor Unit (IPU)™, Qualcomm's Zeroth Platform™ with Snapdragon Processors™, NVIDIA's Volta™, NVIDIA's DRIVE PX™, NVIDIA's JETSON TX1/TX2 MODULE™, Intel's Nirvana™, Movidius VPU™, Fujitsu DPI™, ARM's DynamicIQ™, IBM TrueNorth™, Lambda GPU Server with Testa V100s™, and others.

Memory subsystem 2612 used in the storage subsystem 2602 can include a number of memories including a main random access memory (RAM) 2622 for storage of instructions and data during program execution and a read only memory (ROM) 2624 in which fixed instructions are stored. A file storage subsystem 2626 can provide persistent storage for program and data files, and can include a hard disk drive, a floppy disk drive along with associated removable media, a CD-ROM drive, an optical drive, or removable media cartridges. The modules implementing the functionality of certain implementations can be stored by file storage subsystem 2626 in the storage subsystem 2602, or in other machines accessible by the processor.

Bus subsystem 2636 provides a mechanism for letting the various components and subsystems of computer system 2600 communicate with each other as intended. Although bus subsystem 2636 is shown schematically as a single bus, alternative implementations of the bus subsystem can use multiple busses.

Computer system 2600 itself can be of varying types including a personal computer, a portable computer, a workstation, a computer terminal, a network computer, a television, a mainframe, a server farm, a widely-distributed set of loosely networked computers, or any other data processing system or user device. Due to the ever-changing nature of computers and networks, the description of computer system 2600 depicted in FIG. 26 is intended only as a specific example for purposes of illustrating the preferred implementations of the present technology disclosed. Many other configurations of computer system 2600 are possible having more or less components than the computer system depicted in FIG. 26.

In various implementations, a learning system is provided. In some implementations, a feature vector is provided to a learning system. Based on the input features, the learning system generates one or more outputs. In some implementations, the output of the learning system is a feature vector. In some implementations, the learning system comprises an SVM. In other implementations, the learning system comprises an artificial neural network. In some implementations, the learning system is pre-trained using training data. In some implementations training data is retrospective data. In some implementations, the retrospective data is stored in a data store. In some implementations, the learning system may be additionally trained through manual curation of previously generated outputs.

In some implementations, an object detection pipeline is a trained classifier. In some implementations, the trained classifier is a random decision forest. However, it will be appreciated that a variety of other classifiers are suitable for use according to the present disclosure, including linear classifiers, support vector machines (SVM), or neural networks such as recurrent neural networks (RNN).

Suitable artificial neural networks include but are not limited to a feedforward neural network, a radial basis function network, a self-organizing map, learning vector quantization, a recurrent neural network, a Hopfield network, a Boltzmann machine, an echo state network, long short term memory, a bi-directional recurrent neural network, a hierarchical recurrent neural network, a stochastic neural network, a modular neural network, an associative neural network, a deep neural network, a deep belief network, a convolutional neural networks, a convolutional deep belief network, a large memory storage and retrieval neural network, a deep Boltzmann machine, a deep stacking network, a tensor deep stacking network, a spike and slab restricted Boltzmann machine, a compound hierarchical-deep model, a deep coding network, a multilayer kernel machine, or a deep Q-network.

The present disclosure may be embodied as a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present disclosure.

The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.

Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.

FIG. 26 is a schematic of an exemplary computing node. Computing node 2600 is only one example of a suitable computing node and is not intended to suggest any limitation as to the scope of use or functionality of embodiments described herein. Regardless, computing node 2600 is capable of being implemented and/or performing any of the functionality set forth hereinabove.

In computing node 2600 there is a computer system/server, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed computing environments that include any of the above systems or devices, and the like.

Computer system/server may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server may be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.

As shown in FIG. 26, computer system/server in computing node 2600 is shown in the form of a general-purpose computing device. The components of computer system/server may include, but are not limited to, one or more processors or processing units, a system memory, and a bus that couples various system components including system memory to processor.

The bus represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, Peripheral Component Interconnect (PCI) bus, Peripheral Component Interconnect Express (PCIe), and Advanced Microcontroller Bus Architecture (AMBA).

Computer system/server typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server, and it includes both volatile and non-volatile media, removable and non-removable media.

System memory can include computer system readable media in the form of volatile memory, such as random access memory (RAM) and/or cache memory. Algorithm Computer system/server may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus by one or more data media interfaces. As will be further depicted and described below, memory may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.

Program/utility, having a set (at least one) of program modules, may be stored in memory by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment. Program modules generally carry out the functions and/or methodologies of embodiments as described herein.

Computer readable program instructions for carrying out operations of the present disclosure may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some implementations, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present disclosure.

Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to implementations of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.

These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.

The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.

Clauses

The technology disclosed can be practiced as a system, method, or article of manufacture. One or more features of an implementation can be combined with the base implementation. Implementations that are not mutually exclusive are taught to be combinable. One or more features of an implementation can be combined with other implementations. This disclosure periodically reminds the user of these options. Omission from some implementations of recitations that repeat these options should not be taken as limiting the combinations taught in the preceding sections—these recitations are hereby incorporated forward by reference into each of the following implementations.

One or more implementations and clauses of the technology disclosed, or elements thereof can be implemented in the form of a computer product, including a non-transitory computer readable storage medium with computer usable program code for performing the method steps indicated. Furthermore, one or more implementations and clauses of the technology disclosed, or elements thereof can be implemented in the form of an apparatus including a memory and at least one processor that is coupled to the memory and operative to perform exemplary method steps. Yet further, in another aspect, one or more implementations and clauses of the technology disclosed or elements thereof can be implemented in the form of means for carrying out one or more of the method steps described herein; the means can include (i) hardware module(s), (ii) software module(s) executing on one or more hardware processors, or (iii) a combination of hardware and software modules; any of (i)-(iii) implement the specific techniques set forth herein, and the software modules are stored in a computer readable storage medium (or multiple such media).

The clauses described in this section can be combined as features. In the interest of conciseness, the combinations of features are not individually enumerated and are not repeated with each base set of features. The reader will understand how features identified in the clauses described in this section can readily be combined with sets of base features identified as implementations in other sections of this application. These clauses are not meant to be mutually exclusive, exhaustive, or restrictive; and the technology disclosed is not limited to these clauses but rather encompasses all possible combinations, modifications, and variations within the scope of the claimed technology and its equivalents.

Other implementations of the clauses described in this section can include a non-transitory computer readable storage medium storing instructions executable by a processor to perform any of the clauses described in this section. Yet another implementation of the clauses described in this section can include a system including memory and one or more processors operable to execute instructions, stored in the memory, to perform any of the clauses described in this section.

We disclose the following clauses:

Clauses Set 1—Vehicle

    • 1. A vehicle, comprising:
      • a plurality of sensors configured to generate sensory streams characterizing at least one scene;
      • a runtime logic configured to identify objects in the scene by executing one or more object detection pipelines in a plurality of object detection pipelines that is configured to process the sensory streams, wherein the plurality of object detection pipelines comprises
        • one or more local object detection pipelines each configured to execute entirely on compute and memory resources on the vehicle, and
        • one or more edge object detection pipelines each configured to execute at least partially on compute and memory resources off the vehicle; and
      • a control logic, in communication with the runtime logic, and configured to generate a current control signal that makes a current selection of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic to cause processing of current sensory streams through the currently selected object detection pipelines,
        • wherein the current control signal is generated based in part on results of processing at least some of previous sensory streams, and
          • wherein a previous control signal makes a previous selection of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic to cause processing of the previous sensory streams through the previously selected object detection pipelines.
    • 2. The vehicle of clause 1, wherein the local object detection pipelines and the edge object detection pipelines are encoder-decoder neural networks.
    • 3. The vehicle of clause 2, wherein encoder neural networks of the local object detection pipelines and the edge object detection pipelines are executed on the compute and memory resources on the vehicle.
    • 4. The vehicle of clause 2, wherein decoder neural networks of the local object detection pipelines are executed on the compute and memory resources on the vehicle.
    • 5. The vehicle of clause 2, wherein decoder neural networks of the edge object detection pipelines are executed on the compute and memory resources off the vehicle.
    • 6. The vehicle of clause 2, wherein encoder neural networks of the previously selected object detection pipelines generate previous downsampled representations of the previous sensory streams in response to processing the previous sensory streams.
    • 7. The vehicle of clause 6, wherein decoder neural networks of the previously selected object detection pipelines generate previous upsampled representations of the previous downsampled representations in response to processing the previous downsampled representations.
    • 8. The vehicle of clause 7, wherein the previous upsampled representations identify objects in a previous scene characterized by the previous sensory streams.
    • 9. The vehicle of clause 8, further configured to comprise a fusion logic that concatenates the previous upsampled representations into a previous fused representation.
    • 10. The vehicle of clause 9, wherein the previous fused representation correlates the objects identified across the previous upsampled representations.
    • 11. The vehicle of clause 10, wherein the runtime logic is further configured to transmit the previous fused representation to other modules of the vehicle.
    • 12. The vehicle of clause 9, wherein the control logic is further configured to comprise a contextual encoding logic configured to downsample the previous fused representation into a previous downsampled fused representation in response to processing the previous fused representation.
    • 13. The vehicle of clause 12, wherein the control logic is further configured to comprise a state encoding logic configured to process the previous downsampled fused representation, channel capacity, and queuing delay, and to generate the current control signal.
    • 14. The vehicle of clause 12, wherein the results comprise the previous downsampled fused representation.
    • 15. The vehicle of clause 13, wherein the contextual encoding logic and the state encoding logic are fully connected neural networks.
    • 16. The vehicle of clause 1, wherein the control logic is further configured to use at least one reinforcement learning-based policy to generate the current control signal.
    • 17. The vehicle of clause 16, wherein the current selection selects at least one of the local object detection pipelines based on the reinforcement learning-based policy.
    • 18. The vehicle of clause 16, wherein the current selection selects multiple ones of the edge object detection pipelines based on the reinforcement learning-based policy.
    • 19. The vehicle of clause 18, wherein the reinforcement learning-based policy further configures the current control signal to encourage selection of the local object detection pipelines over the edge object detection pipelines when a confidence in an accuracy of the objects identified and correlated by the previous fused representation is lower than an accuracy threshold.
    • 20. The vehicle of clause 19, wherein the confidence in the accuracy is determined from information encoded in the previous downsampled fused representation, which encodes a complexity of the previous scene.
    • 21. The vehicle of clause 16, wherein the reinforcement learning-based policy further configures the current control signal to encourage selection of those object detection pipelines in the plurality of object detection pipelines that cause an overall execution latency for processing the current sensory streams to not exceed a critical execution latency constraint.
    • 22. The vehicle of clause 21, wherein the reinforcement learning-based policy further configures the current control signal to encourage selection of those object detection pipelines in the plurality of object detection pipelines that (i) cause an overall execution latency for processing the current sensory streams to not exceed the critical execution latency constraint, and (ii) that have a minimal energy consumption footprint.
    • 23. The vehicle of clause 1, further configured to comprise a fail-safe logic configured to require that the runtime logic necessarily executes at least one of the local object detection pipelines independent of the current selection.
    • 24. The vehicle of clause 1, wherein the plurality of sensors comprises RADAR, LIDAR, camera, or a combination thereof.
    • 25. The vehicle of clause 1, wherein one or more servers in communication with the vehicle host the compute and memory resources off the vehicle.
    • 26. The vehicle of clause 1, wherein the sensory streams comprise respective sensory streams from respective sensors in the plurality of sensors.
    • 27. The vehicle of clause 26, wherein the encoder neural networks of the local object detection pipelines and the edge object detection pipelines comprise respective encoder neural networks that respectively process the respective sensory streams.
    • 28. The vehicle of clause 1, wherein the local object detection pipelines and the edge object detection pipelines share a common encoder neural network that is executed entirely on the compute and memory resources on the vehicle.
    • 29. The vehicle of clause 28, wherein the common encoder neural network is configured to process the respective sensory streams.
    • 30. A vehicle, comprising:
      • a plurality of sensors configured to generate sensory streams characterizing at least one scene;
      • a runtime logic configured to identify objects in the scene by executing one or more object detection pipelines in a plurality of object detection pipelines that is configured to process the sensory streams, wherein the plurality of object detection pipelines comprises
        • one or more local object detection pipelines each configured to execute entirely on compute and memory resources on the vehicle, and
        • one or more edge object detection pipelines each configured to execute at least partially on compute and memory resources off the vehicle; and
      • a control logic, in communication with the runtime logic, and configured to generate a current control signal that makes a current selection of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic to cause processing of current sensory streams through the currently selected object detection pipelines.
    • 31. The vehicle of clause 30, wherein the current control signal is generated based in part on results of processing at least some of previous sensory streams.
    • 32. The vehicle of clause 31, wherein a previous control signal makes a previous selection of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic to cause processing of the previous sensory streams through the previously selected object detection pipelines.

Clauses Set 2—Data Processor

    • 1. A data processor, comprising:
      • a runtime logic configured to execute a plurality of processing engines to cause processing of input streams, wherein the plurality of processing engines includes
        • one or more local processing engines each configured to execute entirely on compute and memory resources on the data processor, and
        • one or more edge processing engines each configured to execute at least partially on compute and memory resources off the data processor; and
      • a control logic, in communication with the runtime logic, and configured to generate a current control signal that makes a current selection of processing engines from the plurality of processing engines for execution by the runtime logic to cause processing of current input streams through the currently selected processing engines,
        • wherein the current control signal is generated based in part on results of processing at least some of previous input streams, and
          • wherein a previous control signal makes a previous selection of processing engines from the plurality of processing engines for execution by the runtime logic to cause processing of the previous input steams through the previously selected processing engines.
    • 2. The data processor of clause 1, wherein the local processing engines and the edge processing engines are encoder-decoder neural networks.
    • 3. The data processor of clause 2, wherein encoder neural networks of the local processing engines and the edge processing engines are executed on the compute and memory resources on the data processor.
    • 4. The data processor of clause 2, wherein decoder neural networks of the local processing engines are executed on the compute and memory resources on the data processor.
    • 5. The data processor of clause 2, wherein decoder neural networks of the edge processing engines are executed on the compute and memory resources off the data processor.
    • 6. The data processor of clause 2, wherein encoder neural networks of the previously selected processing engines generate previous downsampled representations of the previous input streams in response to processing the previous input streams.
    • 7. The data processor of clause 6, wherein decoder neural networks of the previously selected processing engines generate previous upsampled representations of the previous downsampled representations in response to processing the previous downsampled representations.
    • 8. The data processor of clause 7, further configured to comprise a fusion logic that concatenates the previous upsampled representations into a previous fused representation.
    • 9. The data processor of clause 8, wherein the previous upsampled representations are previous outputs of a processing task that the previously selected processing engines are trained to execute.
    • 10. The data processor of clause 9, wherein the previous fused representation characterizes information correlated across the previous outputs.
    • 11. The data processor of clause 10, wherein the data processor is a module of an autonomous system, wherein the runtime logic is further configured to transmit the previous fused representation to other modules of the autonomous system.
    • 12. The data processor of clause 9, wherein the control logic is further configured to comprise a contextual encoding logic configured to downsample the previous fused representation into a previous downsampled fused representation in response to processing the previous fused representation.
    • 13. The data processor of clause 12, wherein the control logic is further configured to comprise a state encoding logic configured to process the previous downsampled fused representation, channel capacity, and queuing delay, and to generate the current control signal.
    • 14. The data processor of clause 12, wherein the results comprise the previous downsampled fused representation.
    • 15. The data processor of clause 13, wherein the contextual encoding logic and the state encoding logic are fully connected neural networks.
    • 16. The data processor of clause 1, wherein the control logic is further configured to use at least one reinforcement learning-based policy to generate the current control signal.
    • 17. The data processor of clause 16, wherein the current selection selects at least one of the local processing engines based on the reinforcement learning-based policy.
    • 18. The data processor of clause 16, wherein the current selection selects multiple ones of the edge processing engines based on the reinforcement learning-based policy.
    • 19. The data processor of clause 18, wherein the reinforcement learning-based policy further configures the current control signal to encourage selection of the local processing engines over the edge processing engines when a confidence in an accuracy of the previous outputs is lower than an accuracy threshold.
    • 20. The data processor of clause 19, wherein the confidence in the accuracy is determined from information encoded in the previous downsampled fused representation.
    • 21. The data processor of clause 16, wherein the reinforcement learning-based policy further configures the current control signal to encourage selection of those processing engines in the plurality of processing engines that cause an overall execution latency for processing the current input streams to not exceed a critical execution latency constraint.
    • 22. The data processor of clause 21, wherein the reinforcement learning-based policy further configures the current control signal to encourage selection of those processing engines in the plurality of processing engines that (i) cause an overall execution latency for processing the current input streams to not exceed the critical execution latency constraint, and (ii) that have a minimal energy consumption footprint.
    • 23. The data processor of clause 1, further configured to comprise a fail-safe logic configured to require that the runtime logic necessarily executes at least one of the local processing engines independent of the current selection.
    • 24. The data processor of clause 1, wherein one or more servers in communication with the data processor host the compute and memory resources off the data processor.
    • 25. The data processor of clause 1, wherein the sensory streams comprise respective sensory streams from respective sensors in the plurality of sensors.
    • 26. The data processor of clause 25, wherein the encoder neural networks of the local object detection pipelines and the edge object detection pipelines comprise respective encoder neural networks that respectively process the respective sensory streams.
    • 27. The data processor of clause 1, wherein the local object detection pipelines and the edge object detection pipelines share a common encoder neural network that is executed entirely on the compute and memory resources on the vehicle.
    • 28. The data processor of clause 27, wherein the common encoder neural network is configured to process the respective sensory streams.
    • 29. A data processor, comprising:
      • a runtime logic configured to execute a plurality of processing engines to cause processing of input streams, wherein the plurality of processing engines includes
        • one or more local processing engines each configured to execute entirely on compute and memory resources on the data processor, and
        • one or more edge processing engines each configured to execute at least partially on compute and memory resources off the data processor; and
      • a control logic, in communication with the runtime logic, and configured to generate a current control signal that makes a current selection of processing engines from the plurality of processing engines for execution by the runtime logic to cause processing of current input streams through the currently selected processing engines.
    • 30. The data processor of clause 29, wherein the current control signal is generated based in part on results of processing at least some of previous input streams.
    • 31. The data processor of clause 30, wherein a previous control signal makes a previous selection of processing engines from the plurality of processing engines for execution by the runtime logic to cause processing of the previous input steams through the previously selected processing engines.

Clauses Set 3—Offloading

    • 1. A multi-sensor machine learning system capable of offloading processing to an external server to efficiently improve energy efficiency of the system, the system comprising:
      • a local computing device comprising:
        • a processor comprising one or more execution branches, each execution branch capable of executing computer-readable instructions; and
        • a memory component operatively connected to the processor and the one or more sensors, communicatively coupled to a cloud server, comprising computer-readable instructions that, when executed by the processor, causes the processor to perform operations comprising:
          • accepting one or more sensor outputs from the one or more sensors;
          • encoding the one or more sensor outputs into one or more compressed sensor outputs, each compressed sensor output comprising one or more features;
          • calculating an optimal split of the one or more compressed sensor outputs into a first portion of data and a second portion of data, wherein the optimal split comprises a split of data that maximizes energy efficiency of the processor and minimizes a size of the first portion of data;
          • splitting the one or more compressed sensor outputs into the first portion of data and the second portion of data;
          • transmitting the first portion of data to the cloud server;
          • processing the second portion of data into a compressed second portion of output;
          • receiving a compressed first portion of output from the cloud server;
          • decompressing the compressed first portion of output and the compressed second portion of output into a first portion of output and a second portion of output, respectively; and
          • fusing the first portion of output and the second portion of output into an output; and
      • the cloud server communicatively coupled to the local computing device, comprising computer-readable instructions for:
        • receiving the first portion of data from the local computing device;
        • processing the first portion of data into a compressed first portion of output; and
        • transmitting the compressed first portion of output to the local computing device.
    • 2. The system of clause 1, wherein the one or more execution branches of the processor comprise a failsafe branch, wherein the memory component further comprises computer-readable instructions for:
      • detecting a diminished connection between the local computing device and the cloud server;
      • receiving a partially completed first portion of output from the cloud server; and
      • processing, by the failsafe branch, the partially completed first portion of output into the compressed first portion of output.
    • 3. The system of clause 1, wherein the memory component further comprises one or more deep neural networks (DNNs) for converting the second portion of data into the compressed second portion of output.
    • 4. The system of clause 1, wherein the processor comprises two or more execution branches.
    • 5. The system of clause 1, wherein the one or more sensors comprise RADAR, LIDAR, camera, or a combination thereof.
    • 6. The system of clause 3, wherein the memory component further comprises a deep reinforcement learning model for assessing a function and efficiency of the local computing device and altering or reinforcing a function of the processor and the DNNs.
    • 7. A multi-sensor machine learning system capable of offloading processing to an external server to efficiently improve energy efficiency of the system, the system comprising:
      • one or more sensors;
      • a local computing device comprising:
        • a processor comprising a primary execution branch and a failsafe execution branch, each execution branch capable of executing computer-readable instructions; and
        • a memory component operatively connected to the processor and the one or more sensors, communicatively coupled to a cloud server, comprising computer-readable instructions that, when executed by the processor, causes the processor to perform operations comprising:
          • accepting one or more sensor outputs from the one or more sensors;
          • encoding the one or more sensor outputs into one or more compressed sensor outputs, each compressed sensor output comprising one or more features;
          • calculating an optimal split of the one or more compressed sensor outputs into a first portion of data and a second portion of data, wherein the optimal split comprises a split of data that maximizes energy efficiency of the processor and minimizes a size of the first portion of data;
          • splitting the one or more compressed sensor outputs into the first portion of data and the second portion of data;
          • transmitting the first portion of data to the cloud server;
          • processing the second portion of data into a compressed second portion of output;
          • detecting a diminished connection between the local computing device and the cloud server;
          • receiving, if the diminished connection was detected, a partially completed first portion of output from the cloud server; and
          • processing, if the diminished connection was detected, by the failsafe branch, the partially completed first portion of output into the compressed first portion of output;
          • receiving a compressed first portion of output from the cloud server;
          • decompressing the compressed first portion of output and the compressed second portion of output into a first portion of output and a second portion of output, respectively;
          • fusing the first portion of output and the second portion of output into an output;
        • one or more deep neural networks (DNNs) for converting the second portion of data into the compressed second portion of output; and
        • a deep reinforcement learning model for assessing a function and efficiency of the local computing device and altering or reinforcing a function of the processor and the DNNs; and
      • the cloud server communicatively coupled to the local computing device, comprising computer-readable instructions for:
        • receiving the first portion of data from the local computing device;
        • processing the first portion of data into a compressed first portion of output; and
        • transmitting the compressed first portion of output to the local computing device.
    • 8. The system of clause 7, wherein the processor comprises two or more execution branches.
    • 9. The system of clause 7, wherein the one or more sensors comprise RADAR, LIDAR, camera, or a combination thereof.

The preceding description is presented to enable the making and use of the technology disclosed. Various modifications to the disclosed implementations will be apparent, and the general principles defined herein may be applied to other implementations and applications without departing from the spirit and scope of the technology disclosed. Thus, the technology disclosed is not intended to be limited to the implementations shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein. The scope of the technology disclosed is defined by the appended claims.

A number of workflows illustrating logic are described herein. The logic can be implemented using processors programmed using computer programs stored in memory accessible to the computer systems and executable by the processors. With all workflows herein, it will be appreciated that many of the steps can be combined, performed in parallel or performed in a different sequence without affecting the functions achieved. In some cases, as the reader will appreciate, a rearrangement of steps will achieve the same results only if certain other changes are made as well. In other cases, as the reader will appreciate, a re-arrangement of steps will achieve the same results only if certain conditions are satisfied. Furthermore, it will be appreciated that the workflows herein show only steps that are pertinent to an understanding of the technology disclosed, and it will be understood that numerous additional steps for accomplishing other functions can be performed before, after and between those shown.

The applicant hereby discloses in isolation each individual feature described herein and any combination of two or more such features, to the extent that such features or combinations are capable of being carried out based on the present specification as a whole in light of the common general knowledge of a person skilled in the art, irrespective of whether such features or combinations of features solve any problems disclosed herein, and without limitation to the scope of the claims. The applicant indicates that aspects of the present technology disclosed may consist of any such feature or combination of features. In view of the foregoing descriptions, it will be evident to a person skilled in the art that various modifications may be made within the scope of the technology disclosed.

The foregoing description of preferred implementations of the present technology disclosed has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the technology disclosed to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in this art. In addition, any and all variations described, suggested, or incorporated by reference herein with respect to any one implementation are also to be considered taught with respect to all other implementations. The implementations described herein were chosen and described in order to best explain the principles of the technology disclosed and its practical application, thereby enabling others skilled in the art to understand the technology disclosed for various implementations and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the technology disclosed be defined by the following claims and their equivalents.

Claims

1. A vehicle, comprising:

a plurality of sensors configured to generate sensory streams characterizing at least one scene;
a runtime logic configured to identify objects in the scene by executing one or more object detection pipelines in a plurality of object detection pipelines that is configured to process the sensory streams, wherein the plurality of object detection pipelines comprises one or more local object detection pipelines each configured to execute entirely on compute and memory resources on the vehicle, and one or more edge object detection pipelines each configured to execute at least partially on compute and memory resources off the vehicle; and
a control logic, in communication with the runtime logic, and configured to generate a current control signal that makes a current selection of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic to cause processing of current sensory streams through the currently selected object detection pipelines, wherein the current control signal is generated based in part on results of processing at least some of previous sensory streams, and wherein a previous control signal makes a previous selection of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic to cause processing of the previous sensory streams through the previously selected object detection pipelines.

2. The vehicle of claim 1, wherein the local object detection pipelines and the edge object detection pipelines are encoder-decoder neural networks, wherein encoder neural networks of the local object detection pipelines and the edge object detection pipelines are executed on the compute and memory resources on the vehicle, wherein decoder neural networks of the local object detection pipelines are executed on the compute and memory resources on the vehicle, wherein decoder neural networks of the edge object detection pipelines are executed on the compute and memory resources off the vehicle, wherein encoder neural networks of the previously selected object detection pipelines generate previous downsampled representations of the previous sensory streams in response to processing the previous sensory streams, wherein decoder neural networks of the previously selected object detection pipelines generate previous upsampled representations of the previous downsampled representations in response to processing the previous downsampled representations, and wherein the previous upsampled representations identify objects in a previous scene characterized by the previous sensory streams.

3. The vehicle of claim 2, further configured to comprise a fusion logic that concatenates the previous upsampled representations into a previous fused representation, wherein the previous fused representation correlates the objects identified across the previous upsampled representations.

4. The vehicle of claim 3, wherein the runtime logic is further configured to transmit the previous fused representation to other modules of the vehicle.

5. The vehicle of claim 3, wherein the control logic is further configured to comprise a contextual encoding logic configured to downsample the previous fused representation into a previous downsampled fused representation in response to processing the previous fused representation.

6. The vehicle of claim 5, wherein the control logic is further configured to comprise a state encoding logic configured to process the previous downsampled fused representation, channel capacity, and queuing delay, and to generate the current control signal.

7. The vehicle of claim 6, wherein the results comprise the previous downsampled fused representation.

8. The vehicle of claim 6, wherein the contextual encoding logic and the state encoding logic are fully connected neural networks, wherein the control logic is further configured to use at least one reinforcement learning-based policy to generate the current control signal, wherein the current selection selects at least one of the local object detection pipelines based on the reinforcement learning-based policy, and wherein the current selection selects multiple ones of the edge object detection pipelines based on the reinforcement learning-based policy.

9. The vehicle of claim 8, wherein the reinforcement learning-based policy further configures the current control signal to encourage selection of the local object detection pipelines over the edge object detection pipelines when a confidence in an accuracy of the objects identified and correlated by the previous fused representation is lower than an accuracy threshold.

10. The vehicle of claim 9, wherein the confidence in the accuracy is determined from information encoded in the previous downsampled fused representation, which encodes a complexity of the previous scene.

11. The vehicle of claim 10, wherein the reinforcement learning-based policy further configures the current control signal to encourage selection of those object detection pipelines in the plurality of object detection pipelines that cause an overall execution latency for processing the current sensory streams to not exceed a critical execution latency constraint.

12. The vehicle of claim 11, wherein the reinforcement learning-based policy further configures the current control signal to encourage selection of those object detection pipelines in the plurality of object detection pipelines that (i) cause an overall execution latency for processing the current sensory streams to not exceed the critical execution latency constraint, and (ii) that have a minimal energy consumption footprint.

13. The vehicle of claim 1, further configured to comprise a fail-safe logic configured to require that the runtime logic necessarily executes at least one of the local object detection pipelines independent of the current selection.

14. The vehicle of claim 1, wherein the plurality of sensors comprises RADAR, LIDAR, camera, or a combination thereof.

15. The vehicle of claim 1, wherein one or more servers in communication with the vehicle host the compute and memory resources off the vehicle.

16. The vehicle of claim 1, wherein the sensory streams comprise respective sensory streams from respective sensors in the plurality of sensors, wherein the encoder neural networks of the local object detection pipelines and the edge object detection pipelines comprise respective encoder neural networks that respectively process the respective sensory streams.

17. The vehicle of claim 1, wherein the local object detection pipelines and the edge object detection pipelines share a common encoder neural network that is executed entirely on the compute and memory resources on the vehicle, wherein the common encoder neural network is configured to process the respective sensory streams.

18. A vehicle, comprising:

a plurality of sensors configured to generate sensory streams characterizing at least one scene;
a runtime logic configured to identify objects in the scene by executing one or more object detection pipelines in a plurality of object detection pipelines that is configured to process the sensory streams, wherein the plurality of object detection pipelines comprises one or more local object detection pipelines each configured to execute entirely on compute and memory resources on the vehicle, and one or more edge object detection pipelines each configured to execute at least partially on compute and memory resources off the vehicle; and
a control logic, in communication with the runtime logic, and configured to generate a current control signal that makes a current selection of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic to cause processing of current sensory streams through the currently selected object detection pipelines.

19. The vehicle of claim 18, wherein the current control signal is generated based in part on results of processing at least some of previous sensory streams.

20. The vehicle of claim 19, wherein a previous control signal makes a previous selection of object detection pipelines from the plurality of object detection pipelines for execution by the runtime logic to cause processing of the previous sensory streams through the previously selected object detection pipelines.

Patent History
Publication number: 20260378231
Type: Application
Filed: Dec 7, 2023
Publication Date: Nov 26, 2026
Applicant: The Regents of The University of California (Oakland, CA)
Inventors: Mohammad Abdullah Al Faruque (Irvine, CA), Marco Levorato (Irvine, CA), Mohanad Odema (Irvine, CA), Luke Chen (Irvine, CA)
Application Number: 19/135,253
Classifications
International Classification: G06V 20/56 (20220101); G06V 10/82 (20220101);