Apparatus for operating hardware-based artificial neural network, use thereof, and training method thereof
By introducing interference signals and control signals into hardware-based artificial neural networks, reducing the signal-to-noise ratio and adjusting the power supply voltage of electronic components, the problem of limited number of components and connections and low training in the hardware-based artificial neural networks in the prior art is solved, and the flexibility and complexity of the network are improved and the ability to adapt to multiple tasks is achieved.
Patent Information
- Application Number
- CN202380066693.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-09-22
- Filing Date
- 2023-09-22
- Publication Date
- 2025-05-06
AI Technical Summary
The existing hardware-based artificial neural network has limited number of components and connections, is less training, is also less complex and flexible, and is difficult to implement widely applicable, autonomous, protected and generally applicable artificial neural networks.
By introducing interference signals and control signals into hard-based artificial neural networks, the interference signals are injected into specific areas of the network using interference devices and coupling devices, reducing the signal-to-noise ratio, and adjusting the power supply voltage of the electronic components by switching components to achieve network training and task execution.
Achieves the flexibility and complexity of hardware-based artificial neural networks, able to adapt to a variety of tasks through training, and provides a wide range of applicable, autonomous, protected and generally applicable solutions.
Smart Images

Figure CN119948492A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a device for operating a hardware-based artificial neural network, and a use thereof and a training method thereof. Background Art
[0002] Artificial intelligence can be used to detect patterns in technical applications, such as image recognition or monitoring machine parameters. Artificial neural networks that mimic the function of biological neurons can provide artificial intelligence. These artificial neural networks can be trained with training data using evolution-based methods, where the training adjusts the artificial neural network, thereby improving its ability to perform its tasks. In each training iteration, the individual elements of the artificial neural network are reconnected.
[0003] In principle, such a system can be implemented as a hardware-based system, i.e. the hardware physically forms the network, and as a software-based system, in particular a virtual network, which is simulated or emulated on a piece of hardware, such as a RAM memory and / or a processor. In a hardware-based system, modifiable electronic components are linked together to form the artificial neural network. Dozens of linked components can be removed without the system losing its performance. Furthermore, a hardware-based artificial neural network may have elements that are not connected to the rest of the network, i.e. unconnected and unused elements, which cannot be removed without degrading or losing the performance of the hardware-based artificial neural network.
[0004] To reduce this effect, for example, Cramer, B., D., Kreft, M., Wibral, M., Schemmel, J., Meier, K., & Priesemann, V. Control of criticality and computation inspiking neuromorphic networks with plasticity, Nature Communications, 11(1) (2020) 2853, to achieve the highest possible signal-to-noise ratio between linked elements, as this allows the number of subcomponents to reach thousands and the number of evolvable links to reach tens of thousands.
[0005] Compared to software-based artificial neural networks, current hardware-based artificial neural networks have a much more limited number of components and connections, are less trainable, and have lower complexity and flexibility.
[0006] Known artificial neural networks are designed to perform individual tasks after training. Furthermore, software-based artificial neural networks are particularly susceptible to manipulation from the outside, since they consist of program code and / or simulated or emulated hardware and are usually connected to the Internet. Furthermore, the output data of the artificial neural network can therefore be read by unauthorized persons.
[0007] Therefore, there is a need for widely applicable, autonomous, protected and universally applicable artificial neural networks.
[0008] It is therefore an object of the present invention to provide an improved hardware-based artificial neural network with which the above-mentioned disadvantages are eliminated.
[0009] This object is achieved by the features of the independent claim. Advantageous developments are the subject matter of the dependent claims and the following description. Summary of the invention
[0010] According to a first aspect, the present invention relates to an apparatus for operating a hardware-based artificial neural network, comprising at least one hardware-based artificial neural network, the hardware-based artificial neural network having a plurality of electrically interconnected network nodes, each network node comprising at least one electronic component, wherein, according to the present invention, the hardware-based artificial neural network in particular has an unchanged hardware structure, the apparatus comprising at least one interference device for injecting at least one interference signal into at least one area of the hardware-based artificial neural network and at least one coupling device, the at least one coupling device being positioned between the interference device and the hardware-based artificial neural network and being designed to transmit at least one interference signal from the interference device to the entire area of at least one area, and / or the apparatus having at least one switching element, which can be individually actuated by at least one control signal, for dimming and / or switching on and off a power supply voltage for at least one electronic component.
[0011] Hardware-based artificial neural networks are understood to include both biologically-based neural networks, in which the nodes generally have comparable properties (weights, transfer functions, etc.) and are arranged in layers, and electronic circuits, in which the nodes of the network have different digital and / or analog circuit elements or components, which is different from biologically-based neural networks. These can also not take the form of layers like biologically-based networks, but are randomly connected like electronic circuits, so that in some of the circuit elements, for example, a port provided as an output can be used as an input, and vice versa. From the current electronics point of view, this may cause the overall circuit to become "dumb", which acquires "intelligence" through training. Therefore, hardware-based artificial neural networks can also be called trainable electronic networks. Circuit elements can also constitute nodes of the corresponding network. Hardware-based artificial neural networks can also be called physical neural networks.
[0012] Unlike software-based ANNs, where the output of each node in a layer of the network is determined sequentially, the output of the nodes of hardware-based ANNs are obtained simultaneously for all nodes in the layer. This means that, in software-based ANNs, the number of nodes affects the time required to calculate the output of the ANN. However, in hardware-based ANNs, the number of nodes in a layer does not have any effect on the time required to determine the output. Only the number of layers determines the time required to determine the output data.
[0013] Electronic components are understood to mean both components that are manufactured and / or usable individually as well as components that are manufactured and used simultaneously with other components, for example other components used in the exposure of silicon wafers as part of semiconductor chip manufacturing.
[0014] The present invention provides a device for operating a hardware-based artificial neural network, in which an interference signal is injected into at least one area of the hardware-based artificial neural network. The interference signal is injected into the entire area, that is, the interference signal exists in the entire area, or the area corresponds to the area of the hardware-based artificial neural network covered by the interference signal. At least one area can be smaller than the entire hardware-based artificial neural network. In addition, the device has an interference device, which can inject interference signals into the hardware-based artificial neural network. In order to inject the interference signal, a coupling device is provided between the interference device and the hardware-based artificial neural network. In one example, the coupling device may simply include an air-filled space between the interference device and the hardware-based artificial neural network. The interference signal emitted by the interference device is transmitted to at least one area through the coupling device and injected into it. The injection of the interference signal causes an increase in noise in at least one area, thereby reducing the signal-to-noise ratio during the transmission of signals between elements (e.g., nodes) of the hardware-based artificial neural network. Contrary to all efforts made to implement electronic circuits, contrary to intuition, instead of increasing the signal-to-noise ratio in at least one area of the hardware-based artificial neural network, the signal-to-noise ratio is reduced spatially and / or temporally and / or partially. This reduction is limited to at least one area where the interference signal is injected, that is, to certain electronic components of the hardware-based artificial neural network circuit. The signal-to-noise ratio (S / N) is defined as follows: S / N=10*log(useful power / noise), expressed in decibels (dB), or S / N=20*10*log(useful signal voltage / noise signal voltage). The S / N of easily transmittable signals is greater than 15dB, and an S / N less than 10dB is considered high noise. If the useful signal power is equal to the noise signal power, the receiver can no longer recognize the signal. Additionally or alternatively, the device has at least one switching element that can adjust and / or switch on and off the supply voltage for the electronic component, that is, the node or part of the node of the hardware-based artificial neural network is included. At least one switching element can be arranged in at least one area and can be switched by the interference signal, which can be called a control signal. Therefore, the switching element can be controlled by the interference signal formed as a control signal. If there are multiple switching elements, each switching element can be controlled individually by the control signal. Therefore, the electronic component can be adjusted or switched on or off by the supply voltage. Each switching element can actuate a separate electronic module. The control signals for the switching elements can form a control signal pattern above the surface of the hardware-based artificial neural network. The hardware-based artificial neural network can be trained by adjusting the control signal pattern. Therefore, using the present invention, the hardware-based artificial neural network can be trained by modifying the interference signal and / or the control signal. It is no longer necessary to change the connections between the nodes of the hardware-based artificial neural network or the nodes themselves. Therefore, the hardware-based artificial neural network can have an unchanged hardware structure.The unchanged hardware structure can be understood to mean, for example, that the hardware structure does not have the means of physically separating the lines (track) between the network nodes, or the network nodes do not have the means of changing how they work. In this example, the change of the operating mode of the network node or the electrical connection between the network nodes of the hardware structure can only be acted on by the control signal and the interference signal used to control the voltage. The interference signal or the control signal can be used to modify the link between the nodes, or even modify the function of the node. Therefore, the modification of the interference signal and the control signal replaces the adjustment or modification of the link between the nodes of the hardware-based artificial neural network. This eliminates the need for providing a hardware-based network with a link that can be modified. Modifications can be generated by changing the interference signal or by changing the power supply voltage of a single electronic component so that the training of the artificial hardware-based neural network is transferred to the modification of the control signal or signal. This provides a highly flexible hardware-based network that can perform various tasks through training. For each task, a separate control signal or interference signal for the electronic component can be determined. Therefore, the task for the hardware-based artificial neural network can be set by introducing the corresponding control signal or interference signal into the electronic component. This allows a single hardware-based artificial neural network to perform multiple tasks, such as first recognizing an image and then recognizing audio data. This provides a broadly applicable, autonomous, protected and universally applicable artificial neural network.
[0015] According to one example, a hardware-based artificial neural network in at least one area can have at least one component designed to reduce the signal-to-noise ratio when receiving at least one interference signal, wherein the interference device preferably generates an optical, acoustic, capacitive, electromagnetic, quantum mechanical, resistive, thermal and / or ionization interference signal, and / or the switching element is preferably designed to receive an optical, acoustic, capacitive, electromagnetic, quantum mechanical, resistive, thermal and / or ionization control signal.
[0016] The signal-to-noise ratio is reduced by increasing the noise in the component. To this end, the component can be designed to be sensitive to interference signals. For example, if an optical interference signal is used, the noise in the component can be increased during the transmission of the electronic signal in the component. For example, the component can be arranged in an electrical connection between two network nodes or within a network node. The switching element can also be controlled by a control signal. The control signal can control the switching element by causing the supply voltage to be adjusted and / or switched on or off.
[0017] According to yet another example, the jamming device may have a plurality of individually actuatable jamming elements for injecting jamming signals into the hardware-based artificial neural network, wherein the jamming elements preferably inject the jamming signals into different regions of the hardware-based artificial neural network.
[0018] Thus, multiple regions of the hardware-based artificial neural network can be affected by the interference signal, which regions preferably cover the entire hardware-based artificial neural network. Since the interference elements can be controlled independently of each other, each region in the hardware-based artificial neural network can be affected by its own interference signal individually. These regions can overlap and / or be separated from each other.
[0019] Further, a plurality of interfering elements may be arranged distributed over a layer, for example preferably in the form of an array, wherein the coupling device comprises a medium having a plurality of coupling elements for transmitting at least one interfering signal into at least one region, the coupling elements being distributed in the layer like the interfering elements.
[0020] Therefore, the interference element can be used to generate an interference signal pattern, which is correspondingly transmitted to the hardware-based artificial neural network through a coupling device with a coupling element. Since the distribution of the interference elements in the layer is known, a specific area in the hardware-based artificial neural network can be targeted with an interference signal. Specifically, the distribution of the interference elements in the layer can be designed so that the arrangement of the interference elements is similar to the components of the neural network. This allows specific interference signals to be injected into each component. In addition, at least some of the multiple interference elements can be designed as a resistive heater, a Peltier element, a light emitting diode, an electromagnetic radiator and / or a transmitter, and / or a piezoelectric component.
[0021] In yet another example, the range of at least one region may correspond to the range of the hardware-based artificial neural network, or be designed to be smaller than the range of the hardware-based artificial neural network.
[0022] If the extent of at least one area is the same as the extent of the hardware-based artificial neural network, the interference device or coupling device can be formed uniformly so that the interference signal is applied uniformly to the entire hardware-based artificial neural network. A more sophisticated structure can inject interference signals into different areas of the components, for example, only into the signal input or signal output of the circuit elements of the hardware-based artificial neural network. For example, if the extent of at least one area is equal to the extent of the components of the hardware-based artificial neural network, and each component is assigned an area, an independent interference signal can be injected into each component of the neural network.
[0023] Thus, the structure of the plurality of coupling elements may be identical to the structure of the plurality of interfering elements. Furthermore, the structure of the coupling elements may also correspond to the structure of the hardware-based artificial neural network. However, this does not exclude the possibility that the structure of the coupling elements is finer or coarser than the structure of the interfering elements or the hardware-based artificial neural network.
[0024] According to another example, the device may include at least one semiconductor chip, wherein the semiconductor chip includes a hardware-based artificial neural network, and the hardware-based artificial neural network is preferably formed in an integrated circuit, more preferably in a field programmable gate array (FPGA) or in an application specific integrated circuit (ASIC).
[0025] The neural network can be designed as a circuit on a semiconductor chip, wherein the nodes of the neural network can be formed as components of the circuit. In the example where the elements of the neural network are designed as components of a field programmable gate array, the field programmable gate array can be configured so that the circuit structure of the elements of the field programmable gate array forms a neural network. In principle, a hardware-based artificial neural network also implemented in a field programmable gate array can be further trained. Conversely, a hardware-based artificial neural network is hard-wired on a specific application integrated circuit and can be optimized in other ways in advance. However, with the present invention, it is no longer necessary to train a hardware-based artificial neural network per se. This means, for example, that a hardware-based artificial neural network can be trained by modifying the interference signal or control signal using any integrated circuit into which interference signals can be injected and / or into which the power supply voltage of each part of the circuit can be changed. Even when a field programmable array is used, the array can be trained by modifying the input control signal or interference signal without reprogramming the array.
[0026] It is also conceivable that the apparatus may include a shielding device for shielding external interference signals of the same type as the at least one interference signal, wherein the shielding device surrounds the hardware-based artificial neural network, the coupling device and the interference device.
[0027] For example, the shielding device can be designed as a housing, forming the housing of the device. Thus, the interfering device, the coupling device and the hardware-based artificial neural network are surrounded by the shielding device. The shielding device can screen out external interfering signals, which could change the signal-to-noise ratio in an uncontrolled and unreproducible manner. As a result, the interfering signals of the interfering device almost only lead to a change in the signal-to-noise ratio in the area of the neural network.
[0028] According to another example, it can be envisaged that the apparatus further includes at least one memory for storing at least one interference signal and / or at least one control signal used by at least one interference device; at least one control unit for controlling at least one interference device and / or at least one switching element; and / or at least one output unit for outputting an output signal of the hardware-based artificial neural network, in particular an output signal that has been further processed.
[0029] The memory can be used to store interference signals or control signals during and after training. Therefore, for example, during the training process, all interference signals or control signals used for electronic components during training can be stored in the memory to avoid training runs with the same parameters. After the training is completed, the optimized control signal or control signal for the electronic component can also be stored in the memory. If there are multiple electronic components, the corresponding control signal or interference signal for each electronic component can be stored in the memory. Multiple control signals or interference signals can be referred to as signal patterns or signal pattern pairs. If necessary, the signal pattern or signal pattern pair can be read from the memory. The memory can be designed to store multiple different signal patterns or signal pattern pairs. Each signal pattern or signal pattern pair can have been trained for a separate task. Then, for example, the task type for each signal pattern or signal pattern pair can also be stored in the memory. For example, a signal pattern or signal pattern pair may have been trained for determining the category of an image element, while another signal pattern or signal pattern pair may have been trained for recognizing a speech pattern, for example.
[0030] It is conceivable, for example, that the interference device is designed as a control device for providing at least one control signal for at least one switching element.
[0031] For example, the control device can read out the control signals currently to be used from the memory in order to then use these signals. For this purpose, for example, the control device can receive a value which determines the task to be performed by the network. Based on this value, the corresponding control signal can be read out from the memory, or the control signal must have been read out, which the control device must transmit to one or more switching elements so that the artificial hardware-based neural network can perform the task.
[0032] According to one example, the above-mentioned multiple devices can be combined into an arrangement of multiple devices according to the aforementioned description, wherein the hardware-based artificial neural network of each device is electrically connected to each other in series and / or in parallel, wherein the interference devices of at least one first device among the multiple devices and a second device among the multiple devices are preferably designed as a common interference device, and the output layer of the hardware-based artificial neural network of a third device among the multiple devices is also preferably designed to control the interference device of a fourth device among the multiple devices.
[0033] The advantages, effects and improvements of this arrangement derive from the advantages, effects and improvements according to the above-described device. In this respect, to avoid repetitions, reference is therefore made to the previous description.
[0034] According to the previous description, the arrangement includes at least two devices. In the arrangement, the output layer of the hardware-based artificial neural network of the first device is electrically connected to the input of the interference device including but not limited to the second device or multiple other devices. The first device can then control the interference device of the second device or affect its function. In this way, each device can be coupled to the interference device of other devices of the arrangement through the electrical connection of its neural network.
[0035] According to another example, a system comprising a plurality of arrangements according to the above description may be provided, wherein a first arrangement of the plurality of arrangements is designed to control at least one interference device in a second arrangement of the plurality of arrangements.
[0036] The advantages, effects and improvements of the system are derived from the advantages, effects and improvements of the above-mentioned devices and arrangements. In this respect, to avoid repetition, reference is therefore made to the previous description.
[0037] For example, the first arrangement may form a base layer, whose devices send out output signals, which are processed by the devices of the second arrangement, for example, as input signals after further processing. In this case, at least one interference device of the device of the second arrangement may be coupled to the output layer of at least one device of the first arrangement. This can be referred to as forward coupling. It is further envisaged that at least one interference device of the device of the first arrangement may be coupled to the output layer of at least one device of the second arrangement. This can be referred to as backward coupling.
[0038] Furthermore, multiple systems can be considered as subsystems and combined into complex systems, where the subsystems are coupled to each other in the manner described above. In this way, more complex systems can be formed with further improved performance. For example, such a complex system can process various signals (optically and acoustically), where one subsystem processes optical signals and another subsystem processes acoustic signals.
[0039] In a second aspect, the present invention relates to a method for training an artificial neural network in an apparatus according to the aforementioned description, the method comprising at least the following steps: defining target output data during processing of provided training data; feeding the training data into a hardware-based artificial neural network, and injecting at least one interference signal into at least one area of the hardware-based artificial neural network through at least one interference device; obtaining output data from the hardware-based artificial neural network; determining whether there is at least one deviation between the output data and the target output data, the deviation being outside a predetermined tolerance range; if the deviation is within the tolerance range: terminating the method; and if the deviation is outside the predetermined tolerance range: modifying the hardware-based artificial neural network, preferably modifying at least one interference signal; or modifying at least one interference signal and / or modifying at least one control signal; and repeating the above steps, in particular the steps of terminating the method and modifying at least one interference signal and / or modifying at least one control signal.
[0040] The advantages, effects and improvements of the method are derived from the advantages, effects and improvements of the above-described device. In this respect, reference is therefore made to the previous description in order to avoid repetition.
[0041] In a first alternative, the method is used to train a hardware-based artificial neural network in a state disturbed by an interference device. Thus, the training of the neural network is carried out in a state where the signal transmission is disturbed in at least one area, in which an interference signal is injected. During each training process, in addition to the changes to the hardware-based artificial neural network, at least one injected interference signal is also changed. To this end, at least one parameter of at least one interference signal can be changed, such as intensity, frequency, duration, etc. Changing at least one parameter also changes at least one interference signal. In this way, the interference device can therefore be integrated into the training of the neural network. Therefore, using this method, a trained hardware-based artificial neural network can be provided, which has a higher performance than a neural network without the injection of interference signals.
[0042] In a second alternative, interference signals or control signals are obtained by training, and the unchanged hardware-based artificial neural network can use these signals to solve the tasks proposed by the training. The training is implemented by modifying at least one interference signal and / or at least one control signal until the physically unchanged hardware-based artificial neural network successfully completes the training. Changes in physical connections, such as physical disconnection or physical reconnection between network nodes, or physical changes in the network nodes themselves, are not the purpose, but are not excluded. Therefore, in this alternative, only one interference signal and / or one control signal or a pattern of interference signals and / or control signals need to be found, and the hardware-based artificial neural network can successfully complete the training. After training, in order to solve the tasks trained in the training process, the interference signal and / or control signal or the pattern of the interference signal and / or control signal need to be simply applied to the hardware-based artificial neural network. Therefore, by performing corresponding different training processes, different tasks can also be performed with a single hardware-based artificial neural network, so that different interference signals and / or control signals or patterns of interference signals and / or control signals can be determined.
[0043] According to an example, by injecting an interference signal, a signal-to-noise ratio of no greater than 15 dB, preferably no greater than 10 dB, and further preferably no greater than 0 dB can be generated in at least one area.
[0044] Typically, the signal-to-noise ratio of an easily transmittable signal is greater than 15 dB. A signal-to-noise ratio of less than 10 dB is considered high noise. If the useful signal power is equal to the noise signal power, the signal cannot be recognized at the receiver. Nevertheless, the neural network can in principle also detect patterns in the noise when the signal-to-noise ratio is 0 dB or lower, so that even if the signal is no longer recognizable, the output of subsequent nodes of the neural network will still be affected. The signal-to-noise ratio can also be less than 0 dB, preferably at least -40 dB, more preferably -15 dB, and further preferably -10 dB.
[0045] For example, it is also conceivable that the hardware-based artificial neural network remains unchanged in structure.
[0046] In another example, it can be envisaged that prior to performing the following steps: during processing of provided training data, target output data is defined, for example, a hardware-based artificial neural network can be trained without injecting interference signals.
[0047] This means that, as is known in the prior art, a neural network can first be trained to obtain an initial performance, such as a first accuracy value for recognizing certain patterns. By subsequent additional training with the injection of interference signals, the initial performance can be surpassed, wherein, for example, a second accuracy value for detecting a specific pattern is greater than the first accuracy value.
[0048] According to another example, the interference signal and / or control signal finally obtained can be stored, preferably together with a marking value for identifying the target output data used, and after terminating (185) the step of the method, the method is performed at least once more using the same device with modified target output data and training data.
[0049] Further, for example, it is conceivable that at least one interference device may have at least a plurality of individually actuatable interference elements, wherein each interference element is designed to inject an interference signal into the hardware-based artificial neural network, wherein each interference element preferably injects the interference signal into a different area of the hardware-based artificial neural network, and the plurality of actuatable interference elements may be actuatable in such a manner that the interference signal forms a predetermined interference signal pattern above the hardware-based artificial neural network, wherein multiple training iterations of the hardware-based artificial neural network are preferably performed sequentially with different predetermined interference signal patterns.
[0050] For example, predetermined interference signal patterns can be used for initial training iterations. In subsequent training runs, interference signal patterns can be changed by changing single or multiple activities in individually actuable interference elements, such as by reducing or increasing signal strength. Due to the predetermined interference signal patterns that can be initially injected, training can be accelerated by using interference signal patterns that have been classified as suitable. In addition, predetermined interference signal patterns can also be used unchanged throughout the training.
[0051] Furthermore, it is conceivable, for example, that the interference signal and / or the control signal can be a test signal, wherein, when the test signal is used to feed predetermined test data, predetermined output data is provided only if no part of the hardware-based artificial neural network is damaged, replaced and / or manipulated. Thus, the test signal can be used to check whether the hardware-based artificial neural network has been damaged, for example, whether it has been modified. If the hardware-based artificial neural network to which the test data is applied does not provide the predetermined output data, it can be assumed that the hardware-based artificial neural network cannot complete the task assigned to it, or will provide erroneous or manipulated results. This can enhance confidence in the use of the hardware-based artificial neural network.
[0052] According to a third aspect, the invention relates to the use of a device according to the aforementioned description, wherein the device operates sequentially with at least two different signal sets, in particular for different tasks, wherein each signal set comprises at least one interference signal and / or control signal.
[0053] Different signal sets can be assigned to different tasks. For example, one signal set may enable a hardware-based artificial neural network to analyze an image. For example, a second signal set may be suitable for identifying certain objects in an image. For example, another signal set may solve a completely different task, such as performing speech recognition.
[0054] The advantages, effects and improvements of the use of the device are derived from the advantages, effects and improvements of the above-described device and the above-described method. In this respect, to avoid repetitions, reference is therefore made to the previous description.
[0055] In yet another example, a method for training an artificial neural network in an arrangement according to the aforementioned description may be provided, wherein a method for training an artificial neural network in a device according to the aforementioned description is applied to a hardware-based artificial neural network of the device, preferably after the device has been separately trained outside the arrangement by the method for training an artificial neural network in a device according to the aforementioned description.
[0056] Advantages, effects and improvements of the method for training an artificial neural network in an arrangement result from the above-described apparatus, arrangement and additional advantages, effects and improvements of the previously described method. In this respect, reference is therefore made to the previous description to avoid repetitions.
[0057] Using the method for training an artificial neural network in an arrangement, it is possible to train all the devices of the arrangement to match each other, thereby improving the performance of the arrangement. To this end, the devices in the arrangement can be trained together from the beginning. Alternatively, each device can be trained separately first, wherein no corresponding interfering signal device is affected by the output signal of another device. Only in the second training run, the devices of the arrangement are matched to each other, and the interfering device can be affected by the output signal of other devices of the arrangement.
[0058] In yet another example, a method for training an artificial neural network in a system according to the aforementioned description may be provided, wherein the method for training an artificial neural network in an apparatus according to the aforementioned description is applied to a hardware-based artificial neural network of the apparatus, preferably after the arrangement has been separately trained outside the system by the method for training an artificial neural network in an arrangement according to the aforementioned description.
[0059] Advantages and effects and improvements of the method for training an artificial neural network in a system result from the advantages and effects and improvements of the above-mentioned apparatus, arrangement, system and other aforementioned methods. In this respect, in order to avoid repetition, reference is therefore made to the previous description.
[0060] In a method for training an artificial neural network in a system, different arrangements of the system are coordinated with each other. In this case, the arrangement can be initially trained separately without the devices of other arrangements affecting the interfering signal devices. In addition, in this case, before the arrangement is trained, the devices of the arrangement can be trained separately from each other without being affected by the interfering devices of other arrangements. Alternatively, in a single training of the system, the arrangement and the devices it contains can be matched with each other, wherein the output signal of the arrangement can affect the interfering devices of other arrangements. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In the following, the present invention is described using exemplary embodiments with reference to the accompanying drawings, in which:
[0062] Figure 1A and 1B A schematic diagram of the device is shown;
[0063] Figure 2A and 2B Shown according to Figure 1A and 1B A schematic diagram of the device with more details;
[0064] Figure 3 A schematic diagram showing an example of a device having an FPGA chip;
[0065] Figure 4A and 4B Shown according to Figure 3 A schematic diagram of yet another embodiment of an example of;
[0066] Figure 5 A schematic diagram showing an example of an apparatus having two jamming devices;
[0067] Figure 6 A schematic diagram showing the basic structure of an FPGA chip;
[0068] Figure 7 A schematic diagram showing an example of an apparatus having a capacitive interference element;
[0069] Figure 8 A schematic diagram showing an example of an apparatus having a heating and cooling interference element;
[0070] Fig. 9 A schematic diagram showing an example of a device having a heating interference element;
[0071] Fig.10 A schematic diagram showing an example of a device having a sound-generating interference element;
[0072] Fig.11A schematic diagram showing an example of an apparatus having an interfering element emitting electromagnetic radiation;
[0073] Fig.12 A schematic diagram showing an example of an apparatus having a pattern generating interference signal;
[0074] Fig.13 A schematic diagram showing an arrangement with a plurality of devices is shown;
[0075] Fig.14 A schematic diagram of a system having multiple devices is shown;
[0076] Fig.15 A schematic diagram showing another example of a system in an alternative schematic mode;
[0077] Fig.16 A schematic diagram showing an example of a plurality of systems interconnected by an interfering device is shown;
[0078] FIG17 is a schematic diagram showing yet another example of an arrangement of the device;
[0079] Fig.18 A flow chart showing a method for training an artificial neural network in a system;
[0080] Fig.19A and 19B A comparison between a conventional circuit and a circuit suitable for the hardware-based artificial neural network of the present invention is shown;
[0081] Fig. 20A and 20B Another comparison between a conventional circuit and a circuit suitable for the hardware-based artificial neural network of the present invention is shown;
[0082] Fig.21 An array-like structure of a semiconductor chip having an artificial hardware-based neural network is shown;
[0083] Fig.22A - C shows an example of the device as a semiconductor chip having an interference device and a switching element for the supply voltage;
[0084] Fig.23 An overview diagram showing details of the entire system of a hardware-based artificial neural network is shown;
[0085] Fig.24 The apparatus is shown with additional peripherals;
[0086] Fig.25 The layers of a hardware-based artificial neural network are shown;
[0087] Fig.26shows serial queries of hardware-based artificial neural networks with different tasks;
[0088] Fig. 27 The overall structure of the device is shown. DETAILED DESCRIPTION
[0089] Figure 1A and 1B The device is shown, and the following will be further described: Figure 1A Shows the spatial arrangement of the device; Figure 1B A cross-sectional view of the main components of the device is shown. This example shows an FPGA chip, located on a control circuit board 13, whose individual components are linked by an evolutionary learning process, configured and trained to form a hardware-based artificial neural network 11. The layers of this hardware-based artificial neural network 11 largely correspond to industrially available chip-based systems and activation mechanisms that have been described in the prior art.
[0090] In the following, the term "FPGA" is used to denote all freely configurable electronic semiconductor chips. At a distance d, as will be described in more detail in the following examples, a further layer with an optional array-like structure is arranged as a jamming device 12, whose elements are shown here as small spheres and can be switched on / off or adjusted in a controlled manner as jamming elements. Actuating elements are not shown here.
[0091] The layer of this interference device 12 can generate interference signals in the form of a pattern and is called an "interference signal layer". It or its elements can generate interference signals and be cross-coupled into the layer of the hardware-based artificial neural network 11 through the partial space of the coupling device 15, and locally injected into at least one area of the hardware-based artificial neural network 11, and the interference signal will be injected into the entire area. Therefore, this area corresponds to the area covered by the interference signal in the hardware-based artificial neural network 11. This area can cover the entire network, that is, the interference signal is injected into the entire network. This can be implemented uniformly. In addition, if, for example, multiple areas are provided, the range of the area can be allocated to groups of components of the FPGA, separate single components, or only to sub-areas of single components.
[0092] Suitable jammer array components may be micro-heating or cooling elements, optical, acoustic, resistive, electromagnetic, capacitive, mechanical or even quantum mechanical components. Any substance that can be injected into an electronic circuit, as implemented in the layers of a hardware-based artificial neural network 11, is applicable.
[0093] Through the coupling device 15, also referred to as the "coupling space" below, the signal generated in the interference device 12 can be cross-coupled as a pattern into the layer of the hardware-based artificial neural network 11. Corresponding to the elements of the layer of the interference device 12, the coupling device 15 can be a medium, for example, it transmits thermal, resistive, electromagnetic, capacitive, mechanical or even quantum mechanical signals. In the simplest case, it can be a uniform medium, such as a gas, liquid or solid. However, in general, the medium can include a combination of vertical and / or horizontal directions of different materials to achieve local effects in the layer direction of the hardware-based artificial neural network 11 and adapt to their array structure, that is, the medium of the coupling device 15 can be adapted to adapt the arrangement of the linkable elements of the FPGA chip to the hardware-based artificial neural network. The distance d can also be adjusted, but it will usually be selected to be small relative to the surface area of the layer of the hardware-based artificial neural network 11, so that local effects can be generated in the hardware-based artificial neural network 11, especially in the FPGA chip.
[0094] Unlike the use of conventional semiconductor chips and semiconductor components, the components at the level of the hardware-based artificial neural network 11 may be partially but not completely shielded from external influences, so that injection can only come from the level of the interfering device 12.
[0095] Therefore, due to the increased sensitivity of the components of the hardware-based artificial neural network 11 to external signals, the packaging of the device can be provided as a shielding device 14 specifically for shielding these interfering signals.
[0096] In the basic arrangement of the hardware-based artificial neural network 11 according to the present invention, the main components of the evolutionary learning process are the layers of the hardware-based artificial neural network 11. The layers of interference devices 12 form a higher-level but secondary component, which makes this process of the layers of the hardware-based artificial neural network 11 more complex and can also be optimized by the or second evolutionary algorithm and learning process. The overall units 11 to 15 can be understood and referred to as intelligent hardware AI systems and can also be referred to as AI basic units.
[0097] The training process can be performed in two variants. In a first alternative, the hardware-based artificial neural network 11 and the jamming device 12 can be modified simultaneously during the evolution process. In a second alternative, first only the hardware-based artificial neural network 11 can be trained, and if this training shows positive results, the jamming device 12 can be added. If the device comprises more than one hardware-based artificial neural network 11 and more than one jamming device 12, any combination of separate or joint training can be performed according to the first or second alternative.
[0098] By avoiding undefined interference effects, clear separation of interference signals by the interference device 12 and the coupling device, highly complex systems are achievable and controllable, and the likelihood of achieving positive training results is increased compared to prior art systems.
[0099] Figure 2A and 2B An example of explaining spatial relationships is shown. Figure 2A shows a three-dimensional exploded view, and Figure 2B Shown along Figure 2A Cross-section view along the mid-SS line.
[0100] The FPGA chip 24, in which a hardware-based artificial neural network is implemented, can be arranged on a board 21, such as a multi-layer PCB board, for actuating and configuring the FPGA through a port 26. The configuration can be implemented by a digital computer. The FPGA 24 is not encapsulated in a shielded manner, but can be covered and replaced by a coupling medium 23 of a coupling device, followed by an interference device 22, which is shown here in an array form, in a checkerboard pattern, with individual interference elements for local generation of interference signals of the FPGA forming a checkerboard pattern. The interference device 22 is in turn connected to the board 25 through a port 27 for actuating the interference element. In the simplest case, any pattern can be generated by switching the interference elements of the interference device on and off, which act locally on the FPGA chip 24 through the coupling medium 23.
[0101] In this example, about Figure 1A The distance d in the FPGA chip 24 is smaller than the surface area. Usually, the distance is between 0.1 mm and 5 mm, preferably 0.5 mm. The geometric relationship can be Figure 2B Seen in the SS section.
[0102] For example, the array of jammers 22 may include small heating elements or Peltier elements coupled through a medium 23 with high thermal conductivity, such as a metal or diamond layer. The layer may be structured as an array of columns with good and poor thermal conductivity to transfer the temperature pattern to the FPGA. This allows the generation of variable, trainable and switchable jammer signal patterns.
[0103] The first level of structuring of the jammer (structured measure of the distribution of the jammer elements) can be adapted to the structuring of the FPGA, which can be specified in this example by the second level of structuring, i.e., by selecting geometric similarity. Then, in each area, the jammer injects the jammer signal into the hardware-based artificial neural network, which is implemented in the FPGA and arranges the basic elements of the FPGA. In other words, each jammer element then controls one basic element of the FPGA.
[0104] However, this is not necessary, since the first degree of structuring can be structured more finely or more coarsely just as well as the second degree of structuring, the ratio of the first degree of structuring to the second degree of structuring preferably being in the range 10:1 for finer structures to 0.1:1 for coarser structures.
[0105] The coupling medium 23 of the coupling device can have a structure which is specified by a third degree of structuring. The third degree of structuring can also be structured more finely or more coarsely as well as the second degree of structuring.
[0106] Figure 3 Shows Figure 1A and 1B A compact technical arrangement of the device described in . In a semiconductor chip holder (hoder) 31, for example a ceramic with a plurality of contact pads, an FPGA chip 32 can be arranged with a linkable electronic basic component 33. In addition, a coupling medium 34 and a jamming device 35 with an array of jamming elements can be arranged directly thereon.
[0107] The whole chip can then be encapsulated 36 to shield it from external influences. In the case of electromagnetic components in the jammer, the encapsulation can be, for example, a metal encapsulation, or in the case of optical jammers, an opaque coating.
[0108] This compact chip design allows such chips to be combined on one board to form complex structures or even stacked, as explained in the example below. Such a chip can be used to assemble multiple AI basic units and combine them into a hierarchical structure.
[0109] Figure 4A and 4B An example combination of a compact chip system is schematically shown. Figure 4A Shown according to Figure 3 The device as an AI basic unit comprises an FPGA 41, a coupling medium 43 of a coupling device, and an interference device 42 having an electrical contact pad 44. The thickness of the coupling medium can vary between 100 microns and 5 millimeters, preferably from 200 microns to 600 microns. In addition, the coupling medium can have multiple coupling elements, which can be structured or unstructured according to a third structuring degree. In particular, structuring of the coupling medium is provided for the use of signal patterns.
[0110] exist Figure 4B In FIG. 4 , two devices are shown combined together. The combination of the two devices has two FPGAs 41, which are connected to a common interference device 42 via two coupling media 43. The FPGAs are aligned head to head.
[0111] In a similar manner, more combinations can be realized as horizontal or vertical stacking.The advantage of a common jammer device for multiple FPGAs is reduced actuation complexity.
[0112] Furthermore, interference signal patterns can be generated which are either fixed in advance or have been optimized by evolution-based methods during training with the FPGA. Such systems also offer the advantage that the upper and lower FPGAs can be exposed to different interference signal patterns in a temporally separated sequence or alternately, thus enabling more complex training and more complex AI systems with lower switching complexity.
[0113] Figure 5 Another variant is shown. In this example, the FPGA 51 is arranged between two coupling media 53a and 53b and two interfering signal layers 52a and 52b. This leads to a variety of options for injecting interfering signals with increased device complexity but well defined.
[0114] For example, it is possible to provide for symmetrically injecting the same interference signal pattern into the center of the FPGA chip from above and below. Or, for example, it is possible to provide for asymmetrically injecting the same or different interference signal patterns into the FPGA chip. Alternatively, for example, injections separated in time from above and from below can be performed. In addition, for example, alternating injections of asymmetrical interference signals from above and below can be provided.
[0115] Figure 6 The basic principle and basic structure of the FPGA chip array are schematically shown. Since FPGA is usually structured as an array, for ease of understanding, the representation of row 1 to row m and column 1 to column n is selected.
[0116] By means of four connections A, B, C, D, electronic basic components can be connected to each other in a short-circuit-proof configuration to form a hardware-based artificial neural network, whose positions can be identified by the indexes 11, 12, […], m5, mn. Even incorrect wiring connections, such as using the output of a component as an input, are permitted in the hardware-based artificial neural network.
[0117] As shown in the example, the basic elements at positions 11 to 15 in the top row of the array shown, the elements of the FPGA can be digital circuits as well as analog circuits. The symbols used correspond to the electronic nomenclature. It is also possible to mix analog and digital devices. These electronic components mn do not have anti-interference shielding as usual, but may have components that are sensitive to optical, acoustic, thermal, electromagnetic and other signals generated by the interference device. The type of configuration used for training and the evolution program are prior art and are therefore not explained in detail here.
[0118] Figure 7 In FIG. 5 , the three layers of the apparatus (hardware-based artificial neural network, coupling device and interference device) are shown with capacitive interference.
[0119] In this example, the FPGA 71 as a hardware-based artificial neural network has a second level of structuring that is finer than the first and third levels of structuring of the interference signal device 72 and the coupling device 73. The structuring of the FPGA, the interference device and the coupling device can be of the same type or of different types. Thus, not only a single basic element of the FPGA can be controlled, but also a group of basic elements or only a sub-region of a basic element can be controlled simultaneously.
[0120] The jammer device 72 may include, for example, a small metal plate or metal pad 72a as a jammer element, which is embedded in an electrically insulating medium 72b. Each pad 72a can be activated by a computer program in the same way as the operation of an FPGA. In the simplest example, three assignments for each pad are possible, as shown at 74: 1. Applying a positive or negative voltage Ux; 2. Open pad, i.e., no potential binding, where the pad finds its potential by itself in the chip environment; 3. Ground connection so that an arbitrary charge pattern can be generated in the array.
[0121] In the example shown, the coupling device 73 is structured in the same way so that under each metal pad, a material 73a with a high dielectric constant, embedded in a medium 73b with a low dielectric constant, can be arranged as a coupling element. Through the surface of the FPGA 71, these metal pads form local capacitances, through which displacement currents can be injected into each of the local adjacent areas of the hardware-based artificial neural network.
[0122] During the evolutionary training process, the allocation of the interference element 72a can be changed by an evolutionary algorithm, using a method similar to the training of a hardware-based artificial neural network. This means that at the beginning, a random allocation of the input signal can be generated and applied for the interference device 72. Then, the artificial neural network implemented in the FPGA can receive the input signal. If this is correctly interpreted by the neural network at the output, the configuration of the interference device 72 remains unchanged and the next training signal is applied to the FPGA. If the input signal is evaluated incorrectly, for example, the allocation of several pads or interference elements will be randomly changed, and the switching connection in the FPGA is in the same situation. The two algorithms can match, but they do not have to match. If this process is repeated hundreds to thousands of times, which can be called a "generation" in the evolutionary algorithm, the entire device can achieve the expected success rate.
[0123] Figure 8A 3-layer AI chip is shown, in which interference signals can be generated by an array of heating and / or Peltier elements 82, which in this case represent interference elements. The temperature can be transferred from the interference elements to the local basic elements of the FPGA 81 via coupling devices 83. The basic elements arranged as an array at positions 11 to mn of the FPGA can be manufactured as temperature sensitive elements according to standard semiconductor manufacturing methods, or designed in such a way that they react in signal behavior to small temperature differences, for example, a few degrees or fractions thereof.
[0124] The coupling device 83 in this example also comprises two parts: a cylindrical region 83a of high thermal conductivity and a region 83b of low thermal conductivity located therebetween. For example, the material 83a may be a metal such as copper or silver, or a diamond layer processed by semiconductor technology. The insulating material 83b may be a plastic material, glass or even a ceramic material of low thermal conductivity.
[0125] The jammer 82 in this example may have a plurality of heating and / or cooling elements, such as micro-resistance elements or Peltier elements, as jammer elements. In this way, an arbitrary temperature pattern can be passed to the FPGA below. The temperature difference can be selected within a wide range, for example between -20°C and 100°C, but preferably within a range close to room temperature or below.
[0126] Figure 8 The top center box 85 shows the structure of the AI basic unit in a vertical cross-section SS. Here, the array structures of the layers of interference devices, coupling devices and neural networks do not have to match, that is, the number of interference elements and coupling elements can correspond to the number of basic electronic components, but does not necessarily correspond.
[0127] The temperature patterns generated are usually static, meaning they are constant during the working cycle of the neural network, which corresponds to a decision run. However, they can also vary dynamically across multiple decision runs of the FPGA.
[0128] The training process is similar to Figure 7 Description in .
[0129] exist Fig. 9 In the example, the device is shown only by an interference device having a heating element. Figure 7 and Figure 8 Structured as described in .
[0130] exist Fig.10 In FIG. 1 , a jamming device 102 is shown, which has miniature sound emitters as jamming elements, which emit sound signals of different frequencies, for example by vibration. The sound emitters can be piezoelectric elements, piezoelectric crystals or small diaphragms that generate individually activated sound patterns.
[0131] In this example, the coupling device 103 may include a sound transmitting region 103a, such as a mechanical solid state coupling or a miniature ultrasound probe, and a sound dampening intermediate space 103b, such as a sound absorbing material, such as a material with very small cavities.
[0132] The basic elements of FPGA 101 can be designed in a way that they can be disturbed to a certain extent by sound frequencies. For example, if the basic electronic elements of FPGA have sound receiving components, the effect can be strengthened and designed to be more complicated. Some or all basic elements of FPGA may have this situation. The advantage of the application of sound is its wide frequency range, which ranges from infrasound to ultrasound in the range of human hearing. This allows not only the generation of single frequency sound patterns, but also the generation of different frequency sound patterns.
[0133] This example graphically illustrates the expanded possibilities associated with introducing jamming devices and coupling devices into a hardware-based artificial neural network. As illustrated in the following figures, in an interconnected arrangement and system, each of these jamming devices can vary in intensity with a fixed sound pattern, the overall frequency can vary, the frequency composition / spectrum can be modified, the pattern can be changed, or a combination of these options can operate.
[0134] If it is assumed that the overall system of hardware-based artificial neural networks, interference devices and coupling devices has been optimized for a certain frequency mode and achieves the highest success rate in this actuation mode, then the modification / detuning of the interference signal will lead to worse results. In extreme cases, the neural network may only work in a certain intensity interval or frequency interval. This means that if the device has been operated in a sub-optimal way before, it may be possible to deteriorate or improve it simply by using interference signals. This leads to the possibility of interconnecting many devices in a hierarchical or even non-hierarchical way, so that the success rate of a neural network can be used to influence other hardware-based artificial neural networks connected to it through its interference signals.
[0135] Fig.11 An FPGA 111 is shown which comprises an artificial neural network of the type already described. In this example, the jamming element of the jamming device 112 can be a microtransmitter for emitting high-frequency electromagnetic waves up to the microwave range, which can be designed as an antenna, for example, or can transmit its signal to the FPGA via the coupling device 113 via a waveguide 113a as a coupling element.
[0136] Similarly, the jamming device can have infrared or LED elements, in the visible spectral range or in the ultraviolet range, as jamming elements. In addition, the injection can be realized through optical fibers or pinholes as coupling elements. For this device, a very wide range of operation and training methods can also be obtained, similar to Fig.10 .
[0137] exist Fig.12 In the figure, an alternative arrangement is shown, in which the interference device can only generate interference signals with patterns. To this end, the coupling device 123 has two or more layers 123a, 123b, for example, on each layer can be applied a concentric circle pattern, these patterns are alternately transparent and opaque, wherein the centers of the concentric circles of the two layers are offset relative to each other. This will result in a symmetrical or asymmetrical superposition pattern. The interference device 122 can then have an array of light-emitting diodes. In this case, the coupling device 123 is not an array as in the aforementioned example. Alternatively, the pattern formed by the interference signal in the neural network can be defined by superimposing a pattern. The FPGA chip 121 can have, for example, a photosensitive component in its electronic basic elements.
[0138] Fig.13 Shown as Figures 3 to 5 Arrangement of the devices of the integrated body of the corresponding AI basic unit. On the control circuit board 135, the electrically connected FPGA chip 131 can be placed, wherein the interference device 132 can be electrically contacted on the bottom surface of the inverted, transparent schematic control circuit board 136. The coupling device 133 is arranged between them.
[0139] The AI base units 134 can be trained individually and / or collectively in the manner previously described by means of a first actuator 139 of the control circuit board 135 for the FPGA 131 and a second actuator 140 of the control circuit board 136 for the jammer 132. If each AI base unit 134 has been trained on a different set of features, e.g., the first recognizes a cat, the second recognizes a dog, the third recognizes a horse, etc., then Fig.13 The arrangement in forms a more complex AI system with higher performance / intelligence than the AI base unit as a single device.
[0140] The jamming devices may also be partially electrically connected to each other, as schematically shown by dashed lines 137 and 138. This provides another option for control and evolutionary training of the entire arrangement.
[0141] These connections can be used to transmit signals between the jammer devices 132 that change the performance of other AI basic units in a fixed way, for example, by injecting a jammer signal only, the corresponding artificial neural network in the FPGA can be manipulated by the jammer signal as explained above. For example, this can be achieved by increasing or decreasing the strength of the jammer signal in the connected AI basic units. This means that each AI basic unit can perform in an improved or even optimized manner, such as the devices connected by the dotted connection line 138, or also be detuned, thereby degrading or shutting down, such as the devices connected by the connection line 137. For example, in the animal recognition example above, assuming that half of the AI basic units can recognize animals and the other half can recognize artwork that looks like animals, then the interconnection can ensure that the initial many of the AI basic units are controlled within the sub-optimal range, through the detuning of each jammer device, and make them operate at, for example, 80% of the maximum performance. When an input signal is provided to these devices, such as an image of a mule, a single AI basic unit will classify the input signal into different results.
[0142] A device capable of recognizing a cat may output a 2% match for a mule to a cat, while a device capable of recognizing a horse may output a 90% match, for example in the case of a horse statue, and a device capable of recognizing a work of art may also respond to detections ranging from a few percentage points to 60%. The AI base unit with the highest match, in this case the device capable of recognizing a horse, can then switch its jammer device to optimized operation. In addition, the jammer devices of the previously mis-tuned AI base units to which it is connected can also be simultaneously switched to optimized jammer signal mode, for example, one AI base unit for detecting wild horses, one AI base unit for detecting zebras, and one for identifying equine hybrids. At the same time, through the connection to the device capable of recognizing a work of art, it can suppress all but the one with the highest hit rate. This device for detecting a work of art with the highest hit rate can actuate other devices that can detect the work of art through its connection through the optimized adjustment of the jammer device.
[0143] Now, a new iteration of the mule image can be started until it is determined which object in the entire system the mule is closest to and whether it is an animal or an object.
[0144] Such an arrangement has an additional training layer compared to the AI basic unit, that is, the interconnection of devices with each other, which can also be achieved through evolutionary optimization strategies.
[0145] By more than one, at least two, according to Fig.13 The arrangement of can build complex systems organized hierarchically or in other ways, such as Fig.14 As shown. A base layer 141 including any number of AI basic units is shown, for the sake of clarity, for example Fig.14Only four devices are shown, labeled a1 to a4, which can be connected to each other in an activating or inhibiting manner via electrical connections 143 between associated interfering devices. At this level, an input signal 144 can be fed into all AI basic units a1 to a4, for example by connecting the inputs of the devices in parallel.
[0146] The AI basic unit with the highest probability of identification can be cross-coupled to the next higher layer 142. In this layer, the input signal 144 can now also be applied to all AI basic units, wherein, for the sake of clarity, the layer 142 only shows two devices b1, b2, which can also be partially or completely connected to each other via electrical connections 143 between interfering devices. In this layer, the AI basic unit with the highest probability of identification can also be determined and then the output signal 147 can be generated.
[0147] Typically, the number of AI building blocks can be greatest at the lowest layers and decrease towards higher layers. Although this is not required. Each layer can also create expanded decision categories or new links. For example, in a higher layer patterns can be compared, and after an object has been identified, the next layer can add acoustic signals, revealing contradictions that would otherwise lead to misclassification. For example, if an object identified as a cat neighs like a horse. Such a system can have larger AI building blocks in higher layers than in lower layers.
[0148] exist Fig.15 , a system with a hierarchical AI structure is shown, comprising three layers 151, 152, and 153 with input 154 and output 155, similar to Fig.14 For ease of display, Fig.15 On the right side of FIG. 1 , these complex AI interconnections are grouped together as cylinders 156 with inputs 154 and outputs 155 to enable the representation of more complex structures.
[0149] Fig.16 A more complex structure is schematically shown. It includes multiple Fig.15 164-166. These cylinders can be oriented in the same direction in the layer, where, for clarity, for example, only cylinder 164 is shown with each input 161 oriented downward and each output 169 oriented upward.
[0150] These systems can be arranged in areas marked by specific patterns on top of corresponding cylinders, one pattern for each system marking an area.
[0151] exist Fig.16In FIG. 1 , three zones are shown, which may include three system types 164, 165, 166. As shown by system type 166, not all systems in a zone need to be directly adjacent. A single system may also be arranged as an independent unit in another zone (not shown here). In this way, strong and weak interactions can be achieved between zones by interfering with the device.
[0152] Systems within a zone may receive a common input signal. It is convenient to organize the zones in such a way that they each receive a different or modified input signal, such as a portion of a common input signal that is Fig.16 They are marked with reference numerals 161, 162 and 163.
[0153] There may be mutual or direct connections between systems, through which they can be stimulated or inhibited, or can also stimulate or inhibit other systems. These connections can usually start at the top level, the result level, such as Fig.15 When input signals 161 to 163 are applied, a single system can already achieve a more complex response with different recognition probabilities than a system without these connections.
[0154] Similar to Fig.14 and 15 The operation of individual systems within the area and outside the area can be enhanced or weakened. Connections to other areas (which can easily be far apart), such as the connection arrow from system 164a to system 164b, allow the activities of larger system integrations to be controlled by interfering devices. These integrations of systems have another training layer in addition to what has been described above.
[0155] The systems of the areas with the highest hit rates can be cross-coupled through the switching layer 167, which feeds the results into the projection layer 168, where the results and input signals of other areas with high hit rates can be input and displayed for comparison.
[0156] This arrangement allows the realization of, for example, a pandemonium-like structure, such as that thought to exist in the human brain. These systems correspond to the columnar structure of the cerebral cortex, and the regions correspond to the visual cortex, auditory cortex, tactile cortex or olfactory cortex. Through cross-connections between systems and between regions, it is possible to create and train association-like patterns, which ultimately represent only associations between phenomena that are actually unrelated, such as the realization of optical patterns with music. As shown, through basic devices, such as FPGAs with interference devices and their interconnection and manipulation through interference devices, the linking of devices to form a system arrangement and aggregation, and then by arranging the system in layers and regions, an overall artificial intelligence system can be created, which can achieve general intelligence by gradually or synchronously executing multiple evolutionary training cycles. The larger the scale of the system, the more complex the training structure can be executed.
[0157] Figures 17A to 17D An alternative arrangement is shown. If the jammer 172 is not arranged in close proximity to the FPGA 171 in order to inject the jammer signal in a less detailed pattern than in FIGS. 1 to 16 , but rather it is desired to inject the signal more broadly and in the same or similar manner to multiple FPGAs, the arrangement may include multiple FPGAs 171 and a control circuit board, for example, in a manner similar to that shown in FIG. Fig.17A As shown, the common jammer 172 is arranged in a square shape, which can be configured as a column. Such a group of four FPGAs 171, or for example a group of eight FPGAs (only seven are shown in the figure for clarity), can form an AI basic unit together with the jammer 172 and the coupling device 173 therein.
[0158] Figures 17B to 17D A further example of a device is shown in plan view. Fig. 17B The FPGAs of the devices are arranged in a triangular arrangement, Fig. 17C are arranged in a hexagonal arrangement.
[0159] Fig.17D The device is shown in which the FPGA and the hardware-based artificial neural network are arranged in a rectangular chain system. The coupling medium of the coupling device 173 can be a gas or a material that easily transmits the corresponding interference signal to the FPGA chip. Therefore, due to the wide effect, it can be uniformly formed according to the interference signal column 172. Alternatively, it can include a layered or other type of high-transmission material and low-transmission material. Other groupings can also be implemented in a similar manner. What they have in common is that they can be combined into more complex arrangements, systems and integrated bodies, such as Figures 13 to 16 described.
[0160] Fig.18A flow chart illustrating a method for training a system according to the above is shown, wherein firstly a method 180 for training an artificial neural network in an apparatus according to the above is performed. The apparatus of the system may be initially trained.
[0161] In a first optional step 187 of method 180, the hardware-based artificial neural network of the device can be initially trained without injecting interference signals. In this step, the hardware-based artificial neural network is trained to an initial performance value.
[0162] In a further step 181, target output data may be defined, which represents the desired result of processing the training data provided by the hardware-based artificial neural network. This step may also be performed at any time before the following step, and may also be performed synchronously with or before the optional step 187.
[0163] Furthermore, in step 182, the hardware-based artificial neural network may be trained using the provided training data. To this end, the training data is fed into an input layer of the neural network, wherein the jammer injects a jamming signal into at least one region of the hardware-based artificial neural network. In this process, a partial node, an entire node, or a plurality of nodes of the hardware-based artificial neural network may be arranged in at least one region.
[0164] In a further step 183, the output data of the hardware-based artificial neural network is obtained. Since the network is hardware-based, the training data is processed synchronously on all nodes of the network layer, so the output data is available within a few milliseconds.
[0165] Afterwards, in step 184, a deviation between the output data and the target output data is determined. If the deviation is outside a predetermined tolerance range, for example, if the deviation is greater than 1%, the hardware-based artificial neural network is reconfigured. At least one interference signal may also be selectively modified. If multiple interference signals are used, it is sufficient to modify a single interference signal, for example, by activating an interference element of the interference device.
[0166] Steps 182 to 184 are repeated by feeding the modified hardware-based artificial neural network and the possibly modified interference signal.
[0167] If the deviation is within the predetermined tolerance range, then training of the device is terminated at step 185 .
[0168] When all devices have been trained using the method 180, the arrangement of devices can be trained in a further method 188. To this end, the devices of the arrangement coupled to each other via the interfering device are trained according to steps 182 to 186. However, this does not exclude the possibility of also training the arrangement without first executing the method for the device.
[0169] In the training of the arrangement, which may be performed similarly to method 180, at least some of the interfering devices may be influenced or controlled by the hardware-based artificial neural network of other devices.
[0170] When all arrangements of the system have been trained using method 188, the system can be trained according to method 189. To this end, arrangements of devices or systems that are mutually coupled by means of interference devices will be trained according to steps 182 to 186. However, this does not exclude the possibility of also training the system without first executing the method for the arrangement or device.
[0171] Furthermore, the ensemble may be trained in the following manner: first the system is trained according to the above description and then the entire ensemble is trained. However, this does not exclude the possibility that the ensemble may also be trained without first training the system, arrangement and / or device.
[0172] Next, another exemplary implementation is described, in which the structure of the hardware-based artificial neural network does not change during training. The hardware-based artificial neural network can be implemented as a semiconductor chip with a side length ranging from a fraction of an inch to several inches. On the semiconductor chip, multiple analog and / or digital basic electronic circuits can be processed in an array arrangement, each circuit having x inputs and y outputs, as previously described in an FPGA chip, for example. Assuming that the square size of the semiconductor substrate is 2 inches in side length, and the complete electronic module or basic circuit of the electronic component is implemented on a 2μm x 2μm chip area, this will result in a total number of connectable module domains exceeding 100 million. This number is high enough, even to generate highly complex hardware-based artificial neural networks. However, unlike previous methods, these electronic components are hardware-wired, and not all inputs and outputs need to be used. All basic circuits and the millions of module domains resulting therefrom are connected to the supply voltage, whether or not they are connected to the network. Components are not limited to links with adjacent components, and multiple links can also be made.
[0173] The selected connections can be implemented completely without regard to circuit logic, i.e., random connections, or in a specific ratio, such as 40% random and 60% electronically meaningful connections, such as obtained using a previously trained hardware-based artificial neural network. On the other hand, the connections between components or electronic parts can follow a proven network pattern obtained from a previous hardware-based artificial neural network, an independent modeling process, or a training run. This brings an advantage that hardware-based artificial neural networks can be mass-produced as semiconductor chips that are always the same. Unlike previous FPGA chips and other hardware-based artificial neural networks, in this exemplary implementation, the hardware-based artificial neural network cannot be trained directly, i.e., in the hardware-based artificial neural network, new connections cannot be added or removed through external wiring. The required very complex switching matrix is no longer required, which greatly simplifies the semiconductor system.
[0174] In this example, individual electronic components or parts may alternatively be provided with optically addressable components, such as photoresistors, photodiodes and / or phototransistors, during chip processing and modified according to conventional switching techniques so that each of the millions of module domains can be affected at one or more points by optical injection. However, instead of or in addition to optically addressable components, components that can be addressed by acoustic, capacitive, electromagnetic, quantum mechanical, ohmic, thermal and / or ionization signals may also be used. The explanations for this example apply equally to each of the component addressing options explained above.
[0175] For example, by replacing some components that are normally already present in the respective electronic circuit but are not light-sensitive components, a suitable module can be created by inserting additional light-sensitive components. The replacement need not follow an electrical logic or meaningful system.
[0176] As an example, Fig.19A and Fig.19B shows an example of a simulation circuit, Fig. 20A and Fig. 20B A digital circuit is shown, with each figure showing a separate component diagram. In principle, any commonly used electronic circuit can be used and modified in this way. The more complex the circuit, the more controllability is possible, and in this example, this controllability is through optical stimulation.
[0177] Fig.19A An instrumentation amplifier is shown. Fig.19BAn exemplary modification by means of a photoresistor is shown, which can replace individual resistors or resistors in the form of a group, or can be inserted additionally. The additional photoresistor branch does not represent an electrically significant change, but it significantly affects the signal flow of the amplifier. This is a feature of the modification of the basic circuit of the hardware-based artificial neural network according to the invention.
[0178] Similarly, all possible analog circuits commonly used in electrical applications are suitable for these modifications, which may also include individual or mixed photodiodes, phototransistors and other photosensitive components or components addressed in other ways, as described above. The appropriately modified circuits are processed in a known manner by semiconductor technology using a multilayer design, so that the miniaturization mentioned above allows a large number of module domains on the chip, preferably at least in the range of millions or more. Then, appropriate optical injections can be introduced into components such as the operational amplifiers themselves, which are also processed in semiconductor technology based on transistors, resistors, etc. on silicon chips. Assuming an average of 3 to 15 optoelectronic components in each basic circuit, this will bring the potential manipulation options at the local semiconductor chip level in a 2-inch chip to billions, which means that there is enough potential for variation not only for neural networks.
[0179] Fig. 20B A corresponding modification of the digital circuit using the example of NAND gates is shown. Fig. 20A A conventional circuit as implemented by discrete components using diode-transistor logic technology is shown.
[0180] Another departure from conventional semiconductor implementations in hardware-based artificial neural networks according to the invention is that the module domain is no longer permanently connected to a common supply voltage (U SS ), but are connected separately via switching elements, such as photoresistors, photodiodes, phototransistors, or via thyristors, field effect transistors, etc. without light sensitivity. The supply voltage for the corresponding electronic components of the hardware-based artificial neural network can be switched on, off or adjusted via the switching elements.
[0181] The array structure of semiconductor chips for hardware-based artificial neural networks can be as follows Fig.21As shown, for example, a chip 211 with side lengths a and b of 2 inches each is arranged on the chip 211 with a plurality of module domains, with optically modified circuits 212 arranged in n rows and m columns. Each module circuit can have inputs and outputs, which can be permanently connected to other modules or in multiple layers, and these module units can together form a complex structure of a hardware-based artificial neural network. For typical dimensions c and d of the module domains of 1 μm to 5 μm, respectively, the total number can easily reach 10 million to hundreds of millions of electronic module domains or individual circuits, depending on Fig.19A , B and 20A, B. The processing of the individual circuits and the fabrication of the connections of the electronic components across the multiple layers can be performed, for example, according to prior art, as input areas and output areas can be defined. The planar surface of the chip can remain optically transparent for the injection of light.
[0182] In order to provide selective manipulation of the module domain of the hardware-based artificial neural network, for example, an LED array with the highest possible resolution and the same or similar size as the hardware-based artificial neural network can be used as a jamming device. The jamming device can be electrically decoupled from the hardware-based artificial neural network. Such arrays can correspond to arrays in the prior art, for example, possibly using indium gallium nitride as material. In addition, due to the current relatively low light output, their pixel pitch size can be limited to about 10μm (fine pixel pitch LED technology). However, as demonstrated by light-sensitive LCD chips in digital cameras, the size of the LED elements in the array can also be technically reduced to submicron range pixel pitch sizes (down to 50nm), because in the application described here, the high brightness output required for large screens or displays is not relevant. Such miniaturization is beneficial, but not absolutely necessary. It is sufficient to allow very local illumination of the surface of the hardware-based artificial neural network, if possible, to illuminate each light-sensitive electronic component of the hardware-based artificial neural network individually. In this hardware-based ANN arrangement, the luminance output plays a smaller role compared to the display screen, which can also use optical near-field effects to allow very localized illumination in the sub-micrometer range.
[0183] Since such arrays usually produce small screens, light strips, etc., the LED elements can also be activated according to the prior art and can generate any light pattern, the resolution of which depends only on the number of pixels and the pixel pitch ratio. In addition to LEDs, other miniaturized light sources can also be used in the form of arrays, such as OLEDs or QDOTs.
[0184] The purpose of the application described here is to generate a light pattern with the highest possible resolution, usually any wavelength of light / darkness is sufficient to illuminate a hardware-based artificial neural network. As long as the light-emitting LED element is located above the light-sensitive module domain of the hardware-based artificial neural network, this circuit can selectively change its electrical behavior, such as Fig. 22C For this purpose, the jammer 222 is placed above and close to the hardware-based artificial neural network 221, for example, in the sub-millimeter range and below. Fig.22A In this example, the interference device 222 has a plurality of LED elements 224 as interference elements, wherein Fig.22A Only a portion of the LED element 224 is shown. In order to laterally limit the light illumination of the LED element 224 and make it more localized, a mask 411 may be arranged between the hardware-based artificial neural network 221 and the jammer 222, such as Fig. 22B As shown. To avoid adjustment difficulties in such a sandwich structure, the mask 411 can also be processed directly on the transparent surface of the hardware-based artificial neural network as a thin layer, especially in the micrometer to submicrometer range. Diffractive elements, possibly combined with optical filters and / or light of different wavelengths, can also be applicable.
[0185] Fig.22A - The reference numbers in C are as follows: 223 —detail of the electronic module domain; 224 —detail of the LED element; 228 and 410 —photosensitive components in the basic circuit domain 223 ; 411 and 412 —mask with opening 227 . Fig. 22B Shown is a cross-sectional view of the array domain of a jamming device 222, the electronic component domain of a hardware-based artificial neural network, and a control device 225 for providing control signals for switching elements. The control device can be designed in the same way as the jamming device.
[0186] By training a hardware-based artificial neural network, complex light patterns can be generated in an interference device by an array of LED elements, which will have an impact on the hardware-based artificial neural network and encode its tasks as artificial intelligence. Since there are millions of LED pixels and many photosensitive components in the basic circuit domain of the hardware-based artificial neural network, there are a large number of possible operations, and now there can be a number of degrees of freedom comparable to the degrees of freedom required for training a hardware-based artificial neural network (which can also be called artificial intelligence) without changing any hardware structure of the hardware-based artificial neural network. According to the present invention, by generating separate lighting patterns and introducing many photosensitive electronic components, the technically difficult disconnection and linking of electrical connections between nodes of conventional hardware-based artificial neural networks has been replaced. The generation of lighting patterns can be performed under computer control, and therefore also eliminates the upgrade limitations and training problems of the system of hardware-based artificial neural networks. At the same time, it is compatible with digital computers. The freedom of operation can be increased by using light of different wavelengths, time-related signals, etc. In the described form, the interference device is electrically decoupled, which greatly simplifies the multi-layer structure of the semiconductor components of the hardware-based artificial neural network.
[0187] In order to further increase the degree of freedom and the possibility of further manipulating the semiconductor chip array of the hardware-based artificial neural network in a purely electrical manner, a switching array can be used as part of the control device. In this way, the power supply voltage of each basic circuit domain or electronic component of the hardware-based artificial neural network can be turned on or off or adjusted. This can be implemented in an independent chip system, which will be explained below using the second optical electrical isolation array as an example. In addition, it can also be integrated into the semiconductor chip of the hardware-based artificial neural network in the form of electrical coupling.
[0188] like Fig.22A As shown, a semiconductor chip 221 with a modified basic circuit 223 as part of a hardware-based artificial neural network is made optically transparent on the top and bottom and is placed between a jammer 222 and a control device 225, both of which may consist of LED arrays 224 and 226. Arrows indicate how the arrays are mounted on the surface of 221 from below and above. Fig. 22BDetail of a cross-section through the three component systems of the jammer 222, the hardware-based artificial neural network 221 and the control device 225 is schematically shown. A semiconductor chip with a number of layers 431 of the hardware-based artificial neural network is located in the center, which can form the basic circuit domain 223 and can contain light-sensitive elements 228. On the bottom side of the chip there can be an opaque thin layer 229 so that the light from the LED 226 array of the control device 225 can only reach the light-sensitive components 410 in the supply voltage controller of all basic circuits, but cannot go further to the light-sensitive components 228 in the basic circuit layer, and the same is true for the upper light layer of the jammer. As with the upper LED array, a layer with the function of a mask 412 can also be processed or inserted on the bottom side in the same way as the layer 411. Depending on the training mode, the LEDs 224 and 226, only three of which are shown shaded here, can illuminate the light-sensitive components 228 of the basic circuit domain through the mask layer and illuminate, for example, the light-sensitive dimming transistor 410 from below to generate a separate supply voltage. By manipulating the supply voltage of each of the millions of basic circuit domains from below through a control device, the circuits of an array of hardware-based artificial neural networks can be individually and independently enabled, decoupled or adjusted.
[0189] The control device 225 may also be used to train a hardware-based artificial neural network and may form a second two-dimensional light pattern. This allows a considerable increase in the number of possible variations of the overall device.
[0190] The connection, interruption or regulation of the supply voltage can be performed by means of electrical switching elements, in particular phototransistors, photoresistors, photodiodes, thyristors, field effect transistors, Zener diodes etc., also in miniaturized form using classical semiconductor processing. Fig. 22C An example circuit is shown for two basic circuit areas 223 BS1 and BS2, which shows how the supply voltage U of the individual basic circuits can be switched and regulated by means of phototransistors T1 and T2. SS Only when light falls on the transistors T1 and / or T2 is a supply voltage applied to the respective basic circuit domains BS1 and / or BS2 of the hardware-based artificial neural network.
[0191] However, the design of the control device for manipulating the supply voltage by means of the second photoelectric array is also particularly advantageous, since it is also coupled to the hardware-based artificial neural network in an electrically isolated manner. Specifically, the regulation corresponds to a change in the weights of the individual elementary circuit components throughout the network. From this point of view, the domain of components of the hardware-based artificial neural network can represent the nodes of the software-based artificial neural network in an analogous manner. The regulation can affect their weights, their switching on or off, the addition or removal of nodes, as well as the manipulation of the electrical behavior of the circuits by light injection, which can represent links and disconnections in the software-based artificial neural network in an analogous manner, which is no longer possible with the hardware-based artificial neural network in this example. This example illustrates that a large number of changes can be achieved in highly scaled and complex networks, which can now be easily achieved electronically and with the help of computers, such as are required for artificial intelligence systems, thereby eliminating the shortcomings of previous hardware-based artificial neural networks.
[0192] Fig.23 Detailed schematic diagram of the overall system of the device is shown. This is a compact sandwich structure based on a chip, which includes a hardware-based artificial neural network 221 with basic circuit domains 223 as shown in shadow, a jammer 222 with an LED array 224, a mask 235, a control device 226 and a power supply voltage U for controlling each basic circuit domain 223 of the hardware-based artificial neural network. SS The switching element array 237 is provided.
[0193] The training of the system can be achieved by making changes using known learning algorithms only in the interference device and the control device, and not as before in hardware-based artificial neural networks. To this end, the activation of the LEDs can be randomly changed, new LED activations can be introduced in the pattern, basic circuit domains can be turned off and new circuit domains can be turned on or adjusted according to the learning algorithm. With a sufficiently large number of iterative steps, the hardware-based artificial neural network can learn by the fact that its properties are determined by the injection of the light pattern formed in the interference device in combination with a second light pattern, which can also be formed as an array pattern in the control device and can influence the light-sensitive components of the hardware-based artificial neural network. Due to the huge number of possible settings of such combinations of components, especially in the range of billions of digits, the system of the invention corresponds to a physical separation and coupling of its degrees of freedom or learning with conventional hardware-based neural networks, which is to be avoided, but now without the previous technical disadvantages.
[0194] The training method can be variable, and its working principle is to change only when the results do not meet the training goals. For example, the increment of the number of changes and the type of changes per learning cycle can be varied. For example, the training process can be carried out using methods known in the prior art.
[0195] As per Fig.19A As shown in the examples to 22, the system can be trained to produce optical two-dimensional array patterns with a resolution exceeding 10 7 Up to 10 9 or more pixels, and switching patterns with more than 10 switching states 8 , also in the form of two-dimensional arrays. These figures reflect the large number of ways to influence hardware-based artificial neural networks. The most important advantage is that the two arrays are independent of each other, and the patterns of the arrays are formed separately through sequential training and then fully defined at the end of the training, specifically in their xy coordinates, and stored as activation patterns for the interference device and the control device.
[0196] Assuming an image recognition problem, such as the distinction between wolves and dogs, as a training example, then the training results in two separate array patterns, one in the jammer and the other in the control device, where the system correctly classifies with a high match rate. If the training is performed again with other images, other patterns are generated, which also result in a high hit rate. Therefore, the pattern of the array can be referred to as a single pattern. These patterns can be stored as digital images in a separate electronic device or a collection of connected computers. They can then be retrieved and can be regenerated and repeated by the jammer and the control device without changing the hardware structure of the hardware-based artificial neural network.
[0197] This is a decisive advantage, since the entire system can be retrained, for example, to differentiate between beech trees and oak trees. Two further array patterns are obtained, which will also be stored for later retrieval. This can be repeated with any number of training targets. Creating a library of array pattern combinations of jammers and control devices, each combination being a pair, which, when loaded from memory and generated on the jammer and control device, allows the hardware-based artificial neural network to be used exactly as the differentiation achieved during training. That is, with one pattern pair, the hardware-based artificial neural network can detect and differentiate between wolves and dogs, with another pattern pair, between beech trees and oak trees, etc.
[0198] A particular advantage of the device according to the invention compared to software-based artificial neural networks is that, after training has been completed, the hardware-based artificial neural network of the device will produce results very quickly in use, since no extensive computer program needs to be run. The speed advantage arises because when an input signal is applied, a large number of pulses propagate through the chip of the electronic network at the switching speed of the electronic components, wherein the switching frequency is currently typically in the range of more than MHz to GHZ. Since a large number of pulses are parallel, forward and reverse coupled through the electronic network, but also delayed, and sometimes run sequentially, the result can be obtained through a single chip, and therefore very quickly, i.e. in milliseconds, microseconds or even shorter times.
[0199] Now, a step towards more widely usable, potentially general artificial intelligence is achieved through the serial retrievability of any number of pattern pairs for all possible previously trained discrimination tasks, e.g., one pattern pair after another in sequence. A certain level of general intelligence has been achieved if the system has been trained in such a way that, for example, for dog-wolf discrimination, given an input image, it has only three possible responses:
[0200] 1. It's a wolf!
[0201] 2. It's a dog!
[0202] 3. Neither
[0203] The use of the device as a general artificial intelligence can then occur as follows: the user inputs an image at the input of the device, such as a landscape with trees, houses, animals, cars, etc., and a pattern pair that has been obtained through training is generated in the interference device and the control device, where the same input image can be used each time. The responses obtained from the device are stored for each pattern pair. For example, if the device takes 1 millisecond to run, then in 1 second you will get a thousand responses of the following type: it's a dog / it's a beach / it's a house / it's not a fish / it's not a mountain, etc. From these responses, we can confirm something, a description of what is shown in the picture, that is, the first interpretation. This can be said to be a step towards general intelligence.
[0204] like Fig.24 As shown in the example, according to Figures 19A to 23 The format of the example device can be expanded from multi-purpose to universal through peripheral devices. 241 represents a device, which has an interference device 222 as an optical array, a control device 225 as a power supply voltage switching array, and a hardware-based artificial neural network 221 in the middle. 242 represents an input module, through which, for example, an image represented by standardized pixels can be input. 243 represents an activation electronic element for the LED array of the interference device, and 244 represents a memory for the array pattern, which records the activation data of a single training result and can be generated in the interference device by activating the electronic element 243 as needed. Similarly, 245 represents an activation electronic element for a switching device, and 246 represents a memory for switching array patterns. Memories 244 and 246 can constitute a common memory. The results will be further processed, listed, displayed on the screen or output as sound in 248.
[0205] Even though sequential queries for each of the fed pattern pairs take time, another advantage compensates for this. Currently, as hardware- and software-based artificial neural networks become increasingly powerful, the required network scope also increases, with a linear growth in complexity, which leads, among other reasons, to the limitations already described. The solution proposed in this article also reduces this problem of unmanageable increase in complexity and expenditure, since the same hardware-based artificial neural network can be used to answer the most diverse questions while the hardware structure remains unchanged. The technically difficult problem of network expansion is shifted to the creation of a large number of corresponding pattern pairs, which is much simpler in terms of data technology and informatics than the expansion of hardware or software networks.
[0206] The following is based on Fig.24 Estimation of the switching speed / cycle rate of the device.
[0207] The switching time of LEDs is less than 1 μs, with peak values between 1 ns and 10 ns. Therefore, in this example, the response delay of the LEDs in the array is not limited by the time, but by the activation of the LED array until the complete light pattern is formed. In this example, the data will be transmitted to the array via electrical conductors. Currently achievable transmission rates are between 1 Gbit / s and 40 Gbit / s, for example, mass storage interfaces SATA Express, serial interfaces such as SAS-1 and -3 or Serial ATA, Thunderbolt interfaces, USB 4. Assume that the LED array has 10 7 Pixels, the switching rate of the pixel pattern obtained for the entire array is in the millisecond range and below, where the refresh rate of images for large LED screens is currently 360 frames / second, and for small LED displays it is 1920 frames / second and 3840 frames / second. Using parallelization techniques, the refresh rate can be reduced by a factor of 10 again, so it is expected that about 1000 to 30,000 patterns can be generated per second. As already mentioned, the great advantage of this device is its fast execution speed, which is determined by the switching time of the electronic components and the length of the main connections in the network. Assuming a switching frequency of more than MHz to GHz, such as CMOS technology, the operating speed or availability cycle rate of the hardware-based artificial neural network is also in the millisecond range and below. This means that a hardware-based artificial neural network can provide more than 1000 decisions / second through pattern changes. This rate can also be increased by parallelization of multiple devices. This leads to a potential cycle rate of 1000 to 10,000 / s for various queries of the device.
[0208] In order to increase the security of such AI systems, specific pattern pairs can be generated by the manufacturer or operator, which, when input into the array, result in a known, specific response reaction, from which it can be detected that the hardware-based artificial neural network has not been altered, replaced or otherwise manipulated, in particular in the form of a challenge-response procedure and as a test task. This is also the task of achieving identity authentication through one or more test patterns.
[0209] This can be achieved by importing more or improved pattern pairs into the corresponding memory (see Fig.24 ) to implement updates in AI systems, as the semiconductor chips that power hardware-based artificial neural networks remain unchanged under these expansions.
[0210] Fig.25 A device system including multiple layers is shown. For example, an animal image 252 in pixel format is fed into an input layer 251. According to Figure 22, layers 253 and 254 can be chips of different sizes, which can be followed by other chips (represented by dots). For example, layer 253 is more complex than layer 254, and may have more than 1 million switching modules. Layer 254 is less complex than layer 253, for example, having less than 10,000 switching modules. Each layer includes two LED arrays 256, 257, 258, and 259, which can also have different sizes, such as the number of LED elements. The output layer 255 can present the result. In this example, this is the textual statement "It is a lion."
[0211] Fig.26 Serial interrogation of a device trained with n different LED array patterns to recognize animals, faces, landscapes, etc. is shown. This can be done in chronological order, here t1, t2, t3, ...t n , which may or may not be performed in chronological order. The device shown will perform a classification into a rough category, for example, if an image of a giraffe is input, the classification "is an animal" is given. Another device of this type can then be used, and then a more detailed classification can be performed, for example, in the case of an animal image, identifying which animal it is ("giraffe"). The subsequent device may then have been trained on giraffes and recognize that the image is the head of a certain giraffe species (e.g. "Africa, Serengeti, adult, female"), etc.
[0212] This hierarchical cascading arrangement can be used to develop more complex arrangements and systems with general intelligence.
[0213] Fig. 27 Once again the overall structure is shown, its individual parts are illustrated more clearly, while also options for summarizing the effects of light on the circuit blocks of the central network electronics are summarized.
[0214] During the operation of the central network (ie during the processing run after the input image), the light flux at each pixel can be a) constant, b) a function of time (alternating or discontinuous periodicity) and / or c) random (superimposed noise).
[0215] The above examples do not limit the present invention in any way. On the contrary, the present invention can be modified in many ways. All the features of the present invention described above can be essential features of the present invention, either alone or in combination with each other.
Claims
1. An apparatus for operating a hardware-based artificial neural network, comprising at least one hardware-based artificial neural network (11, 24, 32, 41, 51, 71, 81, 101, 111, 121, 131, 171, 221), wherein the at least one hardware-based artificial neural network has a plurality of electrically interconnected network nodes, each network node comprising at least one electronic component, characterized in that The hardware-based artificial neural network in particular has an unchanged hardware structure, the device comprises at least one interference device (12, 22, 35, 42, 52a, 52b, 72, 82, 102, 112, 122, 132, 172, 222, 225) and at least one coupling device (15, 23, 34, 43, 53a, 53b, 73, 83, 103, 113, 123, 133, 173), the interference device is used to inject at least one interference signal into at least one area of the hardware-based artificial neural network, the coupling device is positioned between the interference device and the hardware-based artificial neural network and is designed to transmit the at least one interference signal from the interference device to the entire at least one area, and / or the device has at least one switching element, which can be individually actuated by at least one control signal for regulating and / or switching on and off the supply voltage for the at least one electronic component.
2. The device according to claim 1, wherein: The hardware-based artificial neural network in at least one area has at least one component which is designed to reduce the signal-to-noise ratio when receiving the at least one interference signal, wherein the interference device preferably generates an optical, acoustic, capacitive, electromagnetic, quantum mechanical, resistive, thermal and / or ionization interference signal, and / or the switching element is preferably designed to receive an optical, acoustic, capacitive, electromagnetic, quantum mechanical, resistive, thermal and / or ionization control signal.
3. A device according to any one of the preceding claims, wherein: The jamming device has a plurality of individually actuatable jamming elements (72a) for injecting jamming signals into the hardware-based artificial neural network, wherein the jamming elements preferably inject jamming signals into different regions of the hardware-based artificial neural network.
4. The device according to claim 3, wherein: The plurality of interfering elements are arranged to be distributed on the layer, preferably in the form of an array, wherein the coupling device comprises a medium having a plurality of coupling elements (73a, 83a, 103a, 113a) for transmitting the at least one interfering signal into the at least one area, the coupling elements being distributed in the layer like the interfering elements.
5. The device according to any one of claims 1 to 4, wherein: The range of the at least one area corresponds to the range of the hardware-based artificial neural network, or is designed to be smaller than the range of the hardware-based artificial neural network.
6. A device according to any one of the preceding claims, wherein: The device has at least one semiconductor chip, wherein the semiconductor chip includes the hardware-based artificial neural network.
7. A device according to any one of the preceding claims, wherein: The apparatus comprises a shielding device (14, 36) for shielding external interference signals of the same type as the at least one interference signal, wherein the shielding device surrounds the hardware-based artificial neural network, the coupling device and the interference device.
8. A device according to any one of the preceding claims, wherein: The device also includes: at least one memory for storing the at least one interference signal and / or the at least one control signal used by the at least one interference device; at least one control unit for controlling the at least one interference device and / or the at least one switching element; and / or at least one output unit for outputting the output signal of the hardware-based artificial neural network, in particular the output signal after further processing.
9. The device according to any one of the preceding claims, wherein: The jamming device is designed as a control device for providing at least one control signal for at least one switching element.
10. A method for training an artificial neural network in a device according to any one of claims 1 to 9, wherein: The method (180) comprises at least the following steps: - defining (181) target output data during processing of the provided training data; - feeding (182) the training data into the hardware-based artificial neural network and injecting at least one jamming signal into the at least one region of the hardware-based artificial neural network via the at least one jamming device; - obtaining (183) output data from the hardware-based artificial neural network; - determining (184) whether there is at least one deviation between the output data and the target output data, the deviation being outside a predetermined tolerance range; If the deviation is within the tolerance range, then: - terminating (185) the method; and If the deviation is outside the predetermined tolerance range, then: - modifying (186) the at least one interference signal, and / or modifying the at least one control signal, and - Repeat (187) the above steps 182 to 184, in particular 185 or 186.
11. The method according to claim 10, wherein: A signal-to-noise ratio of no more than 15 dB, preferably no more than 10 dB, and further preferably no more than 0 dB is generated in the at least one region by the injected interference signal.
12. The method according to claim 10 or 11, wherein: The structure of the hardware-based artificial neural network remains unchanged.
13. The method according to any one of claims 10 to 12, wherein: The interference signal and / or control signal finally obtained is stored, preferably together with a marking value for identifying the target output data used, wherein, after the step of terminating (185) the method, the method is performed at least once more using the same device with the modified target output data and training data.
14. The method according to any one of claims 10 to 13, wherein: The interference signal and / or the control signal is a test signal, wherein, when the test signal is used to feed predefined test data, predefined output data are provided only if no part of the hardware-based artificial neural network is damaged, replaced and / or manipulated.
15. Use of the device according to any one of claims 1 to 9, wherein The device is operated sequentially by means of at least two different signal sets, in particular for different tasks, wherein each signal set comprises at least one interference signal and / or a control signal.