Early exit neural network for radar processing
Patent Information
- Application Number
- CN202410273742.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-13
- Filing Date
- 2024-03-11
- Publication Date
- 2024-09-13
AI Technical Summary
[0003]然而,在资源受限的UE上处理由雷达传感器获取的雷达测量帧仍然是一个挑战
Smart Images

Figure CN118643879A
Abstract
Description
Technical Field
[0001] Various examples of the present disclosure generally relate to processing radar measurement frames. Various examples of the present disclosure specifically relate to a deep neural network including one or more early-exit branches. Background Art
[0002] Radar sensors enable various use cases for smart devices, such as Internet of Things (IoT) devices and personal computing devices (User Equipment UE).
[0003] However, processing radar measurement frames acquired by radar sensors on resource-constrained UEs remains a challenge. This is because processing radar measurement frames according to prior art solutions is usually computationally expensive. The possibility of implementing corresponding processing algorithms on low-power embedded computing circuit devices is limited. Summary of the invention
[0004] Therefore, there is a need for advanced techniques for processing multiple radar measurement frames. There is a need for advanced techniques for processing multiple radar measurement frames in a power efficient manner. There is a need for advanced techniques for processing multiple radar measurement frames in a computationally efficient manner.
[0005] This need is met by the features of the independent claim. Embodiments are defined by the features of the dependent claims.
[0006] A computer-implemented method includes acquiring a plurality of radar measurement frames. The method also includes processing inputs to the deep neural network in a deep neural network. The inputs are based on the plurality of radar measurement frames. The deep neural network includes a processing pipeline. The processing pipeline is formed by a plurality of layers of the deep neural network. The processing pipeline provides an estimate of a target observable. Two or more of the plurality of layers are coupled to respective early exit branches of the deep neural network. Each early exit branch provides a respective early exit estimate of the target observable. This enables selectively suspending further processing of one of the inputs in the processing pipeline.
[0007] The program code is executable by a processor. The processor performs the computer-implemented method as described above when loading and executing the program code.
[0008] A processing device includes a processor and a memory. The processor is configured to load and execute program code to perform the computer-implemented method as described above.
[0009] A computer-implemented method includes providing a first input in a sequence of inputs to a deep neural network. The computer-implemented method also includes processing the first input in a main processing pipeline of the deep neural network. Thereby, an estimate of a target observable is obtained. The method also includes providing one or more second inputs in the sequence of inputs to the deep neural network and monitoring an output of at least one of the one or more early exit branches of the deep neural network. The one or more early exit branches are coupled to the main processing pipeline. The above monitoring is performed when the first input and the one or more second inputs are provided. Then, based on the above monitoring, it is configured whether to process at least one of the one or more second inputs in the main processing pipeline.
[0010] The program code is executable by a processor. The processor performs the computer-implemented method as described above when loading and executing the program code.
[0011] A processing device includes a processor and a memory. The processor is configured to load and execute program code to perform the computer-implemented method as described above.
[0012] A computer-implemented method for processing an input of a deep neural network is disclosed. The deep neural network includes a processing pipeline. The processing pipeline has a plurality of layers. The processing pipeline provides an estimate of a target observable. Two or more of the plurality of layers are coupled to a corresponding early exit branch of the deep neural network. Each early exit branch provides a corresponding early exit estimate of the target observable. The method includes acquiring a plurality of data sets. The method also includes processing a first input based on one or more first data sets of the plurality of data sets in the deep neural network. A given early exit branch of the early exit branches provides a first early exit estimate for the first input. After processing the first input, the method also includes processing a second input based on one or more second data sets of the plurality of data sets in the deep neural network. The second input is different from the first input. A given early exit branch of the early exit branches provides a second early exit estimate for the second input. A similarity score between the first early exit estimate and the second early exit estimate is determined. Then, the method includes selectively processing the second input in the processing pipeline downstream of a corresponding layer of the plurality of layers coupled to the given early exit branch of the early exit branches based on the similarity score between the first early exit estimate and the second early exit estimate.
[0013] It is to be understood that the features mentioned above and those yet to be explained below can be used not only in the respective combination indicated but also in other combinations or alone, without departing from the scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1schematically illustrates a system according to various examples;
[0015] Figure 2 schematically illustrates a radar sensor according to various examples;
[0016] Figure 3 schematically illustrates processing of radar measurement frames in a deep neural network according to various examples;
[0017] Figure 4A schematically illustrates a deep neural network with an early dropout architecture according to various examples;
[0018] Figure 4B schematically illustrates a plurality of states in which a deep neural network according to various examples may operate;
[0019] Figure 5 are flow charts of methods according to various examples;
[0020] Figure 6 schematically illustrates pre-processing of a plurality of radar measurement frames according to various examples;
[0021] Figure 7 are flow charts of methods according to various examples;
[0022] Figure 8 schematically illustrates processing of radar measurement frames of a time sequence of radar measurement frames according to various examples; and
[0023] Fig. 9 Output spaces and similarity measures defined in the output spaces according to various examples are schematically illustrated. DETAILED DESCRIPTION
[0024] Some examples of the present disclosure generally provide multiple circuits or other electrical devices. All references to circuits and other electrical devices and the functions provided by each are not intended to be limited to only include the contents shown and described herein. Although specific labels can be assigned to the various circuits or other electrical devices disclosed, such labels are not intended to limit the operating range of circuits and other electrical devices. Such circuits and other electrical devices can be combined and / or separated from each other in any way based on the desired specific type of electrical implementation. It should be recognized that any circuit or other electrical device disclosed herein may include any number of microcontrollers, graphics processor units (GPUs), integrated circuits, memory devices (e.g., flash memory (FLASH), random access memory (RAM), read-only memory (ROM), electrically programmable read-only memory (EPROM), or other suitable variants thereof) and software that cooperate with each other to perform the operations disclosed herein. In addition, any one or more electrical devices in the electrical device may be configured to execute a program code, which is implemented in a non-transient computer-readable medium programmed to perform any number of functions disclosed.
[0025] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be understood that the description of the following embodiments should not be considered restrictive. The scope of the present invention is not intended to be limited by the embodiments or drawings described below, which are merely illustrative.
[0026] The accompanying drawings should be considered as schematic diagrams, and the elements shown in the accompanying drawings are not necessarily shown to scale. On the contrary, the various elements are represented so that their functions and general purposes are clear to those skilled in the art. Any connection or coupling between the functional blocks, devices, components or other physical or functional units shown in the figures or described herein can also be achieved by indirect connection or indirect coupling. The coupling between components can also be established by wireless connection. The functional blocks can be implemented with hardware, firmware, software or a combination thereof.
[0027] In the following, a technique for processing a radar measurement frame is disclosed. The radar measurement frame is acquired by a radar sensor.
[0028] According to various examples disclosed herein, a millimeter wave radar sensor can be used to perform radar measurements; the radar sensor operates as a frequency modulated continuous wave radar, which includes a millimeter wave radar sensor circuit, one or more transmitters, and one or more receivers. The millimeter wave radar sensor can transmit and receive signals in the range of 20 GHz to 122 GHz. Alternatively, frequencies outside this range, such as frequencies between 1 GHz and 20 GHz, or frequencies between 122 GHz and 300 GHz, can also be used.
[0029] In one mode of operation, the radar sensor transmits multiple radar pulses, such as chirps, to the scene. This is referred to as pulsed operation. In some embodiments, the chirp is a linear chirp, i.e., the instantaneous frequency of the chirp varies linearly with time.
[0030] The Doppler shift can be used to determine the velocity of an object. Thus, the measurement data provided by a radar sensor can indicate the depth position of multiple objects of a scene. Velocity can also be indicated.
[0031] The radar sensor may output a measurement frame. In general, a measurement frame (sometimes also called a data frame or a physical frame) includes data samples for multiple radar pulses (particularly chirps) at a specific sampling time. The slow time is incremental from chirp to chirp; the fast time is incremental for subsequent samples. Channel dimensions for different antennas may be used. The radar sensor outputs a time sequence of measurement frames.
[0032] A technology capable of processing radar measurement frames in a UE is disclosed. For example, the UE may be a smart phone, a touch screen, a smart watch, a smart TV, etc. A technology capable of processing radar measurement frames in an edge computing device is disclosed.
[0033] In the following, advanced techniques for processing radar measurement frames are disclosed. Advanced processing algorithms are disclosed. These processing algorithms are tailored to achieve computationally efficient processing while maintaining accuracy in predicting target observables.
[0034] According to various examples, a machine learning algorithm is used to process multiple radar measurement frames. The machine learning algorithm is implemented by a deep neural network. The deep neural network (NN) includes a processing pipeline. The processing pipeline is configured to obtain input. The processing pipeline is configured to provide output. The processing pipeline includes a sequence of network layers (or layers for short). This includes an input layer, an output layer, and a plurality of hidden layers located between the input layer and the output layer.
[0035] Each layer of the NN performs a corresponding computational operation. At least some of these layers are convolutional layers that apply convolutions between input feature maps and corresponding kernels. Each layer has certain weights to process the input activations. The weights are determined during the training process.
[0036] According to various examples, the NN is pre-trained to provide a specific output based on the input. For example, the NN can be trained to solve a classification task or a regression task. For example, gesture classification can be implemented, that is, the predicted target observable is a gesture category. Obstacle detection can be implemented, that is, the predicted target observable is the presence or absence of an obstacle. The speed of the object can be detected, that is, the predicted target observable is the speed of the main object, for example, in meters per second. Another example includes people counting. Here, the number of people in the scene is determined; different candidate categories are associated with different people counts. Another example involves motion classification. The disclosed technology can be used to identify and classify various types of motion. For example, the gesture category of a gesture performed by an object can be determined. Different candidate categories are suitable for different gestures. Other examples of motion classification will involve kicking motion classification. Smart Trunk Opener is a concept for opening and closing the trunk or door of a vehicle without using an automatic and hands-free key. The kicking motion is performed by the user with his feet. Gait classification can be performed.
[0037] These are just examples. The specific tasks solved by the NN are not germane to the techniques disclosed herein. The specific target observables predicted by the NN are not germane to the techniques disclosed herein. The techniques disclosed herein are broadly applicable to different NNs trained to solve different tasks.
[0038] Some example NNs that can be used according to the disclosed technology are disclosed in: US2023068523A; US2021325509A; US2019302253A; US2022404486A.
[0039] The various techniques are based on the finding that a significant challenge in applying NNs to process radar measurement frames in edge deployments is the resource requirements, both in terms of the required processing power and the processing power itself. This makes it challenging to deploy the corresponding NNs on low-power embedded computing circuit devices.
[0040] According to various examples, a particularly suitable NN is disclosed that can reduce computational complexity and reduce power.
[0041] According to various examples, low power embedded computing circuitry (eg, a microcontroller) is configured to perform processing of a plurality of radar measurement frames.
[0042] According to various examples, the NN used includes, in addition to the (main) processing pipeline, one or more early exit branches. Two or more layers of the plurality of layers of the processing pipeline are coupled to respective early exit branches. Each early exit branch provides a respective early exit estimate of a target observable to be predicted.
[0043] In other words, more generally, NNs are implemented using an early exit architecture. An "early exit NN" is employed for radar processing.
[0044] Early Exit NN is publicly available for the following other use cases:
[0045] Panda, Priyadarshini, Abhronil Sengupta, and Kaushik Roy. "Conditionaldeep learning for energy-efficient and enhanced pattern recognition." 2016 Design, Automation & Test in Europe Conference & Exhibition (DATE). IEEE, 2016.
[0046] Fang, Biyi, et al. "Flexdnn: Input-adaptive on-device deep learning for efficient mobile vision." 2020IEEE / ACM Symposium on Edge Computing (SEC). IEEE, 2020.
[0047] Amthor, Manuel, Erik Rodner, and Joachim Denzler. "Impatient dnns-NNs with dynamic time budgets." arXiv preprint arXiv:1610.02850 (2016).
[0048] Hu, Hanzhang, et al. "Learning anytime predictions in NNs via adaptive loss balancing." Proceedings of the AAAI Conference on ArtificialIntelligence.Vol.33.No.01.2019.
[0049] The early exit branch maps the latent feature space of the corresponding layer of the processing pipeline to which it is coupled to onto the output space of the NN. For example, the early exit branch may include one or more convolutional layers, e.g., fully connected layers. Thus, the early exit branch typically decodes the embedded latent feature space of the corresponding layer of the processing pipeline to which it is coupled (hereinafter referred to as the breakout layer). Thus, since both the processing pipeline and each of the early exit branches provide estimates of the target observable and the output space, the output of the processing pipeline or the output of any of the early exit branches may be relied upon as a consolidated estimate of the target observable.
[0050] However, the early exit branch is designed to provide the corresponding early exit estimate in a computationally efficient manner. That is, processing along the early exit branch requires fewer computational resources than processing along the main processing pipeline (downstream of the corresponding grooming layer). Therefore, the early exit branch can selectively suspend further processing of the input to the neural network and processing pipeline.
[0051] According to various disclosed examples, the early exit estimate provided by the early exit branch can have multiple functions. These functions are summarized in Table 1 below:
[0052]
[0053]
[0054]
[0055] Table 1: Features for early exit estimation. Features 1 and 2 can also be combined with each other.
[0056] To provide functions I and / or II, it may be possible to rely on a given early exit branch being selected. That is, one of a plurality of early exit branches may be selected. For example, the early exit estimates of all early exit branches may be compared with a master estimate demonstrated by the main processing pipeline. The most upstream early exit branch that makes a prediction consistent with the master estimate may be selected. The most upstream early exit branch that obtains a majority vote among all estimates may be selected.
[0057] Figure 1 Schematically a system 65 is shown. The system 65 comprises a radar sensor 70 and a processing device 60. The processing device 60 may acquire measurement data 64 from the radar sensor 70.
[0058] For example, the processing device may be an embedded device, a smartphone, a smart watch, etc.
[0059] A processor 62 (e.g., a general purpose processor (central processing unit CPU), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a low power embedded computing circuit device) may receive measurement data 64 via an interface 61 and process the measurement data 64. For example, the measurement data 64 may include a time series of measurement frames, each measurement frame including samples of an ADC converter.
[0060] The processor 62 may load the program code from the memory 63 and execute the program code. The processor 62 may then perform the techniques disclosed herein, for example, processing input data using an ML algorithm, making classification predictions using an ML algorithm, training an ML algorithm, and the like.
[0061] Details regarding this processing will be explained in greater detail below; however, first, details regarding the radar sensor 70 will be explained.
[0062] Figure 2 Various aspects of a radar sensor 70 are shown. The radar sensor 70 includes a processor 72 (labeled as a digital signal processor DSP) coupled to a memory 73. Based on program code stored in the memory 73, the processor 72 can use a transmit antenna 77 and a digital-to-analog converter (DAC) 75 to perform various functions related to transmitting radar pulses 86. Once the radar pulses 86 have been reflected by the scene 80, the processor 72 can use the ADC 76 and a plurality of receive antennas 78-1, 78-2, 78-3 to detect the corresponding reflected radar pulses 87 (e.g., arranged in an L-shape with a half wavelength distance; see Figure 2 , so that the phase differences between different antenna pairs relate to azimuth and elevation, respectively). Processor 72 may process the raw data samples acquired from ADC 76 to some greater or lesser extent. In some examples, a radar measurement frame (sometimes also referred to as a data frame or a physical frame) is determined and output.
[0063] The radar measurement can be implemented as a basic frequency modulated continuous wave (FMCW) principle. Frequency chirping can be used to implement the radar pulse 86. The frequency of the chirp can be adjusted in the frequency range of 57 GHz to 64 GHz. The transmitted signal is backscattered with a time delay corresponding to the distance of the reflecting object captured by all three receiving antennas. The received signal is then mixed with the transmitted signal and then low-pass filtered to obtain an intermediate signal. The frequency of this signal is significantly lower than the frequency of the transmitted signal, so the sampling rate of the ADC 76 can be reduced accordingly. The ADC can operate with a sampling frequency of 2 MHz and a precision of 12 bits.
[0064] As shown, scene 80 includes multiple objects 81-83. Each of these objects 81-83 is at a certain distance from antenna 78-1, 78-2, 78-3 and moves at a certain relative speed relative to sensor 70. These physical quantities define the range and Doppler frequency of radar measurement. The lateral position relative to sensor 70 defines the elevation angle and azimuth angle.
[0065] For example, objects 81-83 may belong to three persons; for a people counting application, the task would be to determine that the scene includes three persons. In another example, objects 81, 82 may correspond to the background, while object 83 may belong to the user's hand - thus, object 83 may be referred to as a target or target object. Based on radar measurements, gestures made by the hand may be identified. This is just one example of a task that is solved by a corresponding processing algorithm. Various types and kinds of target observables may be predicted.
[0066] Figure 3 Schematically, processing of a plurality of radar measurement frames 101-103 using a NN 500 is shown. The input to the NN 500 is based on the plurality of radar measurement frames 101-103. Pre-processing is possible. Then, a merged estimate 115 is provided, which predicts the target observable. Downstream processing associated with a specific use case uses the merged estimate 115. For example, a user interface may be controlled based on the merged estimate 115. User interactions may be based on the merged estimate 115.
[0067] According to an example, NN 500 implements an early exit architecture. Figure 4A to describe the details.
[0068] Figure 4A Details are shown about the NN 500. The NN 500 processes inputs 505 provided, for example, as multi-dimensional arrays. These inputs 505 are based on a plurality of radar measurement frames.
[0069] In one example, each radar measurement frame of the plurality of radar measurement frames is provided one after another as input 505 to the NN 500. In other scenarios, pre-processing is possible, for example to determine an aggregated radar measurement frame based on two or more radar measurement frames.
[0070] NN 500 includes a processing pipeline 510. The processing pipeline is formed by a plurality of layers 511-514. In the example shown, layers 511-513 are convolutional layers, and layer 514 is a fully connected layer. This is just one example of other implementations of processing pipeline 510. More layers may be used. Other types of layers may also be used.
[0071] The processing pipeline 510 provides an estimate 550 of the target observable to be predicted. The estimate of the target observable provided by the processing pipeline 510 will be labeled as the main estimate 550 hereinafter.
[0072] exist Figure 4A In the example shown, a class is predicted. This is done by Figure 4A The predicted probabilities 580 provided for a total of six classes are schematically illustrated in the illustration of FIG. The specific class with the highest predicted probability in the main estimate 550 is highlighted.
[0073] Layer 511 and layer 512 are each coupled to a respective early exit branch 520, 530. Thus, they are early exit grooming layers.
[0074] Each of the early exit branches 520 , 530 provides a respective early exit estimate 555 , 556 of the target observable.
[0075] exist Figure 4A In the example shown, the early exit branches 520 , 530 each include a respective max pooling layer 521 , 531 followed by a respective fully connected layer 522 , 532 .
[0076] Figure 4A The predicted probability 580 of the early exit estimates 555, 556 is shown in FIG. Figure 4A As shown, early exit branch 530 provides an early exit estimate 556 that is consistent with main estimate 550 provided by processing pipeline 510 (i.e., the same class has the maximum predicted probability in both estimates 550, 556). On the other hand, early exit branch 520 provides an early exit estimate 520 that is inconsistent with main estimate 550 provided by processing pipeline 510 (i.e., a different class has the maximum predicted probability in both estimates 555, 550).
[0077] The early exit branch enables further processing of the input 505 to be selectively aborted in the processing pipeline 510 (ie downstream of the respective grooming layers 511, 512). Thus, the computational resources used to make predictions are reduced. This effect will be explained in further detail below.
[0078] As a general rule, it is computationally less expensive to use one of the early exit estimates 555, 556 as the merged estimate 115 than to use the main estimate 550 as the merged estimate 115. Figure 4A5. The corresponding input 505 to the NN 500 is processed in the main processing pipeline until the grooming point 591 at the output side of the grooming layer 511. Then, the processing resources required along the path 592 (i.e., further downstream processing along the processing pipeline 510) are significantly higher than the processing resources required along the path 593 along the early exit branch 520. For example, multiple convolution operations are performed in the layers 512, 513.
[0079] According to various examples, such processing of input 505 can be selectively aborted in processing pipeline 510, downstream of respective grooming layers 511, 512 coupled to respective dependent early exit branches 520, 530. This reduces the required computational resources. This reduces the prediction time provided by NN 500. Processing latency can be reduced.
[0080] The merged estimate 115 of the NN 500 is determined based on the main estimate 550 and one or more of the early estimates 555, 556. There are many options available as to how to determine the merged estimate 115. For example, an average may be formed from the main estimate 550 and each of the early estimates 555, 556. In another example, the merged estimate may be determined based on a majority vote among the early exit estimates 555, 556 and the main estimate 550 provided by the processing pipeline 510. For example, in Figure 4A In the scenario of , the majority vote will be the class predicted by both the main estimate 550 and the early exit estimate 556 (a 2:1 vote for the early exit estimate 555). In some examples, the specific calculation of the merged estimate 115 depends on the specific state in which the NN 500 is operating, such as Figure 4B shown.
[0081] Figure 4B Schematically shown are states 911, 912 in which the NN 500 may operate. Depending on the state 911, 912, the merged estimate 115 is determined differently.
[0082] In detail, state 911 is associated with a new (ie, previously unseen) scene 80; whereas state 912 is associated with a scene 80 that NN 500 has previously seen.
[0083] For a new scenario (state 911), the merged estimate 115 may be equal to the master estimate 550 provided by the processing pipeline 510. The merged estimate 115 may also correspond to a majority vote among all estimates 550, 555, 556. The average of all predicted probabilities 580 may be calculated.
[0084] Differently, when operating in state 912, merged estimate 115 can be equal to merged estimate 115 determined when operating in state 911 the last time. This means that when operating in state 912, the prediction of the target observable does not change. Alternatively, merged estimate 115 can correspond to the early exit estimate of a given early exit branch among all early exit branches considered to be characteristic of the current scene (scene-featured early exit branch). See Function II of Table 1. For example, an early exit branch can be considered to be characteristic of the current scene, depending on whether its early exit estimate is consistent with a majority vote among all estimates or with an estimate provided by the processing pipeline when operating in state 911 for the scene. The early exit estimates of the scene-featured early exit branches can be monitored, and based on the above monitoring, when operating in state 912, the early estimate of the target observable can be reused as the merged estimate 115, or the merged estimate 115 can be updated based on the output of the processing pipeline 150 (i.e., based on the main estimate 550). Thus, when reusing a previous estimate of the target observable as the merged estimate 115, i.e., when operating in state 912, processing of the input 505 in the processing pipeline 510 is suspended. Thus, state 912 is a low power state in which the required computational resources are particularly low, particularly compared to state 911. When operating in state 912, there is no need to continue processing along the entire processing pipeline 510.
[0085] According to various examples, the transition between states 911, 912 is regulated based on monitoring the evolution of at least one of the early exit estimates 555, 556. See Function I of Table 1. Thus, when operating in state 912, it may be tracked over time whether at least one of the early exit estimates 555, 556 changes significantly from input to input 505. If such a significant change is detected, a transition to state 911 may be performed. A significant change may indicate a change in the observed scene 80. When a change in the observed scene 80 is detected, it may be desirable to operate in state 911 to determine a new master estimate 550. For example, when operating in state 912, the evolution of the scene feature early exit branch may be monitored. Thus, when transitioning from state 911 to state 912, a given early exit branch of the available early exit branches 520, 530 may be selected as the scene feature early exit branch. The evolution of the early exit estimates of the selected early exit branches 520, 530 may then be monitored. The merged estimate 115 is then based on the corresponding selected early exit estimate of all early exit estimates 555, 556. When transitioning from state 911 to state 912, a scene feature early exit branch may be determined based on a comparison of all early exit estimates with the main estimate 550 provided by the processing pipeline 510. For example, majority voting may be used, and the most upstream early exit branch (i.e., coupled to the most upstream grooming layer) may be used as the scene feature early exit branch.
[0086] from Figure 4B As can be understood from the discussion of , this approach is based on a temporal correlation analysis of the inputs. This leads to a high degree of similarity between subsequent inputs, and changes in the inputs during inference lead to corresponding changes in the classification output vector.
[0087] f NN (x+Δx)≈y+Δy (1)
[0088] Here, f NN Representing NN 500 , x is an input, Δx is the change between subsequent inputs, y is the corresponding estimate 550 , 555 , 556 , and Δy is the change in the corresponding estimate 550 , 555 , 556 .
[0089] In the following, two examples of predicting a target observable and transitioning between states 911 and 912 will be provided.
[0090] Example A
[0091] The output vector of the NN The change in determines the similarity between input samples. In one example, the similarity is the current classification output vector The vector with the previous sample The Euclidean distance between (being compared), see Equation 2. The output vectors form a C-dimensional vector space, where C is the number of categories of the prediction task.
[0092]
[0093] The Euclidean distance metric is just one example. Other distance metrics may be used.
[0094] In one example, the change can be defined as the distance between the output vectors of the most upstream early exit branches exist Figure 4A This always exits branch 520 early in the following scenario:
[0095]
[0096] That is, function I in Table 1 is implemented based on the most upstream early exit branch.
[0097] Furthermore, while Equation 3 uses the change between t and t0 (i.e., the earliest early exit estimate for the current scenario; it can also be labeled as t initial ), but can also rely on the difference from the earliest previous early exit estimate.
[0098] The initial input to the scenario (i.e., when operating in state 911) is labeled by a majority vote of all the estimates of the NN (see Equation 4, label ). This means that most early exit branches and processing pipeline consistent estimates will be returned as predictions of the target observable. When operating in state 911, the merged estimate 115 is accordingly provided as follows:
[0099]
[0100] The prediction for each time step is defined in Equation 5. If the currently processed input is similar enough to the initial input of the scene (its change is less than a threshold), the prediction of the initial input will be reused - this corresponds to state 912. That is, in this case, function II of Table 1 is not used; the merged estimate remains constant while operating in state 912. In this case, no deeper layers and classifiers than those required to produce the first classification vector will be executed. If it is not similar to the initial sample, it will be marked by a majority vote of all classifiers and is the first sample of the new scene (i.e., fall back to state 911).
[0101]
[0102] This is for classification tasks. For regression tasks, the threshold can be defined similarly, as it will describe the maximum acceptable difference between two scalar values of the compared time steps.
[0103] Majority voting eliminates reliance on unreliable confidence-based metrics. Comparing the currently processed input to the initial input to the scene, rather than to the immediate predecessor, prevents false labeling due to slow drift in subsequent samples. Additionally, using early classifiers to produce a change metric (see Equation 3) improves efficiency by allowing operations to be reused. The use of early exit estimates creates a simple similarity metric for complex radar data.
[0104] The example explained above does not perform predictions on subsequent inputs to the scene (without using feature II of Table 1). Instead, it relies on similarities between inputs to reuse previously acquired predictions. The most upstream early exit branch is always used to detect whether the same scene is still present. This means that higher-level features extracted by deeper hidden layers cannot be taken into account when calculating the change measure. This can result in a significant drop in accuracy compared to this.
[0105] Example B
[0106] To mitigate this, in another example B, the most upstream early exit branch does not have to be selected as the scene feature early exit branch for all scenes; instead, the most upstream early exit branch is selected as the scene feature early exit branch that agrees with the majority vote among all estimates. See Equation 6. This allows the mechanism to utilize early exit branches that are more likely to detect new scenes when extracting the necessary features to correctly label the initial sample.
[0107]
[0108] Consistently, this feature early exit branch is also considered when determining the similarity measure (see Table 1: Feature I):
[0109]
[0110] The characteristic early exit branch can also be used to make predictions about subsequent inputs (see Function II of Table 1). This incurs minimal overhead because the output vector has already been calculated to determine whether the scene has changed.
[0111] condition(t)=change(t,t initial )<threshold and
[0112]
[0113]
[0114] The second example (if compared to the first) trades increased prediction accuracy for additional computation. Scene change detection is now based not only on the distance between feature early exit branch output vectors compared to a threshold, but also on the change in prediction. This can be described as a patience-based decision mechanism. However, it adds a temporal component by not comparing the outputs of different early exit branches for the same sample but instead predicting the same early exit branch across similar inputs. The updated output function for each time step is described by Equation 8.
[0115] Figure 5 is a flow chart of a method according to various examples. For example, a processor of a processing device may perform when loading program code from a memory and executing the program code. Figure 5 For example, when the processor 62 loads the program code stored in the memory 63 and executes the program code (see Figure 1 ) can be executed Figure 5 method.
[0116] Figure 5 The methods generally involve predicting target observables. Figure 5 The method generally corresponds to using a NN, in particular an early exit NN, to process radar measurement frames. For example, the following may be used: Figure 4A NN 500 discussed in . Figure 4B State-dependent processing as discussed in .
[0117] At block 3005, a plurality of radar measurement frames are acquired. For example, this may be accomplished via a communication interface (see Figure 1 The communication interface 61) obtains the corresponding radar measurement frame. The measurement can be performed.
[0118] The radar measurement frames in the plurality of radar measurement frames may be acquired sequentially. For example, the plurality of radar measurement frames may form a time series. Thus, the radar sensor may perform measurements and provide updated radar measurement frames at a certain refresh rate.
[0119] At block 3010 , optionally, a plurality of radar measurement frames may be pre-processed.
[0120] For example, the preprocessing may implement batch-wise processing in the NN. That is, a plurality of batches may be formed, where each batch includes two or more radar measurement frames sequentially selected from the time series. At block 3010, such batches may be formed by buffering the radar measurement frames as they are sequentially acquired when forming the batches that are subsequently input to the NN. The input to the neural network for predicting the target observable may be batch-based.
[0121] In one example, a batch of multiple radar measurement frames may be concatenated to form a corresponding input to the NN.
[0122] In another example, the data entries of the radar measurement frames may be rearranged when forming the input. For example, the dimensionality of the data structure input to the NN may also be reduced. A respective aggregated radar measurement frame may be formed for each of a plurality of batches. In particular, the time and channel dimensions of a plurality of radar measurement frames of a given batch may be combined into a combined time and channel dimension.
[0123] For example, all radar measurement frames of a batch can be concatenated along the time dimension (T) in a batch data structure: [T,H,W,C]. Here, H represents height or slow time; W is width or fast time, and C is the channel dimension. Then, the entries can be reordered: to obtain an aggregated radar measurement frame with only three dimensions (instead of four): [H,W,C×T]. The channel and time dimensions. Figure 6 Such a combination of three radar measurement frames 101 , 102 , 103 of time series 700 into a single aggregated radar measurement frame 789 is shown.
[0124] Reference again Figure 5 : In block 3015, the target observable is predicted. That is, a merged estimate is obtained from the corresponding processing algorithm implemented by the NN (see Figure 3 and Figure 4A of the combined estimate 115 provided by NN 500).
[0125] In general, there are multiple options for how to operate a NN with an early exit architecture. In a first option, the processing power headroom available in the computing device is monitored while processing is being performed; if the processing power headroom drops below a certain threshold, an early exit estimate of the target observable can be relied upon and further processing of the input in the processing pipeline is aborted. This limits the required computational resources and ensures timely prediction of the target estimate. In a second option, the confidence level of the early exit estimate provided by each early exit branch is monitored, and then the most upstream early exit branch whose confidence level exceeds a certain threshold is selected. In a third option, a strategic NN is used that determines, based on the input, which early exit branch should be used or whether to use the main estimate.
[0126] In the fourth option, the state-dependent selection of the early exit branch is used using the scenario characteristics. Figure 4B Described in.
[0127] Optionally, this prediction of the target observable in the use case can be utilized in block 3020. For example, a GUI can be controlled based on a detected and classified gesture performed by a user. For example, for a trunk opener, in case a kicking gesture is detected, the trunk can be opened. For example, in case a passenger is detected in the vehicle, the air conditioning in the vehicle can be activated. People counting can be used to trigger a security alarm for a security application. These are just some examples of use cases, and various other use cases are also conceivable.
[0128] Figure 7 is a flow chart of a method according to various examples. Figure 7 The method involves operating in a NN to provide a prediction of a target observable. The NN provides a combined estimate of the target observable. The NN can be as described above in conjunction with Figure 4A The NN 500 in question.
[0129] In block 3105, a current input 505 is obtained. Based on the current input 505, a prediction of the target observable is made by the NN 500. A corresponding merged estimate 115 is provided. For example, in the first iteration 3129 of block 3110, the merged estimate 115 may be equal to the master estimate 550 provided by the processing pipeline 510. Alternatively, the merged estimate 115 may be equal to the majority vote among all early exit estimates 555, 556 and the master estimate 550.
[0130] The first iteration of block 3110 (i.e., a new initialization of NN 500) corresponds to state 911 (see Figure 4B ), that is, the new scene.
[0131] Then, in box 3115, the predicted / merged estimate of box 3110 is stored.
[0132] In block 3120, the next input 505 is obtained.
[0133] At block 3125, a determination is made as to whether the new input acquired at block 3120 corresponds to a new scene, or more precisely, is associated with the same scene as the previously acquired input for which the prediction was stored at block 3115. If the current input corresponds to the same scene, the method begins at block 3130, and the stored prediction of block 3115 is used as the merged estimate. This corresponds to the operation in state 912 (see Figure 4B ). Then, in iteration 3128, the next input is obtained in box 3120.
[0134] Otherwise, if at box 3125 a new scene is detected at box 3125, iteration 3129 is performed and at box 3110 a new prediction is made for the target observable and provided as the merged estimate.
[0135] Next, combine Figure 8Discussion of the use of NN 500 and Figure 7 operations to handle specific input scenarios.
[0136] Figure 8 The processing of a plurality of subsequent radar measurement frames 711 , 712 , 721 , 722 , 723 , 731 of a time series 700 of radar measurement frames is schematically shown. Figure 8 For the purpose of this, it is assumed that no preprocessing occurs, i.e., batch processing is disabled. However, by using batch processing, it is easy to apply Figure 8 Similar technology is disclosed.
[0137] Figure 8 Shown as a combination Figure 4A The processing of radar measurement frames using NN 500 is discussed. In particular, Figure 8 A probability distribution 580 of the main estimate 550 and probability distributions 580 of the early exit estimates 555 , 556 are shown.
[0138] exist Figure 8 In , for simplicity, a classification task with three classes “A”, “B” and “C” is shown. However, other classification tests or regression tasks can be easily used.
[0139] First, the radar measurement frame 711 is processed. As shown, the downstream early exit branch 530 provides an early exit estimate 556 that is consistent with the main estimate 550 provided by the main processing branch 510. In contrast, the upstream early exit branch 520 provides an early exit estimate 555 that is inconsistent with the main estimate 550 and the early exit estimate 556. Therefore, both the main estimate 550 and the early exit estimate 556 correspond to a majority vote among all estimates 550, 555, 556. The merged estimate 115 is determined as the main estimate 550 or is determined based on the majority vote (e.g., as an average of the early exit estimate 556 and the main estimate 550).
[0140] Then the early exit branch 530 is selected as the scene feature early exit branch of the current scene 80-1. This is because the early exit branch 530 is the most upstream early exit branch that meets the majority vote (see the combination Figure 4B Example B of the discussion; see Equation 6). Alternatively, to select the most upstream early exit branch that meets the majority vote, the most upstream early exit branch that meets the main estimate 550 may be selected.
[0141] In more detail, all grooming layers of the processing pipeline 510 that are consistent with majority voting and / or master estimation 550 may be considered. Figure 4AIn the scenario of , this is just the grooming layer 512. From the subset of grooming layers (usually, more than a single layer), the early exit branch coupled to the most upstream grooming layer of the subset is selected: here, the early exit branch 530 coupled to the grooming layer 512. This corresponds to Eq.
[0142] Next, subsequent radar measurement frame 712 is processed. Radar measurement frame 712 is different from radar measurement frame 711. A determination is made as to whether radar measurement frame 711 and radar measurement frame 712 correspond to the same scene 80-1. Such a determination may include determining a similarity score between early exit estimate 556 determined for radar measurement frame 711 and early exit estimate 556 determined for radar measurement frame 712. The similarity score may be a Euclidean distance between these two instances of early exit estimate 556. See Equation 7. This is in Fig. 9 80-1. Here, the position 811 in the output space 800 of the early exit estimate 556 determined for the radar measurement frame 711 is shown. The early exit estimate 556 determined for the radar measurement frame 712 is located at the position 812 which is closer to the position 811 than the certain threshold 820. Therefore, the similarity score indicates that the early exit estimate 556 determined for the radar measurement frame 711 and the early exit estimate 556 determined for the radar measurement frame 712 are similar to each other. Therefore, it can be concluded that the radar measurement frames 711, 712 correspond to the same scene 80-1. Then, the processing of the radar measurement frame 712 in the processing pipeline 510, downstream of the grooming layer 512, can be suspended.
[0143] exist Fig. 9 In , the similarity score is based on a threshold comparison between the distances in the space of the corresponding outputs. The distance can be compared to a predefined threshold. In general, different predefined thresholds can be used for different early exit branches. It is also possible to use the same distance for all early exit branches.
[0144] refer to Figure 8 , and then the radar measurement frame 721 is processed. The radar measurement frame 721 is again different from any of the radar measurement frames 711 and 712. It is determined whether the radar measurement frame 721 and the radar measurement frame 712 correspond to the same scene. Again, a similarity score is determined. Again, refer to Fig. 9 , position 813 is associated with early exit estimate 556 determined by selected early exit branch 530. Position 813 has a distance to position 811 greater than threshold 820; thus, accordingly, it is assumed that the scene has changed from scene 80-1 to scene 80-2 ( Figure 8 The operation switches back to state 911 (see Figure 4B). This triggers the processing of the radar measurement frame 721 based input 505 throughout the processing pipeline 510 to obtain the main estimate 550. In addition, the radar measurement frame 721 based input 505 is processed in any remaining early exit branches (such as early exit branch 520) to obtain the early exit estimate 555.
[0145] An early exit estimate 556 determined for radar measurement frame 721 that is different from the early exit estimate 556 determined for radar measurement frame 712 may trigger selection of a new scene feature early exit branch for new scene 80-2; in this case, this is the early exit branch 520 that provides the early exit estimate 555. This is because the early exit branch 520 is the most upstream early exit branch of all early exit branches 520, 530 that conforms to the majority vote and the estimate 555 provided by the processing pipeline 510.
[0146] Next, the subsequent input 505 based on the radar measurement frame 722 is processed. The early exit estimate 555 determined for the radar measurement frame 722 is compared with the early exit estimate 555 determined for the radar measurement frame 721. They are similar, so the input 505 based on the radar measurement frame 722 is not further processed in the processing pipeline 510 and the early exit branch 530.
[0147] The combined estimate 115 may be determined based on the radar measurement frame 721. This is the radar measurement frame 721 that initializes the current scene 80-2, i.e., corresponds to the last operation in the state 911. In detail, the combined estimate 115 provided for the radar measurement frame 722 is a majority vote of all estimates 550, 555, 556 determined for the radar measurement frame 721; or it may be the main estimate 550 determined for the radar measurement frame 721. This would correspond to combining Figure 4B Example A discussed; see Equation 5.
[0148] Alternatively, the combined estimate 115 may be determined based on the radar measurement frame 722. For example, the combined estimate may be determined as the early exit estimate 555 determined for the radar measurement frame 722. This would correspond to combining Figure 4B Example B discussed; see Equation 8.
[0149] Next, the input 505 based on the subsequent radar measurement frame 723 is processed. The early exit estimate 555 determined for the radar measurement frame 723 is compared with the early exit estimate 555 determined for the radar measurement frame 721. They are similar, so the radar measurement frame 723 is not processed further in the processing pipeline 510 and the early exit branch 530.
[0150] The combined estimate 115 may be determined based on the radar measurement frame 721. This is the radar measurement frame 721 that initializes the current scene 80-2, i.e., corresponds to the last operation in the state 911. In detail, the combined estimate 115 provided for the radar measurement frame 723 is a majority vote of all estimates 550, 555, 556 determined for the radar measurement frame 721; or it may be the main estimate 550 determined for the radar measurement frame 721. This would correspond to combining Figure 4B Example A discussed; see Equation 5.
[0151] Alternatively, the combined estimate 115 may be determined based on the radar measurement frame 723. For example, the combined estimate may be determined as the early exit estimate 555 determined for the radar measurement frame 722. This would correspond to combining Figure 4B Example B discussed; see Equation 8.
[0152] For subsequent radar measurement frame 731, a significant deviation is again detected between early exit estimate 555 determined for radar measurement frame 731 and early exit estimate 555 determined for radar measurement frame 721. Therefore, radar measurement frame 731 continues to be processed in processing pipeline 510 to obtain main estimate 550, and is further processed in early exit branch 530 to obtain early exit estimate 556, as previously described. Downstream processing of input 505 associated with radar measurement frame 731 is performed.
[0153] For example, the merged estimate 115 can then be the main estimate 550 determined for the radar measurement frame 731, or a majority vote across all estimates 550, 555, 556 determined for the radar measurement frame 731 (see Equation 8, second line; see Equation 5, second line).
[0154] from Figure 8 , it can be seen that in order to determine the similarity score between the corresponding early exit estimates 555 determined for radar measurement frame 723, it is necessary to retain the corresponding early exit estimate 555 determined for radar measurement 721 in memory. Similarly, when relying on early output, the early exit estimate 555 determined for radar measurement frame 721, or the majority vote among the early exit estimates 555, 556 and the main estimate 550, is retained in memory until the transition back to state 911 of radar measurement frame 731.
[0155] Therefore, a concept of temporal patience is introduced, wherein comparisons are made between multiple radar measurement frames of time series 700. Not only nearest neighbors in time series 700 are considered for respective comparisons (e.g., for similarity scores), but also radar measurement frames that are offset by other intermediate radar measurement frames.
[0156] Figure 8 5 shows the logic for selecting the most upstream early exit branch that meets the majority vote (or alternatively, meets the main estimate 550) as the scenario-specific early exit branch. This is just one example. In other scenarios, the most upstream early exit branch (i.e., Figure 4A architecture, always uses early exit branch 520 as the scene feature early exit branch).
[0157] In summary, a technique for processing radar measurement frames using an early exit neural network has been disclosed. The variation of the input data is quantified across samples by computing the variation of the output vector of the early exit branch. This allows reuse of operations between detection of variations, and prediction of target observables. A simple similarity measure is used, namely the distance in the classification vector space / output space. The similarity measure is used to detect new scenes, which are then labeled (i.e., predicting corresponding target observables) by, for example, a majority vote of all available classifiers of the neural network (i.e., the main estimate and the early exit estimate from the main processing pipeline). Subsequent inputs that are similar to the initial input of the scene are then labeled by the earliest consistent classifier / early exit branch; or if the variation of the earliest classifier is low enough, the majority vote label of the initial input of the scene is reused.
[0158] To further summarize, at least the following examples are disclosed.
[0159] Example 1. A computer-implemented method comprising:
[0160] Acquire multiple radar measurement frames (101, 102, 103),
[0161] processing an input (505) to the deep neural network (500) in the deep neural network (500), the input (505) being based on the plurality of radar measurement frames (101, 102, 103),
[0162] wherein the deep neural network (500) comprises a processing pipeline (510) formed by a plurality of layers (511, 512, 513, 514), the processing pipeline (510) providing an estimate (550) of a target observable,
[0163] Wherein two or more layers (511, 512) of the plurality of layers (511, 512, 513, 514) are coupled to respective early exit branches (520, 530) of the deep neural network (500), each early exit branch (520, 530) providing a respective early exit estimate (555, 556) of a target observable, thereby enabling selectively suspending further processing of one of the inputs (505) in the processing pipeline (510).
[0164] Example 2. The computer-implemented method of Example 1, further comprising:
[0165] sequentially processing inputs (505) in the deep neural network (500),
[0166] monitoring the evolution of at least one of the early exit estimates (555, 556) of the target observable while sequentially processing the input (505), and
[0167] Based on the monitoring, either an earlier estimate of the target observable is reused as a merged estimate (115) of the deep neural network (500), or the merged estimate (115) of the deep neural network (500) is updated based on the output of the processing pipeline (510).
[0168] Example 3. The computer-implemented method of Example 2, further comprising:
[0169] Processing an input (505) in a processing pipeline (510) is suspended when an earlier estimate of a target observable is reused as a merged estimate (115) of a deep neural network (500).
[0170] Example 4. The computer-implemented method of any of the preceding examples, further comprising:
[0171] For each of a plurality of subsequent scenes (80, 80-1, 80-2) captured by a plurality of radar measurement frames (101, 102, 103), a merged estimate (115) of the deep neural network (500) is determined based on a corresponding selected early exit estimate of the early exit estimates (555, 556).
[0172] Example 5. The computer-implemented method of any of the preceding examples, further comprising:
[0173] For each subsequent scene in a plurality of subsequent scenes (80, 80-1, 80-2) captured by a plurality of radar measurement frames (101, 102, 103), a given early exit estimate in the early exit estimates (555, 556) is selected based on a comparison of all early exit estimates (555, 556) with an estimate provided by the processing pipeline (510).
[0174] Example 6. The computer-implemented method of any of the preceding examples, further comprising:
[0175] A change from a first scene captured by a plurality of radar measurement frames (101, 102, 103) to a second scene captured by a plurality of radar measurement frames is detected by monitoring the evolution of a given early exit estimate across a plurality of inputs (505).
[0176] Example 7. The computer-implemented method of any of the preceding examples, further comprising:
[0177] A merged estimate (115) of the deep neural network (500) is determined based on a majority vote among the early exit estimates (555, 556) and the estimates provided by the processing pipeline (510).
[0178] Example 8. The computer-implemented method of any of the preceding examples, further comprising:
[0179] processing in a deep neural network (500) a first input (505) based on one or more first radar measurement frames (721) of a plurality of radar measurement frames (701, 702, 703), a given early exit branch (520) of the early exit branches (520, 530) providing a first early exit estimate for the first input (505),
[0180] After processing the first input (505), processing in the deep neural network (500) a second input (505) based on one or more second radar measurement frames (722, 723) of the plurality of radar measurement frames (701, 702, 703), the second input (505) being different from the first input (505), a given early exit branch (520) of the early exit branches (520, 530) providing a second early exit estimate for the second input (505),
[0181] determining a similarity score between the first early exit estimate and the second early exit estimate, and
[0182] When a similarity score between the first early exit estimate and the second early exit estimate indicates that the first early exit estimate is similar to the second early exit estimate, processing of the second input (505) is selectively suspended in the processing pipeline (510) downstream of a corresponding layer in a plurality of layers (511, 512, 513, 514) coupled to a given early exit branch in the early exit branches (520, 530).
[0183] Example 9. The computer-implemented method of Example 8, further comprising:
[0184] A given one of the early exit branches (520, 530) is selected as the early exit branch (520, 530) coupled to the most upstream layer of two or more layers (511, 512) along the processing pipeline (510).
[0185] Example 10. The computer-implemented method of Example 8, further comprising:
[0186] determining a subset of the two or more layers (511, 512) by selecting from the two or more layers (511, 512) all layers coupled to early exit branches (520, 530) that provide the same early exit estimate (555, 556) for a target observable of the first input (505), and
[0187] A given one of the early exit branches (520, 530) is selected as the early exit branch coupled to the most upstream layer of the subset.
[0188] Example 11. The computer-implemented method of Example 10,
[0189] Wherein the early exit estimate provided for the first input (505) by all early exit branches (520, 530) coupled to the layers of the subset is the same as the estimate provided by the processing pipeline (510) for the first input (505).
[0190] Example 12. The computer-implemented method of Example 10,
[0191] wherein the early exit estimate for the first input (505) provided by all early exit branches (520, 530) of the layers coupled to the subset is a majority vote of all early exit estimates (555, 556) for the first input (505) provided by all early exit branches (520, 530) of the deep neural network (500) and the estimate provided by the processing pipeline (510) for the first input (505).
[0192] Example 13. The computer-implemented method of any one of Examples 10 to 12, further comprising:
[0193] Prior to processing the first input (505) in the deep neural network (500), a third input (505) based on one or more third radar measurement frames (712) of the plurality of radar measurement frames (701, 702, 703) is processed in the deep neural network (500), a given early exit branch or another given early exit branch of the early exit branches (520, 530) providing a third early exit estimate for the third input (505),
[0194] determining a similarity score between the third early exit estimate and the first early exit estimate,
[0195] Wherein selection of a given one of the early exit branches (520, 530) is triggered by a similarity score between the third early exit estimate and the first early exit estimate indicating that the third early exit estimate is not similar to the first early exit estimate.
[0196] Example 14. A computer-implemented method according to any one of Examples 8 to 13,
[0197] The similarity score includes the Euclidean distance.
[0198] Example 15. The computer-implemented method of any one of Examples 8 to 14, further comprising:
[0199] When the similarity score indicates that the first early exit estimate is similar to the second early exit estimate, the second early exit estimate is provided as a merged estimate of the target observable (115).
[0200] Example 16. The computer-implemented method of any one of Examples 8 to 14, further comprising:
[0201] When the similarity score indicates that the first early exit estimate is similar to the second early exit estimate, a majority vote among all early exit estimates (555, 556) provided by all early exit branches (520, 530) and the estimate provided by the processing pipeline (510) for the first input (505) is provided as a merged estimate (115) of the target observable.
[0202] Example 17. The computer-implemented method of any one of Examples 8 to 16, further comprising:
[0203] When the similarity score indicates that the first early exit estimate is not similar to the second early exit estimate, processing of the second input (505) continues in the processing pipeline (510) downstream of the corresponding layer in the plurality of layers coupled to the selected early exit branch among the early exit branches (520, 530).
[0204] Example 18. The computer-implemented method of Example 17, further comprising:
[0205] When the similarity score indicates that the first early exit estimate is not similar to the second early exit estimate, a majority vote among all early exit estimates (555, 556) provided by all early exit branches (520, 530) and the estimate provided by the processing pipeline (510) for the second input (505) is provided as a merged estimate (115) of the target observable.
[0206] Example 19. The computer-implemented method of Example 17, further comprising:
[0207] When the similarity score indicates that the first early exit estimate is not similar to the second early exit estimate, the estimate provided by the processing pipeline (510) for the second input (505) is provided as a merged estimate (115) of the target observable.
[0208] Example 20. A computer-implemented method according to any one of Examples 8 to 19,
[0209] wherein a plurality of radar measurement frames (101, 102, 103) are acquired as a time series (700),
[0210] One or more first radar measurement frames (721) are at an earlier time in the time sequence (200) than one or more second radar measurement frames (723).
[0211] Example 21. The computer-implemented method of Example 20,
[0212] One or more additional radar measurement frames (722) of the time sequence (700) are arranged along the time sequence (700) between one or more first radar measurement frames (721) and one or more second radar measurement frames (723).
[0213] Example 22. A computer-implemented method according to any of the preceding examples, wherein a plurality of radar measurement frames (101, 102, 103) are acquired as a time series,
[0214] The methods also include:
[0215] forming a plurality of batches, each batch of the plurality of batches comprising two or more radar measurement frames sequentially selected from the time series,
[0216] Wherein the input (505) of the deep neural network (500) is batch-based.
[0217] Example 23. The computer-implemented method of Example 22, further comprising:
[0218] for each batch of the plurality of batches: forming a respective aggregate radar measurement frame based on respective two or more radar measurement frames (101, 102, 103) of the respective batch, the aggregate radar measurement frame comprising combined time and channel dimensions,
[0219] Wherein the input (505) of the deep neural network (500) comprises aggregated radar measurement frames.
[0220] Example 24. A computer-implemented method comprising:
[0221] providing a first input (505) of the input sequence (505) to a deep neural network (500), and processing the first input (505) in a main processing pipeline (510) of the deep neural network (500) to obtain an estimate of a target observable,
[0222] providing one or more second inputs (505) of the input sequence (505) to the deep neural network (500), and monitoring an output of at least one of the one or more early exit branches (520, 530) of the deep neural network (500) coupled to a main processing line while providing the first input (505) and the one or more second inputs (505), and
[0223] -=configure, based on monitoring, whether at least one of the one or more second inputs is processed in the main processing pipeline.
[0224] Example 25. The computer-implemented method of Example 24, further comprising:
[0225] After obtaining an estimate of the target observable from processing of the first input (505) in the main processing pipeline (510): selecting a given one of the one or more early exit branches (520, 530) based on a similarity between an output of each of the one or more early exit branches (520, 530) and an output of the main processing pipeline (510),
[0226] An output of a given early exit branch of the one or more early exit branches (520, 530) is monitored.
[0227] Example 26. The computer-implemented method of Example 24 or 25,
[0228] Wherein monitoring the output of at least one of the one or more early exit branches (520, 530) includes determining a similarity measure between a first output of at least one of the one or more early exit branches (520, 530) when a first input (505) is provided to the deep neural network and one or more second outputs of at least one of the one or more early exit branches (520, 530) when one or more second inputs (505) are provided to the neural network.
[0229] Example 27. The computer-implemented method of any one of Examples 24 to 26, further comprising:
[0230] In response to processing a first input (505) in a main processing pipeline (510), an estimate of a target observable is stored and reused until the estimate is updated by processing one or more second inputs (505) in the main processing pipeline (510).
[0231] Example 28. The computer-implemented method of any one of Examples 24 to 27, further comprising:
[0232] Based on the monitoring, an estimate of the target observable is selectively updated based on an output of at least one of the one or more early exit branches.
[0233] Example 29. A computer-implemented method of processing an input (505) to a deep neural network (500), the deep neural network (500) comprising a processing pipeline (510) of a plurality of layers (511, 512, 513, 514), the processing pipeline (510) providing an estimate (550) of a target observable, two or more layers (511, 512) of the plurality of layers (511, 512, 513, 514) coupled to a respective early exit branch of the deep neural network (500), each early exit branch providing a respective early exit estimate (555, 556) of the target observable,
[0234] The methods include:
[0235] Get multiple datasets,
[0236] processing in a deep neural network (500) a first input (505) based on one or more first datasets of a plurality of datasets, a given early exit branch of the early exit branches (520, 530) providing a first early exit estimate for the first input (505),
[0237] After processing the first input (505), processing in the deep neural network (500) a second input (505) based on one or more second datasets of the plurality of datasets, the second input (505) being different from the first input (505), a given one of the early exit branches (520, 530) providing a second early exit estimate for the second input (505),
[0238] determining a similarity score between the first early exit estimate and the second early exit estimate, and
[0239] A second input (505) is selectively processed downstream of a corresponding layer in a plurality of layers coupled to a given one of the early exit branches (520, 530) in a processing pipeline (510) based on a similarity score between the first early exit estimate and the second early exit estimate.
[0240] Example 30. A low-power embedded computing circuit device (62) configured to perform a method according to any of the preceding examples.
[0241] Although the invention has been shown and described with respect to certain preferred embodiments, equivalents and modifications will occur to others skilled in the art upon reading and understanding the specification. The present invention includes all such equivalents and modifications and is limited only by the scope of the appended claims.
[0242] For illustration, although various examples have been disclosed in the context of classification tasks, similar techniques can also be applied to regression tasks.
Claims
1. A computer-implemented method comprising: Acquire multiple radar measurement frames (101, 102, 103), processing in a deep neural network (500) an input (505) to the deep neural network (500), the input (505) being based on the plurality of radar measurement frames (101, 102, 103), wherein the deep neural network (500) comprises a processing pipeline (510) formed of a plurality of layers (511, 512, 513, 514), the processing pipeline (510) providing an estimate (550) of a target observable, wherein two or more layers (511, 512) of the plurality of layers (511, 512, 513, 514) are coupled to respective early exit branches (520, 530) of the deep neural network (500), each early exit branch (520, 530) providing a respective early exit estimate (555, 556) of the target observable, thereby enabling selectively suspending further processing of one of the inputs (505) in the processing pipeline (510).
2. The computer-implemented method of claim 1 , further comprising: sequentially processing the inputs (505) in the deep neural network (500), monitoring an evolution of at least one of the early exit estimates (555, 556) of the target observable while sequentially processing the input (505), and Based on the monitoring, either an earlier estimate of the target observable is reused as a merged estimate (115) of the deep neural network (500), or the merged estimate (115) of the deep neural network (500) is updated based on an output of the processing pipeline (510).
3. The computer-implemented method of claim 2, further comprising: Processing the input (505) in the processing pipeline (510) is suspended when the early estimate of the target observable is reused as the merged estimate (115) of the deep neural network (500).
4. The computer-implemented method of any preceding claim, further comprising: For each of a plurality of subsequent scenes (80, 80-1, 80-2) captured by the plurality of radar measurement frames (101, 102, 103), a merged estimate (115) of the deep neural network (500) is determined based on a corresponding selected early exit estimate of the early exit estimates (555, 556).
5. The computer-implemented method of any preceding claim, further comprising: For each subsequent scene in a plurality of subsequent scenes (80, 80-1, 80-2) captured by the plurality of radar measurement frames (101, 102, 103), a given one of the early exit estimates (555, 556) is selected based on a comparison of all of the early exit estimates (555, 556) with the estimate provided by the processing pipeline (510).
6. The computer-implemented method of any preceding claim, further comprising: A change from a first scene captured by the plurality of radar measurement frames (101, 102, 103) to a second scene captured by the plurality of radar measurement frames is detected by monitoring the evolution of a given early exit estimate across a plurality of inputs (505).
7. The computer-implemented method of any preceding claim, further comprising: A merged estimate (115) of the deep neural network (500) is determined based on the early exit estimates (555, 556) and a majority vote among the estimates provided by the processing pipeline (510).
8. The computer-implemented method of any preceding claim, further comprising: processing in the deep neural network (500) a first input (505) based on one or more first radar measurement frames (721) of the plurality of radar measurement frames (701, 702, 703), a given early exit branch (520) of the early exit branches (520, 530) providing a first early exit estimate for the first input (505), after processing the first input (505), processing in the deep neural network (500) a second input (505) based on one or more second radar measurement frames (722, 723) of the plurality of radar measurement frames (701, 702, 703), the second input (505) being different from the first input (505), the given one of the early exit branches (520, 530) providing a second early exit estimate for the second input (505), determining a similarity score between the first early exit estimate and the second early exit estimate, and Selectively suspending the processing of the second input (505) in the processing pipeline (510), downstream of a corresponding layer among the plurality of layers (511, 512, 513, 514) coupled to the given early exit branch among the early exit branches (520, 530), when the similarity score between the first early exit estimate and the second early exit estimate indicates that the first early exit estimate is similar to the second early exit estimate.
9. The computer-implemented method of claim 8, further comprising: determining a subset of the two or more layers (511, 512) by selecting from the two or more layers (511, 512) all layers coupled to early exit branches (520, 530) that provide the same early exit estimate (555, 556) of the target observable for the first input (505), and The given one of the early-exit branches (520, 530) is selected as the early-exit branch of the most upstream layer coupled to the subset.
10. The computer-implemented method of claim 9, wherein the early exit estimate provided for the first input (505) by all early exit branches (520, 530) of the layers coupled to the subset is the same as the estimate provided by the processing pipeline (510) for the first input (505).
11. The computer-implemented method of claim 9, wherein the early exit estimate for the first input (505) provided by all early exit branches (520, 530) of the layers coupled to the subset is a majority vote of all early exit estimates (555, 556) provided by all early exit branches (520, 530) of the deep neural network (500) for the first input (505) and the estimate provided by the processing pipeline (510) for the first input (505).
12. The computer-implemented method of any one of claims 9 to 11, further comprising: a third input (505) based on one or more third radar measurement frames (712) of the plurality of radar measurement frames (701, 702, 703) is processed in the deep neural network (500) before the first input (505) is processed in the deep neural network (500), the given early exit branch or another given early exit branch of the early exit branches (520, 530) providing a third early exit estimate for the third input (505), determining a similarity score between the third early exit estimate and the first early exit estimate, wherein the selection of the given one of the early exit branches (520, 530) is triggered by the similarity score between the third early exit estimate and the first early exit estimate indicating that the third early exit estimate is not similar to the first early exit estimate.
13. The computer-implemented method of any one of claims 8 to 12, further comprising: When the similarity score indicates that the first early exit estimate is similar to the second early exit estimate, providing the second early exit estimate or a majority vote of all early exit estimates (555, 556) provided by all early exit branches (520, 530) and the estimates provided by the processing pipeline (510) for the first input (505) as a merged estimate (115) of the target observable.
14. The computer-implemented method of any one of claims 8 to 13, further comprising: When the similarity score indicates that the first early exit estimate is not similar to the second early exit estimate, the processing of the second input (505) continues in the processing pipeline (510) downstream of the corresponding layer in the plurality of layers coupled to the selected early exit branch among the early exit branches (520, 530).
15. A low power embedded computing circuit device (62) configured to perform a method according to any one of the preceding claims.
