EP4256475A1 - Vergleichen eines ersten knn mit einem zweiten knn - Google Patents
Vergleichen eines ersten knn mit einem zweiten knnInfo
- Publication number
- EP4256475A1 EP4256475A1 EP21815132.2A EP21815132A EP4256475A1 EP 4256475 A1 EP4256475 A1 EP 4256475A1 EP 21815132 A EP21815132 A EP 21815132A EP 4256475 A1 EP4256475 A1 EP 4256475A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- ann
- data space
- input data
- result
- mapping
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Definitions
- the present invention relates to a method for comparing a first artificial intelligence with a second artificial intelligence.
- the invention is based on the object of creating a comparison option for artificial intelligences or artificial neural networks.
- a method for comparing a first artificial neural network, hereinafter referred to as ANN, with a second ANN, the first ANN and the second ANN forming a first and a second mapping from an input data space to a result data space with the following steps : specifying a first input data space to the first ANN; Predetermining or estimating a first partition from subsets of the first input data space with a plurality of data points, with each data point being assigned a mapping result of the first ANN from the result data space, with each subset together with an associated mapping result of the first ANN forming a first mapping pair; determining second mapping pairs of the second ANN, each mapping pair containing a data point from the input data space and an associated mapping result from the result data space; Comparing the second pairs of images with the first pairs of images in order to assess the second ANN with regard to its similarity or difference to the first ANN.
- An artificial neural network is in particular a network of networked artificial neurons that is simulated in a computer program.
- the artificial neurons are typically arranged on different layers.
- the artificial neural network comprises an input layer and an output layer (output layer), whose neuron output is the only one of the artificial neural network that is visible. Layers lying between the input layer and the output layer are typically referred to as hidden layers.
- an architecture or topology of an artificial neural network is first initiated and then trained in a training phase for a specific task or for a plurality of tasks in a training phase.
- topology of an ANN includes all aspects relating to the structure of an ANN. This includes, for example, the number of neurons in the ANN, the allocation of the neurons to the individual layers of the ANN, the number of layers in an ANN, the networking of the neurons and the weighting of the networking.
- architecture of an ANN means its initial topology, i.e. its topology before the ANN was trained.
- the training of the artificial neural network typically includes changing a weight of a connection between two artificial neurons of the artificial neural network.
- the weight contains information about the strength of the consideration of an input of a neuron.
- the training of the artificial neural network can also develop new connections between artificial neurons, deleting existing connections between artificial neurons, adjusting threshold values of the artificial neurons and/or adding or deleting artificial neurons.
- a partition (also decomposition) of a set M is a set P whose elements are nonempty subsets of M such that every element of M is contained in exactly one element of P.
- A is a subset of B if every element of A is also in B.
- An edge of a set is its boundary. The border may or may not be included in the set.
- a vicinity of a subset edge lies within the subset and is adjacent to the edge. The close range can be determined by a predetermined maximum distance from the edge.
- the subset boundary of a subset can also be referred to as the decision boundary of the associated ANN.
- a mapping is a relationship between two sets that assigns each element of one set, in this patent application an input data space, to exactly one element of the other set, in this patent application a result data space.
- a mapping result is the result of a mapping for a data point from the input data space.
- a mapping pair is the pair of a data point from the input data space with its associated mapping result.
- An input data space is a set of data that contains all conceivable or well-defined input data for an ANN.
- a result data space is a set that contains all conceivable result data of an ANN. This patent application is based on the assumption that an input data space can be partitioned into subsets or data points, with each element, ie a subset or a data point, of the partition being mapped to a different mapping result from the result data space. Accordingly, estimating a partition of the input data space corresponds to estimating decision boundaries.
- An image sensor is, for example, a camera, a radar sensor or a lidar sensor that captures real image data.
- Image data generated by software-supported methods are artificial image data, such as frequency images, that contain a collection of pixels with specific properties. The properties can relate to the pixels themselves, such as their gray value, or to a relationship between the pixels, such as gradient or frequency.
- Computer program products typically include a sequence of instructions that, when the program is loaded, cause the hardware to perform a specific method that leads to a specific result.
- the basic idea of the invention is to examine the behavior of a first ANN and a second ANN for certain input data and to characterize the ANN comparatively based on a different or identical behavior of the first or second ANN with regard to the input data.
- An ANN defines a mapping from an (example two-dimensional) input data space to a result data space.
- the mapping depends significantly on the purpose of the artificial intelligence, for example it is conceivable to classify data points of the input data space with regard to their properties.
- a classification result such as "tree” or "house” from the result data space is assigned to the data points from the input data space.
- the result data space does not contain any discrete elements such as "house” or “tree”, but is continuous.
- an ANN maps input data to a rational number.
- an input data space of an ANN can be broken down into a partition, so that each element of the partition can be assigned an element from the result data space.
- ANNs Based on these pairs of images, i.e. pairs from the input data space and the result data space, ANNs can be compared by comparing pairs of images of the second ANN with pairs of images or the image of the first ANN.
- White box means that the entire ANN is known, i.e. its entire topology, and can be precisely observed during operation. It is thus possible for the user to understand the internal calculations and to be able to monitor them at any time. This applies, for example, to a specially developed ANN. However, this is not possible with black-box systems. The user can only observe the input data and the output of the ANN on this data. It is not possible for him to understand the calculation in the ANN and he has no information about the topology of the ANN. This applies, for example, to a purchased ANN.
- a second ANN with an unknown partition of the input data space that is to be compared with a first ANN
- the first ANN being able to have both a known and an unknown partition of the input data space. If the first partition of the first ANN is unknown, mapping pairs can be determined both for the first and for the second ANN and the mapping pairs can be compared with one another. If, on the other hand, the partition of the first ANN is known, i.e. it is a matter of white-box artificial intelligence, then it is sufficient to compare the mapping pairs of the second ANN with the first partition in connection with the mapping of the first ANN.
- the comparison is used to assess the similarity between the first training data, which was used to train the first ANN, and the second training data, which was used to train the second ANN.
- Training data significantly influence the behavior of an ANN.
- identity of the first and second training data can only be assumed if the comparison of the pairs of images of the second ANN with the pairs of images of the first ANN produces no or only minor differences.
- the comparison is used to assess the similarity between a first architecture of the first ANN and a second architecture of the second ANN.
- a similarity of the first and second architecture can be considered if the comparison of the mapping pairs of the second ANN with the mapping pairs of the first ANN produces no differences or only minor differences or if the result of the comparison shows certain similarities and differences between the mapping pairs of the second ANN and the mapping pairs of the first ANN produces, which are to be defined application-specifically with regard to the ANN to be compared.
- pairs of images with data points from the input data space which are located within a predetermined vicinity of a subset edge of a subset of the first partition, are specified.
- this aspect can be illustrated by adding a region close to the partition to each subset of the partition Subset edge is set.
- the behavior of the ANN on data points contained in the close range is examined. i.e. it is examined whether the first ANN supplies different result data for input data from the specified close range than the second artificial intelligence.
- a minimum disturbance is determined, which is to be linked to the data point from the input data space, so that the mapping result from the result data space associated with the disturbed data point from the input data space differs from the associated mapping result of the undisturbed data point. It goes without saying that it is advantageous to determine minimum disturbances for a large number of data points.
- the first ANN can be compared with the second ANN to determine whether the second ANN also determines a different result for the input data with and without interference. In this case, it could be concluded that the first partition is locally identical or at least locally similar to the second partition.
- the input data space contains data that was captured by an image sensor.
- This can be image data, radar data and/or lidar data, for example, which serve as input data for an ANN.
- the input data space contains image data that was generated using software-supported methods, ie was not recorded by a sensor. These include, for example, pixel values with specific predetermined properties, for example in terms of a frequency or a gradient.
- a computer program product performs the steps of a method as described above when the computer program product runs on a computer, in particular an in-vehicle computer.
- the computer program product produces an effect, namely a characterizing comparison of two ANNs.
- Figure 1 is a schematic block diagram of an embodiment of the invention.
- FIG. 2 shows a basic sketch for an exemplary explanation of an embodiment of the invention
- FIG. 3 shows a basic sketch for an exemplary explanation of an embodiment of the invention.
- the accompanying drawings are provided to provide a further understanding of embodiments of the invention. They illustrate embodiments and, together with the description, serve to explain principles and concepts of the invention. Other embodiments and many of the foregoing advantages will become apparent by reference to the drawings. The elements of the drawings are not necessarily shown to scale with respect to one another.
- FIG. 1 shows a method for comparing a first ANN with a second ANN, the first ANN and the second ANN each forming a first and a second mapping from an input data space to a result data space, with steps S1 to S4.
- step S1 a first input data space is specified for the first ANN.
- step S2 a partition is specified or estimated from subsets of the first input data space, in particular calculated, with each subset of the first partition being assigned a mapping result of the first ANN from the result data space. If a partition is calculated, this means that it is determined by an estimate.
- mapping pairs of the second ANN are determined, each mapping pair containing a data point from the input data space and an associated mapping result from the result data space.
- step S4 the mapping pairs of the second ANN are compared with the first partition to the second ANN in terms of their similarity or to assess the difference to the first ANN.
- FIG. 2 shows a basic sketch to illustrate an embodiment of the invention.
- An input data space 19 which is divided into a partition 13 is shown in FIG.
- the partition 13 comprises three subsets 15, 16 and 17.
- the subsets 15, 16 and 17 are delimited from one another by a subset edge 11.
- a region 12 close to the edge 11 of the subset is shown in an illustrated manner within the subset 15 .
- the subset edge 12 is only shown for the subset 15, it goes without saying that the subsets 16 and 17 also have a comparable subset edge within these subsets.
- the subset 15 contains a plurality of data points 1 that are located within the subset 15 at a distance from the edge 12 of the subset.
- the subset 15 includes data points 2 that are located within the subset 15 and within the subset boundary 12 .
- Subset 16 includes multiple data points 3.
- Subset 17 includes multiple data points 4.
- An ANN that processes data from the input data space 19 can, for example, be in the form of a classifying ANN. Accordingly, an ANN would assign an object “house” to data points 1 and 2 of subset 15, an object “tree” to data points 3 of subset 16 and an object “vehicle” to data points 4 of subset 17. Typically, it can be assumed that in practical application, the ANN is generally fed with input data 1 , 3 or 4 that clearly lie within a subset of the partition 13 . In order to characterize the ANN, however, borderline cases, ie data points in a close range 12 at the subset edge 11, are also important. It can therefore be provided that data points 2 that are in the vicinity of a subset edge 11 are determined in a targeted manner and that the artificial neural network is characterized on the basis of these data points 2 .
- Input data space 19 generally implements a large number of ANNs or at least a large number of options for an ANN which is fed with data from the input data space 19 .
- the ANN will not deliver an identical result for all input data 2 that is within a close range 12 of a subset limit 11 .
- FIG. 3 schematically illustrates another embodiment of the invention.
- FIG. 3 shows a detailed view of the partition 13 according to FIG. 2.
- a disturbance 5 was determined for data point 2, which can be added to data point 2, as a result of which data point 2 is shifted from subset 15 to subset 16. Accordingly, the disturbance 5 transfers the data point 2 into the data point 3 within the subset 16. It can be provided that the disturbance 5 is minimized, i.e. that the disturbance 5 is just large enough that the data point 2 in the subset 15 is just in the subset 16 is shifted. Accordingly, the data point 3 in FIG. 3 would also be located very close to the edge 11 of the subset. It is conceivable to determine such faults 5 using a software-supported method.
- a disruption shifts a data point within one subset to another specific or undefined subset.
- the knowledge of data points 2 within a close range 12 and of disturbed data points 3 is helpful for the characterizing comparison of ANN. If several data points 2 or a large number of data points 2, which are located in different subsets within a subset boundary, are known, then a partition 13 of an input data space 19 can be estimated from this.
- the ANN can be fully characterized by the partition if it is also known which subsets are mapped onto which mapping result. In practice, however, the partition should at best be known for the first ANN and not for the second ANN.
- the unknown of the partition of an ANN can, for example, be due to the fact that the ANN is a statistical black-box ANN, to the fact that another provider of the ANN does not disclose any information about the structure of the ANN, or to the fact that it is not possible to to determine the exact partition. In reality, it is difficult to calculate the partition exactly, even for a known system. However, it may be necessary to compare two ANNs with an unknown partition.
- Reference symbol -S4 method steps data points disturbance subset border partition -17 subsets input data space
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Image Analysis (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE102020215430.9A DE102020215430A1 (de) | 2020-12-07 | 2020-12-07 | Vergleichen eines ersten KNN mit einem zweiten KNN |
| PCT/EP2021/081626 WO2022122307A1 (de) | 2020-12-07 | 2021-11-15 | Vergleichen eines ersten knn mit einem zweiten knn |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP4256475A1 true EP4256475A1 (de) | 2023-10-11 |
Family
ID=78789993
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP21815132.2A Withdrawn EP4256475A1 (de) | 2020-12-07 | 2021-11-15 | Vergleichen eines ersten knn mit einem zweiten knn |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4256475A1 (de) |
| DE (1) | DE102020215430A1 (de) |
| WO (1) | WO2022122307A1 (de) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102023211711A1 (de) * | 2023-11-23 | 2025-05-28 | Robert Bosch Gesellschaft mit beschränkter Haftung | Verfahren und System zum Validieren eines trainierten künstlichen neuronalen Netzwerks (KNNs) auf Basis eines Testdatensatzes |
-
2020
- 2020-12-07 DE DE102020215430.9A patent/DE102020215430A1/de active Pending
-
2021
- 2021-11-15 WO PCT/EP2021/081626 patent/WO2022122307A1/de not_active Ceased
- 2021-11-15 EP EP21815132.2A patent/EP4256475A1/de not_active Withdrawn
Also Published As
| Publication number | Publication date |
|---|---|
| WO2022122307A1 (de) | 2022-06-16 |
| DE102020215430A1 (de) | 2022-06-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| DE102021124256A1 (de) | Mobile ki | |
| DE102021201124A1 (de) | Trainieren von bildklassifizierernetzen | |
| EP4046049B1 (de) | Abwehrgenerator, verfahren zur verhinderung eines angriffs auf eine ki-einheit und computerlesbares-speichermedium | |
| DE69130238T2 (de) | Datenverarbeitungsgerät und Verfahren um in einem Wörterbuch enthaltene Datenwörter auszuwählen | |
| EP4256475A1 (de) | Vergleichen eines ersten knn mit einem zweiten knn | |
| DE102005046747B3 (de) | Verfahren zum rechnergestützten Lernen eines neuronalen Netzes und neuronales Netz | |
| EP1154369A2 (de) | Verfahren zur zyklischen, interaktiven Bildanalyse sowie Computersystem und Computerprogramm zur Ausführung des Verfahrens | |
| DE112022007656T5 (de) | Informationsverarbeitungseinrichtung und informationsverarbeitungsverfahren | |
| DE102021124252A1 (de) | Neuronale Netzwerksysteme für abstraktes Denken | |
| DE102021207613A1 (de) | Verfahren zur Qualitätssicherung eines Systems | |
| DE112021005531T5 (de) | Verfahren und vorrichtung zur erzeugung von trainingsdaten für ein graphneuronales netzwerk | |
| DE202021102338U1 (de) | Steuergerät zum Erzeugen von Trainingsdaten zum Trainieren eines Algorithmus des maschinellen Lernens | |
| WO2021180470A1 (de) | Verfahren zur qualitätssicherung eines beispielbasierten systems | |
| DE102020127185A1 (de) | Verfahren und Vorrichtung zum Trainieren eines neuronalen Netzes | |
| EP3748574A1 (de) | Adaptive bereinigung von messdaten um unterschiedliche arten von störungen | |
| EP4002217B1 (de) | Verfahren zur reduktion von trainingsdaten | |
| DE102022115101A1 (de) | Automatisierter entwurf von architekturen künstlicher neuronaler netze | |
| DE102021201833A1 (de) | Vorrichtung zur Verarbeitung von mindestens einem Eingangsdatensatz unter Verwendung eines neuronalen Netzes sowie Verfahren | |
| DE102020212328A1 (de) | Vorrichtung und computerimplementiertes Verfahren für eine Netzwerkarchitektursuche | |
| EP4205047A1 (de) | Verfahren zur qualitätssicherung eines beispielbasierten systems | |
| EP3945452A1 (de) | Verfahren zum optimieren von sensorparametern | |
| DE102021200215A1 (de) | Ermitteln einer Konfidenz eines künstlichen neuronalen Netzwerks | |
| DE102023210011A1 (de) | Verfahren und ein System zum Validieren einer Objektklassifizierung | |
| DE19610976A1 (de) | Verfahren zum Erkennen von Computerviren | |
| DE102022203045A1 (de) | Konfidenzbetrachtung während dem Training eines KNN |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: UNKNOWN |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20230605 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) | ||
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
| 17Q | First examination report despatched |
Effective date: 20241016 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
| 18D | Application deemed to be withdrawn |
Effective date: 20250218 |