Systems and methods for cognitive neural symbol inference systems
By combining the cognitive architecture and the knowledge graph database, the embedded neural network outputs recommendation information, solving the shortcomings of the neural language model in advanced reasoning tasks, improving the performance and robustness of the neural network, and achieving better context-related processing. ability.
Patent Information
- Application Number
- CN202410365983.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-29
- Filing Date
- 2024-03-28
- Publication Date
- 2024-10-01
AI Technical Summary
Existing neural language models perform poorly in advanced reasoning tasks such as natural language understanding, activity recognition, and complex situational decision-making. They lack analogical reasoning and emotional understanding capabilities, and are difficult to handle context-related complex semantics.
The cognitive architecture is combined with the knowledge graph database, and the knowledge graph data set is embedded in the neural network through the symbolic framework. The embedded neural network is used to output information recommendations associated with the input data to enhance the reasoning ability of the neural network.
It achieves advanced reasoning capabilities in natural language understanding and complex scenario decision-making, improves the performance and robustness of neural networks, and can better handle context-related tasks.
Smart Images

Figure CN118734895A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to machine learning networks, including machine learning networks associated with reasoning systems or cognitive architectures. Background Art
[0002] Knowledge infusion methods are key to enhancing neural models and improving their performance, but they are insufficient to achieve high-level reasoning, which may be often required for tasks such as natural language understanding, activity recognition, and decision-making in complex scenarios.
[0003] A large part of neural symbolic systems is based on transforming symbolic knowledge into sub-symbolic representations suitable for learning algorithms. For example, knowledge graph embedding (KGE) is an important method to simplify knowledge graph (KG) triples into latent vectors. Such transformations may contribute to the efficient computability of KG attributes and their applications in various downstream tasks. Whether the KGE process is implemented through geometric models, tensor models, or deep learning models, the goal is to compress the KG structure into a low-dimensional space, where symbolic statements are replaced by dense sub-symbolic expressions. In addition, concatenation, nonlinear mapping, attention-like mechanisms, and gating mechanisms are additional methods used to adapt knowledge structures to neural computation.
[0004] While these knowledge infusion methods are key to enhancing neural models and improving their performance, they are insufficient for achieving high-level reasoning, which is often required for tasks such as natural language understanding, activity recognition, and decision making in complex scenarios. Summary of the invention
[0005] According to a first embodiment, a computer-implemented method includes receiving input data indicating at least video data, audio data, and natural language data at a neural network, and in response to satisfying a convergence threshold of the neural network using the input data, outputting one or more patterns associated with the input data to a cognitive architecture including a procedural memory and a declarative memory, wherein the cognitive architecture communicates with a symbolic framework including a knowledge graph database, wherein the symbolic framework is configured to at least utilize the knowledge graph database to identify context information of the one or more patterns, and in response to the symbolic framework communicating the context information with the neural network, embedding the neural network using the context information of the knowledge graph dataset, and outputting a recommendation indicating at least information associated with the input data using the embedded neural network.
[0006] According to a second embodiment, a computer-implemented method includes receiving input data indicating at least video data and natural language data at a neural network, in response to satisfying a convergence threshold of the neural network using the input data, outputting one or more patterns associated with the input data to a cognitive architecture, wherein the cognitive architecture communicates with a symbolic framework including a knowledge graph database, and the symbolic framework is configured to at least utilize the knowledge graph database to identify context information of the one or more patterns received from the neural network, in response to the symbolic framework communicating the context information with the neural network, embedding the neural network using the context information of the knowledge graph dataset, and outputting a recommendation indicating at least information associated with the input data using the embedded neural network.
[0007] According to a third embodiment, a system includes a neural network, a cognitive architecture, and a symbolic framework. The system further includes one or more processors, wherein the processor is programmed to receive input data indicating at least video data, audio data, and natural language data at the neural network, and in response to satisfying a convergence threshold of the neural network using the input data, output one or more patterns associated with the input data to a cognitive architecture including a procedural memory and a declarative memory, wherein the cognitive architecture communicates with a symbolic framework including a knowledge graph database, wherein the symbolic framework is configured to at least use the knowledge graph database to identify context information of the one or more patterns, and in response to the symbolic framework communicating the context information with the neural network, embed the neural network using the context information of the knowledge graph dataset, and use the embedded neural network to output a recommendation indicating information associated with at least the input data. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 A system for training a neural network is shown.
[0009] Figure 2 A data annotation system implementing a system for annotating data is depicted.
[0010] Figure 3 An overview system architecture diagram of an embodiment utilizing a cognitive neural symbolic reasoning framework is disclosed.
[0011] Figure 4 is an embodiment of a flow diagram for processing input to obtain output using a system according to one embodiment.
[0012] Figure 5 A schematic diagram depicting the interaction between a computer-controlled machine and a control system.
[0013] Figure 6Depicted is a schematic diagram of a control system configured to control a vehicle that may be a partially autonomous vehicle or a partially autonomous robot.
[0014] Figure 7 Depicted is a schematic diagram of a control system configured to control a manufacturing machine, such as a punch cutter, a cutter, or a gun drill, of a manufacturing system, such as part of a production line.
[0015] Figure 8 Depicted is a schematic diagram of a control system configured to control a power tool, such as a power drill or driver, having an at least partially autonomous mode.
[0016] Fig. 9 Depicted is a schematic diagram of a control system configured to control an automated personal assistant. DETAILED DESCRIPTION
[0017] Embodiments of the present disclosure are described herein. However, it should be understood that the disclosed embodiments are merely examples, and other embodiments may take various and alternative forms. The figures are not necessarily to scale; some features may be enlarged or reduced to show the details of a particular component. Therefore, the specific structural and functional details disclosed herein should not be interpreted as restrictive, but merely as a representative basis for teaching those skilled in the art to adopt the embodiments in various ways. As will be understood by those of ordinary skill in the art, the various features illustrated and described with reference to any of the figures may be combined with the features illustrated in one or more other figures to produce embodiments that are not explicitly illustrated or described. The combination of the illustrated features provides representative embodiments of typical applications. However, for specific applications or implementations, various combinations and modifications of features consistent with the teachings of the present disclosure may be desired.
[0018] The integration of deep learning in computer vision systems has made great progress in the past decade. For example, neural models can achieve good performance on object detection when the training and test domains are derived from the same data distribution. However, minimal / local modifications implanted in the data at test time can lead to significant drops in accuracy. Commonsense contextualization (such as by incorporating prior structured knowledge into deep models) can mitigate the impact of those perturbations, resulting in more robust performance. In general, visual models properly infused with knowledge extracted from semantic resources such as ConceptNet can strengthen the connections maintained among instances of the same conceptual domain (e.g., sofas, TVs, tables, lamps are located in the living room) and discard out-of-context interpretations (e.g., no real elephant is located in the living room, but photos of elephants may be found).
[0019] When turning to the language domain and tasks such as automated question answering, the key role played by knowledge-based contextualization remains evident. For example, using KG triples to disambiguate textual elements in sentences and embed corresponding concepts and relations in large language models has been shown to significantly improve performance. Indeed, despite the impressive results achieved by neural language modeling (NLM) in natural language processing (NLP), basic reasoning capabilities are still largely missing. For example, in ProtoQA, for the question “What is a vegetable that is approximately as big as your head?”, GPT-3 does not select options such as “pumpkin”, “cauliflower”, “cabbage” as first choices: instead, “broccoli”, “cucumber”, “beet”, “carrot” are predicted. In this case, different models learn some basic properties of vegetables from the training data, but do not seem to acquire the ability to compare their size with that of other types of objects, revealing a serious lack of analogical reasoning. The same problem can be observed when considering ChatGPT-3, the latest popular version of GPT-3, optimized for conversations. For example, the main difference is that ChatGPT-3 is able to generate reasonable answers only when the question is submitted literally, but not when the question is paraphrased using synonyms of the verb form “about as big” (e.g., “about the same size,” “about the same shape,” “equivalent to,” etc.). This hypersensitivity to surface language features (lexicon, syntax, etc.)—an indicator that the model is unable to generalize across textual variations of the same conceptual content—seems to indicate that the model cannot perform the necessary (analogy) reasoning steps required to correctly answer the question. Along these lines, such examples may lack sophisticated inference, role-based event prediction, and understanding of the conceptual impact of negation, which are some of the weaknesses diagnosed when applying BERT, a well-known open source language model, to benchmark datasets. ProtoQA again provides a good example of these deficiencies: in general, neural models have difficulty correctly interpreting the scope of modifiers such as “not” (reasoning under negation), “often,” and “rarely” (temporal reasoning). A synthetic benchmark challenge designed by Facebook Research, NLM systems show variable accuracy in grasping temporal ordering defined by prepositions such as “before” and “after.” Similarly, NLM systems fail to infer the basic positional information needed to interpret semantics such as “left / right,” “above / below,” etc. If NLM systems are inaccurate when processing common features of the physical world, their performance does not improve when emotions are taken into account: for example, in SocialIQA, given a context such as “In the school play, Robin played the hero in a desperate fight with an angry villain,” when asked to choose the correct answer to “How did others feel afterwards?”, the model failed to consistently choose “Hope Robin will succeed” over “Feel sorry for the villain.”When considering that this form of inference is deeply embedded in the sphere of human experience and social life involving a “layered” understanding of psychological attitudes, intentions, motivations, empathy, it is not surprising that reasoning about emotional responses appears to be a difficult task for pure learning systems.
[0020] The system proposes to adopt cognitive architecture as a framework to combine knowledge representation and reasoning with machine learning. A cognitive architecture may be an orchestrator of the integration between symbolic knowledge and machine learning. An example of a cognitive architecture may include ACT-R or other hybrid cognitive architectures. Such a system may overcome the above-mentioned problems.
[0021] Figure 1 A system 100 for training a neural network is shown. The system 100 may include an input interface for accessing training data 192 for the neural network. For example, Figure 1 As shown in FIG. 1 , the input interface may be constituted by a data storage interface 180, which can access training data 192 from a data storage device 190. For example, the data storage interface 180 may be a memory interface or a permanent storage interface, such as a hard disk or SSD interface, but may also be a personal, local area network or wide area network interface, such as a Bluetooth, Zigbee or Wi-Fi interface or an Ethernet or fiber optic interface. The data storage device 190 may be an internal data storage device of the system 100, such as a hard disk drive or SSD, but may also be an external data storage device, such as a network accessible data storage device.
[0022] In some embodiments, the data storage device 190 may further include a data representation 194 of an untrained version of the neural network, which may be accessed by the system 100 from the data storage device 190. However, it will be appreciated that the training data 192 and the data representation 194 of the untrained neural network may also each be accessed from a different data storage device, for example via a different subsystem of the data storage interface 180. Each subsystem may be of a type as described above for the data storage interface 180. In other embodiments, the data representation 194 of the untrained neural network may be generated internally by the system 100 based on the design parameters of the neural network, and thus may not be explicitly stored on the data storage device 190. The system 100 may further include a processor subsystem 160, which may be configured to provide an iterative function as a replacement for a stack of neural networks to be trained during operation of the system 100. In one embodiment, the layers of the replaced stack may have mutually shared weights and may receive as input the output of a previous layer, or, for the first layer of the stack, receive an initial activation and a portion of the input of the stack. The system may also include multiple layers. The processor subsystem 160 may further be configured to iteratively train the neural network using the training data 192. Here, the training iteration of the processor subsystem 160 may include a forward propagation portion and a backward propagation portion. The processor subsystem 160 may be configured to perform the forward propagation portion by, in addition to other operations that may be performed to define the forward propagation portion, determining an equilibrium point of the iteration function at which the iteration function converges to a fixed point, wherein determining the equilibrium point includes using a numerical root finding algorithm to find a root solution of the iteration function minus its input, and by providing the equilibrium point as a substitute for the output of the stack in the neural network. The system 100 may further include an output interface for outputting a data representation 196 of the trained neural network, which data may also be referred to as trained model data 196. For example, as also Figure 1 , the output interface may be comprised of a data storage interface 180, wherein in these embodiments, the interface is an input / output ("IO") interface via which trained model data 196 may be stored in the data storage device 190. For example, a data representation 194 defining an "untrained" neural network may be at least partially replaced by a data representation 196 of a trained neural network during or after training, since the parameters of the neural network (such as weights, hyperparameters, and other types of parameters of the neural network) may be adapted to reflect the training on the training data 192. This is also Figure 1190 by reference numerals 194, 196, which refer to the same data record on the data storage device 190. In other embodiments, the data representation 196 may be stored separately from the data representation 194 defining the "untrained" neural network. In some embodiments, the output interface may be separate from the data storage interface 180, but may generally be of the type described above for the data storage interface 180.
[0023] Figure 2 A data annotation system 200 implementing a system for annotating data is depicted. The data annotation system 200 may include at least one computing system 202. The computing system 202 may include at least one processor 204 operatively connected to a memory unit 208. The processor 204 may include one or more integrated circuits implementing the functionality of a central processing unit (CPU) 206. The CPU 206 may be a commercially available processing unit that implements an instruction set such as one of the x86, ARM, Power, or MIPS instruction set families. During operation, the CPU 206 may execute stored program instructions retrieved from the memory unit 208. The stored program instructions may include software that controls the operation of the CPU 206 to perform the operations described herein. In some examples, the processor 204 may be a system on a chip (SoC) that integrates the functionality of the CPU 206, the memory unit 208, a network interface, and an input / output interface into a single integrated device. The computing system 202 may implement an operating system for managing various aspects of the operation.
[0024] The memory unit 208 may include volatile memory and non-volatile memory for storing instructions and data. Non-volatile memory may include solid-state memory, such as NAND flash memory, magnetic and optical storage media, or any other suitable data storage device that retains data when the computing system 202 is deactivated or powered off. Volatile memory may include static and dynamic random access memory (RAM) that stores program instructions and data. For example, the memory unit 208 may store a machine learning model 210 or algorithm, a training data set 212 for the machine learning model 210, and an original source data set 215.
[0025] The computing system 202 may include a network interface device 222 configured to provide communications with external systems and devices. For example, the network interface device 222 may include a wired and / or wireless Ethernet interface defined by the Institute of Electrical and Electronics Engineers (IEEE) 802.11 family of standards. The network interface device 222 may include a cellular communication interface for communicating with a cellular network (e.g., 3G, 4G, 5G). The network interface device 222 may further be configured to provide a communication interface to an external network 224 or a cloud.
[0026] The external network 224 may be referred to as the World Wide Web or the Internet. The external network 224 may establish a standard communication protocol between computing devices. The external network 224 may allow information and data to be easily exchanged between computing devices and the network. One or more servers 230 may communicate with the external network 224.
[0027] Computing system 202 may include input / output (I / O) interface 220, which may be configured to provide digital and / or analog input and output. I / O interface 220 may include an additional serial interface (eg, a universal serial bus (USB) interface) for communicating with external devices.
[0028] The computing system 202 may include a human-machine interface (HMI) device 218, which may include any device that enables the system 200 to receive control inputs. Examples of input devices may include human-machine interface inputs such as keyboards, mice, touch screens, voice input devices, and other similar devices. The computing system 202 may include a display device 232. The computing system 202 may include hardware and software for outputting graphics and text information to the display device 232. The display device 232 may include an electronic display screen, a projector, a printer, or other suitable devices for displaying information to a user or operator. The computing system 202 may be further configured to allow interaction with a remote HMI and a remote display device via a network interface device 222.
[0029] System 200 may be implemented using one or more computing systems. Although the example depicts a single computing system 202 that implements all described features, it is intended that the various features and functions may be separated and implemented by multiple computing units that communicate with each other. The specific system architecture selected may depend on a variety of factors.
[0030] The system 200 may implement a machine learning algorithm 210 configured to analyze a raw source data set 215. The raw source data set 215 may include raw or unprocessed sensor data, which may represent an input data set for a machine learning system. The raw source data set 215 may include videos, video clips, images, text-based information, and raw or partially processed sensor data (e.g., a radar map of an object). In some examples, the machine learning algorithm 210 may be a neural network algorithm designed to perform a predetermined function. For example, a neural network algorithm may be configured in an automotive application to identify pedestrians in a video image.
[0031] The computer system 200 may store a training data set 212 for the machine learning algorithm 210. The training data set 212 may represent a previously constructed data set used to train the machine learning algorithm 210. The machine learning algorithm 210 may use the training data set 212 to learn weighting factors associated with the neural network algorithm. The training data set 212 may include a source data set with corresponding achievements or results that the machine learning algorithm 210 attempts to replicate via the learning process. In this example, the training data set 212 may include source videos with and without pedestrians and corresponding presence and location information. The source video may include various scenarios in which pedestrians are identified.
[0032] The machine learning algorithm 210 can operate in a learning mode using the training data set 212 as input. The machine learning algorithm 210 can be executed in multiple iterations using data from the training data set 212. With each iteration, the machine learning algorithm 210 can update internal weighting factors based on the achieved results. For example, the machine learning algorithm 210 can compare the output results (e.g., annotations) with the results included in the training data set 212. Because the training data set 212 includes expected results, the machine learning algorithm 210 can determine when the performance is acceptable. After the machine learning algorithm 210 achieves a predetermined performance level (e.g., 100% consistent with the results associated with the training data set 212), the machine learning algorithm 210 can be executed using data that is not in the training data set 212. The trained machine learning algorithm 210 can be applied to a new data set to generate annotated data.
[0033] The machine learning algorithm 210 may be configured to identify specific features in the raw source data 215. The raw source data 215 may include multiple instances or input data sets for which annotation results are desired. For example, the machine learning algorithm 210 may be configured to identify the presence of pedestrians in a video image and annotate these occurrences. The machine learning algorithm 210 may be programmed to process the raw source data 215 to identify the presence of specific features. The machine learning algorithm 210 may be configured to identify the features in the raw source data 215 as predetermined features (e.g., pedestrians). The raw source data 215 may be derived from a variety of sources. For example, the raw source data 215 may be actual input data collected by the machine learning system. The raw source data 215 may be machine generated for testing the system. As an example, the raw source data 215 may include raw video images from a camera.
[0034] In an example, the machine learning algorithm 210 may process the raw source data 215 and output an indication of an image representation. The output may also include an augmented representation of the image. The machine learning algorithm 210 may generate a confidence level or factor for each generated output. For example, a confidence value exceeding a predetermined high confidence threshold may indicate that the machine learning algorithm 210 is confident that the identified feature corresponds to a particular feature. A confidence value less than a low confidence threshold may indicate that the machine learning algorithm 210 has some uncertainty that a particular feature exists.
[0035] Figure 3 An overview system architecture diagram of an embodiment utilizing a cognitive neural symbolic reasoning framework is disclosed. The cognitive architecture attempts to capture the invariant mechanisms of human cognition at a computational level, including mechanisms that underlie control, learning, memory, adaptation, perception, and action functions, which can be described as ACT-R. In particular, ACT-R (Adaptive Control of Rational Thought) can be designed as a modular framework, including a perception module 303, a power module 317, and memory components (e.g., procedural memory 313 and declarative memory 315), which are synchronized by the procedural module 303 through a buffer of limited capacity (e.g., ACT-R buffer 305).
[0036] ACT-R can be a production system that attempts to explain human cognition by developing a model of knowledge structures that underlie cognition. There may be two types of knowledge representation in ACT-R - declarative knowledge and procedural knowledge. Declarative knowledge may correspond to things that humans may know that can be known and can usually be described to others. Examples of declarative knowledge may include "George Washington was the first president of the United States" and "An atom is like the solar system." Procedural knowledge may be knowledge that we show in our behavior but we are not aware of it. For example, procedural knowledge may be the fact that it is difficult to describe the rules for us to speak language, but humans do speak language. In an ACT-R system, declarative knowledge can be represented by structures called chunks, while procedural knowledge is represented by productions. Therefore, chunks and productions can be the basic building blocks of the ACT-R model.
[0037] ACT-R accounts for a wide range of tasks with high fidelity, reproducing aspects of complex human behavior, from everyday activities such as event planning and car driving to highly technical tasks such as flying airplanes and monitoring networks to prevent cyberattacks. In previous work, ACT-R has been used as a component in a pipeline that includes learning algorithms (e.g., biologically inspired neural networks) or external knowledge. However, there are no systems and methods that interweave cognitive architectures (e.g., ACT-R system 301) with neural symbolic methods and structures. As such, extensions may help enhance AI systems and enable advanced reasoning.
[0038] The basic ACT-R system 301 may include various compensations or subcomponents. For example, the system 301 may include a perception module 303 that communicates with a buffer 305. The ACT-R framework may include a production system 307, which includes a pattern matching module 311 and a production execution module 309. The buffer 305 can be an interface between the procedural memory system 313 and other components (modules) of the ACT-R architecture. For example, in one example, the target buffer can be an interface to the target module. Each buffer 305 can save one chunk at a time, and the actions of the production 309 can affect the contents of the buffer 305. In one embodiment, the buffer can be associated with the procedural memory 313 and the declarative memory 315, and thereby used to save the current program, and one for saving information retrieved from the declarative memory 315.
[0039] The integration of various systems of the ACT-R framework 301 may include three communication directions with the auxiliary symbolic network 323 and the neural network 321. The first direction may be knowledge to memory. The symbolic module 323 may include a background knowledge graph (KG) or a domain KG. The symbolic module 323 may also include a vocabulary resource (LR), a rule base (RB), and a suitable inference engine, etc. The symbolic module 323 may be linked to the declarative memory 315. There may be a two-way integration between the symbolic modules, as it may be read or written by ACT-R. A write operation may be triggered when the world knowledge may need to be filled or deleted as part of the task execution.
[0040] Another direction can be neural to perception. Neural module 321 can include a neural network. Neural network 321 can include a convolutional neural network, a recursive neural network, a long short-term memory network, etc. Neural network 321 can be trained and tested with raw data processed from the environment. Network 321 can provide relevant information patterns to perception module 303. This integration can bypass the directional connection maintenance found in the standard ACT-R system between perception module 303 and environment 319.
[0041] In the knowledge-to-neural-network direction, the embedding mechanism can govern the knowledge injection in the neural network 321. The system can implement knowledge-based contextualization of information patterns extracted from the environment and use it as input to the perception module 303 of ACT-R.
[0042] If the interconnections between the two proposal modules and ACT-R provide a comprehensive knowledge structure and scalable learning functionality, they do not by themselves lead to high-level reasoning: this capability emerges from the two features of the integrated framework, namely the procedural modules of the cognitive architecture itself and the inference engine in the external symbolic module.
[0043] The procedural module 303 can match the contents of the other module buffers 305 and coordinate their activities using production rules, which can be "condition-action" pairs associated with the task at hand. Productions can use utility-based calculations to select a single rule to be executed at any point in time from a set of reasonable rules specific to the task. For example, when building a recommendation system to support mechanics in troubleshooting a car engine, a relevant scenario that needs to be covered is a vehicle that cannot start but has power. In such an example, a high-utility production rule can capture the following heuristic: If the engine maintains good compression and the fuel system is working correctly, check the spark plugs. Data indicating this situation can be utilized in the system. The conditions in this rule obviously require empirical evidence, as this is often the case when cognitive architectures are applied to real-world problems: in our scenario, such evidence can actually be collected by real technicians using recommendation systems in a human-machine collaborative manner-the type of application that will fall under the paradigm of "cognitive model as oracle".
[0044] An inference engine in a symbolic module can be used to derive knowledge from assertions in reference semantic resources, which is a well-known feature of symbolic AI systems. It may be important to note that in the embodiments described herein, this form of logic-based reasoning can have two functions: (1) providing a combination of assertions and inferred knowledge that a cognitive architecture (e.g., ACT-R) declarative memory can process and pass to a production system; and (2) supporting the injection of knowledge into neural modules. In particular, the first functionality helps decouple basic forms of reasoning (e.g., temporal and spatial reasoning) from the cognitive evaluation performed by the production system on conditional actions. Such a feature can make the proposed system efficient, as ACT-R productions may not be well suited to logical reasoning.
[0045] Figure 4 is to utilize a system according to an embodiment (such as the above Figure 3401. The first step is that the system can receive input data. The input data can include a scene with a large amount of data utilized by the system. Such data can include video, audio, language (e.g., text), and other information describing the scene or environment.
[0046] In step 403, the input data may be fed into a neural network for processing. The neural network may be a CNN, RNN, or LSTM. The data may be fed until a convergence threshold is met or approached. The data may be analyzed to classify the data, thereby identifying a scene or environment. For example, the data may be analyzed separately to determine a sound classification. Thus, the audio data may be analyzed. The video data may be identified for classification of an image or multiple images. The language data may also be analyzed to identify the context of a request or region. In some scenarios, the language may include a question or a request.
[0047] At step 405, the system can use classification to identify patterns. The system can identify semantic observations from the raw data and create labels. Labels can be used to identify events or text descriptions. Embedding methods can be used to inject semantic structure into the neural network to augment the identified patterns with context-based knowledge.
[0048] At step 407, the pattern can be output from the neural network to the cognitive architecture. Through appropriate modular processing orchestrated by the central target buffer, the rule body in the production system is matched to the pattern and evaluated by the utility-based function. The rule with the highest utility value can be selected and utilized.
[0049] At step 409, the system may output a recommendation. The recommendation may be processed by a cognitive architecture with the help of neural networks and symbolic modules. The recommendation may be extracted from the rule header of the rule whose body matches the above pattern.
[0050] Figure 5 A schematic diagram of the interaction between a computer-controlled machine 10 and a control system 12 is depicted. The computer-controlled machine 10 may include a neural network as described above, such as a network including a score prediction network. The computer-controlled machine 10 includes an actuator 14 and a sensor 16. The actuator 14 may include one or more actuators, and the sensor 16 may include one or more sensors. The sensor 16 is configured to sense a condition of the computer-controlled machine 10. The sensor 16 may be configured to encode the sensed condition into a sensor signal 18 and transmit the sensor signal 18 to the control system 12. Non-limiting examples of the sensor 16 include video, radar, Lidar, ultrasound, and motion sensors. In one embodiment, the sensor 16 is an optical sensor configured to sense an optical image of an environment proximate to the computer-controlled machine 10.
[0051] The control system 12 is configured to receive sensor signals 18 from the computer controlled machine 10. As explained below, the control system 12 may be further configured to calculate actuator control commands 20 depending on the sensor signals and transmit the actuator control commands 20 to the actuators 14 of the computer controlled machine 10.
[0052] like Figure 5 As shown in , the control system 12 includes a receiving unit 22. The receiving unit 22 can be configured to receive the sensor signal 18 from the sensor 16 and transform the sensor signal 18 into an input signal x. In an alternative embodiment, without the receiving unit 22, the sensor signal 18 is directly received as the input signal x. Each input signal x can be a part of each sensor signal 18. The receiving unit 22 can be configured to process each sensor signal 18 to generate each input signal x. The input signal x may include data corresponding to an image recorded by the sensor 16.
[0053] The control system 12 includes a classifier 24. The classifier 24 may be configured to classify the input signal x into one or more labels using a machine learning (ML) algorithm, such as the neural network described above. The input signal x may include sound information. The classifier 24 is configured to be parameterized by parameters such as those described above (e.g., parameter θ). The parameter θ may be stored in and provided by a non-volatile storage device 26. The classifier 24 is configured to determine an output signal y based on the input signal x. Each output signal y includes information for assigning one or more labels to each input signal x. The classifier 24 may transmit the output signal y to a conversion unit 28. The conversion unit 28 is configured to convert the output signal y into an actuator control command 20. The control system 12 is configured to transmit the actuator control command 20 to the actuator 14, and the actuator 14 is configured to actuate the computer-controlled machine 10 in response to the actuator control command 20. In another embodiment, the actuator 14 is configured to actuate the computer-controlled machine 10 directly based on the output signal y.
[0054] When the actuator 14 receives the actuator control command 20, the actuator 14 is configured to perform an action corresponding to the associated actuator control command 20. The actuator 14 may include control logic configured to transform the actuator control command 20 into a second actuator control command for controlling the actuator 14. In one or more embodiments, the actuator control command 20 may be used to control a display instead of or in addition to the actuator.
[0055] In another embodiment, the control system 12 includes the sensor 16 instead of or in addition to the computer-controlled machine 10 including the sensor 16. The control system 12 may also include the actuator 14 instead of or in addition to the computer-controlled machine 10 including the actuator 14.
[0056] like Figure 5 As shown in , the control system 12 also includes a processor 30 and a memory 32. The processor 30 may include one or more processors. The memory 32 may include one or more memory devices. The classifier 24 (e.g., ML algorithm) of one or more embodiments may be implemented by the control system 12, which includes a non-volatile storage device 26, a processor 30, and a memory 32.
[0057] The non-volatile storage 26 may include one or more persistent data storage devices, such as a hard drive, an optical drive, a tape drive, a non-volatile solid-state device, a cloud storage device, or any other device capable of persistently storing information. The processor 30 may include one or more devices selected from a high-performance computing (HPC) system, including a high-performance core, a microprocessor, a microcontroller, a digital signal processor, a microcomputer, a central processing unit, a field programmable gate array, a programmable logic device, a state machine, a logic circuit, an analog circuit, a digital circuit, or any other device that manipulates signals (analog or digital) based on computer-executable instructions residing in the memory 32. The memory 32 may include a single memory device or multiple memory devices, including but not limited to random access memory (RAM), volatile memory, non-volatile memory, static random access memory (SRAM), dynamic random access memory (DRAM), flash memory, cache memory, or any other device capable of storing information.
[0058] The processor 30 may be configured to read into the memory 32 and execute computer executable instructions residing in the non-volatile storage 26 and embodying one or more ML algorithms and / or method techniques of one or more embodiments. The non-volatile storage 26 may include one or more operating systems and applications. The non-volatile storage 26 may store data compiled and / or interpreted from computer programs created using various programming languages and / or techniques, including without limitation and alone or in combination Java, C, C++, C#, Objective C, Fortran, Pascal, JavaScript, Python, Perl, and PL / SQL.
[0059] When executed by the processor 30, the computer executable instructions of the non-volatile storage device 26 may cause the control system 12 to implement one or more of the ML algorithms and / or methodological techniques as disclosed herein. The non-volatile storage device 26 may also include ML data (including data parameters) that support the functions, features, and processes of one or more embodiments described herein.
[0060] The program code embodying the algorithm and / or method technology described herein can be distributed separately or jointly as a program product in various different forms. The program code can be distributed using a computer-readable storage medium having computer-readable program instructions thereon, for causing the processor to implement aspects of one or more embodiments. The inherently non-transitory computer-readable storage medium may include volatile and non-volatile and removable and non-removable tangible media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules or other data. The computer-readable storage medium may further include RAM, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state memory technology, portable compact disk read-only memory (CD-ROM) or other optical storage device, cassette, tape, magnetic disk storage device or other magnetic storage device, or any other medium that can be used to store the desired information and can be read by a computer. The computer-readable program instructions can be downloaded from the computer-readable storage medium to a computer, another type of programmable data processing device or another device, or downloaded to an external computer or external storage device via a network.
[0061] Computer-readable program instructions stored in a computer-readable medium can be used to guide a computer, other types of programmable data processing devices, or other devices to operate in a particular manner, so that the instructions stored in the computer-readable medium produce an article of instruction including instructions for implementing the functions, actions, and / or operations specified in the flowchart or chart. In some alternative embodiments, the functions, actions, and / or operations specified in the flowchart and chart can be reordered, serially processed, and / or concurrently processed in accordance with one or more embodiments. In addition, any one of the flowchart and / or chart may include more or less nodes or blocks than those illustrated in accordance with one or more embodiments. Suitable hardware components, such as application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), state machines, controllers, or other hardware components or devices, or combinations of hardware, software, and firmware components, can be used to embody processes, methods, or algorithms in whole or in part.
[0062] Figure 6A schematic diagram of a control system 12 is depicted, which is configured to control a vehicle 50, which may be an at least partially autonomous vehicle or an at least partially autonomous robot. Figure 5 As shown in , the vehicle 50 includes an actuator 14 and a sensor 16. The sensor 16 may include one or more video sensors, radar sensors, ultrasonic sensors, Lidar sensors, and / or location sensors (e.g., GPS). One or more of the one or more specific sensors may be integrated into the vehicle 50. Alternatively, or in addition to the one or more specific sensors identified above, the sensor 16 may include a software module that is configured to determine the state of the actuator 14 when executed. A non-limiting example of a software module includes a weather information software module that is configured to determine the current or future state of the weather near the vehicle 50 or other location.
[0063] The classifier 24 of the control system 12 of the vehicle 50 may be configured to detect an object near the vehicle 50 depending on the input signal x. In such an embodiment, the output signal y may include information characterizing the proximity of the object to the vehicle 50. The actuator control command 20 may be determined based on this information. The actuator control command 20 may be used to avoid a collision with the detected object.
[0064] In embodiments where the vehicle 50 is at least partially autonomous, the actuators 14 may be embodied in the brakes, propulsion system, engine, drive train, or steering of the vehicle 50. The actuator control commands 20 may be determined to control the actuators 14 so that the vehicle 50 avoids colliding with the detected objects. The detected objects may also be classified according to what the classifier 24 thinks they are most likely to be, such as pedestrians or trees. The actuator control commands 20 may be determined depending on the classification. The control system 12 may utilize the system to help train the network for certain scenarios and conditions, such as during poor lighting conditions or poor weather conditions of the vehicle environment.
[0065] In other embodiments where the vehicle 50 is an at least partially autonomous robot, the vehicle 50 may be a mobile robot configured to perform one or more functions, such as flying, swimming, diving, and stepping. The mobile robot may be an at least partially autonomous lawn mower or an at least partially autonomous cleaning robot. In such embodiments, the actuator control commands 20 may be determined such that an electric drive, a propulsion unit, a steering unit, and / or a braking unit of the mobile robot may be controlled such that the mobile robot may avoid colliding with an identified object.
[0066] In another embodiment, the vehicle 50 is an at least partially autonomous robot in the form of a gardening robot. In such an embodiment, the vehicle 50 can use an optical sensor as the sensor 16 to determine the state of plants in the environment close to the vehicle 50. The actuator 14 can be a nozzle configured to spray chemicals. The vehicle 50 can be operated and moved based on electric drive. Depending on the identified species and / or the identified state of the plant, the actuator control command 20 can be determined to cause the actuator 14 to spray the plant with the appropriate amount of the appropriate chemical.
[0067] The vehicle 50 may be an at least partially autonomous robot in the form of a household appliance. Non-limiting examples of household appliances include a washing machine, a stove, an oven, a microwave, or a dishwasher. In such a vehicle 50, the sensor 16 may be an optical sensor configured to detect the state of an object to be processed by the household appliance. For example, in the case where the household appliance is a washing machine, the sensor 16 may detect the state of the laundry in the washing machine. The actuator control command 20 may be determined based on the detected state of the laundry.
[0068] Figure 7 A schematic diagram of a control system 12 is depicted, the control system 12 being configured to control a system 101 (e.g., a manufacturing machine), such as a punch tool, a tool, or a gun drill, of a manufacturing system 102 (e.g., a portion of a production line). The control system 12 may be configured to control an actuator 14, which is configured to control the system 101 (e.g., a manufacturing machine).
[0069] The sensor 16 of the system 101 (e.g., a manufacturing machine) may be an optical sensor configured to capture one or more attributes of the manufactured product 104, or the sensor may be an accelerometer. The classifier 24 may be configured to determine the state of the manufactured product 104 based on the one or more captured attributes. The actuator 14 may be configured to control the system 101 (e.g., a manufacturing machine) for subsequent manufacturing steps of the manufactured product 104 depending on the determined state of the manufactured product 104. The actuator 14 may be configured to control the function of the system 101 (e.g., a manufacturing machine) on the subsequent manufactured product 106 of the system 101 (e.g., a manufacturing machine) depending on the determined state of the manufactured product 104. The control system 12 may utilize the system to help train a machine learning network for adversarial conditions associated with noise utilized by the actuator or electric drive, such as mechanical failure of a component associated with a production line.
[0070] Figure 8A schematic diagram of a control system 12 is depicted, the control system 12 being configured to control a power tool 150, such as a power drill or driver, having at least a partially autonomous mode. The control system 12 can be configured to control an actuator 14, which is configured to control the power tool 150. The actuator can be driven by a motor or an electric drive train. The actuator can produce sound, as can a motor or electric drive.
[0071] The sensor 16 of the power tool 150 may be an optical sensor configured to capture one or more properties of the working surface 152 and / or the fastener 154 driven into the working surface 152. The classifier 24 may be used to classify the sound associated with the tool operation. Additionally, the classifier 24 may be configured to determine the state of the working surface 152 and / or the fastener 154 relative to the working surface 152 based on one or more captured properties. The state may be that the fastener 154 is flush with the working surface 152. Alternatively, the state may be the hardness of the working surface 152. The actuator 14 may be configured to control the power tool 150 so that the driving function of the power tool 150 is adjusted depending on the determined state of the fastener 154 relative to the working surface 152 or one or more captured properties of the working surface 152. For example, if the state of the fastener 154 is flush with the working surface 152, the actuator 14 may interrupt the driving function. As another non-limiting example, the actuator 14 may apply additional or less torque depending on the hardness of the working surface 152. The control system 12 may utilize the system to help train the machine learning network for certain conditions, such as during poor lighting conditions or poor weather conditions. Thus, the control system 12 may be able to identify the environmental conditions of the power tool 150.
[0072] Fig. 9 A schematic diagram of a control system 12 configured to control an automated personal assistant 900 is depicted. The control system 12 may be configured to control an actuator 14 configured to control the automated personal assistant 900. The automated personal assistant 900 may be configured to control a household appliance, such as a washing machine, stove, oven, microwave, or dishwasher.
[0073] Sensor 16 may be an optical sensor and / or an audio sensor (such as a microphone). The optical sensor may be configured to receive a video image of a gesture 904 of user 902. The audio sensor may be configured to receive a voice command of user 902.
[0074] The control system 12 of the automated personal assistant 900 may be configured to determine an actuator control command 20 configured to control the system 12. The control system 12 may be configured to determine the actuator control command 20 based on the sensor signal 18 of the sensor 16. The automated personal assistant 900 is configured to transmit the sensor signal 18 to the control system 12. The classifier 24 of the control system 12 may be configured to execute a gesture recognition algorithm to identify a gesture 904 made by the user 902, thereby determining the actuator control command 20, and transmitting the actuator control command 20 to the actuator 14. The actuator may be driven by an electric drive train machine. The classifier 24 may be configured to emit a sound in response to the drive train activating the actuator, and output the retrieved sound information in a form suitable for the user 902 to receive. The control system 12 may utilize the classifier to help train the machine learning network so that the automated personal assistant provides various recommendations to the user. Therefore, in such a scenario, the control system 12 may be able to provide improved recommendations in a specific environment.
[0075] The process, method or algorithm disclosed herein can be delivered to / implemented by a processing device, a controller or a computer, and the processing device, the controller or the computer can include any existing programmable electronic control unit or a dedicated electronic control unit. Similarly, the process, method or algorithm can be stored in various forms as data and instructions that can be executed by a controller or a computer, including but not limited to information permanently stored on a non-writable storage medium such as a ROM device and information variably stored on a writable storage medium such as a floppy disk, a tape, a CD, a RAM device and other magnetic and optical media. The process, method or algorithm can also be implemented in a software executable object. Alternatively, suitable hardware components (such as, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), state machines, controllers) or other hardware components or devices, or a combination of hardware, software and firmware components, can be used to embody the process, method or algorithm in whole or in part.
[0076] Although exemplary embodiments are described above, it is not intended that these embodiments describe all possible forms covered by the claims. The words used in the specification are descriptive rather than restrictive words, and it should be understood that various changes can be made without departing from the spirit and scope of the present disclosure. As previously described, the features of the various embodiments can be combined to form other embodiments of the present invention that may not be explicitly described or illustrated. Although various embodiments may have been described as providing advantages or preferred over other embodiments or prior art implementations in terms of one or more desired characteristics, it is recognized by those of ordinary skill in the art that one or more features or characteristics can be compromised to achieve the desired overall system properties, depending on the specific application and implementation. These properties may include, but are not limited to, cost, strength, durability, life cycle cost, marketability, appearance, packaging, size, applicability, weight, manufacturability, ease of assembly, etc. As such, to the extent that any embodiment is described as less desirable than other embodiments or prior art implementations in terms of one or more characteristics, these embodiments are not outside the scope of the present disclosure and may be desirable for a particular application.
Claims
1. A computer-implemented method comprising: receiving input data at a neural network indicating at least video data, audio data, and natural language data; In response to satisfying a convergence threshold of the neural network using the input data, outputting one or more patterns associated with the input data to a cognitive architecture including procedural memory and declarative memory via the neural network, wherein the cognitive architecture is in communication with a symbolic network including a knowledge graph database, wherein the symbolic network is configured to identify context information for the one or more patterns using at least the knowledge graph database; Embedding the context information of the knowledge graph dataset into the neural network in response to the symbolic framework communicating the context information with the neural network; as well as Via a neural network embedded with the context information, a recommendation indicating information associated with at least the input data is output.
2. The computer-implemented method of claim 1, wherein the neural network comprises a convolutional neural network, a recurrent neural network, or a long short-term memory neural network. 3 . The computer-implemented method of claim 1 , wherein the schema comprises a semantic abstraction associated with input data. The computer-implemented method of claim 1 , wherein the pattern comprises labels associated with events of input data.
5. The computer-implemented method of claim 1, wherein the schema comprises a textual description associated with the input data.
6. The computer-implemented method of claim 1, wherein the neural network is in communication with a perception module associated with an adaptive control framework of rational thought.
7. The computer-implemented method of claim 1, wherein the symbolic framework is configured to be read or written by the cognitive architecture. The computer-implemented method of claim 1 , wherein the input data is indicative of a scene.
9. The computer-implemented method of claim 1, wherein the cognitive architecture is an Adaptive Control of Reasonable Thoughts (ACT-R) architecture.
10. A computer-implemented method comprising: receiving input data at a neural network indicative of at least video data and natural language data; In response to satisfying a convergence threshold of the neural network using the input data, outputting one or more patterns associated with the input data to a cognitive architecture, wherein the cognitive architecture is in communication with a symbolic framework including a knowledge graph database, and the symbolic framework is configured to at least utilize the knowledge graph database to identify contextual information for the one or more patterns received from the neural network; In response to the symbolic framework, the context information is communicated with the neural network, and the context information of the knowledge graph dataset is embedded in the neural network to generate an embedded neural network; as well as The embedded neural network is used to output a recommendation indicating at least information associated with the input data.
11. The method of claim 10, wherein the cognitive architecture is an Adaptive Control of Rational Thought (ACT-R) architecture that includes both procedural and declarative memory.
12. The method of claim 10, wherein the symbolic framework comprises a lexical resource (LR), a rule base (RB), or a suitable inference engine.
13. The method of claim 10, wherein the cognitive framework comprises a programmatic module configured to match the contents of one or more buffers.
14. The method of claim 10, wherein the cognitive framework comprises a procedural module configured to coordinate one or more activities using production rules. The method of claim 10 , wherein the input data further comprises audio data.
16. The method of claim 10, wherein the cognitive architecture further communicates with a large language model.
17. A system comprising: Neural networks; cognitive architecture; symbolic framework; and One or more processors, wherein the processors are programmed to: receiving input data at a neural network indicating at least video data, audio data, and natural language data; In response to satisfying a convergence threshold of the neural network using the input data, outputting one or more patterns associated with the input data to a cognitive architecture including procedural memory and declarative memory, wherein the cognitive architecture is in communication with a symbolic framework including a knowledge graph database, wherein the symbolic framework is configured to identify context information for the one or more patterns using at least the knowledge graph database; as well as In response to the symbolic framework communicating the context information with the neural network, embedding the neural network with the context information of the knowledge graph dataset to produce an embedded neural network, and outputting a recommendation indicating at least information associated with the input data with the embedded neural network.
18. The system of claim 17, wherein the cognitive architecture is an Adaptive Control of Rational Thought (ACT-R) architecture that includes both procedural and declarative memory.
19. The system of claim 18, wherein the program memory is configured to store data indicative of a fact.
20. The system of claim 18, wherein the declarative memory is configured to store data indicative of rules.
