Lexical Analyzer for Neurolinguistic Behavior Recognition System

By building a dictionary and generating a language model, it solves the problem that the existing monitoring system cannot identify undefined behaviors, realizes behavior recognition and resource optimization without predefined rules, and improves the flexibility and scalability of the monitoring system.

CN113158664BActive Publication Date: 2024-09-03INTELLECTIVE AI INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110210787.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2014-12-12
Filing Date
2015-12-10
Publication Date
2024-09-03
Estimated Expiration
2035-12-10

AI Technical Summary

Technical Problem

The existing rule-based approach to monitoring and surveillance systems requires defining the behaviors and objects to be observed in advance, making it impossible to identify behaviors without predefined rules, and consumes a lot of resources and is difficult to expand.

Method used

Generate a stream of symbols by receiving input data, use hierarchical learning models to build dictionaries from symbol combinations, identify statistically significant words, generate language models to distinguish between normal and abnormal activities, enable behavior recognition without predefined rules, and optimize resources through parallel computing use.

Benefits of technology

It realizes the identification of behavioral patterns without relying on predefined rules, reduces the system's demand for computing resources, and improves the flexibility and scalability of the monitoring system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113158664B_ABST
    Figure CN113158664B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a lexical analyzer for a neurolinguistic behavior recognition system. Specifically disclosed is a technology for building a dictionary of words from a combination of symbols generated based on input data. The neurolinguistic behavior recognition system includes a neurolinguistic module that generates a language model describing data input from a source (e.g., video data, SCADA data, etc.). In order to generate words for the language model, a lexical analyzer component in the neurolinguistic module receives a stream of symbols, each symbol being generated based on an ordered stream of standardized vectors generated from the input data. The lexical analyzer component determines words from a combination of symbols based on a hierarchical learning model having one or more levels. Each level indicates the length of the word to be recognized at that level. Statistical information is evaluated for the words recognized at each level. The lexical analyzer component identifies one or more words in the word that are statistically significant.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of invention patent application 201580067524.5, filed on December 10, 2015, and entitled “Lexical Analyzer for Neurolinguistic Behavior Recognition System”. Technical Field

[0002] Embodiments described herein relate generally to data analysis systems, and more particularly to building a dictionary of words to be used in a neurolinguistic behavior recognition system based on input data. Background Art

[0003] Many currently available monitoring and surveillance systems (e.g., video surveillance systems, SCADA systems, etc.) are trained to observe specific activities and alert administrators upon detection of these activities. However, such rule-based systems require advance knowledge of the actions and / or objects to be observed. These activities can be hard-coded into the underlying application, or the system can train itself based on any provided definitions or rules. In other words, unless the underlying code includes descriptions of certain behaviors or rules for generating alerts for given observations, the system cannot recognize these behaviors. However, such rule-based approaches are rigid. That is, unless a given behavior conforms to a predefined rule, the occurrence of the behavior may not be detected by the surveillance system. Even if the system trains itself to recognize behaviors, the system needs to define rules in advance for what to recognize.

[0004] In addition, many surveillance systems (e.g., video surveillance systems) require a large amount of computing resources, including processor power, storage, and bandwidth. For example, due to the typical size of video data, a typical video surveillance system requires a large amount of computing resources per camera feed. Given the cost of the resources, such systems are difficult to scale. Summary of the invention

[0005] One embodiment presented herein includes a method for building a dictionary of words from a combination of symbols based on input data. The method generally includes receiving a stream of symbols. Each symbol is associated with a vector cluster generated from the input data. The method also includes determining words from the combination of symbols in the stream based on a hierarchical learning model having one or more levels. Each level indicates the length of the word to be recognized at that level. Statistical information is evaluated for the words recognized at each level. The method also includes identifying one or more words with statistical significance in the words based on the evaluated statistical information.

[0006] Another embodiment provided herein includes a computer-readable storage medium storing instructions that, when executed on a processor, perform operations for building a dictionary of words from a combination of symbols generated based on input data. The operation itself generally includes receiving a stream of symbols. Each symbol is associated with a vector cluster generated from the input data. The operation also includes determining words from a combination of symbols in the stream based on a hierarchical learning model having one or more levels. Each level indicates the length of the word to be recognized at that level. Evaluate statistical information for the words recognized at each level. The operation also includes identifying one or more words with statistical significance in the word based on the evaluated statistical information.

[0007] Yet another embodiment provided herein includes a system having a processor and a memory, the memory storing one or more applications configured to perform operations for building a dictionary of words from a combination of symbols generated based on input data. The operation itself generally includes receiving a stream of symbols. Each symbol is associated with a vector cluster generated from the input data. The operation also includes determining words from a combination of symbols in the stream based on a hierarchical learning model having one or more levels. Each level indicates the length of the word to be recognized at that level. Evaluate statistical information for the words recognized at each level. The operation also includes identifying one or more words with statistical significance in the word based on the evaluated statistical information. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Therefore, the manner in which the above-mentioned features of the present disclosure can be understood in detail, a more specific description of the present disclosure briefly summarized above can be obtained by reference to embodiments, some of which are shown in the accompanying drawings. However, it should be noted that the accompanying drawings only illustrate exemplary embodiments and therefore should not be considered to limit its scope, and other equally effective embodiments may be recognized.

[0009] Figure 1 An example computing environment for a neurolinguistic behavior recognition system is shown, according to one embodiment.

[0010] Figure 2 The system architecture of a neuro-linguistic behavior recognition system according to one embodiment is shown.

[0011] Figure 3 A method for collecting sensor data to be used in a neurolinguistic behavior recognition system is shown according to one embodiment.

[0012] Figure 4 Further illustrating according to one embodiment Figure 2 The lexical analyzer component described in .

[0013] Figure 5A method for processing symbols representing input data according to one embodiment is shown.

[0014] Figure 6 A method for building a dictionary of words from a stream of symbols representing input data is shown according to one embodiment.

[0015] Fig. 7A , 7B 7C shows an example of a Figure 2 The different learning levels of the lexer components described in .

[0016] Figure 8 An example of outputting words to a perceptual associative memory component according to one embodiment is shown.

[0017] To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. It is contemplated that elements and features of one embodiment may be beneficially incorporated in other embodiments without further recitation. DETAILED DESCRIPTION

[0018] The embodiments given herein describe a behavior recognition system. The behavior recognition system can be configured with one or more data collector components that collect raw data values ​​(e.g., video data, building management data, SCADA data) from different data sources. For example, the behavior recognition system can be configured for video surveillance. The behavior recognition system can include a data collector component that retrieves video frames in real time, separates foreground objects from background objects, and tracks foreground objects frame by frame. The data collector component can standardize video frame data to a numerical value (e.g., falling within a range from 0 to 1 relative to a given data type).

[0019] In one embodiment, the behavior recognition system includes a neuro-linguistic module that performs a neural network-based language analysis on the collected data. Specifically, for each type of data monitored by the sensor, the neuro-linguistic module creates and refines a language model of standardized data. That is, the neuro-linguistic module builds a grammar for describing standardized data. The language model includes symbols that act as building blocks of grammar. The neuro-linguistic module recognizes combinations of symbols to build a dictionary of words. Once the dictionary is built, the neuro-linguistic module recognizes phrases that include various combinations of words in the dictionary. The behavior recognition system uses this language model to describe what is being observed. The language model allows the behavior recognition system to distinguish between normal activities and abnormal activities observed in the input data. Therefore, whenever abnormal activity occurs, the behavior recognition system can sound an alarm.

[0020] To generate a language model, the neuro-linguistic module receives standardized data values ​​and organizes the data into clusters. The neuro-linguistic module evaluates the statistics of each cluster and identifies statistically relevant clusters. In addition, the neuro-linguistic module generates a symbol (e.g., a letter) corresponding to each statistically relevant cluster. Thus, an input value mapped to a given cluster can correspond to a symbol.

[0021] Based on the statistical distribution of symbols identified in the input data, the neural language module generates a vocabulary (lexicon) of observed symbol combinations (i.e., builds a dictionary of words). Specifically, the neural language module can identify symbol patterns of different occurrence frequencies in the input data. In addition, the neural language module can identify statistically related symbol combinations of different lengths (e.g., from one symbol to a maximum symbol word length). The neural language module can include such statistically related symbol combinations in the lexicon for identifying phrases for use in the language model.

[0022] Using words from the dictionary, the neurolinguistic module generates phrases based on the probabilistic relationship of each word relative to other words in sequence when additional data is observed. For example, the neurolinguistic module can identify the relationship between a given three-letter word that frequently occurs in sequence with a given four-letter word, etc. The neurolinguistic module determines syntax based on the identified phrases.

[0023] The syntax allows the behavior recognition system to learn, recognize and discern behavioral patterns without the help or guidance of predefined activities. Unlike rule-based monitoring systems, which contain predefined patterns of what to recognize or observe, behavior recognition systems learn patterns by generalizing the input and building behavioral memories of what is observed. Over time, the behavior recognition system uses these memories to distinguish between normal and abnormal behaviors reflected in the observed data.

[0024] For example, the neural language module constructs letters, words (nouns, adjectives, verbs, etc.), phrases, and estimates a "rarity score" for each recognized letter, word, or phrase. The rarity score (of a letter, word, or phrase observed in the input data) indicates how infrequently the letter, word, or phrase occurs relative to past observations. Therefore, the behavior recognition system can use the rarity score to identify and measure how rare the current syntax is relative to a stable symbol (i.e., letter) model, a stable word model built from symbols (i.e., a lexicon), and a stable phrase model built from words (i.e., syntax) (collectively referred to as a neural language model).

[0025] As the neuro-linguistic module continues to receive input data, it can decay, strengthen, and generate letter models, word models, and syntactic models. In the parlance of the machine learning field, the neuro-linguistic module "learns online" as new data is received and the occurrence of a given type of input data increases, decreases, appears, or disappears.

[0026] Figure 1 Components of a behavior recognition system 100 according to one embodiment are shown. As shown, the behavior recognition system 100 includes one or more input source devices 105, a network 110, and one or more computer systems 115. The network 110 can transmit data input by the source device 105 to the computer system 115. In general, the computing environment 100 may include one or more physical computer systems 115 connected via a network (e.g., the Internet). Alternatively, the computer system 115 may be a cloud computing resource connected by a network. Illustratively, the computer system 115 includes one or more central processing units (CPUs) 120, one or more graphics processing units (GPUs) 121, a network and I / O interface 122, a storage device 124 (e.g., a disk drive, an optical drive, etc.), and a memory 123, the memory 123 including a sensor management module 130, a sensing memory component 135, and a machine learning engine 140. The storage device 124 includes a model repository 145.

[0027] CPU 120 retrieves and executes programming instructions stored in memory 123, and stores and retrieves application data residing in storage device 124. In one embodiment, GPU 121 implements Compute Unified Device Architecture (CUDA). In addition, GPU 121 is configured to provide general processing using the parallel throughput architecture of GPU 121 to more efficiently retrieve and execute programming instructions stored in memory 123 and also store and retrieve application data residing in storage device 124. The parallel throughput architecture provides thousands of cores for processing applications and input data. Therefore, GPU 121 performs read and write operations in a massively parallel manner using thousands of cores. Using the parallel computing elements of GPU 121 allows behavior recognition system 100 to better handle large amounts of incoming data (e.g., input from video and / or audio sources). Therefore, behavior recognition system 100 can be expanded with relatively little difficulty.

[0028] The sensor management module 130 provides one or more data collector components. Each of the collector components is associated with a specific input data source (e.g., a video source, a SCADA (supervisory control and data acquisition) source, an audio source, etc.). The collector component retrieves (or receives, depending on the sensor) input data from each source at a specified time interval (e.g., once every minute, once every thirty minutes, once every thirty seconds, etc.). The sensor management module 130 controls the communication between the data sources. In addition, the sensor management module 130 normalizes the input data and sends the normalized data to the sensor memory component 135.

[0029] The sensing memory component 135 is a data repository that transfers large amounts of data from the sensor management module 130 to the machine learning engine 140. The sensing memory component 135 stores data as records. Each record may include an identifier, a timestamp, and a data payload. In addition, the sensing memory component 135 aggregates incoming data in a time-ordered manner. Storing incoming data from each of the data collector components in a single location where the data can be aggregated allows the machine learning engine 140 to process the data efficiently. In addition, the computer system 115 can reference the data stored in the sensing memory component 135 in generating alerts for abnormal activities. In one embodiment, the sensing memory component 135 can be implemented via a virtual memory file system in the memory 123. In another embodiment, the sensing memory component 135 is implemented using key-value sharing.

[0030] The machine learning engine 140 receives the data output from the sensor management module 135. In general, the components of the machine learning engine 140 generate a linguistic representation of the normalized vector. As further described below, to do so, the machine learning engine 140 clusters normalized values ​​with similar characteristics and assigns a different symbol to each cluster. The machine learning engine 140 can then identify symbol combinations (i.e., words) that recur in the data. The machine learning engine 140 then similarly identifies word combinations (i.e., phrases) that recur in the data.

[0031] However, it should be noted that Figure 1 Only one possible arrangement of behavior recognition system 100 is shown. For example, while input data source 105 is shown as connected to computer system 115 via network 110, network 110 is not always present or required (eg, an input source such as a video camera may be directly connected to computer system 115).

[0032] Figure 2 FIG. 2 shows a system architecture of a behavior recognition system according to an embodiment. As shown, the sensor management module 130 and the machine learning engine 140 communicate via the persistence layer 210 .

[0033] The persistence layer 210 includes a plurality of data repositories that maintain information used by the components of the computer system 115. For example, the persistence layer 210 includes a data repository that maintains information describing the properties of the data collector module 202, system properties (e.g., serial number of the computer system 115, available memory, available capacity, etc.), and properties of source drivers (e.g., active sensors associated with each data source, active plug-ins 118, standardized settings, etc.). Other data repositories may maintain learning model information, system events, and behavioral alerts. In addition, the sensor memory component 135 resides in the persistence layer 210.

[0034] The machine learning engine 140 itself includes a neuro-linguistic module 215 and a cognitive module 225. The neuro-linguistic module 215 performs a neural network-based language analysis of the standardized input data to build a neuro-linguistic model of the observed input data. The behavior recognition system can use the language model to describe the subsequent observed activities. However, the neuro-linguistic module 215 does not describe the activities based on predefined objects and actions, but develops a custom language based on symbols, words and phrases generated from the input data. As shown, the neuro-linguistic module 215 includes a data transaction memory (DTM) component 216, a classification analyzer component 217, a mapper component 218, a lexical analyzer component 219 and a perceptual associative memory (PAM) component 220.

[0035] In one embodiment, the DTM component 216 retrieves the normalized vector of input data from the sensor memory component 135 and stages the input data in a pipeline architecture provided by the GPU 121. The classification analyzer component 217 evaluates the normalized data organized by the DTM component 216 and maps the data onto a neural network. In one embodiment, the neural network is a combination of a self-organizing map (SOM) and an adaptive resonance theory (ART) network.

[0036] Mapper component 218 clusters data streams based on values ​​that recur in association with each other. In addition, mapper component 218 generates cluster sets for each input feature. For example, assuming that the input data corresponds to video data, features may include position, speed, acceleration, etc. Mapper component 218 will generate separate cluster sets for each of these features. Mapper component 218 identifies symbols (i.e., constructs an alphabet of letters) based on the input data of clustering. Specifically, mapper component 218 determines the statistical distribution of data in each cluster. For example, mapper component 218 determines the mean, variance, and standard deviation of the distribution of values ​​in the cluster. When more standardized data is received, mapper component 218 also updates these statistical information. In addition, each cluster can be associated with a statistical significance score. The statistical significance of a given cluster increases as more data mapped to the cluster are received. In addition, when mapper component 218 observes the data mapped to the cluster less frequently over time, mapper component 218 decays the statistical significance of the cluster.

[0037] In one embodiment, the mapper component 218 assigns a set of symbols to clusters with relatively high statistical significance scores. If a threshold amount of input data mapped to a cluster is exceeded, then the cluster is statistically significant. Symbols can be described as letters of an alphabet used to create words used in the neuro-linguistic analysis of the input data. Symbols provide a "fuzzy" representation of the data belonging to a given cluster.

[0038] In addition, the mapper component 218 is adaptive. That is, as new clusters generated from the standardized data are strengthened over time (thereby causing these clusters to reach a level of statistical significance relative to other clusters that emerge from the input data), the mapper component 218 can identify new symbols corresponding to these clusters. The mapper component 218 learns online and can merge similar observations into more generalized symbols. The mapper component 218 can assign a collection of different symbols to the resulting clusters.

[0039] Once a cluster has reached statistical significance (i.e., the observed data as mapped to the cluster has reached a threshold amount of points), the mapper component 218 begins to send corresponding symbols to the lexical analyzer component 219 in response to the standardized data mapped to the cluster. In one embodiment, the mapper component 218 limits the symbols that can be sent to the lexical component 219 to the most statistically significant clusters. In practice, the symbols (e.g., letters) assigned to the first 32 clusters have been shown to be effective. However, other quantities (such as the first 64 or first 128 most frequently recurring clusters) may also prove to be effective. Note that, over time, the most frequently observed symbols may change due to the increase in the statistical significance of different clusters. Therefore, a given cluster is likely to lose statistical significance. Over time, the threshold for the statistical significance of a cluster may increase, and therefore, if the amount of data observed to be mapped to a given cluster cannot meet the threshold, the cluster loses statistical significance.

[0040] In one embodiment, the mapper component 218 evaluates a rarity score for each symbol. The rarity score is based on the frequency of a given symbol relative to other symbols observed. As the neuro-linguistic module 215 receives additional data, the rarity score may increase or decrease over time.

[0041] The mapper component 218 sends a stream of symbols (e.g., alphabets), timestamp data, rarity scores, and statistics (e.g., representations of clusters associated with a given symbol) to the lexer component 219. The lexer component 219 builds a lexicon based on the symbols output from the mapper component 218. In practice, the mapper component 218 may require approximately 5,000 observations (i.e., normalized vectors of input data) to generate a stable alphabet of symbols.

[0042] The lexical analyzer component 219 builds a dictionary including combinations of co-occurring symbols (e.g., words) from the symbols transmitted by the mapper component 218. The lexical analyzer component 219 identifies repeated co-occurrences of letters output from the mapper component 218 and calculates the frequency of the co-occurrences in the entire symbol stream. The combination of symbols can semantically represent a specific activity, event, etc.

[0043] In one embodiment, the lexical analyzer component 219 limits the length of words in the dictionary to allow the lexical analyzer component 219 to recognize several possible combinations without adversely affecting the performance of the computer system 115. In addition, the lexical analyzer component 219 can use a level-based learning model to analyze symbol combinations and learn words. As will be further described below, the lexical analyzer component 219 learns words at increasing levels up to a maximum symbol combination length, i.e., where one-letter words are learned at a first level, two-letter words are learned at a second level, and so on. In practice, limiting words to a maximum of five or six symbols (i.e., learning at a maximum of five or six levels) has been shown to be effective.

[0044] Similar to the mapper component 218, the lexical analyzer component 219 is adaptive. That is, over time, the lexical analyzer component 219 can learn and generate words in the dictionary. As the lexical analyzer component 219 receives subsequent symbol streams over time, the lexical analyzer component 219 can also strengthen or decay the statistical significance of the words in the dictionary. In addition, the lexical analyzer component 219 can determine a rarity score for each word based on how frequently the word recurs in the data. As the neuro-linguistic module 215 processes additional data, the rarity score can increase or decrease over time.

[0045] In addition, when additional observations (i.e., symbols) are passed to the lexical analyzer component 219 and are recognized as a given word, the lexical analyzer component 219 can determine that the word model has matured. Once the word model has matured, the lexical analyzer component 219 can output the observations of these words in the model to the PAM component 220. In one embodiment, the lexical analyzer component 219 limits the words sent to the PAM component 220 to the most statistically significant words. In practice, for each single sample, outputting the occurrence of the first 32 words in the most frequently occurring words has been shown to be effective (and the most frequently occurring words stored in the model can number up to thousands of words). Note that over time, the most frequently observed words may change due to changes in the frequency of observations of incoming letters (or new letters appearing due to clustering of the input data by the mapper component 218).

[0046] Once the lexer component 219 has built a lexicon (i.e., identified words that have reached a predefined statistical significance), the lexer component 219 sends subsequently observed occurrences of the words in the input stream to the PAM component 220. The PAM component 220 builds the syntax of phrases from the words output by the lexer component 219. In practice, the lexer component 219 can build a useful lexicon of words after receiving approximately 15,000 observations (i.e., input letters from the mapper component 218).

[0047] The PAM component 220 recognizes the syntax of the phrase based on the sequence of words output from the lexical analyzer component 219. Specifically, the PAM component 220 receives the words recognized by the lexical analyzer component 219, generates a connection graph, wherein the nodes of the graph represent the words, and the edges represent the relationship between the words. The PAM component 220 can strengthen or weaken the link based on the frequency with which the words are connected to each other in the data stream.

[0048] Similar to the mapper component 218 and the lexer component 219, the PAM component 220 determines a rarity score for each identified phrase based on how frequently the phrase recurs in the language data. The rarity score may increase or decrease over time as the neural language module 215 processes additional data.

[0049] Similar to the lexical analyzer component 219 , the PAM component 220 can limit the length of a given phrase to allow the PAM component 220 to recognize several possible combinations without adversely affecting the performance of the computer system 115 .

[0050] The PAM component 220 identifies syntactic phrases through observations of words output from the lexical analyzer component 219. As observations of words accumulate, the PAM component 220 can determine that a given phrase has matured, that is, the phrase has reached a measure of statistical significance. The PAM component 220 then outputs the observations of the phrase to the cognitive module 225. The PAM component 220 sends data including symbol streams, words, phrases, timestamp data, rarity scores, and statistical calculations to the cognitive module 325. In practice, the PAM component 220 can obtain a meaningful set of phrases after observing approximately 5,000 words from the lexical analyzer component 219.

[0051] After maturation, the generated letters, words, and phrases form a stable neural language model of the input data, and the computer system 115 uses the model to compare subsequent observations of letters, words, and phrases with the stable model. When new data is received, the neural language module 215 updates the language model. In addition, the neural language module 215 can compare the currently observed syntax with the model. That is, after building a stable set of letters, the neural language module 215 can build a stable word model (e.g., a dictionary). Then, the neural language module 215 can be used to build a stable phrase model (e.g., syntax). Thereafter, when the neural language module 215 subsequently receives standardized data, the module 215 can output an ordered stream of symbols, words, and phrases, all of which can be compared with the stable model to identify patterns of interest or detect deviations that occur in the input data stream.

[0052] As shown, cognitive module 226 includes workspace 226 , semantic memory 230 , codelet templates 235 , episodic memory 240 , long term memory 245 , and anomaly detection component 250 .

[0053] In one embodiment, the workspace 226 provides a computational engine for the machine learning engine 140. For example, the workspace 226 can retrieve statistically relevant language data (e.g., phrases that appear frequently in the data) from the episodic memory 240 and the long-term memory 245, select a small code template 235 to execute, etc. In addition, the workspace 326 receives symbols, words, and phrases (and rarity scores) from the neuro-linguistic module 215 and stores these data in the semantic memory 230.

[0054] The workspace 226 retrieves neuro-linguistic data from the semantic memory 230 and disseminates the data to different parts of the cognitive module 225 as needed.

[0055] Episodic memory 240 stores linguistic observations related to specific situations in the recent past and may encode specific details such as the "what" and "when" of specific events.

[0056] Long-term memory 245 stores generalizations of the linguistic data, with specific situational details stripped away. In this way, as new observations occur, memories from both the situational memory 240 and the long-term memory 245 can be used to relate and understand current events, i.e., new events can be compared to past experiences (as represented by previously observed linguistic data), resulting in the information stored in the long-term memory 245 being strengthened, decayed, and adjusted over time. In certain embodiments, the long-term memory 245 can be implemented as an ART network and a sparsely distributed memory data structure. Importantly, however, this approach does not require events to be defined in advance.

[0057] The codelet template 235 provides a collection of executable codelets or codelets that evaluate different sequences of events to determine how one sequence can follow (or otherwise be associated with) another sequence. More generally, the codelets can detect patterns of interest from the language representation of the input data. For example, the codelet can compare the current observations (i.e., the current phrase instance with content that has been observed in the past) with previously observed activities stored in the semantic memory 230. By repeatedly scheduling codelets for execution, copying memories and perceptions to / from the workspace 226, the cognitive module 225 executes a cognitive loop for observing and learning behavioral patterns that appear in the language data.

[0058] The anomaly detection component 250 evaluates the rarity score sent by the neuro-linguistic module 215 to determine whether to issue an alert in response to some abnormal activity indicated by the rarity score. Specifically, the anomaly detection component 250 provides a probabilistic histogram model (e.g., a rare vocabulary model, a rare syntax model, and a rare model) representing the rarity score. The anomaly detection component 250 can send alert data to an output device, where an administrator can view the alert, for example, via a management console.

[0059] The cognitive module 225 performs learning analysis on the language content (ie, recognized symbols, words, phrases) delivered to the semantic memory 230 by comparing the new observations to the learned patterns retained in the semantic memory 230 and then estimating the rarity of these new observations.

[0060] Specifically, the anomaly component 250 evaluates the rarity score of each of the symbols, words, and phrases to identify anomalous occurrences in the observed data. Once an anomalous observation has been identified, the anomaly component can issue an alert (e.g., notify a user or administrator of the computer system 115).

[0061] Figure 3A method 300 for collecting sensor data for use in a neurolinguistic behavior recognition system according to one embodiment is shown. More specifically, the method 300 describes how a data collector retrieves data from an associated input device and sends the data to a neurolinguistic module 215. To better describe the method 300, it is assumed that a data collector module 202 for a video source performs the steps of the method. Of course, the method 300 can be applicable to other types of data collector components 202.

[0062] The method 300 begins at step 305, where the data collector module 202 retrieves data from a source input device. In this case, the data collector module 202 can retrieve video frames from a video source (such as a video camera positioned to observe a specific location such as a hotel lobby). In addition, the data collector module 202 identifies data values ​​to be sent to the sensor memory component 135. To do so, the data collector module 202 can evaluate the video frames to separate foreground objects from background objects, measure the appearance and motion information of the identified foreground objects, and track the foreground objects moving across the scene (i.e., the field of view of the camera). Therefore, the data collector module 202 determines the values ​​to be sent to the sensor memory component 135, such as the values ​​for the appearance and motion information.

[0063] At step 310, the data collector module 202 normalizes each data value relative to the type of data value to a numerical value that falls within a range (e.g., between 0 and 1, inclusive). For example, values ​​associated with motion features are normalized from 0 to 1 relative to other values ​​associated with motion features. Doing so results in each value being converted into a common format that allows the neuro-linguistic module 215 to identify recurring events in the video stream.

[0064] After normalizing the values, at step 315, the data collector module 202 identifies additional data associated with the normalized values, such as a timestamp for a given value, an average value associated with the data type of the value (e.g., motion characteristics, appearance characteristics, location, position, etc.), and historical high and low values ​​for the data type. Doing so allows the data collector module 202 to readjust normalization if the video source is modified. Specifically, the data collector module 202 readjusts normalization with reference to the identified historical values ​​and average values.

[0065] At step 320, the data collector module 202 sends the vector of normalized values ​​and associated data to the sensory memory component 135. As described, the sensory memory component 135 stores the normalized values ​​and associated data. The neuro-linguistic module 215 can then retrieve the normalized values ​​from the sensory memory component 135 and perform language analysis thereafter.

[0066] Figure 4Further illustrating according to one embodiment Figure 2 As described, the mapper component 219 generates a stream of symbols based on data sent from a given source (e.g., a video source). Illustratively, the mapper component 218 sends the stream of symbols to the lexical analyzer component 219. The lexical analyzer component 219 builds a dictionary of words (i.e., combinations of symbols) based on the statistical frequency of the symbol groups appearing in the stream. The lexical analyzer component 219 outputs statistically significant words to the PAM component 220.

[0067] As shown, the lexical analyzer component 219 itself includes a learning model 410, an expansion algorithm 415, and a generation algorithm 420. As mentioned, the mapper component 218 sends a stream of symbols to the lexical analyzer component 219. Upon receiving the stream of symbols, the lexical analyzer component 219 inputs the symbols into the learning model 410. The learning model 410 provides a hierarchical scheme for evaluating the symbols to build a dictionary of words. That is, the learning model 410 provides the level at which the lexical analyzer component 219 recognizes statistically related words.

[0068] At the initial level, the lexical analyzer component 219 identifies the word of one symbol with a statistically significant score exceeding a given threshold. In one embodiment, the lexical analyzer component 219 determines which words are to be included in the dictionary based on the statistically significant score. The statistically significant score also allows the lexical analyzer component 219 to determine which symbol combinations are to be further evaluated in the learning model of a higher level. In addition, the lexical analyzer component 219 determines which words to consider when generating the statistical model based on the statistically significant score. Once the word of one symbol is identified, the lexical analyzer component 219 advances to the next level to use the word of one symbol with a statistically significant score exceeding the threshold to identify the combination with two symbol lengths. In order to do so, the lexical analyzer component 219 calls the expansion algorithm 415, and the word of one symbol that is statistically significant is provided as input to the learning model 410. The second level learning model 410 derives the word of two symbols from the word of one symbol. The lexical analyzer component 219 determines the word of two symbols that is statistically significant, and increases the level again so as to derive the word of three symbols in a similar manner. The lexical analyzer component 219 continues to learn words in this manner for each level until the highest level, in which the lexical analyzer component 219 learns words with a maximum length. As mentioned, in practice, a maximum length of five has been shown to be effective. Therefore, in this case, the highest level is level five.

[0069] In one embodiment, the lexical analyzer component 219 generates a feature model that includes the summary results of previously recognized words. Specifically, the lexical analyzer component 219 identifies the features of the specific symbols in each word. Then, the lexical analyzer component 219 can abstract the symbol combination based on the identified features. Generating the feature model allows the lexical analyzer component 219 to evaluate the statistical significance of the general combination of symbols in addition to the specific combination of symbols. In addition, the feature model allows the lexical analyzer component 219 to identify abnormal symbols from the observed feature combinations.

[0070] In one embodiment, the lexical analyzer component 219 calls the generation algorithm 420 to generate known words with statistical significance relative to the input symbol stream from the mapper. The generation algorithm 420 outputs the dictionary, symbols and associated statistical information to the PAM component 220. As described, the PAM component 220 generates syntax from the dictionary. The PAM component 220 recognizes phrases from words that usually recur relative to each other. The collective symbols, words and phrases provide a language model of the input data, which allows the behavior recognition system to learn, understand and analyze the data without any preconception of the input data before initialization.

[0071] Figure 5 A method for processing symbols generated from input data according to one embodiment is shown. Method 500 begins at step 505, where the lexical analyzer component 219 receives a stream of symbols from the mapper component 218. As described, each symbol is assigned to a cluster of standardized numerical values ​​representing data input from a source (e.g., a video source, a network security source, etc.). Therefore, the combination of symbols observed in the stream can represent words used to describe the data.

[0072] At step 510, the lexical analyzer component 219 recognizes words based on the hierarchical learning model 410. Each level of the learning model 410 corresponds to the length of the words to be recognized from the symbol stream. At each level, the lexical analyzer component 219 evaluates the statistics of each recognized word, such as the frequency with which the word appears in the symbol stream. The lexical analyzer component 219 uses this statistical information to identify a statistical significance score for each candidate word at a given level. Figure 6 Step 510 is further described.

[0073] At step 515, the lexical analyzer component 219 generates occurrences of words based on statistically significant feature patterns identified in the learning model 410 with respect to the complete set of possible candidate feature patterns abstracted from the input symbol stream and having a statistical significance score exceeding a given threshold. For example, suppose that the lexical analyzer component 219 frequently observes a given word pattern, i.e., a feature pattern. Such a pattern is likely to have a statistical significance score exceeding a threshold. Fig. 7A , 7B 7C provide a more detailed example. In this case, when a word pattern is observed in the token stream, the lexical analyzer component 219 generates the word pattern. At step 520, the lexical analyzer component 219 outputs the tokens, the generated words, and statistical information (e.g., statistical significance scores, rarity scores, frequency of occurrence, timestamps, etc.) to the PAM component 220. The PAM component 220 derives phrases from the words that further describe the input data.

[0074] Figure 6 A method 600 for building a dictionary of words from a stream of symbols representing input data according to one embodiment is shown. More specifically, the method 600 describes hierarchical learning of symbol combinations. The method 600 begins at step 605, where the lexical analyzer component 219 determines words (i.e., combinations of symbols) of a length corresponding to the current level of the learning model 410. As described, the level of the learning model 410 indicates a specific length of words to be recognized at that level. For example, at the first level, the lexical analyzer component 219 can recognize words with a length of one symbol. At the fifth level, the lexical analyzer component 219 can recognize words with a length of five. In practice, a learning model 410 with five levels has proven to be effective.

[0075] At step 610, the lexical analyzer component 219 evaluates the statistics of each word as it appears in the current input window. Such statistics may include the frequency of occurrence in the stream. Doing so allows the lexical analyzer component 219 to identify the most common (and uncommon) words from the complete combination of possible situations given by the input stream. The most common words are then summarized to identify the most common feature combinations. Using the feature combinations in the generation algorithm 420, the lexical analyzer component 219 generates specific and unknown words that match such a pattern. In addition, the lexical analyzer component 219 can strengthen (i.e., update) the statistics of previously recognized words.

[0076] In one embodiment, the lexical analyzer component 219 evaluates a statistical significance score for each candidate word observed for the current input window. The statistical significance score can be based on how often the lexical analyzer component 219 has observed a given word. As each word is observed in the symbol stream, the lexical analyzer component 219 uses the statistical significance score of the word to determine a rarity score to output to the PAM component 220. That is, the lexical analyzer component 219 outputs the statistical significance score assigned to the words observed in the input stream.

[0077] Similarly, the lexical analyzer component 219 evaluates a rarity score for each word based on how frequently the word is observed in the symbol stream by the lexical analyzer component 219. A high rarity score indicates that the word is not frequently observed in the symbol stream. The lexical analyzer component 219 determines a rarity score based on how frequently a particular word is observed in historical data.

[0078] At step 615, the lexical analyzer component 219 identifies statistically significant words. A word may be statistically significant if the lexical analyzer component 219 has observed the word relatively frequently in the input stream of symbols. Statistical significance may be based on frequency, which is how often a word appears relative to other recognizable words based on the maximum size of the dictionary. As described, the lexical analyzer component 219 determines which words to output to the PAM component 220 based on the identified statistically significant feature patterns (i.e., patterns that are frequently observed in the symbol stream). For example, the lexical analyzer component 219 may determine that a feature pattern that is frequently observed in the symbol stream may have a statistical significance score that exceeds a threshold.

[0079] At step 620, the lexical analyzer component 219 determines whether the highest level has been reached. If the highest level has not been reached, the lexical analyzer component 219 increments the level by calling the expansion algorithm 415. The lexical analyzer component 219 inputs the identified words with significance scores exceeding the threshold into the next learning model 410. The lexical analyzer component 219 continues to perform steps 605 to 620 until the highest level word has been identified.

[0080] At step 625, the lexical analyzer component 219 generates a feature model for the identified words. The feature model includes the summary results of the statistically significant words identified by the learning model 410. In order to summarize the words, the lexical analyzer component 219 identifies the symbols in each word and abstracts each symbol into its general features. For example, assume that three features f1, f2 and f3 are identified by the mapper component 218. Further, each feature has two associated symbols, so that f1 = {A, B}, f2 = {C, D} and f3 = {E, F}. Assume that the lexical analyzer component 219 frequently observes the words AC, BC and CE. Therefore, the summarized feature combination of AC is f1f2, the summarized feature combination of BC is f1f2, and the summarized feature combination of CD is f2f3. The generated feature model allows the lexical analyzer component 219 to evaluate the statistical information of the summarized words appearing in the input stream. In addition, the feature model allows the lexical analyzer component 219 to identify abnormal words. For example, AD, BD, and DF are mapped to feature combinations f1f2, f1f2, and f2f3, respectively, but can still be anomalous if they are not frequently observed.

[0081] 7A to 7C An example of a lexical analyzer component 219 that learns words at different levels according to one embodiment is shown. For example, Fig. 7A An example of a lexical analyzer component 219 learning words at a first level is shown. Illustratively, a stream of symbols {A, B, C, D, E, F} is passed into a learning model 410. At the first level, the lexical analyzer component 219 recognizes simple words having a length of one symbol. Illustratively, the outputs obtained from the learning model 410 are the words A, B, C, D, E, and F.

[0082] Further, Figure 7B The lexical analyzer component 219 that identifies words based on the learning model 410 of the second level is shown. In such an example, the lexical analyzer component 219 identifies words with a length of two symbols. In order to do this, the lexical analyzer component 219 uses the statistically significant words (that is, words A, B, C, D, E and F) identified at the lower level as input to call the expansion algorithm 415. Illustratively, the lexical analyzer component 219 identifies the statistically significant word set obtained by the learning model 410, for example, AB, AD, AE, etc. That is, at the second level, the learning model identifies all reasonable combinations from a word of a letter, and evaluates the frequency of these combinations occurring in the stream. That is, the expansion algorithm determines whether the combination is feasible (viable) based on the mathematical consistency standard. Frequently occurring words have statistical significance. At each level, each statistically significant word represents a more complex term than the word identified at the lower level.

[0083] Continuing with the example, Figure 7C The lexical analyzer component 219 is shown identifying words based on the third level learning model 410. In this example, the lexical analyzer component 219 identifies words having a length of two symbols based on input words from the first level learning model 410 and the second level learning model 410. The lexical analyzer component 219 calls the expansion algorithm 415. Illustratively, the lexical analyzer component 219 identifies a resulting set of statistically significant words via the learning model 410, e.g., ADB, ABE, etc. Each of the identified words represents a more complex term than the words identified at the lower levels.

[0084] Figure 8 An example for outputting words to the perceptual associative memory component 220 according to one embodiment is shown. As described, the mapper component 218 sends a stream of symbols to the lexical analyzer component 219. Illustratively, the lexical analyzer component 219 receives the stream of symbols {A, B, C, D, E, F}. The lexical analyzer component 219 determines statistically related words (i.e., combinations of symbols) through the hierarchical learning model 410. Once the statistically related words are determined, the lexical analyzer component 219 calls the generation algorithm 420.

[0085] In one embodiment, the generation algorithm 419 outputs statistically relevant words, symbols, and associated statistical information (e.g., statistical significance scores, frequencies, rarity scores) to the PAM component 220. In this example, the words {A, AB, ADB, ...} are output.

[0086] One embodiment of the present disclosure is implemented as a program product for use with a computer system. The (one or more) programs of the program product define the functions of the embodiments (including the methods described herein) and can be contained on various computer-readable storage media. Examples of computer-readable storage media include (i) non-writable storage media on which information is permanently stored (e.g., a read-only memory device within a computer, such as a CD-ROM or DVD-ROM disk that can be read by an optical media drive); (ii) writable storage media on which changeable information is stored (e.g., a floppy disk within a hard drive or floppy disk drive). When carrying computer-readable instructions that direct the functions of the present disclosure, such a computer-readable storage medium is an embodiment of the present disclosure. Other example media include communication media through which information is transported to a computer (such as through a computer or telephone network including a wireless communication network).

[0087] In general, the routine executed to realize the embodiments of the present disclosure can be a part of an operating system or a specific application, component, program, module, object or instruction sequence. The computer program of the present disclosure is typically composed of many instructions, which are converted into a machine-readable format and thus converted into executable instructions by the native computer. In addition, the program is composed of variables and data structures, which either reside locally in the program or can be found in a memory or storage device. In addition, the various programs described herein can be identified based on the application for which these programs are implemented in the specific embodiments of the present disclosure. However, it should be understood that any of the following specific program nomenclature is used only for convenience, and therefore the present disclosure should not be limited to use in any specific application that is only identified and / or implied by this nomenclature.

[0088] As described, embodiments herein provide techniques for constructing a dictionary of words from symbols representing data input from a source (e.g., a video source, a SCADA source, a network security source, etc.) via a neurolinguistic behavior recognition system. Once generated, the behavior recognition system builds syntax. Symbols, words, and syntax form the basis of a language model for describing the input data observed by the behavior recognition system. The behavior recognition system analyzes and learns behavior based on the language model to distinguish between normal and abnormal activities in the observed data. Advantageously, this approach does not rely on predefined patterns to identify behavior and anomalies, but instead learns patterns and behaviors by observing scenes and generating information about what it observes.

[0089] While the foregoing is directed to embodiments of the present disclosure, other and yet further embodiments of the disclosure may be devised without departing from the basic scope thereof, and the scope of the same is determined by the following claims.

Claims

1. A computer-implemented method comprising: receiving, via a processor, from a graphics processing unit (GPU), a first stream of symbols, each symbol in the first stream of symbols being associated with a cluster of vectors generated from normalized data associated with a plurality of video frames including representations of objects; identifying, via the processor, a plurality of statistically significant machine-readable words based on a hierarchical learning model having a plurality of levels, each level in the plurality of levels being associated with a different word length, each machine-readable word in the plurality of machine-readable words representing a combination of symbols recurring in the first symbol stream; calculating, via the processor, a rarity score for each of the plurality of machine-readable words to produce a plurality of rarity scores, each rarity score of the plurality of rarity scores being represented by a probability histogram model, the calculating being based on a statistical significance of the machine-readable word; evaluating, via the processor, machine-readable words in a second symbol stream to identify a rarity score for the machine-readable words in the second symbol stream from the plurality of rarity scores; identifying unusual activity of the subject based on the rarity scores of the machine-readable words in the second symbol stream; as well as In response to identifying the abnormal activity of the object, alert data is sent to an output device, the alert data including an indication of the abnormal activity.

2. The computer-implemented method of claim 1 , further comprising: A representation of the plurality of machine-readable words and statistical information associated with each of the plurality of machine-readable words are output.

3. The computer-implemented method of claim 1, wherein: For each machine-readable word in the plurality of machine-readable words, a statistical significance of the machine-readable word is identified based on a frequency at which the machine-readable word is observed in the first symbol stream.

4. The computer-implemented method of claim 1, wherein: The plurality of machine-readable words is a first plurality of machine-readable words, the method further comprising: determining a second plurality of machine-readable words from combinations of symbols in the second symbol stream based on the hierarchical learning model; and Via the hierarchical learning model, statistical information associated with the first plurality of machine-readable words is updated based on the second plurality of machine-readable words.

5. The computer-implemented method of claim 1, further comprising generating a feature model from the plurality of machine-readable words, the feature model comprising summary results for machine-readable words in the plurality of machine-readable words that are statistically significant.

6. The computer-implemented method of claim 1 , further comprising generating a feature model based on the plurality of machine-readable words by: identifying features associated with a cluster of vectors associated with each symbol in the first stream of symbols; and One or more machine-readable words of the plurality of machine-readable words are summarized based on the feature.

7. The computer-implemented method of claim 1, wherein: Identifying the plurality of machine-readable words that are statistically significant is based on statistical information associated with each of the plurality of candidate words.

8. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to: receiving a first stream of symbols from a graphics processing unit (GPU), each symbol being associated with a cluster of vectors generated from normalized data associated with a plurality of video frames including representations of objects; identifying a statistically significant plurality of machine-readable words based on a hierarchical learning model having a plurality of levels, each level in the plurality of levels being associated with a different word length, each machine-readable word in the plurality of machine-readable words representing a combination of symbols recurring in the first symbol stream; calculating a rarity score for each machine-readable word in the plurality of machine-readable words to produce a plurality of rarity scores, each rarity score in the plurality of rarity scores being represented by a probability histogram model, the calculating being based on a statistical significance of the machine-readable word; evaluating machine-readable words in a second symbol stream to identify a rarity score for the machine-readable words in the second symbol stream from the plurality of rarity scores; identifying unusual activity of the subject based on the rarity scores of the machine-readable words in the second symbol stream; as well as In response to identifying the abnormal activity of the object, alert data is sent to an output device, the alert data including an indication of the abnormal activity.

9. The computer-readable storage medium of claim 8 further storing instructions that, when executed by the processor, cause the processor to output a representation of the plurality of machine-readable words and statistical information associated with each of the plurality of machine-readable words.

10. The computer-readable storage medium of claim 8, wherein: The statistical significance is identified based on a frequency at which the machine-readable words are observed in the first symbol stream.

11. The computer-readable storage medium of claim 8, wherein: The plurality of machine-readable words is a first plurality of machine-readable words, the computer-readable storage medium further storing instructions that, when executed by the processor, cause the processor to: determining a second plurality of machine-readable words from combinations of symbols in the second symbol stream based on the hierarchical learning model; and Via the hierarchical learning model, statistical information associated with the first plurality of machine-readable words is updated based on the second plurality of machine-readable words.

12. The computer-readable storage medium of claim 8, further storing instructions that, when executed by the processor, cause the processor to generate a feature model from the plurality of machine-readable words, the feature model comprising summary results of machine-readable words among the plurality of machine-readable words that are statistically significant.

13. The computer-readable storage medium of claim 8 further storing instructions, which, when executed by the processor, cause the processor to generate a feature model based on the plurality of machine-readable words by: identifying features associated with a cluster of vectors associated with each symbol in the first stream of symbols; and One or more machine-readable words of the plurality of machine-readable words are summarized based on the feature.

14. The computer-readable storage medium of claim 8, wherein: The instructions for identifying the plurality of machine-readable words that are statistically significant include instructions for evaluating statistical information for each candidate word in a plurality of candidate words.

15. A computer system comprising: processor; a memory storing processor-executable instructions, wherein the processor-executable instructions, when executed by the processor, cause the processor to: receiving a first stream of symbols from a graphics processing unit (GPU), each symbol being associated with a cluster of vectors generated from normalized data associated with a plurality of video frames including representations of objects; identifying a statistically significant plurality of machine-readable words based on a hierarchical learning model having a plurality of levels, each level in the plurality of levels being associated with a different word length, each machine-readable word in the plurality of machine-readable words representing a combination of symbols recurring in the first symbol stream; calculating a rarity score for each machine-readable word in the plurality of machine-readable words to produce a plurality of rarity scores, each rarity score in the plurality of rarity scores being represented by a probability histogram model, the calculating being based on a statistical significance of the machine-readable word; evaluating machine-readable words in a second symbol stream to identify a rarity score for the machine-readable word in the second symbol stream from the plurality of rarity scores; identifying unusual activity of the subject based on the rarity scores of the machine-readable words in the second symbol stream; as well as In response to identifying the abnormal activity of the object, alert data is sent to an output device, the alert data including an indication of the abnormal activity.

16. The computer system of claim 15, wherein: The memory also stores instructions that, when executed by the processor, cause the processor to output a representation of the plurality of machine-readable words and statistical information associated with each of the plurality of machine-readable words.

17. The computer system of claim 15, wherein: The plurality of machine-readable words is a first plurality of machine-readable words, the memory further storing instructions that, when executed by the processor, cause the processor to: determining a second plurality of machine-readable words from combinations of symbols in the second symbol stream based on the hierarchical learning model; and Via the hierarchical learning model, statistical information associated with the first plurality of machine-readable words is updated based on the second plurality of machine-readable words.

18. The computer system of claim 15, wherein: The memory also stores instructions that, when executed by the processor, cause the processor to generate a feature model from the plurality of machine-readable words, the feature model including summary results for machine-readable words in the plurality of machine-readable words that are statistically significant.

19. The computer system of claim 15, wherein: The memory further stores instructions, which, when executed by the processor, cause the processor to generate a feature model based on the plurality of machine-readable words by: identifying features associated with a cluster of vectors associated with each symbol in the first symbol stream; One or more machine-readable words of the plurality of machine-readable words are summarized based on the feature.

20. The computer system of claim 15, wherein: The instructions for identifying the plurality of machine-readable words that are statistically significant include instructions for evaluating statistical information for each candidate word in a plurality of candidate words.