Fuzzy logic-based classification model

The use of piecewise linear or constant membership functions in fuzzy logic models addresses the challenges of high computing requirements and interpretability in object classification, enabling efficient and interpretable classification in embedded systems for driver assistance systems.

WO2024199590A1PCT designated stage expired Publication Date: 2024-10-03AUMOVIO AUTONOMOUS MOBILITY GERMANY GMBH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/DE2024/200010
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-02-29
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing object classification methods, particularly in driver assistance systems, face challenges with high computing requirements and reduced interpretability when incorporating fuzzy logic models due to the vanishing gradient problem and complexity, making them unsuitable for embedded systems with limited capacity.

Method used

A computer-implemented method using a fuzzy logic model with piecewise linear or constant membership functions, which are defined based on prior knowledge or learned through a machine learning process, allowing for efficient object classification with reduced computing effort and clear interpretability, suitable for embedded systems.

Benefits of technology

The method enables efficient object classification in embedded systems with limited computing capacity, capable of handling numerous objects while providing interpretable results and considering both linear and non-linear behaviors, with reduced computational time and effort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure DE2024200010_03102024_PF_FP_ABST
    Figure DE2024200010_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to an in particular computer-implemented method for classifying at least one object (O), to a method for training a fuzzy logic model (FM) using at least one membership function (f) for classifying at least one object (O), to a computer program for carrying out the method according to the invention and to a computer program product. The classification method comprises the following method steps: - providing input data I(O) that contain at least one item of information about the at least one object (O), - providing at least the input data (I(O)) as input for a trained fuzzy logic model (FM) using at least one membership function (f) for at least one predefinable class (K) for the fuzzy logic model (FM), wherein the fuzzy logic model (FM) is designed to take the input as a basis for determining a probability (PK(O)) of the at least one object (O) belonging to the at least one predefined class (K), and - outputting the classification result (PK(O)).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Description

[0002] Fuzzy logic based classification model

[0003] The invention relates to a method, in particular a computer-implemented method, for object classification by means of a trained fuzzy logic model, a method, in particular a computer-implemented method, for training a fuzzy logic model, a computer program for carrying out the method according to the invention and a computer program product on which the method is stored.

[0004] For object classification, particularly in the field of driver assistance systems, input data from sensors, such as radar sensors, ultrasonic sensors, lidar sensors, or cameras, is examined for the presence of various predefined features, and these features are then assigned to specific object classes if necessary. Many different methods, and in particular numerous approaches from the field of machine learning, have been developed in this context. Assignment to an object class is achieved, for example, with the aid of an activation function, which can be used to define specific value ranges for the detected features.

[0005] In the context of machine learning methods, the potential of incorporating background information about the system under consideration and simple logical statements, as well as the inclusion of symbolic approaches such as elements from the field of fuzzy logic, is increasingly being discussed. Fuzzy logic models are widely used in control systems and are primarily used to formalize background knowledge and account for uncertainties. However, when incorporating fuzzy logic models into machine learning methods, various problems arise related to differentiability and the vanishing gradient problem, as described in “Analyzing Differentiable Fuzzy Logic Operators” by E. van Krieken et al., published in 2020 on arXiv, last revised on August 24, 2021, arXiv:2002.06100 (DOI: https: / / doi.Org / 10.1016 / j.artint.2021.103602).

[0006] To overcome the challenges associated with the vanishing gradient problem, the use of a logic tensor network (LTN) is proposed. In this case, the membership functions are determined using a neural network with sigmoid activation functions. While this approach yields continuously differentiable membership functions, it is disadvantageous in terms of its high computational complexity and less clear interpretability.

[0007] US5761326A also discloses a method for classifying and tracking objects. In this method, camera images are analyzed for each pixel with regard to the intensities of horizontal and vertical edge elements, and vectors with the magnitude and angle are calculated for each pixel. Fuzzy set theory is then applied to the vectors within a specified range to generate a single vector that characterizes the specified range. This vector is then interpreted using a neural network to perform object classification. The method is therefore complex.

[0008] It would be desirable to have an object classification option that is suitable for embedded systems with limited computing capacity and yet is capable of classifying a large number of objects.

[0009] This object is achieved by the method according to claim 1, the computer program according to claim 14 and the computer program product according to claim 15.

[0010] With regard to the method, the object underlying the invention is achieved by a method, in particular a computer-implemented method, for classifying at least one object, comprising the following method steps:

[0011] - Providing input data which contains at least one piece of information about the at least one object,

[0012] - Providing at least the input data as input for a trained fuzzy logic model using at least one membership function for at least one predeterminable class for the fuzzy logic model, wherein the fuzzy logic model is designed to determine a probability for the membership of the at least one object to the at least one predefined class based on the input, and

[0013] - Output the classification result.

[0014] According to the invention, membership functions for different classes and / or characteristic features within a class are determined and a classification is carried out directly using a fuzzy logic model.

[0015] For example, membership functions can be defined, at least in part, based on a priori knowledge of the selected classes and / or features. However, membership functions can also be determined, at least in part, using a machine learning method. For classification, an object can then be assigned to the given class with the highest probability of belonging to it.

[0016] The inventive approach advantageously requires comparatively low computing power. This makes the method highly suitable for embedded systems and yet can be used to classify numerous different objects in each input data acquisition cycle.

[0017] In the context of the present invention, a fuzzy logic model is understood to be a model based on fuzzy set theory and / or fuzzy logic. Fuzzy logic is based on fuzzy sets whose elements belong to the set to a certain degree. Assignment to a fuzzy set is based on one or more membership functions, which can be combined into fuzzy functions.

[0018] In an advantageous embodiment, a piecewise linear or piecewise constant function, in particular a step function or a trapezoidal function, is used as the membership function. Such membership functions advantageously involve reduced computational effort compared to other function types. Furthermore, the classification results obtained using such functions are particularly easy and accurate to interpret, and both linear and nonlinear behavior can be considered. Different nonlinear object sizes can be distinguished. Furthermore, object classification requires little computation time.

[0019] It is also advantageous if the membership function is described using predefined function parameters, which function parameters are parameters of the fuzzy logic model. If multiple membership functions are used, they can also be combined. Then, for example, a sum, a maximum, a minimum, or a product of different function parameters can be used to determine the probability that at least one object belongs to the given class based on multiple membership functions.

[0020] According to an advantageous embodiment of the method, at least two intervals are specified for at least one function variable of the membership function, with a partial membership function being determined for each interval, and the membership function being composed of the partial membership functions. For example, there may be one or more intervals in which the membership function assumes one or more constant values, which, for example, relate to different probabilities.

[0021] Preferably, and particularly advantageous with regard to computational effort, each partial membership function is a linear or constant function. In this regard, it is advantageous if each interval is characterized by at least one interval value, which interval value is, in particular, a start or end value of the interval.

[0022] According to a further embodiment of the method, the input data is sensor data from a sensor, in particular a radar sensor or a camera. However, input data from other suitable sensors can also be used.

[0023] It is also advantageous if the at least one piece of information about the object is a geometric quantity relating to the object, in particular a geometric extent, such as a length, width or area of ​​the object, a position, a speed, an acceleration or a radar cross-section.

[0024] The object underlying the invention is further achieved by a method, in particular a computer-implemented method, for training a fuzzy logic model using at least one membership function for classifying at least one object, comprising the following method steps:

[0025] - Providing training data which contains at least one piece of information about the at least one object,

[0026] - Providing an indication regarding a class for the at least one object for all training data,

[0027] - Generating an output of the fuzzy logic model for all training data by processing the training data using the fuzzy logic model in accordance with parameters for the fuzzy logic model,

[0028] - comparing the generated output with the indication using at least one error function, and

[0029] - Optimize the parameters based on the comparison.

[0030] The fuzzy logic model is preferably used for the inventive method for classifying at least one object according to one of the previously described embodiments. The output of the fuzzy logic model is preferably a probability for the at least one object's membership in the at least one class. If there are multiple characteristic features, a combination of the individual probabilities can also be determined as the classification result, for example by forming a sum or a product. For assignment to one of several classes, the class for which the probability is maximum is output. This output, preferably determined using an arg-max operator, is then the classification result.

[0031] The error function can be determined, for example, by the number of incorrect classifications or by a difference between the determined probabilities or the classification result and the indication. The probability can, for example, be normalized to an interval with values ​​between 0 and 1. The error function is preferably minimized during the training process. The training process can be started or executed multiple times.

[0032] Regarding the method for training the fuzzy logic model, it is advantageous to optimize the parameters for the fuzzy logic model using a gradient method or a steepest descent method. Random initialization can be advantageously chosen.

[0033] It is also advantageous to perform regularization. In this context, a regularization term can be added to the error function. Regularization can ensure that the output of the fuzzy logic model, in particular the probability or the classification result, is greater than zero and as small as possible. This means that, for example, low values ​​or probabilities are output by default for scenarios for which little training data is available. Furthermore, regularization can ensure that the start and end values ​​of the intervals for the membership function lie within the value ranges of the input for the fuzzy logic model. This eliminates the need to define unnecessary partial membership functions, for example.

[0034] In a further embodiment of the training method, at least two intervals are specified for at least one function variable of the membership function, wherein a partial membership function is determined for each interval, and wherein the membership function is composed of the partial membership functions.

[0035] A further embodiment includes that each interval is characterized by at least one interval value, wherein in the event that a value for an nth interval value, in particular in a training cycle, is greater than a value for an n-1th interval value, the values ​​for the nth and the ntth interval value are swapped before the parameters are evaluated. The function values ​​of the respective partial membership functions, however, are not swapped. In the event that the interval values ​​are the start and / or end value of the interval, the start value and the end value are swapped, for example in the event that an start value in a training cycle is greater than the end value. In this way, the error function is mirrored at the boundaries of the search space. This prevents the training process from being aborted due to invalid parameter values.

[0036] The method according to the invention for classifying at least one object is preferably used for object classification, in particular within a driver assistance system. The method according to the invention is particularly preferably used for object classification using a radar sensor or a camera. It is also advantageous if the method is used to classify object types, for example, different vehicle categories such as trucks or passenger cars.

[0037] The present invention also relates to a driver assistance system configured to implement the method according to the invention for classifying at least one object. In the case of a driver assistance system, the objects are, for example, other road users, in particular vehicles or pedestrians, road barriers, or other objects within the respective detection range of the sensors used.

[0038] The object underlying the invention is further achieved by a computer program with instructions which, when the computer program is executed by a computer, cause the computer to execute the inventive method for classification according to one of the described embodiments or the inventive method for training a fuzzy logic model.

[0039] The object underlying the invention is also achieved by a computer program product on which a computer program according to the invention is stored.

[0040] It should be noted that the methods used in connection with the method according to the invention for classifying at least one object are mutatis mutandis also applicable in connection with the training method according to the invention, the computer program according to the invention, and the computer program product according to the invention, and vice versa.

[0041] The invention and its advantageous embodiments are explained in more detail with reference to the following figures. They show:

[0042] Fig. 1 shows an example of a piecewise constant membership function composed of several partial membership functions;

[0043] Fig. 2 shows another example of a membership function;

[0044] Fig. 3 is a flow chart for an embodiment of the inventive

[0045] Method for classifying objects; and Fig. 4 shows a flowchart for an embodiment of the training method according to the invention.

[0046] In the figures, identical elements are provided with the same reference numerals.

[0047] In Fig. 1, a membership function f is sketched in the form of a piecewise linear or constant function, here in the form of a trapezoidal function. The trapezoidal function f can be described using three partial membership functions f a -f cbe defined for the intervals ta-tc in which the membership function f is constant. Between the constant intervals ta-tc, the membership function f exhibits a linear progression. In other embodiments, the intervals ta-tc can also be adjacent, and intervals can also be defined for regions in which the membership function f is not constant.

[0048] The three intervals ta-tc, in turn, can be characterized by four interval values ​​ti -t4 for the function variable t, which are each the initial or final values ​​of the intervals ta-tc. For the example shown here, t a : [-°°; ti], tb: [t?; ts], and t c : [t4j °°]. For each interval ta-tc, a probability p a -p c defined.

[0049] To characterize other membership functions f, a different number of intervals and / or a different number of interval values ​​may be useful.

[0050] Fig. 2 shows another example of a membership function f in the form of a step function with three constant ranges ta-tc.

[0051] Fig. 3 illustrates a flowchart for an advantageous embodiment of the method according to the invention for classifying objects. In a first method step, input data l(O) is provided, which contains at least one piece of information about at least one object 0 to be classified. The input data l(O) is preferably measurement data from one or more sensors S, such as a radar sensor or a camera. The input data l(O) serves as input for a trained fuzzy logic model FM, which determines a probability PK(O) for belonging to at least one predefinable class K and outputs the classification result obtained in each case.

[0052] The fuzzy logic model FM is based on at least one membership function f for the at least one predeterminable class K. The membership function f is preferably determined using predeterminable function parameters, e.g., ti-t4, pa-p c, describes which function parameters are also parameters of the fuzzy logic model FM.

[0053] If there are multiple classes K, a probability PK(O) is determined for each class K. In this case, the classification result can be, for example, the class for which the probability PK(O) is maximum.

[0054] Finally, Fig. 4 shows an advantageous embodiment of the training method according to the invention for training a fuzzy logic model FM using at least one membership function f for classifying at least one object 0. Starting from a set of training data TD(O) which has at least one piece of information about at least one object 0 and an indication IK with regard to the at least one object 0, an output of the fuzzy logic model PK(O) is calculated in accordance with parameters ti-t4, pa-p cof the fuzzy logic model FM. This output PK(O) is compared with the indication IK using an error function Error, and based on the comparison, the parameters ti-t4, pa-p c optimized.

[0055] The optimization of the parameters ti-t4, pa-p c can be performed, for example, using a gradient method or a method of steepest descent. In addition, a regularization R can optionally be performed. In addition, in the case that a value for an n-th interval value t n in an optimization cycle is greater than a value for an n-1 -th interval value t n -i , the values ​​for the nth and ntth interval values ​​tn and t n -i must be swapped before the parameters ti -t4, pa-p c be optimized. This does not affect the values ​​for the probabilities p a -p cThis means that if, for example, in a training cycle the initial value t2 for the second interval tb is greater than its final value ts, the initial value t2 and final value ts are swapped.

Claims

Patent claims 1. Method, in particular computer-implemented method, for classifying at least one object (0), comprising the following method steps: - Providing input data l(O) which contains at least one piece of information about the at least one object (O), - Providing at least the input data (l(O)) as input for a trained fuzzy logic model (FM) using at least one membership function (f) for at least one predeterminable class (K) for the fuzzy logic model (FM), wherein the fuzzy logic model (FM) is designed to determine a probability (PK(O)) for the membership of the at least one object (O) to the at least one predefined class (K) based on the input, and - Output the classification result (PK(O)).

2. Method according to claim 1, wherein a piecewise linear or piecewise constant function, in particular a step function or a trapezoidal function, is used as the membership function (f).

3. Method according to claim 1 or 2, wherein the membership function (f) is determined on the basis of predeterminable function parameters (ti -t4;pa-p c ) describes which function parameters (ti -t4;p a -p c ) are parameters of the fuzzy logic model (FM).

4. Method according to one of the preceding claims, wherein at least two intervals (ta-tc) are specified for at least one function variable (t) of the membership function (f), wherein a partial membership function (fa-fc) is determined for each interval (ta-tc), and wherein the membership function (f) is composed of the partial membership functions (fa-fc).

5. The method according to claim 4, wherein each interval (ta-tc) is characterized by at least one interval value (ti-t4), which interval value (ti-t4) is in particular a start or end value of the interval (ta-tc).

6. Method according to one of the preceding claims, wherein the input data (l(O)) are sensor data of a sensor (S), in particular a radar sensor or a camera.

7. Method according to one of the preceding claims, wherein the at least one piece of information about the object (0) is a geometric quantity relating to the object, in particular a geometric extent, a position, a speed, an acceleration, or a radar cross-section.

8. Method, in particular computer-implemented method, for training a fuzzy logic model (FM) using at least one membership function (f) for classifying at least one object (0), comprising the following method steps: - providing training data (DT(O)) which contain at least one piece of information about the at least one object (O), - Providing an indication (IK) regarding a class (K) for the at least one object (0) for all training data (DT(0)), - Generating an output (PK(0)) of the fuzzy logic model (FM) for all training data (DT(0)) by processing the training data (DT(0)) using the fuzzy logic model (FM) in accordance with parameters (ti -t4;p a -p c ) for the fuzzy logic model (FM), - comparing the generated output (PK(O)) with the indication (IK) using at least one error function (Error), and - Optimize the parameters (ti -t4; pa-pc) based on the comparison.

9. The method according to claim 8, wherein the parameters (ti-t4;p a -p c ) can be optimized using a gradient method or a steepest descent method.

10. Method according to at least one of claims 8 or 9, wherein a regularization (R) is carried out.

11. Method according to one of claims 8 to 10, wherein at least two intervals (ta-tc) are specified for at least one function variable (t) of the membership function (f), wherein for each interval (ta-tc) a partial membership function (f a -f c ) is determined, and where the membership function (f) is derived from the partial membership functions (f a -f c ) is composed of.

12. The method according to claim 11, wherein each interval (ta-tc) is characterized by at least one interval value (ti-t4), which interval value (ti-t4) is in particular a start or end value of the interval (ta-tc), and wherein in the event that a value for an n-th interval value (tn) is greater than a value for an n-1 -th interval value (t n -i ), the values ​​for the n-th (tn) and the nt-th interval value (t n -i ) must be swapped before the parameters (ti-t4;pa-p c ) can be optimized.

13. Use of the method according to one of claims 1 to 7 for object classification, in particular within a driver assistance system.

14. A computer program comprising instructions which, when the computer program is executed by a computer, cause the computer to carry out the method according to any one of claims 1-7 or the method according to any one of claims 8-12.

15. A computer program product on which the computer program according to claim 14 is stored.

Citation Information

Patent Citations

  • Method for assisting rider when feeding e.g. vehicle, involves proving information, warning and automatic engagement, which results during risk of collision and / or secondary collision with highest priority in priority list

    DE102012009297A1

  • Method and apparatus for machine vision classification and tracking

    US5761326A