Method and device for the optimal deployment of AI systems
The method and device enhance AI system reliability and efficiency by estimating output confidence values using machine learning and rule-based systems, optimizing AI deployment and reducing computational demands in resource-constrained environments.
Patent Information
- Application Number
- DE102019218127
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2019-11-25
- Publication Date
- 2024-09-26
- Estimated Expiration
- 2039-11-25
AI Technical Summary
Existing AI systems in automated driving, particularly those based on deep neural networks, face challenges in determining output confidence levels that are environment-dependent and require significant computational resources, making them unsuitable for resource-constrained environments.
A method and device that estimate output confidence values for multiple AI systems using machine learning and rule-based systems, adjusting their deployment and output based on input data and context information, allowing for improved confidence estimation with reduced computational effort.
Enhances the reliability of AI system outputs by optimizing their usage based on estimated confidence values, reducing computational requirements and improving overall performance in resource-limited environments.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[0001] The invention relates to a method and a device for the optimal provision of AI systems.
[0002] Automated driving of vehicles is currently based on processes based on artificial intelligence (AI) and in particular on image processing based on deep neural networks. AI systems - even if These were designed to solve the same task - can differ greatly in their functional quality It should be noted that there is a dependency between the functional quality of a Kl system and the input data it processes. This dependency ensures that AI systems are not inherently good or bad. but have environment-dependent functional qualities.
[0003] Determining the extent to which an output of a Kl system is correct is therefore a central challenge in the implementation of AI-supported functions. An important component in determining the functional quality for Runtime is a confidence of a Kl system. Here, the Kl system specifies (usually with values between 0 and 1), how likely it is that the output results are correct. Is the confidence of a class system under certain circumstances, it is very likely that similar input data will lead to lead to different expenses.
[0004] To assess confidence for outputs of a deep neural network, the following procedures are known: For example, softmax values can be extracted, on which a dispersion measure is then calculated as a measure for the confidence is determined. Furthermore, uncertainties in the output can be eliminated using the Monte Carlo dropout method This is done by repeatedly executing the deep neural network, in which randomly certain connections in the deep neural network are separated, the sampling of a statistical inference process and its variance is determined as a measure of uncertainty or confidence. Ensembling methods are also known, in which different deep neural networks are executed in parallel, with output variances as A measure of uncertainty or confidence can be determined. Then, methods for the variational execution of deep Neural networks, in which latent probability spaces are integrated into the deep neural networks By sampling from these probability spaces, analogous to the Monte Carlo dropout method, Output variances can be determined as a measure of uncertainty or confidence. The methods mentioned offer either only a weak statement about the confidence of the output of a deep neural network or have a increased computing power requirements at runtime and are therefore suitable for use in application areas in which where available computing power is severely limited, particularly in automotive applications, are unsuitable.
[0005] If several AI systems work in parallel, the outputs of the AI systems must be suitably be merged or linked together.
[0006] From US 2016 / 0 358 099 A1, machine learning systems and computer-aided methods for comparing of candidate algorithms for machine learning. The machine learning system includes a library of Machine learning algorithms, a data input module for receiving a data set and a selection of Machine learning models that come from the library of machine learning algorithms, a Experimental module and an aggregation module. The experimental module is configured so that each machine learning model is trained and evaluated to produce a performance score for each machine learning model. The aggregation module is configured to aggregate performance results for all machine learning models aggregated to create performance comparison statistics. Computer-based methods include receiving a dataset, receiving a selection of machine learning models, training and evaluating each machine learning model to create a performance result for each machine learning model, aggregating the Performance results to form performance comparison statistics, and presenting the performance comparison statistics.
[0007] WO 2019 / 199 878 A1 discloses a method for analyzing scenarios for controlling vehicle operations known.
[0008] From US 2014 / 0 279 745 A1 a dynamic classifier is known for performing a binary Classification of instance data using oracles that predict the accuracy of predictions made by corresponding models. An oracle corresponding to a model is trained to provide a confidence value which represents the accuracy of a prediction made by the model. Based on the confidence value and In the predictions, one of several models is selected and its prediction is called an intermediate prediction The intermediate forecast can be used in conjunction with another forecast that is Use of another algorithm to generate a final prediction. By using the confidence value for each Model can make a more accurate prediction.
[0009] The invention is based on the object of providing a method and a device for the optimal provision of AI- systems.
[0010] The object is achieved according to the invention by a method having the features of patent claim 1 and a Device with the features of claim 9. Advantageous embodiments of the invention result from the subclaims.
[0011] In particular, a method for the optimal provision of AI systems is provided, wherein by means of a control device based on input data supplied to a plurality of AI systems or and / or from at least one piece of context information an output confidence value for each of the A majority of AI systems is estimated, whereby the control device is used to provide the AI systems in Dependence of the estimated output confidence values and / or a result of outputs of the individual AI The total output generated by the systems is provided as a function of the estimated output confidence values.
[0012] Furthermore, in particular, a device for the optimal provision of AI systems is created, comprising a control device, wherein the control device is configured to, on the basis of input data which is A majority of AI systems are or are to be supplied and / or by at least one context information to estimate an output confidence value for each of the plurality of AI systems, and Provision of AI systems depending on the estimated output confidence values and / or one of Total output generated by individual AI systems depending on the estimated output confidence values to provide.
[0013] The method and the device make it possible to carry out a Output confidence value for each of the AI systems improved and deploy the AI systems accordingly the respective output confidence values and / or a result generated from the individual outputs of the AI systems Total expenditure as a function of the estimated expenditure confidence values. Estimating the Output confidence values are calculated independently of the AI systems themselves, i.e. exclusively on the basis of the Input data that is or is to be fed to the AI systems and / or based on at least one piece of context information. This allows estimation to be more reliable and with a significantly lower computational effort.
[0014] An AI system is in particular a system, a device or a software module that uses methods of Artificial Intelligence (AI) or machine learning. In particular, an AI system is a system that uses a deep neural network. The AI systems are particularly implemented using a data processing device The majority of AI systems include, in particular, AI systems that fully or partially use the same functions, so that in the majority of AI systems there is at least some functional redundancy is.
[0015] An output confidence value indicates in particular how reliable an output of an AI system is for which the Output confidence value is estimated and provided, i.e. the output confidence value indicates in particular how how likely it is that the output of the AI system is correct. The output confidence value is particularly depending on the input data of the AI systems and / or on at least one piece of context information. Output confidence value is, for example, a value between 0 (= definitely false) and 1 (= definitely correctly) expressed or presented.
[0016] Input data is, in particular, sensor data from one or more sensors. The sensors record, for example, a vehicle's environment. The input data can also be fused sensor data. If a If the sensor is a camera, for example, the input data includes a camera image or several Camera images from the camera. In principle, however, the input data can be of any type.
[0017] Context information is, in particular, information about a (current) context in which the AI systems are used or should be used or in which the input data is located. Context information can For example, one of the following properties may concern: an environment class (e.g. city, country, motorway, country road,...) Weather conditions of an environment (e.g. rain, fog, wind, snow, sunshine, clouds, etc.), lighting conditions of an environment (light, dark,...), traffic conditions of an environment, dynamic properties of a vehicle in which the AI systems are used, a geographical position, a time indication (e.g. season, time of day, day of the week, etc.), one Vehicle interior situation of a vehicle in which the AI systems are used, properties of the input data, For camera images, input data includes, for example, contrast, brightness and / or color values. The at least one Context information is provided to the control device. The at least one piece of context information is in particular by means of a context sensor (rain sensor, light sensor, etc.) and / or a context detection device and / or This can include both sensor data from the context sensors and other information, such as Navigation data, a time, etc. In a motor vehicle, the additional information for example, using the context detection device via a Controller Area Network (CAN) bus.
[0018] Parts of the device, in particular the control device, can be used individually or together as a combination of hardware and software, for example as program code running on a microcontroller or microprocessor. However, it may also be provided that parts, individually or collectively, are application-specific integrated circuit (ASIC). It can be provided that the control device provided by a data processing facility in the form of a software package.
[0019] In one embodiment, it is provided that the estimation of the output confidence values is carried out by means of a method of machine learning, whereby the machine learning process is trained to, based on the Input data and / or at least one piece of context information, the output confidence values of the AI systems to With the help of the machine learning method, a mapping of the input data and / or the at least one piece of context information is learned on the respective output confidence values of the individual AI systems and This allows a wide range of input data and / or context information be reliably mapped to the output confidence values of the individual AI systems. In one application, the Machine learning methods then calculate the output confidence values based on the learned mapping as a function of from current input data and / or at least one captured or provided context information. Machine learning method is in particular a method that uses a deep neural network that This means in particular that the output confidence values of the AI systems are calculated using a (trained) deep The input data is sent to an input layer of the deep neural network and / or the at least one piece of context information. At an output layer, the deep neural network infers then the individual output confidence values. The deep neural network is tested in a Training phase. For this purpose, a training data set is created in which the AI systems are trained for different Input data and / or different contexts generate outputs. The generated outputs are compared with a ground truth belonging to the input data or at least one piece of context information and Based on a match of the outputs with the ground truth, (empirical) output confidence values are In a simple example, it is determined how often an AI system sees an object in the input data provided The percentage of correct classification or output of the AI system is then a A measure of the reliability of the AI system or a measure of the confidence of the AI system. The deep neural network is then, based on the same input data, estimating the corresponding empirically determined Output confidence values are trained. This is done for a variety of different input data and / or different Context information and for all AI systems. After the training phase, the trained deep neural network can be Application or inference phase based on (current) input data and / or a (current) context Estimate output confidence values for each of the AI systems.
[0020] In one embodiment, it is provided that the estimation of the output confidence values by means of a rule-based system, whereby the rule-based system assigns at least one Context information about the output confidence values of the AI systems. This allows a link between the at least one piece of context information and the respective output confidence values in a comprehensible manner. In particular, the assignments can be checked for plausibility. The procedure for creating the rule-based System is in principle analogous to the procedure described above for training the deep neural network described, that is, starting from output confidence values determined empirically based on a ground truth For the individual AI systems, a rule-based assignment is made between the at least one piece of context information and the respective output confidence values of the AI systems. In particular, the assignment is made for combinations of different levels of context information to corresponding output confidence values. In a simple In this scenario, an assignment is made, for example, by determining whether the brightness of a captured camera image exceeds a certain threshold or not. If the threshold is exceeded, an AI system is assigned a high output confidence value, otherwise a lower output confidence value.
[0021] It can be provided that both machine learning methods, in particular using deep Neural networks and a rule-based system are used. The results provided by both approaches Results are combined in particular, for example by using the data provided Output confidence values for each AI system are added together in a weighted manner.
[0022] In one embodiment, it is provided that outputs of the AI systems when generating the overall output are each weighted, with a weighting depending on the associated estimated Output confidence values are defined. This allows the outputs of the individual AI systems to be calculated taking into account the The respective output confidence values are combined to form a common total output. The total output This provides a higher overall reliability or confidence. For example, it can be provided that individual Image elements of a camera image are to be classified by AI systems according to objects. In a simple For example, the image elements should be assigned to the classes ´´Pedestrian´´ or ´´Tree´´. This happens simultaneously by means of a first AI system that is specialized in detecting pedestrians and by means of a second AI System that generally performs a semantic segmentation in the camera image, i.e. no specialization on certain objects. If the first AI system assigns the class ´´Pedestrian´´ to an image element with a probability of 90%, while the second AI system assigned the class ´´Tree´´ with a probability of 90%, the output of the first AI system is weighted higher than the output of the second AI- System, since an estimated value for the associated input data (camera images) for the first AI system Output confidence value is greater than one for the corresponding input data (camera images) for the second AI system estimated output confidence value. Simply put, the first AI system for detecting pedestrians in a environment where pedestrians are present, is more suitable than the second AI, which serves a general segmentation. System. This is expressed in the form of the respective output confidence values.
[0023] In one embodiment, it is provided that outputs of the AI systems for generating the overall output on semantic level, whereby the summarization depends on the associated estimated This can be achieved, for example, that in a system as input data provided camera image in which objects are to be recognized by the AI systems and assigned to a class, object recognition and / or object classification is carried out depending on the respective specialization of the AI systems. For example, a first AI system can be specialized in detecting ´´pedestrians´´, a second AI system on the other hand, on the detection of ´´cars´´. The respective outputs of the AI systems for ´´pedestrians´´ and ´´cars´´ are combined and each linked to the corresponding estimated (high) output confidence value, if the camera image includes both pedestrians and cars.
[0024] In one embodiment, it is provided that at least one AI system, depending on an associated estimated output confidence value is activated or deactivated. In particular, deactivation can be performed before a Application phase of the AI systems, i.e. predictive, or during the application phase of the AI systems This allows for the saving of computing power by deactivating an AI system to be both predictive and also during the application phase in the event that the AI system requires a very low Output confidence value (e.g. below a given threshold) is estimated. The saved Computing power can then be used, for example, to increase the performance of the other AI systems. a Kl system is deactivated and is used for given input data or at least one context information for the AI- System later a high or better output confidence value (e.g. above the specified threshold) estimated, the AI system can be reactivated.
[0025] In one embodiment, it is provided that a configuration of at least one AI system is determined as a function of a associated estimated output confidence value is changed. This allows an AI system to adapt to input data and / or a context so that an output confidence value improves. The adaptation can, for example, by reconfiguring the AI system, for example by activating modules within the AI system or deactivated, parameters are changed or a connection within the AI system is changed.
[0026] In one embodiment, it is provided that the AI systems each have a function for automated driving a vehicle and / or for a driver assistance system for the vehicle and / or for environment recognition for the automated driving of a vehicle The vehicle is in particular a motor vehicle. However, the vehicle can also be another land, water, aircraft, rail or spacecraft. The environment detection function can, for example, include object detection and / or include semantic segmentation.
[0027] Further features for the design of the device will become apparent from the description of embodiments of the The advantages of the device are the same as those of the embodiments of the method.
[0028] The invention will be explained in more detail below using preferred embodiments with reference to the figure explained. Here is what: Fig. 1 is a schematic representation of an embodiment of the device for the optimal provision of AI- systems.
[0029] In Fig. 1 is a schematic representation of an embodiment of the device 1 for the optimal provision of AI systems 10-x. The device 1 carries out the method for the optimal provision of AI systems 10-x The device 1 is arranged, for example, in a motor vehicle 50. The AI systems 10-x serve, for example, an environment detection, whereby the AI systems 10-x are provided with 20 sensor data from a sensor 51 as input data, for example a camera, of the motor vehicle 50.
[0030] The device 1 comprises a control device 2. The control device 2 comprises an estimation module 3 and a Mixing module 4. It can be provided that a functionality of the device 1, in particular of the control device 2, or the method is provided in the form of executed program code by means of a data processing device In particular, the estimation module 3 and the mixing module 4 are provided in the form of program code based on a microprocessor of the data processing device.
[0031] The control device 2 estimates by means of the estimation module 3 on the basis of the input data 20, which corresponds to the plurality are or are to be supplied by AI systems 10-x and / or on the basis of at least one Context information 21 each has an output confidence value 11-x for each of the plurality of AI systems 10-x. The At least one piece of context information 21 comprises in particular one or more of the following information: Weather conditions of the surroundings of the motor vehicle 50, lighting conditions of the surroundings, traffic conditions of the environment, dynamic properties of the motor vehicle 50, a current geographical position of the motor vehicle 50, a current time indication (e.g. season, time of day, day of the week, etc.), a vehicle interior situation of the motor vehicle 50 and / or properties of the input data 20, for example, in the case of camera images as input data 20, a contrast, a Brightness and / or color values. The at least one piece of context information 21 is provided to the control device 2. The At least one piece of context information 21 is, for example, by means of a context sensor 53 (in the motor vehicle 50 for example a brightness sensor, an outside temperature sensor and / or a rain sensor etc.) and / or a Context detection device 54 is recorded and provided. Here, both sensor data from the context sensor system 53 and also further information from other devices of the motor vehicle 50, for example navigation data, a Time, etc. The information from the other facilities can be taken into account, for example, using the Context detection device 54 can be queried via a CAN bus of the motor vehicle 50.
[0032] In particular, it is provided that the estimation of the output confidence values 11-x in the estimation module 3 by means of a machine learning method, whereby the machine learning method is trained to from the input data 20 and / or the at least one context information 21, output confidence values 11-x of the Kl systems 10-x. In particular, a trained deep neural network is used. The deep Neural network is trained to, based on the input data 20 and / or the at least one Context information 21 for each of the AI systems 10-x to estimate an associated output confidence value 11-x. The Training of the machine learning method used, in particular the deep neural network, is carried out on Based on empirically determined output confidence values of the individual AI systems 10-x with as input data given training data with known ground truth.
[0033] Alternatively or additionally, it can be provided that the estimation of the output confidence values 11-x of the AI systems 10-x is carried out by means of a rule-based system, whereby the rule-based system assigns each of the at least one context information 21 on the output confidence values 11-x of the AI systems 10-x. both a machine learning method, in particular a deep neural network, and a rule-based system used, the output confidence values provided are 11-x for each of the AI systems 10-x summarized, for example, by weighting the output confidence values 11-x for each AI system 10-x be added together. Creating the rule based system is based on empirically determined output confidence values of the individual AI systems 10- x with training data given as input data with known ground truth.
[0034] The output confidence values 11-x estimated for each of the AI systems 10-x are fed to the mixing module 4.
[0035] The mixing module 4 represents a total output 31 generated from outputs 30-x of the individual AI systems 10-x in Dependence of the estimated output confidence values 11-x. The generated total output 31 is then for example, a vehicle control 52 of the motor vehicle 50, which on the basis of the total output 31 for example, provides a plan trajectory for the motor vehicle 50 through the current environment.
[0036] It can be provided that the outputs 30-x of the AI systems 10-x when generating the total output 31 are taken into account in a weighted manner, with a weighting depending on the associated estimated Output confidence values 11-x are set.
[0037] Furthermore, it can also be provided that the outputs 30-x of the AI systems 10-x are used to generate the total output 31 are summarized on a semantic level, whereby the summarization depends on the associated estimated output confidence values 11-x.
[0038] Alternatively or additionally, the control device 2 adapts the provision of the AI systems by means of the estimation module 3 10-x depending on the estimated output confidence values 11-x.
[0039] In particular, it can be provided that at least one AI system 10-x, depending on an associated estimated output confidence value 11-x is activated or deactivated. For example, an AI system can 10-x be deactivated if the associated estimated output confidence value 11-x for the input data 20 is very low (e.g. B. if the estimated output confidence value 11-x falls below a predetermined threshold), the Kl system 10- x is therefore not very suitable for providing a reliable output 30-x. At a later point in time, that is, at other input data 20, the AI system 10-x can then be reactivated if the corresponding Input data 20 (and / or the at least one context information 21) estimated output confidence value 11-x is has increased again (i.e., for example, is again above the specified threshold), the AI system 10-x thus (again) provides a reliable output 30-x.
[0040] Furthermore, it can be provided that a configuration of at least one Kl system 10-x in dependence on a associated estimated output confidence value is changed 11-x. In particular, the AI system can change 10-x be reconfigured, for example by activating individual modules or parts within the AI system 10-x or deactivated, parameters are changed or a connection within the AI system 10-x is changed, so that the AI system 10-x is adapted to the current input data 20 or a current context and a Output 30-x with greater reliability, that is, a larger output confidence value 11-x. Reconfiguration can also be carried out depending on predefined threshold values for the Output confidence values 11-x. If an output confidence value 11-x of a Kl-System 10-x falls below a predefined threshold, the AI system is reconfigured 10 times. If the threshold is subsequently reached or exceeded, the AI system 10 is reset to the previous configuration. The type and The way in which an AI system is reconfigured 10x can, for example, be determined empirically. This can in particular also taking into account the at least one piece of context information 21.
[0041] The advantages of the device 1 and the method are that output confidence values 11-x with a lower Furthermore, the AI systems can be estimated 10x and their outputs 30x by this be provided in an improved manner. In particular, the confidence of a total output 31 can be increased. List of reference symbols 1 device 2 Control device 3 Estimation module 4 Mixing module 10-x AI system 11-x Output confidence value 20 input data 21 Context information 30-x edition 31 Complete Edition 50 motor vehicles 51 Sensor Vehicle control 52 53 Context sensors 54 Context detection device
Claims
1. Procedures for the optimal deployment of AI systems (10-x), wherein by means of a control device (2) exclusively on the basis of input data (20) which are sent to a plurality of AI systems (10-x) are or are to be supplied and / or from at least one piece of context information (21) an output confidence value (11-x) is estimated for each of the plurality of AI systems (10-x), wherein the provision of the AI systems (10-x) is controlled by the control device (2) as a function of the estimated Output confidence values (11-x) are adjusted and / or a result generated from outputs (30-x) of the individual AI systems (10-x) Total output (31) is provided depending on the estimated output confidence values (11-x).
2. Method according to claim 1, characterized in that the estimation of the output confidence values (11-x) by means of a Machine learning method is used, whereby the machine learning method is trained to the input data (20) and / or the at least one piece of context information (21) respectively the output confidence values (11-x) of the AI systems (10-x).
3. Method according to claim 1 or 2, characterized in that the estimation of the output confidence values (11-x) by means of a rule-based system, whereby the rule-based system always assigns at least context information (21) on the output confidence values (11-x) of the AI systems (10-x).
4. Method according to one of the preceding claims, characterized in that outputs (30-x) of the AI systems (10-x) are taken into account in a weighted manner when generating the total output (31), whereby a weighting is given in Dependence of the associated estimated output confidence values (11-x).
5. Method according to one of the preceding claims, characterized in that outputs (30-x) of the AI systems (10-x) to generate the overall output (31) on a semantic level, whereby the Summarizing is done depending on the associated estimated output confidence values (11-x).
6. Method according to one of the preceding claims, characterized in that at least one AI system (10-x) is activated or deactivated depending on an associated estimated output confidence value (11-x).
7. Method according to one of the preceding claims, characterized in that a configuration comprises at least of an AI system (10-x) is changed depending on an associated estimated output confidence value (11-x).
8. Method according to one of the preceding claims, characterized in that the AI systems (10-x) each a function for the automated driving of a vehicle (50) and / or for driver assistance of the vehicle (50) and / or for environmental detection for the automated driving of a vehicle (50).
9. Device (1) for the optimal provision of AI systems (10-x), comprising: a control device (2), wherein the control device (2) is designed to operate exclusively on the basis of input data (20) which are majority of AI systems (10-x) or are to be supplied and / or from at least one context information (21) an output confidence value (11-x) for each of the majority of AI systems (10-x), and to adapt the provision of the AI systems (10-x) depending on the estimated output confidence values (11-x) and / or a total output (31) generated from outputs (30-x) of the individual AI systems (10-x) depending on the estimated output confidence values (11-x).
10. Motor vehicle (50) comprising at least one device (1) according to claim 9
Citation Information
Patent Citations
Classification based on prediction of accuracy of multiple data models
US20140279745A1
Advanced analytical infrastructure for machine learning
US20160358099A1
Customizable machine learning models
US20200057960A1
Analysis of scenarios for controlling vehicle operations
WO2019199878A1
