US20070192267A1 - Architecture of a hierarchical temporal memory based system - Google Patents
Architecture of a hierarchical temporal memory based system Download PDFInfo
- Publication number
- US20070192267A1 US20070192267A1 US11/351,437 US35143706A US2007192267A1 US 20070192267 A1 US20070192267 A1 US 20070192267A1 US 35143706 A US35143706 A US 35143706A US 2007192267 A1 US2007192267 A1 US 2007192267A1
- Authority
- US
- United States
- Prior art keywords
- htm
- present
- node
- htm network
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/047—Probabilistic or stochastic networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/049—Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/02—Knowledge representation; Symbolic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N7/00—Computing arrangements based on specific mathematical models
- G06N7/01—Probabilistic graphical models, e.g. probabilistic networks
Definitions
- a “machine” is a system or device that performs or assists in the performance of at least one task. Completing a task often requires the machine to collect, process, and/or output information, possibly in the form of work.
- a vehicle may have a machine (e.g., a computer) that is designed to continuously collect data from a particular part of the vehicle and responsively notify the driver in case of detected adverse vehicle or driving conditions.
- a machine is not “intelligent” in that it is designed to operate according to a strict set of rules and instructions predefined in the machine.
- a non-intelligent machine is designed to operate deterministically; should, for example, the machine receive an input that is outside the set of inputs it is designed to recognize, the machine is likely to, if at all, generate an output or perform work in a manner that is not helpfully responsive to the novel input.
- Machine learning refers to the ability of a machine to autonomously infer and continuously self-improve through experience, analytical observation, and/or other means.
- Machine learning has generally been thought of and attempted to be implemented in one of two contexts: artificial intelligence and neural networks.
- Artificial intelligence at least conventionally, is not concerned with the workings of the human brain and is instead dependent on algorithmic solutions (e.g., a computer program) to replicate particular human acts and/or behaviors.
- a machine designed according to conventional artificial intelligence principles may be, for example, one that through programming is able to consider all possible moves and effects thereof in a game of chess between itself and a human.
- Neural networks attempt to mimic certain human brain behavior by using individual processing elements that are interconnected by adjustable connections.
- the individual processing elements in a neural network are intended to represent neurons in the human brain, and the connections in the neural network are intended to represent synapses between the neurons.
- Each individual processing element has a transfer function, typically non-linear, that generates an output value based on the input values applied to the individual processing element.
- a neural network is “trained” with a known set of inputs and associated outputs. Such training builds and associates strengths with connections between the individual processing elements of the neural network. Once trained, a neural network presented with a novel input set may generate an appropriate output based on the connection characteristics of the neural network.
- a system comprises: an HTM network executable at least in part on a CPU; and a first entity arranged to manage a communication between a user application and the part of the HTM network executable on the CPU.
- a software platform comprises: a runtime engine arranged to run an HTM network; a first interface accessible by a set of tools to at least one of configure, design, train, debug, modify, and deploy the HTM network; and a second interface accessible to extend a functionality of the runtime engine.
- a method of performing operations comprises: accessing, via an interface, a computer system capable of running an HTM network; and at least one of creating, designing, training, modifying, debugging, and deploying the HTM network dependent on the accessing.
- FIG. 1 shows a flow of data between an object and a human.
- FIG. 2 shows an HTM in accordance with an embodiment of the present invention.
- FIG. 3 shows a node in accordance with an embodiment of the present invention.
- FIG. 4 shows a flow process in accordance with an embodiment of the present invention.
- FIG. 5 shows an operation of a sequence learner in accordance with an embodiment of the present invention.
- FIG. 6 shows a flow process in accordance with an embodiment of the present invention.
- FIGS. 7A-7E show representations in accordance with an embodiment of the present invention.
- FIG. 8 shows a representation in accordance with an embodiment of the present invention.
- FIG. 9 shows a representation in accordance with an embodiment of the present invention.
- FIG. 10 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 11 shows a flow process in accordance with an embodiment of the present invention.
- FIG. 12 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 13 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 14 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 15 shows a flow process in accordance with an embodiment of the present invention.
- FIG. 16 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 17 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 18 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 19 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 20 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 21 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 22 shows an inheritance diagram in accordance with an embodiment of the present invention.
- FIG. 23 shows a flow process in accordance with an embodiment of the present invention.
- FIG. 24 shows a flow process in accordance with an embodiment of the present invention.
- FIG. 25 shows a flow process in accordance with an embodiment of the present invention.
- FIG. 26 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention.
- FIG. 27 shows a computer system in accordance with an embodiment of the present invention.
- An “object” is at least partially defined as having some persistent structure over space and/or time.
- an object may be a car, a person, a building, an idea, a word, a song, or information flowing in a network.
- an object in the world 10 may also be referred to as a “cause” in that the object causes particular data to be sensed, via senses 12 , by a human 14 .
- the smell (sensed input data) of a rose (object/cause) results in the recognition/perception of the rose.
- the image (sensed input data) of a dog (object/cause) falling upon a human eye results in the recognition/perception of the dog.
- sensed input data caused by an object change over space and time, humans want to stably perceive the object because the cause of the changing sensed input data, i.e., the object itself, is unchanging.
- the image (sensed input data) of a dog (object/cause) falling upon the human eye may change with changing light conditions and/or as the human moves; yet, however, the human is able to form and maintain a stable perception of the dog.
- HTM hierarchical temporal memory
- An HTM is a hierarchical network of interconnected nodes that individually and collectively (i) learn, over space and time, one or more causes of sensed input data and (ii) determine, dependent on learned causes, likely causes of novel sensed input data. HTMs, in accordance with one or more embodiments of the present invention, are further described below with reference to FIGS. 2-27 .
- HTM 20 has several levels of nodes.
- HTM 20 has three levels L 1 , L 2 , L 3 , with level L 1 being the lowest level, level L 3 being the highest level, and level L 2 being between levels L 1 and L 3 .
- Level L 1 has nodes 22 , 24 , 26 , 28 ;
- level L 2 has nodes 30 , 32 , and
- level L 3 has node 34 .
- the nodes 22 , 24 , 26 , 28 , 30 , 32 , 34 are hierarchically connected in a tree-like structure such that each node may have several children nodes (i.e., nodes connected at a lower level) and one parent node (i.e., node connected at a higher level).
- Each node 22 , 24 , 26 , 28 , 30 , 32 , 34 may have or be associated with a capacity to store and process information.
- each node 22 , 24 , 26 , 28 , 30 , 32 , 34 may store sensed input data (e.g., sequences of patterns) associated with particular causes.
- each node 22 , 24 , 26 , 28 , 30 , 32 , 34 may be arranged to (i) propagate information “forward” (i.e., “up” an HTM hierarchy) to any connected parent node and/or (ii) propagate information “back” (i.e., “down an HTM hierarchy) to any connected children nodes.
- Inputs to the HTM 20 from, for example, a sensory system are supplied to the level L 1 nodes 22 , 24 , 26 , 28 .
- a sensory system through which sensed input data is supplied to level L 1 nodes 22 , 24 , 26 , 28 may relate to commonly thought-of human senses (e.g., touch, sight, sound) or other human or non-human senses.
- the range of sensed input data that each of the level L 1 nodes 22 , 24 , 26 , 28 is arranged to receive is a subset of an entire input space. For example, if an 8 ⁇ 8 image represents an entire input space, each level L 1 node 22 , 24 , 26 , 28 may receive sensed input data from a particular 4 ⁇ 4 section of the 8 ⁇ 8 image.
- Each level L 2 node 30 , 32 by being a parent of more than one level L 1 node 22 , 24 , 26 , 28 , covers more of the entire input space than does each individual level L 1 node 22 , 24 , 26 , 28 . It follows that in FIG.
- the level L 3 node 34 covers the entire input space by receiving, in some form, the sensed input data received by all of the level L 1 nodes 22 , 24 , 26 , 28 . Moreover, in one or more embodiments of the present invention, the ranges of sensed input data received by two or more nodes 22 , 24 , 26 , 28 , 30 , 32 , 34 may overlap.
- HTM 20 in FIG. 2 is shown and described as having three levels, an HTM in accordance with one or more embodiments of the present invention may have any number of levels.
- the hierarchical structure of an HTM may be different than that shown in FIG. 2 .
- an HTM may be structured such that one or more parent nodes have three children nodes as opposed to two children nodes like that shown in FIG. 2 .
- an HTM may be structured such that a parent node in one level of the HTM has a different number of children nodes than a parent node in the same or another level of the HTM.
- an HTM may be structured such that a parent node receives input from children nodes in multiple levels of the HTM.
- a parent node receives input from children nodes in multiple levels of the HTM.
- HTM-based system Any entity that uses or is otherwise dependent on an HTM as, for example, described above with reference to FIG. 2 and below with reference to FIGS. 3-27 , may be referred to as an “HTM-based” system.
- an HTM-based system may be a machine that uses an HTM, either implemented in hardware or software, in performing or assisting in the performance of a task.
- an HTM discovers one or more causes in its world from sensory input data received by the HTM.
- an HTM does not necessarily have a sense particular to each of the types of causes being sensed; instead, an HTM may discover from raw sensed input data that causes such as cars and words exist. In such a manner, an HTM is able to learn and form representations of causes existing in its world.
- an “object” has persistent structure.
- the persistent structure causes persistent patterns to be sensed by an HTM.
- Each sensed input pattern has a spatial attribute.
- each sensed input pattern may be thought of as being represented as a particular set of bits.
- a node in an HTM “learns,” i.e., stores and associates with a common cause, sensed input patterns by determining “coincidences” of sensed input patterns in its input. Determining coincidences of sensed input patterns involves determining which sensed input patterns are active at the same time at a rate statistically greater than what would be expected based on mere chance. For example, if an HTM node having one hundred inputs has seven inputs that become active together at some statistically significant rate, then the HTM node learns the sensed input patterns at
- an HTM node may not be necessary for an HTM node to learn all sensed input patterns occurring together at some statistically significant rate. Instead, an HTM node may store the x most common sensed input patterns found in its input. These learned sensed input patterns may be referred to as “quantization points” of the HTM node.
- the HTM node learns common sequences of those learned sensed input patterns.
- a particular sequence of learned sensed input patterns may be learned by recognizing that the sequence occurs at a rate statistically greater than what would be expected based on mere chance. For example, if of fifty sensed input patterns learned by an HTM node, three occur in a particular order at some statistically significant rate, then the HTM node may learn that sequence of sensed input patterns.
- an HTM node may not be necessary for an HTM node to learn all sequences occurring at some statistically significant rate. Instead, an HTM node may store the x most frequent sequences found in its input.
- the sequences learned by an HTM node may each be represented by a variable. As each learned sequence is associated with a particular cause, each variable accordingly represents a different cause.
- the HTM node may pass each of its variables up to a parent node via a vector containing probabilities as to the likelihood that each of its learned sequences is active at its input at a given time.
- the parent node may then (i) determine coincidences of its sensed input patterns (i.e., the variables received from its child node), (ii) learn sensed input patterns as described above, and (iii) learn sequences of learned sensed input patterns (i.e., learn sequences of variables representing sequences learned by its child node).
- FIG. 3 shows a node 40 having a sequence learning functionality.
- the node 40 has a coincidence detector 42 and a sequence learner 44 .
- the coincidence detector 42 receives some input 46 .
- the coincidence detector 42 identifies coincidences among its input.
- the coincidence detector 42 outputs a distribution P(e ⁇ t
- y) is a vector in which each entry corresponds to a different y, where y represents some state of a world to which node 40 is exposed.
- y) is P(e ⁇ t
- the second entry is P(e ⁇ t
- the sequence learner 44 Based on the distributions outputted over time by the coincidence detector 42 , the sequence learner 44 outputs a distribution P(e ⁇ t
- y represents some state of a world. Those skilled in the art will note that the statistical nature of the world is such that these states are likely to occur in particular sequences over time.
- a sequence learner e.g., 44 in FIG. 3
- the sequence learner is arranged to collect statistics on its learned sequences ST 52 and then, based on its learned sequences and statistics thereof, compute probability distributions (as described above) ST 54 .
- a sequence learner may have a particular number noutputs of outputs. Although the sequence learner may identify more sequences than it has outputs, only noutputs may be represented at the output of the sequence learner. In other words, every sequence identified by the sequence learner may not be uniquely represented at the output of the sequence learner. Thus, it follows that the sequence learner may be arranged to allocate, or “map,” its limited number of outputs among a larger number of identified sequences.
- mapping may be motivated by one or more of the following priorities: desiring frequently occurring sequences; desiring differentiated sequences (in an effort to, for example, not waste outputs on sequences that are substantially similar); and desiring a minimum disruption to the meanings associated with the outputs (in an effort to, for example, enable stable learning at a higher level).
- a sequence learner may have to calculate the probability that a particular sequence of elements has been received over time up until time t. For example, to determine the probability that the sequence ‘y 4 y 2 y 3 ’ has occurred over the last three samples (i.e., over the last three time steps), a sequence learner may multiply P(e ⁇ t-2
- the product of such a multiplication operation represents a “soft” count of the probability of having observed ‘y 4 y 2 y 3 ’.
- each input state has some probability associated with it (e.g., in FIG. 5 , at any time t, each of input states y 1 -y 4 has an associated probability), for every time t, there is some probability that any one of the possible sequences has been observed.
- the sequence learner may consider a certain number of input states in each input sample, where that certain number is parameterized by some value para. Such treatment may narrow the number of possible updates to a base of para instead of a base of the number ninputs of inputs to the sequence learner.
- a search space of a sequence learner may be reduced, or otherwise controlled, by considering only those sequences of a given length that have been identified as potentially frequent from observations of shorter sequences. For example, the sequence learner may count likely 2-sequences (i.e., sequences of 2 elements) over a certain number window[ 2 ] of input samples. The resulting frequent 2-sequences may be used to generate candidate 3-sequences (i.e., sequences of 3 elements), whereupon, only these candidate 3-sequences are counted over a certain number window[ 3 ] of input samples. This process may continue until reaching a number MaxL representing the maximum length sequence to be considered by the sequence learner. In one or more other embodiments of the present invention, the sequence learner may have a different stopping point. For example, the sequence learner may use the statistics of its input to determine the maximum sequence length to consider.
- Determining likely sequences as described above may be dependent on a “coherence time,” which is the time over which the statistics of inputs remain constant.
- a coherence time is the time over which the statistics of inputs remain constant.
- the time required to generate likely sequences up to some maximum length may have to be less than the coherence time. If the time required to identify sequences of a certain length becomes longer than the coherence time, then in one or more embodiments of the present invention, “batch” processing, instead of on-line processing, may be used. Batch processing may involve identifying k-sequences (i.e., sequences of length k) by looping back over the same input used to identify the k ⁇ 1-sequences (i.e., sequences of length k ⁇ 1).
- a sequence learner may keep the associated counts in a table st_table.
- a table st_table ⁇ 3 ⁇ may be as follows: Count Sequence 103.92 121 8.67 224 82.50 231 167.02 312 220.45 423 14.32 412
- FIG. 6 shows a flow process for building a table st_table in accordance with an embodiment of the present invention.
- table st_table ⁇ k ⁇ for each k-sequence received in an input to a sequence learner, if a certain number window[k] of input samples has not yet been sampled ST 60 , the table st_table ⁇ k ⁇ is searched for the k-sequence ST 62 , ST 64 . If the k-sequence is already identified by table st_table ⁇ k ⁇ , then the corresponding count is appropriately incremented by the soft count for the k-sequence ST 66 , ST 68 .
- the least common k-sequences may be removed ST 72 , i.e., all but the top x sequences may be removed, where x represents a maximum number of sequences that may be kept in table st_table ⁇ k ⁇ after counting sequences of length k.
- the resulting table st_table ⁇ k ⁇ may then be used to generate candidate sequences for table st_table ⁇ k+1 ⁇ (generating candidate sequences further described below) ST 73 , whereupon the process shown in FIG. 6 may be repeated for table st_table ⁇ k+1 ⁇ . Further, in one or more embodiments of the present invention, the process shown in FIG. 6 may not be performed for every k-sequence.
- a table lt_table of long-term counts may be created and used.
- a sequence learner may only consider those sequences of a given length that have been identified as potentially frequent from observations of shorter sequences. In other words, for example, if S i is a frequent 3-sequence, then it is likely that each subsequence of S i of length 2 is also frequent. Conversely, if a 2-sequence is infrequent, then it is unlikely that any of its 3-length super-sequences are frequent. Thus, the sequence learner may consider only those 3-sequences of which each 2-length subsequence is frequent.
- a sequence learner may determine candidate k-sequences from a set of frequent k ⁇ 1-sequences using, for example, a “join” operation.
- Candidate k-sequences are those for which the first k ⁇ 1 samples and the last k ⁇ 1 samples are frequent.
- a join operation may search for a k ⁇ 1-sequence S j in table st_table ⁇ k ⁇ 1 ⁇ , where the first k ⁇ 2 elements of S j are the same as the last k ⁇ 2 elements of S i .
- the join operation searches table st_table ⁇ 3 ⁇ for a 3-sequence whose first 2 elements match the last two elements of the taken ‘121’ 3-sequence. Because there are no 3-sequences that meet this condition with respect to the taken ‘121’ 3-sequence, the join operation may next take, for example, the 3-sequence ‘312.’ For this taken sequence, the join operation finds that the first two elements of the ‘121’ 3-sequence matches the last two elements of the taken ‘312’ sequence.
- join operation then concatenates the taken ‘312’ 3-sequence with the last element in the found ‘121’ 3-sequence to yield a candidate 4-sequence of ‘3121’ in table st_table ⁇ 4 ⁇ .
- one or more operations other than a join operation may be used to generate candidate k-sequences.
- each output of a sequence learner represents a particular learned sequence. Considering that the sequence learner is continuously identifying the most likely sequences to represent at its outputs, old sequences may need to be replaced by newer sequences that are more frequent. If there are multiple old sequences that are less frequent than a new sequence, the sequence learner may replace one or more of the multiple old sequences based on some criteria. For example, the sequence learner may first remove any old sequences having a length of 1.
- sequence learner may, for example, remove an old sequence based on its similarity to a new sequence.
- the similarity of sequences may be determined based on some distance metric.
- the sequence learner may determine the similarities of sequences using some minimum Hamming distance metric.
- the Hamming distance may be defined as the number of single-entry changes needed to be made to one sequence to reach another sequence, including changes to “empty” slots either before or after the sequence (but not both). For example, if an old sequence is ‘1234’, and the new sequence is ‘1235’, the Hamming distance is 1.
- a distance metric may consider all possible shifts of one sequence relative to the other. For those element indices that overlap in a given shift, ‘0’ may be counted if the elements match, and ‘1’ may be counted if the elements do not match. This number is added to the number of elements that do not align with any element of the other sequence. For example, if an old sequence is ‘1234’, and the new sequence is ‘345’, the result of the distance metric may be determined as 2. Those skilled in the art will note that various distance metrics may be created and/or used to determine the similarity between two sequences.
- a sequence learner may, for example, remove an old sequence based on the count (i.e., occurrence frequency) of the old sequence. More particularly, old sequences with lower counts may be replaced before old sequences with higher counts.
- a sequence learner may limit how different old and new sequences can be before an old sequence is replaced. In other words, if an old sequence is relatively very different than a new sequence, the sequence learner may prevent that old sequence from being replaced by the new sequence. Such control may promote stable learning at higher levels.
- counts associated with subsequences of the old sequence may be removed from a corresponding table st_table.
- the sequence learner may collect statistics on the represented sequences. For example, the sequence learner may identify the a priori probability of a particular sequence and/or the transition probability between sequences.
- a sequence learner identifies the most likely sequences to represent at its output as described above. As described above, the sequence learner is further arranged to compute the probability of actually being in each of the represented sequences given the inputs received over time by the sequence learner.
- a node in an HTM may coalesce both space and time when learning causes.
- a higher level parent node is able to learn higher level causes by coalescing both space and time over a larger input space.
- higher level nodes learn causes that cover larger areas of input space and longer periods of time than lower level nodes. For example, one or more nodes in a lowest level of an HTM may learn causes associated with a price of a particular stock, whereas one or more nodes in a higher level of the HTM may learn causes associated with overall stock market fluctuations.
- computing the output probability over a learned sequence may be dependent on ⁇ (gamma).
- ⁇ (S, I) may be represented as shown in FIG. 7A .
- each entry (S i , I m ) in a gamma matrix represents the probability that the current input vector corresponds to the I m th element of sequence S i .
- Each gamma may be determined based solely on the previous gamma and the input vector. Further, even though the result may depend on the input history of all past inputs, only the result from the previous time-step may need to be considered as the result of the previous time-step implicitly contains all relevant information from all previous time-steps.
- the total probability of sequence S i may be determined as the sum across the i th row of the gamma matrix (normalized by the prior probability of the sequence).
- an overall sequence probability in terms of gamma may be represented as follows: P ⁇ ( e 0 - ⁇ ... ⁇ ⁇ e t -
- y t ) ⁇ ⁇ y t - 1 ⁇ [ ⁇ S j , I n ⁇ : ⁇ ⁇ y t - 1 S j ⁇ [ I n ] ⁇ ⁇ ⁇ ( S i , S j , I m , I n ) ⁇ ⁇ t - 1 ⁇ ( S j , I n ) ] , and where ⁇ ( S ⁇ ( e 0 -
- the previous input vector (though it contains a probability for every element y i ) represents a cause of y 2
- the current input vector represents y 1 .
- the expression for ⁇ (beta) may evaluate to a non-zero value for those entries in gamma that correspond to the elements y 2 and y 1 and time t ⁇ 1 and t, respectively. These may be referred to as “active cells” in the gamma matrix as further shown in FIG. 7B .
- a cell may not be enough for a cell to be active at time t to satisfy non-zero conditions given in beta.
- an active cell at time t may follow an active cell at time t ⁇ 1 in the same sequence.
- the beta function may simply multiply the value stored in the circled t ⁇ 1 cell by one.
- beta may just be one function in the expression for beta given above. There may also be a need to multiply the value in the circled t ⁇ 1 cell (at the non-headed of the arrow) shown in FIG. 7C by P(e t
- y t y 1 ), which is equivalent to the circled value in the input vector shown in FIG. 8 .
- the current element is the same, but now there may be an assumption that the previous element was y 4 instead of y 2 .
- the active cells are shown in FIG. 7D .
- the value in the cell circled at time t ⁇ 1 would be multiplied by A 0 and multiplied by the value corresponding to y 4 in the input vector, and the product would be added to the value stored in the circled cell at time t.
- the sequence learner may multiply the legal values from time t ⁇ 1 by the beta and then multiply by the corresponding value from the input vector. The result across all combinations of previous and current elements is then summed to reach a final gamma.
- each gamma is defined in terms of the previous gamma.
- ⁇ 0 ⁇ ( S i , I ) ⁇ y i ⁇ : ⁇ ⁇ T ⁇ ( y i ) ⁇ 0 ⁇ 1 T ⁇ ( y i ) ⁇ P ⁇ ( e t -
- a sequence learner may perform calculations that yield no useful results regarding the sequence to which an input vector belongs.
- gamma will become small over time. Even when high-probability elements correspond to legal paths along learned sequences, there may be some energy in the input that does not correspond to legal paths and is therefore not passed along to the output probabilities. Further, each transition multiplies by a factor of A 0 ⁇ 1, which may diminish the input. However, the accuracy of the sequence learner may not be affected if, for example, the probabilities in a gamma matrix (examples described above) are normalized to 1 . Thus, in one or more embodiments of the present invention, the output distribution of a sequence learner may simply be normalized to render accurate probabilities.
- gamma may be periodically normalized.
- Gamma may be normalized, for example, by dividing each entry in the matrix by a sum total of the entire matrix.
- a sequence learner may use one or more different operations or techniques to calculate output probabilities.
- a sequence learner may output a probability for an input sequence as opposed to for each input element. For example, if the sequence ‘123’ is received over time, the sequence learner may output a probability upon receiving the last element, i.e., ‘3’, in the sequence as opposed to outputting a probability for each element ‘1’, ‘2’, and ‘3’.
- a determination as to when a particular sequence ends and when to output the corresponding probability may depend on one or more various criteria. For example, in one or more embodiments of the present invention, if a transition probability (e.g., A 0 described above) meets a certain threshold, a sequence learner may then output a probability for the sequence received over time until meeting the threshold.
- a sequence learner may output a probability if a transition probability peaks (i.e., a fast rise followed by a fast fall, or vice-versa). Further, in one or more embodiments of the present invention, a sequence learner may output a probability if a correlation between distributions indicates that a new sequence has occurred. Further, in one or more embodiments of the present invention, a sequence learner may track a change in a “motion” (i.e., computations) of the sequence learner and then output a probability when there is a change inconsistent with the tracked motion.
- learning causes in an HTM-based system may involve learning patterns and sequences of patterns.
- patterns and sequences that occur frequently are stored and assigned to the same causes. For example, groups of patterns that occur frequently at some statistically significant rate may be assigned to the same cause. In the case of sequences, sequences that occur frequently at some statistically significant rate may be assigned to the same cause. Accordingly, learning causes may effectively entail mapping many patterns and/or sequences to a single cause. Such assigning of multiple patterns and/or sequences to a single cause may be referred to as “pooling.”
- pooling may be dependent on “spatial” similarities between two or more patterns (noting that a pattern may actually represent a sequence from a lower level).
- an HTM node may compare a spatial property of a received sensed input pattern with that of a learned sensed input pattern (or “quantization” point). If the two patterns are “similar enough” (i.e., have enough “overlap”), then the received sensed input pattern may be assigned to the same cause as that of the quantization point.
- a quantization point is equal to ‘10010110’
- a received sensed input pattern of ‘10011110’ may be assigned to the same cause as that of the quantization point due to there being a difference of only bit between the two patterns.
- the amount of similarity needed to perform such “spatial” pooling may vary within and/or among HTM-based systems.
- pooling may involve assigning patterns that occur in order to the same cause. For example, if an HTM node receives pattern A followed by pattern B followed by pattern D, then patterns A, B, and D may be assigned to the same cause as there is some likelihood that this sequence of patterns was caused by the same object. Accordingly, such “temporal” pooling enables the mapping of patterns, some or all of which may have no significant spatial overlap, to a single cause.
- pooling may involve learning the timing between received input patterns.
- an HTM node that learns a sequence of patterns A, B, and C may also learn the timing between the patterns in the sequence. Sequences having such timing are assigned to the same cause.
- an HTM node, and an HTM in general, may assign sequences to a cause based on rhythm (i.e., the timing relationship from one element in a sequence to the next element in the sequence) and/or tempo (i.e., the overall speed of the sequence).
- pooling may involve controlling an HTM node to assign two or more patterns to the same cause.
- a higher level HTM node may send a signal to a lower level HTM node directing the lower level HTM node to assign two or more patterns received by the lower level HTM node to the same cause.
- These two or more patterns may have no spatial overlap or temporal relationship.
- the HTM may determine causes of novel input using what may be referred to as “inference.”
- an HTM may infer which of its learned causes is/are the source of the novel sensed input data based on statistical comparisons of learned patterns and sequences thereof with patterns and sequences thereof in the novel sensed input data.
- the HTM node When an HTM node receives a new sensed input pattern, the HTM node assigns probabilities as to the likelihood that the new sensed input pattern matches each of its learned sensed input patterns. The HTM node then combines this probability distribution (may be normalized) with previous state information to assign probabilities as to the likelihood that the new sensed input pattern is part of each of the learned sequences of the HTM node. Then, as described above, the distribution over the set of sequences learned by the HTM node is passed to a higher level node.
- the distribution passed by an HTM noue is derived from a “belief” as to the likelihood that each learned cause is the cause of sensed input patterns at the input of the HTM node.
- a “belief” also includes those messages that are derived from or based on the belief. For example, an HTM node having learned five causes may deterministically assign percentages to each of the five learned causes as being the cause of sensed input patterns. The distribution of percentages (or “belief” as described above) may be normalized (or unnormalized) and passed to a parent node.
- the parent node may then determine coincidences among the distributions sent from its child nodes, and then, based on its learned sensed input patterns and sequences thereof, pass to a yet higher level node its own belief as to the likelihood that each of its learned causes is the cause of sensed input patterns at its input.
- a parent node forms its own “higher level” belief as to the cause of the sensed input patterns at least partly based on some statistical convergence of the beliefs passed from its child nodes.
- inferring causes may occur during learning. Further, in one or more embodiments of the present invention, learning by an HTM may be disabled, in which case, inference may continue to occur.
- one or more causes of sensed input patterns may be determined by an HTM through a series of inference steps ascending through the hierarchy of the HTM. Further, in one or more embodiments of the present invention, one or more causes of sensed input patterns may be determined based on information descending through the hierarchy of the HTM. In general, by combining its memory of likely sequences of sensed input patterns with current input (i.e., beliefs from lower level nodes), a node in an HTM may have the ability to “predict” (i.e., make “predictions” as to) what is likely to happen next.
- the prediction biases lower level nodes in the HTM to infer the predicted causes. This may be achieved by a higher level node passing a probability distribution over its learned sensed input patterns (as opposed to over its learned sequences) to a lower level node. This probability distribution may be used by the lower level node as an expectation as to the next sensed input pattern. For example, if an HTM is processing text or spoken language, the HTM may automatically predict what sounds, words, and ideas are likely to occur next. Such a process may help the HTM understand noisy or missing data.
- a prediction may be fed back from a higher level node in an HTM to a lower level node in the HTM as a substitute (at least in part) for sensory input data to the lower level node.
- one or more prior probabilities may be set manually in addition to or instead of having prior probabilities set via prediction.
- an HTM may be manually controlled to anticipate a particular cause or set of causes.
- inferring causes of sensed input patterns involves passing beliefs from lower level nodes to higher level nodes.
- FIG. 10 such “belief propagation” is shown in HTM 80 (beliefs indicated with arrows; nodes shown, but not labeled).
- a belief is a vector of values, where each value represents a different cause.
- a current belief of a node may be a distribution of several causes being at least partially active at the same time.
- the values in the belief vector may be normalized so that a stronger likelihood of one cause represented in the vector will diminish the likelihood of other causes represented in the vector.
- a meaning of a value representing a cause in a belief vector may not vary depending on what other causes represented in the belief vector are active.
- an HTM is a hierarchy of connected nodes. Each node may be thought as having a belief. In one or more embodiments of the present invention, a belief at one node may influence a belief at another node dependent on, for example, whether the nodes are connected via a conditional probability table (CPT).
- CPT conditional probability table
- a CPT is a matrix of numbers, where each column of the matrix corresponds to the individual beliefs from one node, and where each row of the matrix corresponds to the individual beliefs from another node.
- a higher level node may form a belief about precipitation and have values representing the likelihood of the following causes: “sunny”; “rain”; “sleet”; and “snow”.
- the belief about air temperature in the lower level node may inform the belief about precipitation in the higher level node (and vice-versa). In other words, multiplying the vector representing the belief about air temperature in the lower level node by the CPT results in a vector representing the appropriate belief about precipitation in the higher level node.
- belief propagation allows an HTM to infer causes such that each node in the HTM represents a belief that is maximally or optimally consistent with its input.
- each node in the HTM represents a belief that is maximally or optimally consistent with its input.
- the parent node may decide with relatively high certainty that a “cat” is present and not a “dog” or “pig.”
- the parent node effectively settled on “cat” because this belief is the only one that is consistent with its inputs, despite the fact the “cat” image and the “cat” sound were not the most likely beliefs of its child nodes.
- a higher level node in an HTM may pass a “prediction” to a lower level node in the HTM.
- the “prediction” is a “belief” in that it contains values representing the likelihoods of different causes.
- the vector representing the belief in the higher level node may be multiplied by an appropriate CPT to inform a belief in the lower level node.
- a higher level node in an HTM uses its learned sequences combined with recent state information (i.e., the current input to the higher level node) to (i) predict what its next belief should be and (ii) then pass the expectation down to one or more lower level nodes in the HTM.
- FIG. 11 shows a flow process in accordance with an embodiment of the present invention. Particularly, FIG. 11 shows in summary the steps of belief propagation described above.
- a current node in the HTM receives input (in the form of sensed input patterns or beliefs from lower level nodes) ST 82 .
- the current node forms/adjusts its belief as to the likelihood of causes at its input distributed over its learned causes ST 84 .
- This belief is then passed to higher level and/or lower level nodes to inform beliefs at those nodes ST 86 .
- the HTM may “focus” the determination.
- An HTM provided with the ability to focus when determining causes of sensed input patterns may be referred to as having “attention.”
- an HTM may have the capacity to focus on a subset of an entire input space.
- An HTM having such a capacity may be referred to as having “spatial attention.”
- FIG. 12 shows a portion of an HTM 90 having spatial attention in accordance with an embodiment of the present invention.
- the portion of HTM 90 shown in FIG. 12 has level L 1 nodes 92 , 94 and level L 2 node 96 .
- Level L 1 node 92 has an input range of i 1 -i x
- level L 1 node 94 has an input range of i x+1 i y
- level L 2 node 96 has an input range of i 1 -i y .
- level L 1 nodes 92 , 94 are connected to level L 2 node 96 by connections 98 , 100 .
- Connections 98 , 100 are referred to as being “permanent” in that data/information is always allowed to flow from level L 1 nodes 92 , 94 to level L 2 node 96 over connections 98 , 100 .
- level L 1 nodes 92 , 94 may be connected to level L 2 node 96 by connections 102 , 104 . Connections 102 , 104 are routed through a relay module 106 .
- relay module 106 may be positioned elsewhere (either in software or hardware).
- level L 1 node 92 may send a “strong” signal to relay module 96 over connection 108 in order to cause relay module 106 to allow data/information to flow from level L 1 node 92 to level L 2 node 96 over connection 102 .
- level L 1 node 94 may send a “strong” signal to relay module 106 over connection 100 in order to cause relay module 106 to allow data/information to flow from level L 1 node 94 to level L 2 node 96 over connection 104 .
- level L 2 node 96 may send a “strong” signal to relay module 106 over connection 112 in order to cause relay module 106 to allow data/information to flow from level L 1 node 92 to level L 2 node 96 over connection 102 .
- level L 2 node 96 may send a “strong” signal to relay module 106 over connection 114 in order to cause relay module 106 to allow data/information to flow from level L 1 node 94 to level L 2 node 96 over connection 104 .
- connections 116 , 118 may be dependent on the assertion of signals to relay module 106 over connections 116 , 118 .
- connections 116 , 118 do not originate from level L 1 nodes 92 , 94 or level L 2 node 96 .
- signals over connections 116 , 118 may be controlled by a control module (not shown).
- signals over connections 116 , 118 may originate from any portion of an HTM-based system not shown in FIG. 12 .
- relay module 106 provides a means to switch “on” and “off” connections between lower and higher level nodes. This has the effect of limiting or increasing what an HTM perceives.
- relay module 106 instead of switching “on” and “off” data/information flow over connections 102 , 104 , may otherwise modify or set the value of data/information flowing over connections 102 , 104 .
- relay module 106 may modify a probability distribution sent from level L 1 node 92 over connection 102 .
- an HTM may have what may be referred to as “category attention.”
- An HTM having category attention may focus the HTM on a particular category of causes/objects.
- FIG. 13 shows a portion of an HTM 120 in accordance with an embodiment of the present invention.
- the levels and nodes (shown, but not labeled) are similar to that shown and described above with reference to FIG. 2 .
- HTM 120 is provided with, or at least connected to, a category attention module 122 .
- the category attention module 122 may be singly or multiply connected (possible connections indicated in FIG. 13 with dashed lines) to any of the nodes in HTM 120 .
- Category attention module 122 allows for the control of categories of causes (e.g., by selecting one or more contexts) that may be considered by a node connected to the category attention module 122 .
- category attention module 122 may assert a signal to the only node in level L 3 so as to effectively switch “off” the consideration of non-“CAT” categories (e.g., category “DOG”).
- category attention module 122 may be used to select a context for what at least a portion of HTM 120 perceives.
- category attention module 122 may assert a context that is not to be perceived by at least a portion of HTM 120 .
- category attention module 122 may assert context “DOG,” whereby all contexts other than “DOG” may be perceived by HTM 120 .
- an HTM in accordance with embodiments of the present invention is able to learn and form representations of causes in its world and then later predict causes as the HTM senses novel input. In essence, an HTM that has learned how causes in its world behave over time has created a model of its world. In one or more embodiments of the present invention, the ability of an HTM to predict causes over time may be used to direct behavior as described below with reference to FIGS. 14 and 15 .
- FIG. 14 shows a portion of an HTM-based system 130 in accordance with an embodiment of the present invention.
- the HTM-based system 130 has an HTM 146 formed of levels L 1 , L 2 , L 3 , where level L 1 has nodes 132 , 134 , 136 , 138 , level L 2 has nodes 140 , 142 , and level L 3 has node 144 .
- the HTM 146 receives sensed input data, learns and forms representations of causes of the sensed input data, and then infers and predicts causes of novel sensed input data based on its learned causes and representations thereof.
- the HTM-based system 130 further includes a motor behavior and control module 148 .
- the motor behavior and control module 148 has “built-in” or preprogrammed behaviors, which are essentially primitive behaviors that exist independent of the HTM 146 . As the HTM 146 discovers and learns causes in its world, the HTM 146 learns to represent the built-in behaviors just as the HTM 146 learns to represent the behavior of objects in its world outside of the HTM-based system 130 . Those skilled in the art will note that from the perspective of the HTM 146 , the built-in behaviors of the HTM-based system 130 are simply causes in its world. The HTM 146 discovers these causes, forms representations of them, and learns to predict their activity.
- the motor behavior and control module 148 may be part of or associated with a robot. However, in one or more other embodiments of the present invention, the motor behavior and control module 148 may not be part of or associated with a robot. Instead, for example, the motor behavior and control module 148 may simply provide some mechanism for movement of the HTM-based system 130 .
- HTM 146 learns and forms representations of the built-in behaviors of the HTM-based system 130 as carried out by the motor behavior and control module 148 .
- the representations of the built-in behaviors learned by the HTM 146 may be paired with the corresponding mechanisms in the motor behavior and control module 148 .
- a node in HTM 146 having a learned representation of a particular built-in behavior may send one or more signals to the motor behavior and control module 148 to determine which mechanisms in the motor behavior and control module 58 are active during the occurrence of the particular built-in behavior.
- representations of built-in behavior carried out by the HTM-based system 130 are learned by the HTM 146 and then may be associated with the corresponding mechanisms in the motor behavior and control module 148 .
- the learned representations of the built-in behaviors in the HTM 146 may be associated or correlated with the mechanisms creating the built-in behaviors in the motor behavior and control module 148 based on an implementation representing some form of Hebbian learning.
- a learned behavioral representation in the HTM 146 After the association of a learned behavioral representation in the HTM 146 with a corresponding behavioral mechanism in the motor behavior and control module 148 , when the HTM 146 next predicts that behavior, it may actually cause the behavior to occur. For example, using an analogue to human behavior, breathing is considered a built-in, or innate, behavior. A newborn human breathes without having to first learn how to breathe (similar to, for example, eye blinking and movement away from pain). Over time, the human associates learned representations of breathing with the actual muscles that cause breathing. Based on this determined association, the human may then control his/her breathing by, for example, purposefully deciding when to breathe in and/or breathe out.
- the HTM 146 may cause, via prediction, the particular behavior to occur.
- a representation of a particular behavior e.g., movement of a robot limb
- a corresponding behavioral mechanism e.g., the motor responsible for causing movement of the robot limb
- FIG. 15 shows a flow process in accordance with an embodiment of the present invention.
- an HTM-based system generates some sort of behavior.
- the HTM in the HTM-based system observes the behavior ST 152 , and subsequently over time, the HTM learns causes and forms representations of the observed behavior ST 154 .
- Nodes in lower levels of the HTM learn causes and form representations of smaller parts of the behavior relative to that learned and formed by nodes in higher levels of the HTM.
- lower level nodes in the HTM may learn causes and form representations of particular toe or knee movements
- larger level nodes in the HTM may learn causes and form representations of entire leg, hip, and torso movements.
- each of the nodes in the HTM associates learned causes with corresponding behavioral mechanisms in the HTM-based system ST 156 .
- lower level nodes in the HTM may associate representations of particular toe and knee movements with the mechanisms in the HTM-based system that cause these movements
- higher level nodes in the HTM may associate representations of entire leg, hip, and torso movements with the mechanisms in the HTM-based system that cause these larger, or higher-level, movements.
- the HTM After determining associations between learned behavioral representations and their corresponding behavioral mechanisms in ST 156 , the HTM, based on information propagated to and/or through the HTM, may predict and cause particular behaviors to occur ST 158 . Those skilled in the art will note that in such a manner, an HTM may string together complex sequences of learned built-in behaviors to create novel, complex, and/or goal-oriented behavior.
- an HTM-based system may be controlled so as to switch “off” the ability of an HTM to cause one or more particular behaviors. This may be achieved by use of a control module that is capable of selectively switching “off” or damping particular signals from nodes in the HTM to a motor behavior and control component of the HTM-based system.
- an HTM network may be provided as a software platform.
- the HTM network may run on various computer architectures. For example, as shown in FIG. 16 , an HTM network (nodes shown, but not labeled) 160 may run on a single central processing unit (CPU) 162 .
- CPU central processing unit
- an HTM network (nodes shown, but not labeled) 164 may run across several CPUs 166 , 168 , 170 .
- the CPUs 166 , 168 , 170 may either be part of a single system (e.g., a single server) or multiple systems.
- an HTM network may be created in software across several multiprocessor servers, where such a group of servers may be referred to as a “cluster.”
- the servers in a cluster may be heterogeneous, i.e., the servers may have differing configurations/specifications (e.g., clock speeds, memory size, number of processors per server).
- the servers may be connected via Ethernet or one or more other networking protocols such as, for example, Infiniband, Myrinet, or over a memory bus. Further, the servers may run any operating system (OS) (e.g., Windows, Linux).
- OS operating system
- each of the servers in a cluster may be responsible for running some portion of an HTM network. The portion of the HTM network dedicated to each server may vary from server to server depending on, for example, the configuration/specification of each server.
- the CPUs over which an HTM network runs may be located at a single location (e.g., at a datacenter) or at locations remote from one another.
- an HTM network may be provided as a software platform.
- the software executables for creating and running the HTM network may be referred to as being part of a “runtime engine.”
- a runtime engine 172 of an HTM-based system includes, in addition to the executables for running an HTM network 174 , a Supervisor entity 176 .
- the Supervisor entity 176 is responsible for, among other things, starting and stopping the HTM network 174 and communicating with external applications (i.e., “tools”) 180 , 182 , 184 , each of which are further described below.
- tools external applications
- the Supervisor entity 176 is associated with a net list 178 .
- the Supervisor entity 176 uses a description in the net list 178 to configure the HTM network 174 .
- a description in the net list 178 may specify the distribution of nodes across a given set of CPUs.
- the Supervisor entity 176 may configure an HTM network dynamically if, for example, certain information is not contained in the net list 178 .
- the Supervisor entity 176 may read a net list from a date file.
- a net list may be specified interactively by a user using one or more tools 180 , 182 , 184 .
- the Supervisor entity 176 may perform global network actions, distribute nodes across CPUs, and/or coordinate CPU activity/behavior. Further, in one or more embodiments of the present invention, the Supervisor entity 176 may enforce licensing restrictions such as those relating to, for example, the number of usable CPUs, license expiration dates, number of user limitations, and/or the ability to load third-party “plug-ins.”
- the Supervisor entity 176 may check for software updates on some regular basis. In such embodiments, if there is a software update available, the Supervisor entity 176 may, for example, install the software update and restart the HTM network 174 . Further, in one or more embodiments of the present invention, the Supervisor entity 176 may determine and/or select the order in which portions of the HTM network 174 are to be updated.
- the Supervisor entity 176 may communicate with one or more CPUs (not shown in FIG. 18 ) running the HTM network 174 using, for example, a private or internal application program interface (API). Further, in one or more embodiments of the present invention, the Supervisor entity 176 and the one or more CPUs (not shown in FIG. 18 ) running the HTM network 174 may all be on the same local area network (LAN).
- LAN local area network
- the Supervisor entity 176 may run on a CPU separate from one or more CPUs (not shown in FIG. 18 ) running the HTM network 174 . However, in one or more other embodiments of the present invention, the Supervisor entity 176 may run on a CPU that runs all or part of the HTM network 174 .
- FIG. 19 shows at least a portion of an HTM-based system that runs an HTM network 186 on a single CPU 188 .
- an instance of Supervisor entity 190 may run on CPU 188 .
- a runtime engine 194 may be composed of the software executables for the HTM network 186 , the Supervisor entity 190 , and the net list 192 .
- FIG. 20 shows at least a portion of an HTM-based system that runs an HTM network 220 on multiple CPUs 222 , 224 , 226 .
- the CPUs 222 , 224 , 226 may all be part of the same server (thereby, sharing resources of that server) or they may be distributed over two or more servers.
- An instance of Supervisor entity 228 along with a net list 230 , may run on a separate CPU 232 .
- the Supervisor entity 228 may communicate (across, for example, a switch 234 ) with instances of “node processing units” (NPUs) 236 , 238 , 240 running on each of the CPUs 222 , 224 , 226 .
- NPUs node processing units
- Each NPU 236 , 238 , 240 may be a software component that is responsible for running and/or scheduling a portion (i.e., a “sub-net”) of the HTM network 220 running on the CPU 222 , 224 , 226 to which the NPU 236 , 238 , 240 is respectively allocated.
- each NPU 236 , 238 , 240 may receive information from the Supervisor entity 228 describing all or part of the HTM network 220 , including information relating to the portion of the HTM network 220 that each NPU 236 , 238 , 240 will manage.
- each NPU 236 , 238 , 240 may be responsible for allocating the memory needed for the nodes, links, and other data structures for the portion of the HTM network 220 for which it is responsible. Further, each NPU 236 , 238 , 240 may run and/or schedule a portion of the HTM network 220 in some timing relation to at least one other NPU 236 , 238 , 240 .
- each NPU 236 , 238 , 240 may maintain a local net list.
- a local net list may be used by an NPU to determine when to update one or more nodes, where “updating” a node may include executing an operation of the node and then updating the state of the node.
- An NPU may perform such updating based on, for example, one or more timestamps of previous updates of one or more nodes, one or more values (e.g., beliefs) of one or more nodes, priorities of one or more nodes, and/or a set of rules for updating nodes.
- a runtime engine 242 may be composed of the software executables for the HTM network 220 , the Supervisor entity 228 , the net list 230 , and the NPUs 236 , 238 , 240 .
- a file server (not shown) may be present to store file information for one or more of the various components shown in FIG. 20 .
- FIG. 20 there is one NPU per CPU running a portion of an HTM network.
- a runtime engine 1720 running HTM network 174 may interface with one or more tools 180 , 182 , 184 .
- Each of these tools 180 , 182 , 184 may be used by a user (e.g., a software developer) to, for example, modify, improve, augment, restrict, configure, or otherwise affect an operation or configuration of the HTM network 174 or a CPU on which the HTM network 174 runs.
- Configurator tool 180 may be used to create and/or configure an HTM network
- Trainer tool 182 may be used to create a trained HTM network for a particular application
- Debugger tool 184 may be used to debug the operation of an HTM network.
- tools (not shown) may be provided to, for example, monitor/report performance of an HTM network and/or deploy a designed, trained, and/or debugged HTM network as a running application.
- one or more embodiments of the present invention may use any number and/or types of different tools to interface with an HTM network.
- a Supervisor entity e.g., 176 in FIG. 18, 190 in FIG. 19, 228 in FIG. 20
- developer/client tools e.g., 180 , 182 , 184 in FIG. 18
- the Supervisor API may support Unicode and/or multi-byte character sets.
- a Supervisor API may be accessible through, for example, a firewall.
- One protocol that may be used to facilitate such accessibility involves encoding messages in Extensible Markup Language (XML) and passing them over the Internet (i.e., HTTP transmission). If security is desired or required, then messages may be passed over a secure Internet protocol (e.g., HTTPS transmission).
- HTTPS transmission e.g., HTTPS transmission
- a Supervisor entity e.g., 176 in FIG. 18, 190 in FIG. 19, 228 in FIG. 20
- developer/client tools e.g., 180 , 182 , 184 in FIG. 18
- messages may be passed using means such as, for example, socket connections and/or pipes.
- a Supervisor API may interact with developer/client tools.
- the Supervisor API may be used to authenticate one or more client applications attempting to communicate with a Supervisor entity (e.g., 176 in FIG. 18, 190 in FIG. 19, 228 in FIG. 20 ). If the client is authenticated, the Supervisor API may return session information to the client and connect the client with the Supervisor entity. The Supervisor API may also disconnect the client from the Supervisor entity.
- a Supervisor entity e.g., 176 in FIG. 18, 190 in FIG. 19, 228 in FIG. 20 .
- a net list describing all or part of an HTM network may be passed from a client to a Supervisor entity through a Supervisor API.
- a Supervisor API may be used to return state information to the client. State information may include, for example, the beliefs at one or more nodes of the HTM network, whether the HTM network is running, paused, or restarting, the number of nodes in all or part of the HTM network, and the number of CPUs actively running portions of the HTM network.
- a Supervisor API may be accessed to start, pause and restart, or stop an HTM network.
- a Supervisor API may be accessed to: return a list of network files that have been stored by a system (e.g., a cluster of servers) used to run an HTM network; load an HTM network from a network file stored locally in a system (e.g., a cluster of servers) usable to run an HTM network; locally save a state of an HTM network in a system (e.g., a cluster of servers) running the HTM network; move one or more nodes from running on one CPU to running on another CPU; turn a debugging feature “on” or “off”; retrieve detailed state information of a component in an HTM network; set a state of a component in an HTM network; instruct an HTM network to pause operations after a specific triggering event, where the triggering event may be completion of one complete iteration of the HTM network, completion of updating a given list of nodes, completion of updating one node on each CPU, reaching a particular time, reaching a particular
- a Supervisory API may have a “batch command” system.
- a batch command system may be used to execute one or more operations of a Supervisor API in a particular sequence.
- a batch command system may be used to execute one or more of the same commands on more than one node.
- a batch command system may include the capabilities of a full scripting language (e.g., Python, Perl) so that, for example, ‘if’ statements and loops may be performed easily.
- a full scripting language may allow a user to script complex commands (e.g., commands: train level 1 of hierarchy until states of level 1 nodes reach a given condition; then turn “off” learning in level 1 and train level 2 of hierarchy until states of level 2 nodes reach a given condition, etc.).
- the Supervisor APT may be arranged to handle a failure of any of the hardware components needed to run a particular HTM network.
- the Supervisor API may handle a software failure (e.g., failure of an NPU instance).
- the Supervisor API may handle a communication establishment error.
- the Supervisor API may handle one or more errors in reading a provided net list describing a particular HTM network.
- an HTM-based system may also have a Node Plug-in API 250 as shown in FIG. 21 .
- the Node Plug-in API 250 may be used to create new node types.
- the Node Plug-in API 250 may be used to interface new hardware for running the HTM network 186 and/or implement, for example, new learning algorithms.
- one or more “plug-ins” may be dynamically loaded when the HTM network 186 is initialized or rebooted. In such a manner, a functionality of a runtime engine running the HTM network 186 may be extended as further described below.
- an HTM network may be provided as a software platform.
- the functionality of all or part of the HTM may be “extensible.”
- the term “extensible” in the context of software describes a software entity (e.g., a computer program, a programming language, a routine) that can have its capabilities “extended” (e.g., changed, augmented).
- extensibility may be afforded to an HTM network by having abstract interfaces for one or more of the components of the HTM network.
- an abstract interface for a component of an HTM network may be implemented using a base class if using object-oriented programming (e.g., C++, Java® (developed by Sun Microsystems, Inc. of Santa Clara, Calif.)) to implement the HTM network.
- object-oriented programming e.g., C++, Java® (developed by Sun Microsystems, Inc. of Santa Clara, Calif.
- a base class in object-oriented programming is a class from which other classes (e.g., subclasses, child classes, derived classes) inherit members.
- a base class may also be referred to as a “superclass” or “parent” class.
- FIG. 22 shows an inheritance diagram of an HTM network 260 in accordance with an embodiment of the present invention.
- the HTM network 260 is formed of one or more “entities,” where each entity defines an interface that is implemented through instantiation in order to render that entity extensible.
- the collection of entities in the HTM network 260 may be specified by a net list that is part of a software file that defines and is used to implement the HTM network 260 . Once instantiated, the entities specified in the net list may communicate in some synchronized fashion and collaborate to perform some collective computation of the HTM network 260 .
- the HTM network 260 shown in FIG. 22 has a Base entity 274 that links the following named entities, each of which is further described below: Sensor 262 ; Effector 264 ; Link 266 ; Supervisor 268 ; Router 270 ; and Learning and Inference/Prediction Algorithm 272 (shown in FIG. 3 as “Learning”).
- Learning and Inference/Prediction Algorithm 272 shown in FIG. 3 as “Learning”.
- Each of the entities 262 , 264 , 266 , 268 , 270 , 272 , 274 is an abstract interface implemented using a base class as described above.
- each entity 262 , 264 , 266 , 268 , 270 , 272 , 274 has ID, priority, and type attributes.
- the ID attribute identifies each entity. This attribute may not only identify an entity, but may also be used to indicate a specific CPU, set of CPUs, or machine on which to run the entity.
- the priority attribute denotes a priority, in terms of processing order, of an entity.
- the type attribute indicates a type of the entity. Further, as shown in FIG.
- each entity 262 , 264 , 266 , 268 , 270 , 272 , 274 has a compute( ) method, which is invocable (by, for example, a subclass of the base class entity) to perform some computation.
- FIG. 22 shows a particular number and types of entities
- an HTM network may have a different number and/or one or more types of entities different than that shown in FIG. 22 .
- an HTM network may not have an Effector entity.
- software executables for running an HTM network may run at the level of Base entity 274 .
- Base entity 274 may be thought of as working at the level of a net list containing the description of the HTM network.
- a user-level application for creating, running, designing, debugging, training, modifying, and/or otherwise using an HTM network may simply interface with Base entity 274 without having to “know” about, for example, one or more of the other entities 262 , 264 , 266 , 268 , 270 , 272 shown in FIG. 22 .
- Sensor entity 262 specializes in handling inputs sensed by the HTM network 260 , where causes of the inputs exist in the domain in which the HTM network 260 is implemented. Those skilled in the art will note that there may any number of Sensor entities 262 in a net list defining the HTM network 260 .
- the exact behavior of Sensor entity 262 (implemented as a base class) is extensible through the modification or addition of one or more subclasses. For example, shown in FIG. 22 , Sensor entity 262 has the following subclasses: a gray-scale sensor subclass 276 ; a color image sensor subclass 278 ; a binary image sensor subclass 280 ; and an audio sensor subclass 282 .
- Each of these subclasses 276 , 278 , 280 , 282 contains functionality specific to the type of each subclass 276 , 278 , 280 , 282 .
- Sensor entity 262 may have no “knowledge” of the specific functionalities performed by each of its subclasses 276 , 278 , 280 , 282 .
- FIG. 22 shows a particular number and types of subclasses, in one or more other embodiments of the present invention, any number and/or types of subclasses may be used.
- Effector entity 264 specializes in passing back outputs from the HTM network 260 .
- Effector entity 264 specializes in passing back outputs from the HTM network 260 .
- the exact behavior of Effector entity 264 is extensible through the modification or addition of one or more subclasses. For example, as shown in FIG. 22 , Effector entity 264 has the following subclasses: an output file subclass 284 ; a motor control subclass 286 ; a database subclass 288 ; and a display subclass 290 .
- Each of these subclasses 284 , 286 , 288 , 290 contains functionality specific to the type of each subclass 284 , 286 , 288 , 290 .
- Effector entity 264 may have no “knowledge” of the specific functionalities performed by each of its subclasses 284 , 286 , 288 , 290 .
- FIG. 22 shows a particular number and types of subclasses, in one or more other embodiments of the present invention, any number and/or types of subclasses may be used.
- Link entity 266 specializes in efficient message passing between particular entities. Those skilled in the art will note that there may be any number of Link entities 266 in a net list defining the HTM network 260 . The exact behavior of Link entity 266 (implemented as a base class) is extensible through the modification or addition of one or more subclasses.
- Supervisor entity 268 orchestrates the collective computation of the HTM network 260 .
- supervisor entity 268 may be only one Supervisor entity 268 in a net list defining the HTM network 260 .
- the exact behavior of Supervisor entity 268 (implemented as a base class) is extensible through the modification or addition of one or more subclasses.
- Router entity 270 specializes in accurately coordinating the passing of messages among the entities in an HTM network 260 .
- Router entity 270 for each computing entity (e.g., CPU) over which the HTM network 260 is running.
- the exact behavior of Router entity 270 is extensible through the modification or addition of one or more subclasses.
- Learning and Inference/Prediction entity 272 specializes in discovering and inferring causes of sensed input patterns as described above. Those skilled in the art will note that there may be any number of Learning and Inference/Prediction entities 272 in a net list defining the HTM network 260 .
- the exact behavior of Learning and Inference/Prediction entity 272 is extensible through the modification or addition of one or more subclasses. For example, as shown in FIG.
- Learning and Inference/Prediction entity 272 has the following subclasses: a coincidence detection subclass 292 ; a sequence learning subclass 294 ; a belief propagation subclass 296 ; a prediction subclass 298 ; and a vector quantization subclass 300 .
- Each of these subclasses 292 , 294 , 296 , 298 , 300 contains functionality specific to the type of each subclass 292 , 294 , 296 , 298 , 300 .
- Learning and Inference/Prediction entity 272 may have no “knowledge” of the specific functionalities performed by each of its subclasses 292 , 294 , 296 , 298 , 300 .
- FIG. 22 shows a particular number and types of subclasses, in one or more other embodiments of the present invention, any number and/or types of subclasses may be used.
- FIG. 23 shows a flow process in accordance with an embodiment of the present invention. Particularly, FIG. 23 shows a technique for traversing an HTM network.
- an HTM network may have several entities that are extensible. During operation of the HTM network, (i) various entities may attempt to extend one or more entities of the HTM network and (ii) various entities will need to be processed.
- one or more embodiments of the present invention provide a mechanism for traversing the HTM network in some desirable manner with consideration to, for example, the priority and timing of particular entities.
- an HTM network is created ST 310 . This may be achieved by reading in a net list defining the HTM network. In one or more other embodiments of the present invention, the HTM network may be created programmatically. Once the HTM network itself has been created in ST 310 , each entity in the HTM network is initialized (and stored in memory) ST 312 .
- the priority of each entity may be optionally reset (noting that the priorities of each entity may already be reset immediately after initialization in ST 312 ) ST 314 .
- the input parameters to the HTM network are set ST 316 .
- the entity with the highest priority is determined ST 318 and its compute( ) method is invoked ST 320 . Determining the entity with the highest priority may be dependent on one or more different factors. For example, in some cases, a priority level of an entity may be used to determine the priority of that entity relative to other entities. However, in other cases, a timing of an entity may be used to determine the priority of that entity relative to other entities.
- a compute( ) method of a particular entity has to be invoked every x milliseconds, then at time intervals of x milliseconds, that particular entity has the highest priority regardless of the priority levels of other entities.
- a sensor may be connected to a camera that needs to process a live image ever 33 milliseconds.
- a compute( ) method for the sensor may be invoked every 33 milliseconds regardless of the priority levels of other active entities.
- an HTM network may run in real-time.
- the outputs of the HTM network are read ST 324 . If more inputs remain ST 326 , then the process repeats optionally starting at ST 314 (otherwise repeating starting at ST 316 (not shown)).
- the process described above with reference to FIG. 23 may be performed by or under the direction of, for example, Supervisor entity 268 shown in FIG. 22 .
- Supervisor entity 268 may be “subclassed” if a different traversal mechanism is desired.
- An HTM network as described above with reference to FIG. 22 , enables, for example, a software developer, to “extend” the capabilities of the HTM network through the replacement and/or addition of subclasses. Moreover, with proper permission, a user may also modify the entity base classes in the net list defining the HTM network.
- FIG. 24 shows a flow process in accordance with an embodiment of the present invention. Particularly, FIG. 24 shows how a user may extend an HTM network.
- a user may define/write a subclass for extending the HTM network in some way ST 330 . This subclass would include, for example, a compute( ) method.
- the source code for the HTM network may be recompiled ST 332 , thereby creating a new HTM network with the newly defined subclass.
- FIG. 25 shows a flow process for another way to extend an HTM network.
- a user creates a dynamic library as a plug-in, i.e., the new or modified subclass for the HTM network ST 340 .
- the user links, i.e., references in code, the plug-in to the HTM network using a plug-in interface/mechanism (e.g., Node Plug-in Interface 250 shown in FIG. 21 ) of the HTM network (step not shown).
- This linking may be dependent on binary code of the HTM network provided to the user.
- the HTM network may dynamically search for and then instantiate the plug-in ST 342 .
- the HTM network is extended without having to recompile the source code for the entire HTM network.
- NPUs manage the operation of nodes forming the HTM network.
- Each NPU is responsible for managing a certain set of one or more nodes.
- one or more “message managers” may be instantiated/implemented to facilitate the propagation of messages within a particular server and/or among two or more servers.
- a cluster 350 is formed, at least in part, of servers 370 , 372 , 374 .
- NPUs 352 , 354 are assigned to server 370
- NPU 356 is assigned to server 372
- NPUs 358 , 360 , 362 are assigned to server 372 .
- each NPU 350 , 352 , 354 , 356 , 358 , 360 , 362 manages its own set of one or more nodes (shown, but not labeled), where the nodes collectively form all or part of an HTM network.
- one or more of NPUs 350 , 352 , 354 , 356 , 358 , 360 , 362 may be assigned (by, for example, an OS scheduler or a user) to run on particular CPUs.
- the nodes of a particular NPU may be run by the CPU to which that particular NPU is assigned.
- an NPU assigned to a particular CPU may be dynamically switched to run on a different CPU.
- FIG. 26 shows particular numbers of NPUs, servers, NPUs per server, total nodes, nodes per server, and nodes per NPU, in one or more other embodiments of the present invention, any configuration of servers, NPUs, and nodes may be used.
- nodes in an HTM network output data (e.g., beliefs, matrices of values). Still referring to FIG. 26 , in one or more embodiments of the present invention, the propagation of such data as messages between nodes, whether part of the same server or different servers, may be handled by one or more message managers 364 , 366 , 368 .
- a node managed by NPU 354 when a node managed by NPU 354 outputs a belief, the belief is made available to message manager 364 (the availability of the belief may be notified to message manager 364 by NPU 354 ), which, based on information as to the source of the output belief and the topology of the HTM network running on cluster 350 , sends the belief as part of a message to each appropriate destination server (e.g., server 372 ).
- An “appropriate” destination server is a server running a node (or nodes) that requires the output belief.
- data from one server needed or expected by multiple nodes on another server may only be sent once as opposed to multiple times for each of the multiple destination nodes. This may result in the use of less bandwidth across the cluster 350 . Further, in one or more embodiments of the present invention, it may not be necessary for a message manager 364 , 366 , 368 on one server to be informed of the local topology of another server.
- a message manager 364 , 366 , 368 sends “inter-server” messages based on information regarding the topology of the HTM network running across servers 370 , 372 , 374 .
- This information may be specified to each message manager 364 , 366 , 368 by a Supervisor entity (e.g., 176 in FIG. 18 ).
- information e.g., address tables
- information regarding the topology of an HTM network may be formed dynamically without some central control.
- a message manager 364 , 366 , 368 of one server may communicate a message to a message manager 364 , 366 , 368 of another server, which then communicates the message to a message manager 364 , 366 , 368 of yet another server.
- Such “relay” message passing may be used, for example, to improve performance in a large-scale HTM-based system having many servers.
- message managers 364 , 366 , 368 may implement one or more of any various transport protocols (e.g., using a Message Passing Interface (MPI) or via a “zero-copy” protocol using shared memory).
- MPI Message Passing Interface
- shared memory shared memory
- a message manager 364 , 366 , 368 may effectively send output data from a node managed by a first NPU to a node managed by a second NPU that is on the same server as the first NPU.
- Message managers 364 , 366 , 368 may communicate such “intra-server” messages using, for example, socket connections and/or shared memory buffers.
- FIG. 26 shows a one-to-one correspondence between servers 370 , 372 , 374 and message managers 364 , 366 , 368 , in one or more other embodiments of the present invention, any arrangement of servers and message managers may be used.
- a particular server may not have a message manager.
- a message manager for NPUs running on one server may run on a different server.
- a message formed by any one of message managers 364 , 366 , 368 may include sub-messages formed of a header portion and a data portion.
- the header portion may contain, for example, a source and/or destination ID, message type information, timing information, and/or a total data size of the sub-message.
- the data portion may contain, for example, the data itself.
- a sub-message may be formed of a fixed-size header portion and a variable-size data portion. Because the header portion may contain size and content information as to the data portion, a receiving message manager may proactively allocate the necessary resources to receive the data portion. Further, in one or more embodiments of the present invention, the header and data portions may be transmitted over different communication channels (e.g., TCP sockets) so that receipt of the data portion may be deferred until resources are available and while not blocking receipt of further header portions.
- TCP sockets e.g., TCP sockets
- a message manager 364 , 366 , 368 as described above with reference to FIG. 26 may be related to, or otherwise associated with, a Router entity (e.g., 270 in FIG. 22 ).
- one or more of message managers 364 , 366 , 368 may ensure that messages routed through them are uncorrupted. Further, in one or more embodiments of the present invention, one or more of message managers 364 , 366 , 368 may implement lazy or proactive transmission algorithms. Further, in one or more embodiments of the present invention, one or more of message managers 364 , 366 , 368 may be used to profile an HTM network. Further, in one or more embodiments of the present invention, one or more of message managers 364 , 366 , 368 may be used to observe network behavior and/or monitor for performance issues.
- one or more of message managers 364 , 366 , 368 may be used to detect and/or recover from faults. Further, in one or more embodiments of the present invention, one or more of message managers 364 , 366 , 368 may be used to perform “quality-of-service” operations.
- one or more of message managers 364 , 366 , 368 may have one or more message buffers.
- a message buffer of a message manager may be used to buffer all or parts of a received message (noting that the received message may originate from a node local to (i.e., on the same server as) the router or a node remote from (i.e., on a different server than) the router). Messages may be written to or read from a message buffer.
- the message buffer may be used to help synchronize message passing in cluster 350 . For example, a router having a message buffer may prevent node A from reading a message from its location in the message buffer while node B is writing to that location in the message buffer.
- a networked computer system 200 includes at least one processor (e.g., a general-purpose processor, a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a graphics processor) 202 , associated memory 204 , a storage device 206 , and numerous other elements (not shown) and functionalities typical of modern commuter Systems.
- processor e.g., a general-purpose processor, a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a graphics processor
- the networked computer system 200 may also include input means (e.g., a keyboard 208 , a mouse 210 , one or more sensory input systems (not shown)) and output means (e.g., a monitor 212 ).
- the networked computer system 200 is connected to a LAN or a wide area network (WAN) via a network interface connection (not shown).
- WAN wide area network
- input and output means may take other forms.
- one or more elements of the networked computer system 200 may be remotely located and connected to the other elements over a network.
- software instructions to perform one or more embodiments of the present invention may be stored on a computer readable medium such as a compact disc (CD), a diskette, a tape, a file, a hard drive, or any other computer-readable storage device.
- an HTM-based system may learn causes.
- an HTM-based system may determine one or more causes of patterns that may change over space and/or time.
- an HTM-based system may identify patterns occurring frequently over time and then assign them to one or more particular causes.
- an HTM-based system may learn frequently occurring sequences and assign probabilities indicating the likelihood of elements in an input vector being part of the learned sequences.
- an HTM-based system may assign spatially similar patterns to the same cause.
- an HTM-based system may assign patterns received in order to the same cause.
- an HTM-based system may learn timing between patterns in a received sequence.
- an HTM-based system may assign patterns having no significant spatial overlap or timing relationship to the same cause.
- an HTM may infer causes through belief propagation.
- a belief in one node of an HTM may be used to inform a belief in another node of the HTM.
- a belief in one node of an HTM may be passed from a higher level node to a lower level node.
- belief propagation in an HTM may enable a node in the HTM to form a belief that is optimally and/or maximally consistent with the input to the node.
- an HTM-based system may focus its determination of causes of input data on a subset of an entire input space, thereby possibly resulting in more efficient, less intensive, and/or faster determination of causes of novel input.
- an HTM-based system may focus its determination of causes of input data on a particular category (or set thereof) of causes, thereby possibly resulting in more efficient, less intensive, and/or faster determination of causes of input data.
- an HTM-based system may be used to create novel, complex, and goal-oriented behavior, where the behavior as a whole was not initially preprogrammed into the HTM-based system.
- an HTM-based system may learn causes and form representations of behaviors caused both outside of and by the HTM-based system.
- an HTM network may be implemented across one or more CPUs and/or servers.
- an HTM network may be provided as a software platform that may be accessible in whole or in part by one or more third parties.
- an HTM network implemented across one or more CPUs may be accessible through a controlled interface.
- a functionality of an HTM network may be extensible.
- an HTM network may be extended without recompiling source code for the entire HTM network.
- various entities may extend an HTM network, thereby potentially improving the applicability, performance, speed, efficiency, robustness, and/or accuracy of the HTM network.
- an HTM network may be extensible based on time, thereby providing for a real-time HTM network.
- messages between nodes distributed across servers running all or part of an HTM network may be passed accurately and/or efficiently (e.g., using low relatively bandwidth).
- one or more message managers running in an HTM network may be provided with information regarding the location of nodes in the HTM network. Such information may be used to efficiently route messages between nodes in the HTM network.
- an HTM-based system is formed of a hierarchical network of nodes that may be used to represent a hierarchical spatial and temporal structure of a world in which the HTM-based system is designed to operate.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Probability & Statistics with Applications (AREA)
- Medical Informatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Algebra (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Image Analysis (AREA)
- User Interface Of Digital Computer (AREA)
- Error Detection And Correction (AREA)
Abstract
A hierarchical temporal memory (HTM) based system may be provided as a software platform. The software platform includes: a runtime engine arranged to run an HTM network; a first interface accessible by a set of tools to configure, design, modify, train, debug, and/or deploy the HTM network; and a second interface accessible to extend a functionality of the runtime engine.
Description
- The present patent application contains subject matter that may be related to subject matter described in one or more of the following patent applications (each of which is assigned to the same entity to which the present patent application is assigned): U.S. patent application Ser. No. 11/010,243, filed on Dec. 10, 2004 and entitled “Methods, Architecture, and Apparatus for Implementing Machine Intelligence and Hierarchical Memory Systems”; U.S. patent application Ser. No. 11/147,069, filed on Jun. 6, 2005 and entitled “Trainable Hierarchical Memory System and Method”; and U.S. Provisional Patent Application filed on Feb. 10, 2006 and entitled “Hierarchical Temporal Memory” (Attorney Docket No. N004001).
- Generally, a “machine” is a system or device that performs or assists in the performance of at least one task. Completing a task often requires the machine to collect, process, and/or output information, possibly in the form of work. For example, a vehicle may have a machine (e.g., a computer) that is designed to continuously collect data from a particular part of the vehicle and responsively notify the driver in case of detected adverse vehicle or driving conditions. However, such a machine is not “intelligent” in that it is designed to operate according to a strict set of rules and instructions predefined in the machine. In other words, a non-intelligent machine is designed to operate deterministically; should, for example, the machine receive an input that is outside the set of inputs it is designed to recognize, the machine is likely to, if at all, generate an output or perform work in a manner that is not helpfully responsive to the novel input.
- In an attempt to greatly expand the range of tasks performable by machines, designers have endeavored to build machines that are “intelligent,” i.e., more human- or brain-like in the way they operate and perform tasks, regardless of whether the results of the tasks are tangible. This objective of designing and building intelligent machines necessarily requires that such machines be able to “learn” and, in some cases, is predicated on a believed structure and operation of the human brain. “Machine learning” refers to the ability of a machine to autonomously infer and continuously self-improve through experience, analytical observation, and/or other means.
- Machine learning has generally been thought of and attempted to be implemented in one of two contexts: artificial intelligence and neural networks. Artificial intelligence, at least conventionally, is not concerned with the workings of the human brain and is instead dependent on algorithmic solutions (e.g., a computer program) to replicate particular human acts and/or behaviors. A machine designed according to conventional artificial intelligence principles may be, for example, one that through programming is able to consider all possible moves and effects thereof in a game of chess between itself and a human.
- Neural networks attempt to mimic certain human brain behavior by using individual processing elements that are interconnected by adjustable connections. The individual processing elements in a neural network are intended to represent neurons in the human brain, and the connections in the neural network are intended to represent synapses between the neurons. Each individual processing element has a transfer function, typically non-linear, that generates an output value based on the input values applied to the individual processing element. Initially, a neural network is “trained” with a known set of inputs and associated outputs. Such training builds and associates strengths with connections between the individual processing elements of the neural network. Once trained, a neural network presented with a novel input set may generate an appropriate output based on the connection characteristics of the neural network.
- According to one aspect of one or more embodiments of the present invention, a system comprises: an HTM network executable at least in part on a CPU; and a first entity arranged to manage a communication between a user application and the part of the HTM network executable on the CPU.
- According to another aspect of one or more embodiments of the present invention, a software platform comprises: a runtime engine arranged to run an HTM network; a first interface accessible by a set of tools to at least one of configure, design, train, debug, modify, and deploy the HTM network; and a second interface accessible to extend a functionality of the runtime engine.
- According to another aspect of one or more embodiments of the present invention, a method of performing operations comprises: accessing, via an interface, a computer system capable of running an HTM network; and at least one of creating, designing, training, modifying, debugging, and deploying the HTM network dependent on the accessing.
- Other aspects of the invention will be apparent from the following description and the appended claims.
-
FIG. 1 shows a flow of data between an object and a human. -
FIG. 2 shows an HTM in accordance with an embodiment of the present invention. -
FIG. 3 shows a node in accordance with an embodiment of the present invention. -
FIG. 4 shows a flow process in accordance with an embodiment of the present invention. -
FIG. 5 shows an operation of a sequence learner in accordance with an embodiment of the present invention. -
FIG. 6 shows a flow process in accordance with an embodiment of the present invention. -
FIGS. 7A-7E show representations in accordance with an embodiment of the present invention. -
FIG. 8 shows a representation in accordance with an embodiment of the present invention. -
FIG. 9 shows a representation in accordance with an embodiment of the present invention. -
FIG. 10 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 11 shows a flow process in accordance with an embodiment of the present invention. -
FIG. 12 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 13 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 14 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 15 shows a flow process in accordance with an embodiment of the present invention. -
FIG. 16 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 17 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 18 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 19 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 20 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 21 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 22 shows an inheritance diagram in accordance with an embodiment of the present invention. -
FIG. 23 shows a flow process in accordance with an embodiment of the present invention. -
FIG. 24 shows a flow process in accordance with an embodiment of the present invention. -
FIG. 25 shows a flow process in accordance with an embodiment of the present invention. -
FIG. 26 shows at least a portion of an HTM-based system in accordance with an embodiment of the present invention. -
FIG. 27 shows a computer system in accordance with an embodiment of the present invention. - In the following description of embodiments of the present invention, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that the present invention may be practiced without one or more of these specific details. In other instances, well-known features have not been described in detail to avoid unnecessarily complicating the description.
- Humans understand and perceive the world in which they live as a collection—or more specifically, a hierarchy—of objects. An “object” is at least partially defined as having some persistent structure over space and/or time. For example, an object may be a car, a person, a building, an idea, a word, a song, or information flowing in a network.
- Moreover, referring to
FIG. 1 , an object in theworld 10 may also be referred to as a “cause” in that the object causes particular data to be sensed, viasenses 12, by a human 14. For example, the smell (sensed input data) of a rose (object/cause) results in the recognition/perception of the rose. In another example, the image (sensed input data) of a dog (object/cause) falling upon a human eye results in the recognition/perception of the dog. Even as sensed input data caused by an object change over space and time, humans want to stably perceive the object because the cause of the changing sensed input data, i.e., the object itself, is unchanging. For example, the image (sensed input data) of a dog (object/cause) falling upon the human eye may change with changing light conditions and/or as the human moves; yet, however, the human is able to form and maintain a stable perception of the dog. - In embodiments of the present invention, learning causes and associating novel input with learned causes are achieved using what may be referred to as a “hierarchical temporal memory” (HTM). An HTM is a hierarchical network of interconnected nodes that individually and collectively (i) learn, over space and time, one or more causes of sensed input data and (ii) determine, dependent on learned causes, likely causes of novel sensed input data. HTMs, in accordance with one or more embodiments of the present invention, are further described below with reference to
FIGS. 2-27 . - HTM Structure
- An HTM has several levels of nodes. For example, as shown in
FIG. 2 ,HTM 20 has three levels L1, L2, L3, with level L1 being the lowest level, level L3 being the highest level, and level L2 being between levels L1 and L3. Level L1 hasnodes nodes node 34. Thenodes node node node - Inputs to the
HTM 20 from, for example, a sensory system, are supplied to thelevel L1 nodes L1 nodes - The range of sensed input data that each of the
level L1 nodes level L1 node level L2 node level L1 node level L1 node FIG. 2 , thelevel L3 node 34 covers the entire input space by receiving, in some form, the sensed input data received by all of thelevel L1 nodes more nodes - While
HTM 20 inFIG. 2 is shown and described as having three levels, an HTM in accordance with one or more embodiments of the present invention may have any number of levels. Moreover, the hierarchical structure of an HTM may be different than that shown inFIG. 2 . For example, an HTM may be structured such that one or more parent nodes have three children nodes as opposed to two children nodes like that shown inFIG. 2 . Further, in one or more embodiments of the present invention, an HTM may be structured such that a parent node in one level of the HTM has a different number of children nodes than a parent node in the same or another level of the HTM. Further, in one or more embodiments of the present invention, an HTM may be structured such that a parent node receives input from children nodes in multiple levels of the HTM. In general, those skilled in the art will note that there are various and numerous ways to structure an HTM other than as shown inFIG. 2 . - Any entity that uses or is otherwise dependent on an HTM as, for example, described above with reference to
FIG. 2 and below with reference toFIGS. 3-27 , may be referred to as an “HTM-based” system. Thus, for example, an HTM-based system may be a machine that uses an HTM, either implemented in hardware or software, in performing or assisting in the performance of a task. - Learning Causes
- In embodiments of the present invention, an HTM discovers one or more causes in its world from sensory input data received by the HTM. In other words, an HTM does not necessarily have a sense particular to each of the types of causes being sensed; instead, an HTM may discover from raw sensed input data that causes such as cars and words exist. In such a manner, an HTM is able to learn and form representations of causes existing in its world.
- As described above, an “object” has persistent structure. The persistent structure causes persistent patterns to be sensed by an HTM. Each sensed input pattern has a spatial attribute. In other words, each sensed input pattern may be thought of as being represented as a particular set of bits. In general, a node in an HTM “learns,” i.e., stores and associates with a common cause, sensed input patterns by determining “coincidences” of sensed input patterns in its input. Determining coincidences of sensed input patterns involves determining which sensed input patterns are active at the same time at a rate statistically greater than what would be expected based on mere chance. For example, if an HTM node having one hundred inputs has seven inputs that become active together at some statistically significant rate, then the HTM node learns the sensed input patterns at
- Further, in one or more embodiments of the present invention, it may not be necessary for an HTM node to learn all sensed input patterns occurring together at some statistically significant rate. Instead, an HTM node may store the x most common sensed input patterns found in its input. These learned sensed input patterns may be referred to as “quantization points” of the HTM node.
- In addition to an HTM node learning commonly occurring sensed input patterns as described above, the HTM node learns common sequences of those learned sensed input patterns. A particular sequence of learned sensed input patterns may be learned by recognizing that the sequence occurs at a rate statistically greater than what would be expected based on mere chance. For example, if of fifty sensed input patterns learned by an HTM node, three occur in a particular order at some statistically significant rate, then the HTM node may learn that sequence of sensed input patterns.
- Further, in one or more embodiments of the present invention, it may not be necessary for an HTM node to learn all sequences occurring at some statistically significant rate. Instead, an HTM node may store the x most frequent sequences found in its input.
- In one or more embodiments of the present invention, the sequences learned by an HTM node may each be represented by a variable. As each learned sequence is associated with a particular cause, each variable accordingly represents a different cause. The HTM node may pass each of its variables up to a parent node via a vector containing probabilities as to the likelihood that each of its learned sequences is active at its input at a given time. The parent node may then (i) determine coincidences of its sensed input patterns (i.e., the variables received from its child node), (ii) learn sensed input patterns as described above, and (iii) learn sequences of learned sensed input patterns (i.e., learn sequences of variables representing sequences learned by its child node).
- Sequence Learning
- As described above, sequence learning involves learning frequently occurring sequences of elements and outputting a probability that a given input vector of elements is part of a learned sequence for each of its learned sequences.
FIG. 3 shows anode 40 having a sequence learning functionality. Thenode 40 has acoincidence detector 42 and asequence learner 44. Thecoincidence detector 42 receives someinput 46. Generally, thecoincidence detector 42 identifies coincidences among its input. At each time-step, thecoincidence detector 42 outputs a distribution P(e− t|y), where P(e− t|y) represents the probability of observing e− (evidence from a lower level) at time t when in state y. The distribution P(e− t|y) is a vector in which each entry corresponds to a different y, where y represents some state of a world to whichnode 40 is exposed. Thus, for example, at time t, the first entry in P(e− t|y) is P(e− t|y1), the second entry is P(e− t|y2), and so forth. - Based on the distributions outputted over time by the
coincidence detector 42, thesequence learner 44 outputs a distribution P(e− t|S), where P(e− t|S) represents the probability of observing e− (evidence from a lower level) at time t over learned sequences S. Thus, each entry in the distribution P(e− t|S) corresponds to a different learned sequence Si. In one or more embodiments of the present invention, the learned sequences themselves may not be communicated outside of thesequence learner 44. Further, those skilled in the art will note that thesequence learner 44, has a behavior (i.e., outputting distributions over learned sequences) that may be independent of a type and/or topology of network of which thesequence learner 44 is part. - As described above, y represents some state of a world. Those skilled in the art will note that the statistical nature of the world is such that these states are likely to occur in particular sequences over time. As shown in
FIG. 4 , to learn sequences in its world, a sequence learner (e.g., 44 inFIG. 3 ) identifies sequences and updates them over time ST50. Further, the sequence learner is arranged to collect statistics on its learned sequences ST52 and then, based on its learned sequences and statistics thereof, compute probability distributions (as described above) ST54. - In one or more embodiments of the present invention, a sequence learner may have a particular number noutputs of outputs. Although the sequence learner may identify more sequences than it has outputs, only noutputs may be represented at the output of the sequence learner. In other words, every sequence identified by the sequence learner may not be uniquely represented at the output of the sequence learner. Thus, it follows that the sequence learner may be arranged to allocate, or “map,” its limited number of outputs among a larger number of identified sequences. In one or more embodiments of the present invention, such mapping may be motivated by one or more of the following priorities: desiring frequently occurring sequences; desiring differentiated sequences (in an effort to, for example, not waste outputs on sequences that are substantially similar); and desiring a minimum disruption to the meanings associated with the outputs (in an effort to, for example, enable stable learning at a higher level).
- In regard to identifying frequently occurring sequences, at any given time t, a sequence learner may have to calculate the probability that a particular sequence of elements has been received over time up until time t. For example, to determine the probability that the sequence ‘y4y2y3’ has occurred over the last three samples (i.e., over the last three time steps), a sequence learner may multiply P(e− t-2|y4), P(e− t-1|y2), and P(e− t|y3) as shown in
FIG. 5 . The product of such a multiplication operation represents a “soft” count of the probability of having observed ‘y4y2y3’. Thus, because at every time t, each input state has some probability associated with it (e.g., inFIG. 5 , at any time t, each of input states y1-y4 has an associated probability), for every time t, there is some probability that any one of the possible sequences has been observed. - Further, in one or more embodiments of the present invention, instead of keeping a “soft” count as described above, a count of the actual number of times a sequence has occurred—a “hard” count—may be kept dependent on having a particular state of input vectors.
- Those skilled in the art will note that there may be a combinatorial explosion of possible sequences received by a sequence learner over time. Thus, in one or more embodiments of the present invention, the sequence learner may consider a certain number of input states in each input sample, where that certain number is parameterized by some value para. Such treatment may narrow the number of possible updates to a base of para instead of a base of the number ninputs of inputs to the sequence learner.
- Further, in one or more embodiments of the present invention, a search space of a sequence learner may be reduced, or otherwise controlled, by considering only those sequences of a given length that have been identified as potentially frequent from observations of shorter sequences. For example, the sequence learner may count likely 2-sequences (i.e., sequences of 2 elements) over a certain number window[2] of input samples. The resulting frequent 2-sequences may be used to generate candidate 3-sequences (i.e., sequences of 3 elements), whereupon, only these candidate 3-sequences are counted over a certain number window[3] of input samples. This process may continue until reaching a number MaxL representing the maximum length sequence to be considered by the sequence learner. In one or more other embodiments of the present invention, the sequence learner may have a different stopping point. For example, the sequence learner may use the statistics of its input to determine the maximum sequence length to consider.
- Determining likely sequences as described above may be dependent on a “coherence time,” which is the time over which the statistics of inputs remain constant. For an “on-line” sequence learner (i.e., one that does not loop back over previous inputs), the time required to generate likely sequences up to some maximum length may have to be less than the coherence time. If the time required to identify sequences of a certain length becomes longer than the coherence time, then in one or more embodiments of the present invention, “batch” processing, instead of on-line processing, may be used. Batch processing may involve identifying k-sequences (i.e., sequences of length k) by looping back over the same input used to identify the k−1-sequences (i.e., sequences of length k−1).
- In one or more embodiments of the present invention, as sequences of certain length are identified, a sequence learner may keep the associated counts in a table st_table. There may be a separate st_table for each sequence length. For example, after counting 3-sequences, a table st_table{3} may be as follows:
Count Sequence 103.92 121 8.67 224 82.50 231 167.02 312 220.45 423 14.32 412 -
FIG. 6 shows a flow process for building a table st_table in accordance with an embodiment of the present invention. In regard to building table st_table{k}, for each k-sequence received in an input to a sequence learner, if a certain number window[k] of input samples has not yet been sampled ST60, the table st_table{k} is searched for the k-sequence ST62, ST64. If the k-sequence is already identified by table st_table{k}, then the corresponding count is appropriately incremented by the soft count for the k-sequence ST66, ST68. Otherwise, if the k-sequence is not listed in table st_table{k}, then that k-sequence is added to table st_table{k} with its corresponding soft count ST66, ST70. Upon receiving window[k] input samples ST60, the least common k-sequences may be removed ST72, i.e., all but the top x sequences may be removed, where x represents a maximum number of sequences that may be kept in table st_table{k} after counting sequences of length k. The resulting table st_table{k} may then be used to generate candidate sequences for table st_table{k+1} (generating candidate sequences further described below) ST73, whereupon the process shown inFIG. 6 may be repeated for table st_table{k+1}. Further, in one or more embodiments of the present invention, the process shown inFIG. 6 may not be performed for every k-sequence. - Further, in one or more embodiments of the present invention, it may be desirable to refine counts on k-length sequences at multiple points in time after an initial counting procedure. In such embodiments, in an effort to give greater weight to recent counts without abandoning all previous observations, a table lt_table of long-term counts may be created and used.
- As described above, in one or more embodiments of the present invention, a sequence learner may only consider those sequences of a given length that have been identified as potentially frequent from observations of shorter sequences. In other words, for example, if Si is a frequent 3-sequence, then it is likely that each subsequence of Si of
length 2 is also frequent. Conversely, if a 2-sequence is infrequent, then it is unlikely that any of its 3-length super-sequences are frequent. Thus, the sequence learner may consider only those 3-sequences of which each 2-length subsequence is frequent. - In one or more embodiments of the present invention, a sequence learner may determine candidate k-sequences from a set of frequent k−1-sequences using, for example, a “join” operation. Candidate k-sequences are those for which the first k−1 samples and the last k−1 samples are frequent. For each frequent k−1-sequence Si in a table st_table{k−1}, a join operation may search for a k−1-sequence Sj in table st_table {k−1}, where the first k−2 elements of Sj are the same as the last k−2 elements of Si. If such an Sj exists, the concatenation of Si and the last element of Sj is added to the list of candidate k-sequences in a table st_table{k}. For example, consider the following tables st_table{3} and st_table{4}, which show the results after a join operation on table st_table{3}.
Count 3-Sequence Count 4-Sequence 103.92 121 →JOIN→ 0 2312 82.50 231 0 3121 167.02 312 0 4231 220.45 423
To illustrate how a join operation may work on table st_table{3}, the following description is provided. Taking the 3-sequence ‘121,’ the join operation searches table st_table{3} for a 3-sequence whose first 2 elements match the last two elements of the taken ‘121’ 3-sequence. Because there are no 3-sequences that meet this condition with respect to the taken ‘121’ 3-sequence, the join operation may next take, for example, the 3-sequence ‘312.’ For this taken sequence, the join operation finds that the first two elements of the ‘121’ 3-sequence matches the last two elements of the taken ‘312’ sequence. Thus, the join operation then concatenates the taken ‘312’ 3-sequence with the last element in the found ‘121’ 3-sequence to yield a candidate 4-sequence of ‘3121’ in table st_table{4}. Further, those skilled in the art will note that in one or more embodiments of the present invention, one or more operations other than a join operation may be used to generate candidate k-sequences. - As described above, in one or more embodiments of the present invention, each output of a sequence learner represents a particular learned sequence. Considering that the sequence learner is continuously identifying the most likely sequences to represent at its outputs, old sequences may need to be replaced by newer sequences that are more frequent. If there are multiple old sequences that are less frequent than a new sequence, the sequence learner may replace one or more of the multiple old sequences based on some criteria. For example, the sequence learner may first remove any old sequences having a length of 1.
- Further, the sequence learner may, for example, remove an old sequence based on its similarity to a new sequence. The similarity of sequences may be determined based on some distance metric. For example, the sequence learner may determine the similarities of sequences using some minimum Hamming distance metric. The Hamming distance may be defined as the number of single-entry changes needed to be made to one sequence to reach another sequence, including changes to “empty” slots either before or after the sequence (but not both). For example, if an old sequence is ‘1234’, and the new sequence is ‘1235’, the Hamming distance is 1.
- Further, in one or more embodiments of the present invention, a distance metric may consider all possible shifts of one sequence relative to the other. For those element indices that overlap in a given shift, ‘0’ may be counted if the elements match, and ‘1’ may be counted if the elements do not match. This number is added to the number of elements that do not align with any element of the other sequence. For example, if an old sequence is ‘1234’, and the new sequence is ‘345’, the result of the distance metric may be determined as 2. Those skilled in the art will note that various distance metrics may be created and/or used to determine the similarity between two sequences.
- Further, in one or more embodiments of the present invention, a sequence learner may, for example, remove an old sequence based on the count (i.e., occurrence frequency) of the old sequence. More particularly, old sequences with lower counts may be replaced before old sequences with higher counts.
- Further, in one or more embodiments of the present invention, a sequence learner may limit how different old and new sequences can be before an old sequence is replaced. In other words, if an old sequence is relatively very different than a new sequence, the sequence learner may prevent that old sequence from being replaced by the new sequence. Such control may promote stable learning at higher levels.
- If a sequence learner replaces an old sequence with a new sequence, then, in one or more embodiments of the present invention, counts associated with subsequences of the old sequence may be removed from a corresponding table st_table.
- In one or more embodiments of the present invention, as sequences are identified and represented at an output of a sequence learner, the sequence learner may collect statistics on the represented sequences. For example, the sequence learner may identify the a priori probability of a particular sequence and/or the transition probability between sequences.
- At any time t, a sequence learner identifies the most likely sequences to represent at its output as described above. As described above, the sequence learner is further arranged to compute the probability of actually being in each of the represented sequences given the inputs received over time by the sequence learner.
- By learning sequences as described above, a node in an HTM may coalesce both space and time when learning causes. Thus, for example, while a lower level child node learns causes based on patterns and sequences thereof sensed over its input space, a higher level parent node is able to learn higher level causes by coalescing both space and time over a larger input space. In other words, as information ascends through the hierarchy of an HTM, higher level nodes learn causes that cover larger areas of input space and longer periods of time than lower level nodes. For example, one or more nodes in a lowest level of an HTM may learn causes associated with a price of a particular stock, whereas one or more nodes in a higher level of the HTM may learn causes associated with overall stock market fluctuations.
- In one or more embodiments of the present invention, computing the output probability over a learned sequence may be dependent on Γ (gamma). Γ may be denoted as a matrix indexed by two variables, S and I, where S corresponds to output sequences (e.g., S1=‘y4y2y3’, S2=‘y1y2y1’, S3=‘y3y1’, S4=‘y2y2y1y4’), and where I corresponds to the index within each sequence (e.g., S1[I]=y4 when I=1). Γ(S, I) may be represented as shown in
FIG. 7A . - At any point in time, each entry (Si, Im) in a gamma matrix represents the probability that the current input vector corresponds to the Im th element of sequence Si. Each gamma may be determined based solely on the previous gamma and the input vector. Further, even though the result may depend on the input history of all past inputs, only the result from the previous time-step may need to be considered as the result of the previous time-step implicitly contains all relevant information from all previous time-steps. Once gamma is determined, the total probability of sequence Si may be determined as the sum across the ith row of the gamma matrix (normalized by the prior probability of the sequence).
- In one or more embodiments of the present invention, an overall sequence probability in terms of gamma may be represented as follows:
and where
β(S i ,S j ,I m ,I n)=P(S i t ,I m t ,y t |S j t−1 ,I n t−1 y 0 . . . y t−1). - Further, for example, in the case where a given sequence is observed in its entirety, the expression for β may be reduced to the following:
- Those skilled in the art will note that the description above and below in regard to computing (and initializing) gamma represents only an example of how a sequence learner may calculate output probabilities. Now considering, for example, the four sequences given above (i.e., {S1, S2, S3, S4}, where S1=‘y4y2y3’, S2=‘y1y2y1’, S3=‘y3y1’, S4=‘y2y2yIy4’), the first two sums in the expression for gamma iterate through every possible combination of previous and current elements. Consider one of those combinations, yt−1=y2 and yt=y1. In other words, the previous input vector (though it contains a probability for every element yi) represents a cause of y2, and the current input vector represents y1. The expression for β (beta) may evaluate to a non-zero value for those entries in gamma that correspond to the elements y2 and y1 and time t−1 and t, respectively. These may be referred to as “active cells” in the gamma matrix as further shown in
FIG. 7B . - Those skilled in the art will note that it may not be enough for a cell to be active at time t to satisfy non-zero conditions given in beta. For those cells that are not in the first column (I!=1), an active cell at time t may follow an active cell at time t−1 in the same sequence. For the example being used (namely, with respect to the four sequences {S1, S2, S3, S4} given above), there may be only one out of the four time-t active cells for which this condition holds, the cell being circled (at the head of the arrow) as shown in
FIG. 7C . Because this is an internal (I!=1) case, the beta function may simply multiply the value stored in the circled t−1 cell by one. - Further, those skilled in the art will note that beta may just be one function in the expression for beta given above. There may also be a need to multiply the value in the circled t−1 cell (at the non-headed of the arrow) shown in
FIG. 7C by P(et|yt=y1), which is equivalent to the circled value in the input vector shown inFIG. 8 . - Accordingly, the value added to the circled cell at time t is the value in the circled cell from time t−1 multiplied by the value in the input vector indicated shown in
FIG. 8 (and multiplied by 1). This may be for only one case of previous and current elements (yt−1=y2 and yt=y1). Iterations may be carried through every combination of previous and current elements, performing similar calculations, and the results are cumulatively added to the gamma matrix at time t. - A further iteration may be considered—the iteration dealing with the case relating to the first column (I=1). To visualize this, those skilled in the art may assume they are dealing with the case of yt-1=y4 and yt=y1. The current element is the same, but now there may be an assumption that the previous element was y4 instead of y2. The active cells are shown in
FIG. 7D . - In such a case, there are no active cells at time t that follow an active cell of the same sequence at time t−1. However, as shown in
FIG. 7E , there is a first-column (1=1) cell at time t and a final-element cell at time t−1. Although this fails to satisfy the conditions for beta=1, it does satisfy the conditions for beta=A0, where A0 represents the (constant) transition probability between sequences (noting that the general case may be represented as A0(Si,Sj)). Those skilled in the art will note that the circled t−1 cell (at the non-headed end of arrow) shown inFIG. 7E need not be in the last column (I=4), but may be the last element of a given sequence. Still referring toFIG. 7E , the value in the cell circled at time t−1 would be multiplied by A0 and multiplied by the value corresponding to y4 in the input vector, and the product would be added to the value stored in the circled cell at time t. - In summary, in one or more embodiments of the present invention, for each combination of previous and current elements, a sequence learner may determine which active cells satisfy the conditions for either beta=1 or beta=A0. The sequence learner may multiply the legal values from time t−1 by the beta and then multiply by the corresponding value from the input vector. The result across all combinations of previous and current elements is then summed to reach a final gamma.
- As described above, in one or more embodiments of the present invention, each gamma is defined in terms of the previous gamma. With respect to determining the first gamma, those skilled in the art will note that the first observed element, yt=0=ya, may correspond to any index in a sequence with equal likelihood. In one or more embodiments of the present invention, the number of occurrences of ya across all sequences may be determined as follows:
The probability of an element in a sequence is 1 over this sum if that element is a ya and zero otherwise: - For example, referring to
FIG. 9 , consider the first iteration of the sum, where yi=y1. There are 4 cells in the gamma matrix that correspond to y1. Each of these cells may be populated by ¼ multiplied by the first entry in the input vector, P(et|y1). This operation may then be repeated for yi=y2, and so forth. - Further, in one or more embodiments of the present invention, it may be necessary, or otherwise desirable, to initialize a gamma at times other than at time t=0. For example, in some cases, a sequence learner may perform calculations that yield no useful results regarding the sequence to which an input vector belongs. Thus, when a sequence learner has an output probability that meets one or more certain characteristics (e.g., the output distribution is uniform), gamma may be re-initialized as described above by treating the first input vector as a new input at time t=0.
- Those skilled in the art will note that in one or more embodiments of the present invention, gamma will become small over time. Even when high-probability elements correspond to legal paths along learned sequences, there may be some energy in the input that does not correspond to legal paths and is therefore not passed along to the output probabilities. Further, each transition multiplies by a factor of A0<1, which may diminish the input. However, the accuracy of the sequence learner may not be affected if, for example, the probabilities in a gamma matrix (examples described above) are normalized to 1. Thus, in one or more embodiments of the present invention, the output distribution of a sequence learner may simply be normalized to render accurate probabilities. Further, in one or more embodiments of the present invention, should it be desirable to prevent gamma from diminishing to numbers over time that are “too small,” gamma may be periodically normalized. Gamma may be normalized, for example, by dividing each entry in the matrix by a sum total of the entire matrix.
- Those skilled in the art will note that the description above in regard to computing (and initializing) gamma represents only an example of how a sequence learner may calculate output probabilities. In one or more other embodiments of the present invention, a sequence learner may use one or more different operations or techniques to calculate output probabilities.
- Further, in one or more embodiments of the present invention, a sequence learner may output a probability for an input sequence as opposed to for each input element. For example, if the sequence ‘123’ is received over time, the sequence learner may output a probability upon receiving the last element, i.e., ‘3’, in the sequence as opposed to outputting a probability for each element ‘1’, ‘2’, and ‘3’. A determination as to when a particular sequence ends and when to output the corresponding probability may depend on one or more various criteria. For example, in one or more embodiments of the present invention, if a transition probability (e.g., A0 described above) meets a certain threshold, a sequence learner may then output a probability for the sequence received over time until meeting the threshold. Further, in one or more embodiments of the present invention, a sequence learner may output a probability if a transition probability peaks (i.e., a fast rise followed by a fast fall, or vice-versa). Further, in one or more embodiments of the present invention, a sequence learner may output a probability if a correlation between distributions indicates that a new sequence has occurred. Further, in one or more embodiments of the present invention, a sequence learner may track a change in a “motion” (i.e., computations) of the sequence learner and then output a probability when there is a change inconsistent with the tracked motion.
- Pooling
- As described above, learning causes in an HTM-based system may involve learning patterns and sequences of patterns. In general, patterns and sequences that occur frequently are stored and assigned to the same causes. For example, groups of patterns that occur frequently at some statistically significant rate may be assigned to the same cause. In the case of sequences, sequences that occur frequently at some statistically significant rate may be assigned to the same cause. Accordingly, learning causes may effectively entail mapping many patterns and/or sequences to a single cause. Such assigning of multiple patterns and/or sequences to a single cause may be referred to as “pooling.”
- In one or more embodiments of the present invention, pooling may be dependent on “spatial” similarities between two or more patterns (noting that a pattern may actually represent a sequence from a lower level). In such embodiments, an HTM node may compare a spatial property of a received sensed input pattern with that of a learned sensed input pattern (or “quantization” point). If the two patterns are “similar enough” (i.e., have enough “overlap”), then the received sensed input pattern may be assigned to the same cause as that of the quantization point. For example, if a quantization point is equal to ‘10010110’, then a received sensed input pattern of ‘10011110’ may be assigned to the same cause as that of the quantization point due to there being a difference of only bit between the two patterns. Those skilled in the art will note that the amount of similarity needed to perform such “spatial” pooling may vary within and/or among HTM-based systems.
- Further, in one or more embodiments of the present invention, pooling may involve assigning patterns that occur in order to the same cause. For example, if an HTM node receives pattern A followed by pattern B followed by pattern D, then patterns A, B, and D may be assigned to the same cause as there is some likelihood that this sequence of patterns was caused by the same object. Accordingly, such “temporal” pooling enables the mapping of patterns, some or all of which may have no significant spatial overlap, to a single cause.
- Further, in one or more embodiments of the present invention, pooling may involve learning the timing between received input patterns. For example, an HTM node that learns a sequence of patterns A, B, and C may also learn the timing between the patterns in the sequence. Sequences having such timing are assigned to the same cause. In such a manner, an HTM node, and an HTM in general, may assign sequences to a cause based on rhythm (i.e., the timing relationship from one element in a sequence to the next element in the sequence) and/or tempo (i.e., the overall speed of the sequence).
- Further, in one or more embodiments of the present invention, pooling may involve controlling an HTM node to assign two or more patterns to the same cause. For example, a higher level HTM node may send a signal to a lower level HTM node directing the lower level HTM node to assign two or more patterns received by the lower level HTM node to the same cause. These two or more patterns may have no spatial overlap or temporal relationship.
- Determining Causes of Novel Input
- After an HTM has learned, or while the HTM is continuing to learn, one or more causes in its world, the HTM may determine causes of novel input using what may be referred to as “inference.” In general, presented with novel sensed input data, an HTM may infer which of its learned causes is/are the source of the novel sensed input data based on statistical comparisons of learned patterns and sequences thereof with patterns and sequences thereof in the novel sensed input data.
- When an HTM node receives a new sensed input pattern, the HTM node assigns probabilities as to the likelihood that the new sensed input pattern matches each of its learned sensed input patterns. The HTM node then combines this probability distribution (may be normalized) with previous state information to assign probabilities as to the likelihood that the new sensed input pattern is part of each of the learned sequences of the HTM node. Then, as described above, the distribution over the set of sequences learned by the HTM node is passed to a higher level node.
- Those skilled in the art will note that the distribution passed by an HTM noue is derived from a “belief” as to the likelihood that each learned cause is the cause of sensed input patterns at the input of the HTM node. A “belief” also includes those messages that are derived from or based on the belief. For example, an HTM node having learned five causes may deterministically assign percentages to each of the five learned causes as being the cause of sensed input patterns. The distribution of percentages (or “belief” as described above) may be normalized (or unnormalized) and passed to a parent node. The parent node may then determine coincidences among the distributions sent from its child nodes, and then, based on its learned sensed input patterns and sequences thereof, pass to a yet higher level node its own belief as to the likelihood that each of its learned causes is the cause of sensed input patterns at its input. In other words, a parent node forms its own “higher level” belief as to the cause of the sensed input patterns at least partly based on some statistical convergence of the beliefs passed from its child nodes.
- Further, in one or more embodiments of the present invention, inferring causes may occur during learning. Further, in one or more embodiments of the present invention, learning by an HTM may be disabled, in which case, inference may continue to occur.
- As described above, one or more causes of sensed input patterns may be determined by an HTM through a series of inference steps ascending through the hierarchy of the HTM. Further, in one or more embodiments of the present invention, one or more causes of sensed input patterns may be determined based on information descending through the hierarchy of the HTM. In general, by combining its memory of likely sequences of sensed input patterns with current input (i.e., beliefs from lower level nodes), a node in an HTM may have the ability to “predict” (i.e., make “predictions” as to) what is likely to happen next.
- When a node in an HTM generates a prediction of what is likely to happen next, the prediction, or “prior probability,” biases lower level nodes in the HTM to infer the predicted causes. This may be achieved by a higher level node passing a probability distribution over its learned sensed input patterns (as opposed to over its learned sequences) to a lower level node. This probability distribution may be used by the lower level node as an expectation as to the next sensed input pattern. For example, if an HTM is processing text or spoken language, the HTM may automatically predict what sounds, words, and ideas are likely to occur next. Such a process may help the HTM understand noisy or missing data. In other words, for example, if an ambiguous sound arrived, the HTM may likely interpret the sound based on what the HTM was expecting. In general, prediction may influence the inference process by biasing at least part of an HTM to settle on one or more expected beliefs. Moreover, in one or more embodiments of the present invention, a prediction may be fed back from a higher level node in an HTM to a lower level node in the HTM as a substitute (at least in part) for sensory input data to the lower level node.
- Further, in one or more embodiments of the present invention, one or more prior probabilities may be set manually in addition to or instead of having prior probabilities set via prediction. In other words, an HTM may be manually controlled to anticipate a particular cause or set of causes.
- Belief Propagation
- As described above, in one or more embodiments of the present invention, inferring causes of sensed input patterns involves passing beliefs from lower level nodes to higher level nodes. In
FIG. 10 , such “belief propagation” is shown in HTM 80 (beliefs indicated with arrows; nodes shown, but not labeled). Generally, as described above, a belief is a vector of values, where each value represents a different cause. A current belief of a node may be a distribution of several causes being at least partially active at the same time. Further, the values in the belief vector may be normalized so that a stronger likelihood of one cause represented in the vector will diminish the likelihood of other causes represented in the vector. Further, those skilled in the art will note that a meaning of a value representing a cause in a belief vector may not vary depending on what other causes represented in the belief vector are active. - As described above with reference to
FIG. 2 , an HTM is a hierarchy of connected nodes. Each node may be thought as having a belief. In one or more embodiments of the present invention, a belief at one node may influence a belief at another node dependent on, for example, whether the nodes are connected via a conditional probability table (CPT). - A CPT is a matrix of numbers, where each column of the matrix corresponds to the individual beliefs from one node, and where each row of the matrix corresponds to the individual beliefs from another node. Thus, those skilled in the art will note that by multiplying a vector representing a belief in a source node by an appropriate CPT results in a vector in the dimension and “language” of beliefs of a destination node. For example, in an HTM-based system designed for operation in a “weather” domain, a lower level node may form a belief about air temperature and have values representing the likelihood of the following causes: “hot”; “warm”; “mild”; “cold”; and “freezing”. A higher level node may form a belief about precipitation and have values representing the likelihood of the following causes: “sunny”; “rain”; “sleet”; and “snow”. Thus, using a CPT, the belief about air temperature in the lower level node may inform the belief about precipitation in the higher level node (and vice-versa). In other words, multiplying the vector representing the belief about air temperature in the lower level node by the CPT results in a vector representing the appropriate belief about precipitation in the higher level node.
- Accordingly, in one or more embodiments of the present invention, belief propagation allows an HTM to infer causes such that each node in the HTM represents a belief that is maximally or optimally consistent with its input. Those skilled in the art will note that performing inference in such a manner results in ambiguities being resolved as beliefs ascend through the HTM. For example, in an HTM (or part thereof) having a parent node and two child nodes, if (i) the first child node believes with 80% certainty that it is seeing a “dog” and with 20% certainty that it is seeing a “cat” and (ii) the second child node believes with 80% certainty that it is hearing a “pig” and with 20% certainty that it is hearing a “cat,” then the parent node may decide with relatively high certainty that a “cat” is present and not a “dog” or “pig.” The parent node effectively settled on “cat” because this belief is the only one that is consistent with its inputs, despite the fact the “cat” image and the “cat” sound were not the most likely beliefs of its child nodes.
- Further, as described above, a higher level node in an HTM may pass a “prediction” to a lower level node in the HTM. The “prediction” is a “belief” in that it contains values representing the likelihoods of different causes. The vector representing the belief in the higher level node may be multiplied by an appropriate CPT to inform a belief in the lower level node. Thus, in effect, a higher level node in an HTM uses its learned sequences combined with recent state information (i.e., the current input to the higher level node) to (i) predict what its next belief should be and (ii) then pass the expectation down to one or more lower level nodes in the HTM.
-
FIG. 11 shows a flow process in accordance with an embodiment of the present invention. Particularly,FIG. 11 shows in summary the steps of belief propagation described above. Initially, a current node in the HTM receives input (in the form of sensed input patterns or beliefs from lower level nodes) ST82. Based on the received input and any beliefs passed down from a higher level node, the current node forms/adjusts its belief as to the likelihood of causes at its input distributed over its learned causes ST84. This belief is then passed to higher level and/or lower level nodes to inform beliefs at those nodes ST86. - Spatial Attention
- To facilitate a determination of causes of input patterns sensed by an HTM, the HTM may “focus” the determination. An HTM provided with the ability to focus when determining causes of sensed input patterns may be referred to as having “attention.” For example, in one or more embodiments of the present invention, an HTM may have the capacity to focus on a subset of an entire input space. An HTM having such a capacity may be referred to as having “spatial attention.”
-
FIG. 12 shows a portion of anHTM 90 having spatial attention in accordance with an embodiment of the present invention. The portion ofHTM 90 shown inFIG. 12 haslevel L1 nodes level L2 node 96.Level L1 node 92 has an input range of i1-ix, andlevel L1 node 94 has an input range of ix+1iy. Accordingly,level L2 node 96 has an input range of i1-iy. - As shown in
FIG. 12 ,level L1 nodes L2 node 96 byconnections Connections level L1 nodes level L2 node 96 overconnections - Further,
level L1 nodes L2 node 96 byconnections Connections relay module 106. Those skilled in the art will note that the depiction ofrelay module 106 inFIG. 12 is only a representation. In other words, althoughrelay module 106 is shown inFIG. 12 as being positioned betweenlevel L1 nodes level L2 node 96, in one or more other embodiments of the present invention,relay module 106 may be positioned elsewhere (either in software or hardware). - In the case, for example, that
level L2 node 96 is “not paying attention” tolevel L1 node 92 due to the state ofrelay module 106, iflevel L1 node 92 experiences an unexpected event at its input,level L1 node 92 may send a “strong” signal to relaymodule 96 overconnection 108 in order to causerelay module 106 to allow data/information to flow fromlevel L1 node 92 tolevel L2 node 96 overconnection 102. Further, in the case, for example, thatlevel L2 node 96 is “not paying attention” tolevel L1 node 94 due to the state ofrelay module 106, iflevel L1 node 94 experiences an unexpected event at its input,level L1 node 94 may send a “strong” signal to relaymodule 106 overconnection 100 in order to causerelay module 106 to allow data/information to flow fromlevel L1 node 94 tolevel L2 node 96 overconnection 104. - Further, in the case, for example, that
level L2 node 96 is “not paying attention” tolevel L1 node 92 due to the state ofrelay module 106, iflevel L2 node 96 needs to pay attention to the input space oflevel L1 node 92,level L2 node 96 may send a “strong” signal to relaymodule 106 overconnection 112 in order to causerelay module 106 to allow data/information to flow fromlevel L1 node 92 tolevel L2 node 96 overconnection 102. Further, in the case, for example, thatlevel L2 node 96 is “not paying attention” tolevel L1 node 94 due to the state ofrelay module 106, iflevel L2 node 96 needs to pay attention to the input space oflevel L1 node 94,level L2 node 96 may send a “strong” signal to relaymodule 106 overconnection 114 in order to causerelay module 106 to allow data/information to flow fromlevel L1 node 94 tolevel L2 node 96 overconnection 104. - Further, the flow of data/information over
connections module 106 overconnections FIG. 12 ,connections level L1 nodes level L2 node 96. Instead, for example, in one or more embodiments of the present invention, signals overconnections connections FIG. 12 . - As described above,
relay module 106 provides a means to switch “on” and “off” connections between lower and higher level nodes. This has the effect of limiting or increasing what an HTM perceives. - Further, in one or more embodiments of the present invention,
relay module 106, instead of switching “on” and “off” data/information flow overconnections connections relay module 106 may modify a probability distribution sent fromlevel L1 node 92 overconnection 102. - Category Attention
- In one or more embodiments of the present invention, an HTM, possibly in addition to having spatial attention, may have what may be referred to as “category attention.” An HTM having category attention may focus the HTM on a particular category of causes/objects.
FIG. 13 shows a portion of anHTM 120 in accordance with an embodiment of the present invention. InFIG. 13 , the levels and nodes (shown, but not labeled) are similar to that shown and described above with reference toFIG. 2 . Further,HTM 120 is provided with, or at least connected to, acategory attention module 122. Thecategory attention module 122 may be singly or multiply connected (possible connections indicated inFIG. 13 with dashed lines) to any of the nodes inHTM 120. -
Category attention module 122 allows for the control of categories of causes (e.g., by selecting one or more contexts) that may be considered by a node connected to thecategory attention module 122. Thus, for example, ifHTM 120 expects to receive inputs of category “CAT,”category attention module 122 may assert a signal to the only node in level L3 so as to effectively switch “off” the consideration of non-“CAT” categories (e.g., category “DOG”). In other words,category attention module 122 may be used to select a context for what at least a portion ofHTM 120 perceives. In one or more other embodiments of the present invention,category attention module 122 may assert a context that is not to be perceived by at least a portion ofHTM 120. For example,category attention module 122 may assert context “DOG,” whereby all contexts other than “DOG” may be perceived byHTM 120. - Directed Behavior
- As described above, an HTM in accordance with embodiments of the present invention is able to learn and form representations of causes in its world and then later predict causes as the HTM senses novel input. In essence, an HTM that has learned how causes in its world behave over time has created a model of its world. In one or more embodiments of the present invention, the ability of an HTM to predict causes over time may be used to direct behavior as described below with reference to
FIGS. 14 and 15 . -
FIG. 14 shows a portion of an HTM-basedsystem 130 in accordance with an embodiment of the present invention. The HTM-basedsystem 130 has anHTM 146 formed of levels L1, L2, L3, where level L1 hasnodes nodes node 144. TheHTM 146 receives sensed input data, learns and forms representations of causes of the sensed input data, and then infers and predicts causes of novel sensed input data based on its learned causes and representations thereof. - The HTM-based
system 130 further includes a motor behavior andcontrol module 148. The motor behavior andcontrol module 148 has “built-in” or preprogrammed behaviors, which are essentially primitive behaviors that exist independent of theHTM 146. As theHTM 146 discovers and learns causes in its world, theHTM 146 learns to represent the built-in behaviors just as theHTM 146 learns to represent the behavior of objects in its world outside of the HTM-basedsystem 130. Those skilled in the art will note that from the perspective of theHTM 146, the built-in behaviors of the HTM-basedsystem 130 are simply causes in its world. TheHTM 146 discovers these causes, forms representations of them, and learns to predict their activity. - Those skilled in the art will note that in one or more embodiments of the present invention, the motor behavior and
control module 148 may be part of or associated with a robot. However, in one or more other embodiments of the present invention, the motor behavior andcontrol module 148 may not be part of or associated with a robot. Instead, for example, the motor behavior andcontrol module 148 may simply provide some mechanism for movement of the HTM-basedsystem 130. - As described above,
HTM 146 learns and forms representations of the built-in behaviors of the HTM-basedsystem 130 as carried out by the motor behavior andcontrol module 148. Next, through an associative memory mechanism, the representations of the built-in behaviors learned by theHTM 146 may be paired with the corresponding mechanisms in the motor behavior andcontrol module 148. For example, in one or more embodiments of the present invention, a node inHTM 146 having a learned representation of a particular built-in behavior (or a part thereof depending on a position of the node in the HTM 146) may send one or more signals to the motor behavior andcontrol module 148 to determine which mechanisms in the motor behavior and control module 58 are active during the occurrence of the particular built-in behavior. Thus, representations of built-in behavior carried out by the HTM-basedsystem 130 are learned by theHTM 146 and then may be associated with the corresponding mechanisms in the motor behavior andcontrol module 148. - Those skilled in the art will note that in one or more embodiments of the present invention, the learned representations of the built-in behaviors in the
HTM 146 may be associated or correlated with the mechanisms creating the built-in behaviors in the motor behavior andcontrol module 148 based on an implementation representing some form of Hebbian learning. - After the association of a learned behavioral representation in the
HTM 146 with a corresponding behavioral mechanism in the motor behavior andcontrol module 148, when theHTM 146 next predicts that behavior, it may actually cause the behavior to occur. For example, using an analogue to human behavior, breathing is considered a built-in, or innate, behavior. A newborn human breathes without having to first learn how to breathe (similar to, for example, eye blinking and movement away from pain). Over time, the human associates learned representations of breathing with the actual muscles that cause breathing. Based on this determined association, the human may then control his/her breathing by, for example, purposefully deciding when to breathe in and/or breathe out. In a similar manner, returning to the context of the HTM-basedsystem 130, theHTM 146, once having learned a representation of a particular behavior (e.g., movement of a robot limb) caused by the HTM-basedsystem 130 and associating the learned representation with a corresponding behavioral mechanism (e.g., the motor responsible for causing movement of the robot limb), may cause, via prediction, the particular behavior to occur. -
FIG. 15 shows a flow process in accordance with an embodiment of the present invention. In ST150, an HTM-based system generates some sort of behavior. The HTM in the HTM-based system observes the behavior ST152, and subsequently over time, the HTM learns causes and forms representations of the observed behavior ST154. Nodes in lower levels of the HTM learn causes and form representations of smaller parts of the behavior relative to that learned and formed by nodes in higher levels of the HTM. For example, in the context of a robot capable of walking in a human-like way, lower level nodes in the HTM may learn causes and form representations of particular toe or knee movements, whereas larger level nodes in the HTM may learn causes and form representations of entire leg, hip, and torso movements. - Once the HTM learns causes and forms representations of the observed behavior in ST154, each of the nodes in the HTM associates learned causes with corresponding behavioral mechanisms in the HTM-based system ST156. For example, in the context of the robot capable of walking in a human-like way, lower level nodes in the HTM may associate representations of particular toe and knee movements with the mechanisms in the HTM-based system that cause these movements, whereas higher level nodes in the HTM may associate representations of entire leg, hip, and torso movements with the mechanisms in the HTM-based system that cause these larger, or higher-level, movements.
- After determining associations between learned behavioral representations and their corresponding behavioral mechanisms in ST156, the HTM, based on information propagated to and/or through the HTM, may predict and cause particular behaviors to occur ST158. Those skilled in the art will note that in such a manner, an HTM may string together complex sequences of learned built-in behaviors to create novel, complex, and/or goal-oriented behavior.
- Further, in one or more embodiments of the present invention, an HTM-based system may be controlled so as to switch “off” the ability of an HTM to cause one or more particular behaviors. This may be achieved by use of a control module that is capable of selectively switching “off” or damping particular signals from nodes in the HTM to a motor behavior and control component of the HTM-based system.
- Architecture
- In one or more embodiments of the present invention, at least part of an HTM network may be provided as a software platform. The HTM network may run on various computer architectures. For example, as shown in
FIG. 16 , an HTM network (nodes shown, but not labeled) 160 may run on a single central processing unit (CPU) 162. - Further, as shown in
FIG. 17 , in one or more embodiments of the present invention, an HTM network (nodes shown, but not labeled) 164 may run acrossseveral CPUs CPUs - Further, in one or more embodiments of the present invention, the CPUs over which an HTM network runs may be located at a single location (e.g., at a datacenter) or at locations remote from one another.
- As described above, in one or more embodiments of the present invention, at least part of an HTM network may be provided as a software platform. The software executables for creating and running the HTM network may be referred to as being part of a “runtime engine.” As shown in
FIG. 18 , aruntime engine 172 of an HTM-based system includes, in addition to the executables for running anHTM network 174, aSupervisor entity 176. In one or more embodiments of the present invention, theSupervisor entity 176 is responsible for, among other things, starting and stopping theHTM network 174 and communicating with external applications (i.e., “tools”) 180, 182, 184, each of which are further described below. However, although theSupervisor entity 176 may be used to start and stop theHTM network 174, it may not be necessary for theSupervisor entity 176 to be running while theHTM network 174 is in operation. - As shown in
FIG. 18 , theSupervisor entity 176 is associated with anet list 178. TheSupervisor entity 176 uses a description in thenet list 178 to configure theHTM network 174. For example, a description in thenet list 178 may specify the distribution of nodes across a given set of CPUs. However, in one or more other embodiments of the present invention, theSupervisor entity 176 may configure an HTM network dynamically if, for example, certain information is not contained in thenet list 178. Further, in one or more embodiments of the present invention, theSupervisor entity 176 may read a net list from a date file. Further, in one or more embodiments of the present invention, a net list may be specified interactively by a user using one ormore tools - Further, in one or more embodiments of the present invention, the
Supervisor entity 176 may perform global network actions, distribute nodes across CPUs, and/or coordinate CPU activity/behavior. Further, in one or more embodiments of the present invention, theSupervisor entity 176 may enforce licensing restrictions such as those relating to, for example, the number of usable CPUs, license expiration dates, number of user limitations, and/or the ability to load third-party “plug-ins.” - Further, in one or more embodiments of the present invention, the
Supervisor entity 176 may check for software updates on some regular basis. In such embodiments, if there is a software update available, theSupervisor entity 176 may, for example, install the software update and restart theHTM network 174. Further, in one or more embodiments of the present invention, theSupervisor entity 176 may determine and/or select the order in which portions of theHTM network 174 are to be updated. - Further, in one or more embodiments of the present invention, the
Supervisor entity 176 may communicate with one or more CPUs (not shown inFIG. 18 ) running theHTM network 174 using, for example, a private or internal application program interface (API). Further, in one or more embodiments of the present invention, theSupervisor entity 176 and the one or more CPUs (not shown inFIG. 18 ) running theHTM network 174 may all be on the same local area network (LAN). - Further, in one or more embodiments of the present invention, the
Supervisor entity 176 may run on a CPU separate from one or more CPUs (not shown inFIG. 18 ) running theHTM network 174. However, in one or more other embodiments of the present invention, theSupervisor entity 176 may run on a CPU that runs all or part of theHTM network 174. -
FIG. 19 shows at least a portion of an HTM-based system that runs anHTM network 186 on asingle CPU 188. In such embodiments of the present invention, an instance ofSupervisor entity 190, along with anet list 192, may run onCPU 188. Further, as shown inFIG. 19 , aruntime engine 194 may be composed of the software executables for theHTM network 186, theSupervisor entity 190, and thenet list 192. -
FIG. 20 shows at least a portion of an HTM-based system that runs anHTM network 220 onmultiple CPUs CPUs Supervisor entity 228, along with anet list 230, may run on aseparate CPU 232. In such embodiments of the present invention, theSupervisor entity 228 may communicate (across, for example, a switch 234) with instances of “node processing units” (NPUs) 236, 238, 240 running on each of theCPUs NPU HTM network 220 running on theCPU NPU NPU Supervisor entity 228 describing all or part of theHTM network 220, including information relating to the portion of theHTM network 220 that eachNPU NPU HTM network 220 for which it is responsible. Further, eachNPU HTM network 220 in some timing relation to at least oneother NPU - Further, in one or more embodiments of the present invention, each
NPU - Further, as shown in
FIG. 20 , aruntime engine 242 may be composed of the software executables for theHTM network 220, theSupervisor entity 228, thenet list 230, and theNPUs FIG. 20 . - Further, as shown, for example, in
FIG. 20 , there is one NPU per CPU running a portion of an HTM network. However, in one or more other embodiments of the present invention, there may be a different relationship as to the number of NPUs allocated per CPU. - As described above with reference to
FIG. 18 (also shown inFIGS. 19 and 20 ), a runtime engine 1720 runningHTM network 174 may interface with one ormore tools tools HTM network 174 or a CPU on which theHTM network 174 runs. Generally, in one or more embodiments of the present invention, Configurator tool 180 may be used to create and/or configure an HTM network,Trainer tool 182 may be used to create a trained HTM network for a particular application, and/orDebugger tool 184 may be used to debug the operation of an HTM network. Further, in one or more embodiments of the present invention, tools (not shown) may be provided to, for example, monitor/report performance of an HTM network and/or deploy a designed, trained, and/or debugged HTM network as a running application. In general, one or more embodiments of the present invention may use any number and/or types of different tools to interface with an HTM network. - In one or more embodiments of the present invention, a Supervisor entity (e.g., 176 in
FIG. 18, 190 inFIG. 19, 228 inFIG. 20 ) may communicate with developer/client tools (e.g., 180, 182, 184 inFIG. 18 ) using a designated Supervisor API. In one or more embodiments of the present invention, the Supervisor API may support Unicode and/or multi-byte character sets. - Because the developer/client tools may reside at, or otherwise be accessible from, locations remote from a location running a particular HTM network, a Supervisor API may be accessible through, for example, a firewall. One protocol that may be used to facilitate such accessibility involves encoding messages in Extensible Markup Language (XML) and passing them over the Internet (i.e., HTTP transmission). If security is desired or required, then messages may be passed over a secure Internet protocol (e.g., HTTPS transmission). Further, in one or more embodiments of the present invention, if a Supervisor entity (e.g., 176 in
FIG. 18, 190 inFIG. 19, 228 inFIG. 20 ) and developer/client tools (e.g., 180, 182, 184 inFIG. 18 ) are on the same LAN, messages may be passed using means such as, for example, socket connections and/or pipes. - As described above, a Supervisor API may interact with developer/client tools. In one or more embodiments of the present invention, the Supervisor API may be used to authenticate one or more client applications attempting to communicate with a Supervisor entity (e.g., 176 in
FIG. 18, 190 inFIG. 19, 228 inFIG. 20 ). If the client is authenticated, the Supervisor API may return session information to the client and connect the client with the Supervisor entity. The Supervisor API may also disconnect the client from the Supervisor entity. - Further, in one or more embodiments of the present invention, a net list describing all or part of an HTM network may be passed from a client to a Supervisor entity through a Supervisor API. Further, a Supervisor API may be used to return state information to the client. State information may include, for example, the beliefs at one or more nodes of the HTM network, whether the HTM network is running, paused, or restarting, the number of nodes in all or part of the HTM network, and the number of CPUs actively running portions of the HTM network. Further, a Supervisor API may be accessed to start, pause and restart, or stop an HTM network.
- Further, in one or more embodiments of the present invention, a Supervisor API may be accessed to: return a list of network files that have been stored by a system (e.g., a cluster of servers) used to run an HTM network; load an HTM network from a network file stored locally in a system (e.g., a cluster of servers) usable to run an HTM network; locally save a state of an HTM network in a system (e.g., a cluster of servers) running the HTM network; move one or more nodes from running on one CPU to running on another CPU; turn a debugging feature “on” or “off”; retrieve detailed state information of a component in an HTM network; set a state of a component in an HTM network; instruct an HTM network to pause operations after a specific triggering event, where the triggering event may be completion of one complete iteration of the HTM network, completion of updating a given list of nodes, completion of updating one node on each CPU, reaching a particular time, reaching a particular node value, and/or an occurrence of an error; retrieve statistics regarding operation of an HTM network; request storage of historical data regarding an HTM network; retrieve stored historical data regarding an HTM network; retrieve messages from an event log that, for example, occurred during a particular time frame; execute an OS command; reboot a set of servers used to run an HTM network; and/or request the triggering of an alarm if certain conditions are met.
- Further, in one or more embodiments of the present invention, a Supervisory API may have a “batch command” system. In one or more embodiments of the present invention, a batch command system may be used to execute one or more operations of a Supervisor API in a particular sequence. Further, in one or more embodiments of the present invention, a batch command system may be used to execute one or more of the same commands on more than one node. Further, in one or more embodiments of the present invention, a batch command system may include the capabilities of a full scripting language (e.g., Python, Perl) so that, for example, ‘if’ statements and loops may be performed easily. Those skilled in the art will note that the use of a full scripting language may allow a user to script complex commands (e.g., commands:
train level 1 of hierarchy until states oflevel 1 nodes reach a given condition; then turn “off” learning inlevel 1 andtrain level 2 of hierarchy until states oflevel 2 nodes reach a given condition, etc.). - Further, in one or more embodiments of the present invention, the Supervisor APT may be arranged to handle a failure of any of the hardware components needed to run a particular HTM network. Further, in one or more embodiments of the present invention, the Supervisor API may handle a software failure (e.g., failure of an NPU instance). Further, in one or more embodiments of the present invention, the Supervisor API may handle a communication establishment error. Further, in one or more embodiments of the present invention, the Supervisor API may handle one or more errors in reading a provided net list describing a particular HTM network.
- In addition to the Supervisor API, an HTM-based system may also have a Node Plug-in
API 250 as shown inFIG. 21 . InFIG. 21 (elements labeled similarly to that shown inFIG. 19 ), the Node Plug-inAPI 250 may be used to create new node types. For example, the Node Plug-inAPI 250 may be used to interface new hardware for running theHTM network 186 and/or implement, for example, new learning algorithms. In one or more embodiments of the present invention, using the Node Plug-inAPI 250, one or more “plug-ins” may be dynamically loaded when theHTM network 186 is initialized or rebooted. In such a manner, a functionality of a runtime engine running theHTM network 186 may be extended as further described below. - Extensibility
- As described above, in one or more embodiments of the present invention, an HTM network may be provided as a software platform. To enable the HTM network to be usable in various different domains and/or modifiable by various entities (e.g., software developers, client or user-level applications), the functionality of all or part of the HTM may be “extensible.” Those skilled in the art will note that the term “extensible” in the context of software describes a software entity (e.g., a computer program, a programming language, a routine) that can have its capabilities “extended” (e.g., changed, augmented).
- In one or more embodiments of the present invention, extensibility may be afforded to an HTM network by having abstract interfaces for one or more of the components of the HTM network. For example, in one or more embodiments of the present invention, an abstract interface for a component of an HTM network may be implemented using a base class if using object-oriented programming (e.g., C++, Java® (developed by Sun Microsystems, Inc. of Santa Clara, Calif.)) to implement the HTM network. Those skilled in the art will note that a base class in object-oriented programming is a class from which other classes (e.g., subclasses, child classes, derived classes) inherit members. Further, those skilled in the art will note that a base class may also be referred to as a “superclass” or “parent” class.
-
FIG. 22 shows an inheritance diagram of anHTM network 260 in accordance with an embodiment of the present invention. In general, theHTM network 260 is formed of one or more “entities,” where each entity defines an interface that is implemented through instantiation in order to render that entity extensible. In one or more embodiments of the present invention, the collection of entities in theHTM network 260 may be specified by a net list that is part of a software file that defines and is used to implement theHTM network 260. Once instantiated, the entities specified in the net list may communicate in some synchronized fashion and collaborate to perform some collective computation of theHTM network 260. - The
HTM network 260 shown inFIG. 22 has aBase entity 274 that links the following named entities, each of which is further described below:Sensor 262;Effector 264;Link 266;Supervisor 268;Router 270; and Learning and Inference/Prediction Algorithm 272 (shown inFIG. 3 as “Learning”). Each of theentities - As shown in
FIG. 22 , eachentity FIG. 22 , eachentity - Further, although
FIG. 22 shows a particular number and types of entities, in one or more other embodiments of the present invention, an HTM network may have a different number and/or one or more types of entities different than that shown inFIG. 22 . For example, in one or more embodiments of the present invention, an HTM network may not have an Effector entity. - In one or more embodiments of the present invention, software executables for running an HTM network may run at the level of
Base entity 274. In other words,Base entity 274 may be thought of as working at the level of a net list containing the description of the HTM network. In such a manner, a user-level application for creating, running, designing, debugging, training, modifying, and/or otherwise using an HTM network may simply interface withBase entity 274 without having to “know” about, for example, one or more of theother entities FIG. 22 . - In one or more embodiments of the present invention,
Sensor entity 262 specializes in handling inputs sensed by theHTM network 260, where causes of the inputs exist in the domain in which theHTM network 260 is implemented. Those skilled in the art will note that there may any number ofSensor entities 262 in a net list defining theHTM network 260. The exact behavior of Sensor entity 262 (implemented as a base class) is extensible through the modification or addition of one or more subclasses. For example, shown inFIG. 22 ,Sensor entity 262 has the following subclasses: a gray-scale sensor subclass 276; a colorimage sensor subclass 278; a binaryimage sensor subclass 280; and anaudio sensor subclass 282. Each of thesesubclasses subclass Sensor entity 262 may have no “knowledge” of the specific functionalities performed by each of itssubclasses FIG. 22 shows a particular number and types of subclasses, in one or more other embodiments of the present invention, any number and/or types of subclasses may be used. - In one or more embodiments of the present invention,
Effector entity 264 specializes in passing back outputs from theHTM network 260. Those skilled in the art will note that there may be any number ofEffector entities 264 in a net list defining theHTM network 260. The exact behavior of Effector entity 264 (implemented as a base class) is extensible through the modification or addition of one or more subclasses. For example, as shown inFIG. 22 ,Effector entity 264 has the following subclasses: anoutput file subclass 284; amotor control subclass 286; adatabase subclass 288; and adisplay subclass 290. Each of thesesubclasses subclass Effector entity 264 may have no “knowledge” of the specific functionalities performed by each of itssubclasses FIG. 22 shows a particular number and types of subclasses, in one or more other embodiments of the present invention, any number and/or types of subclasses may be used. - In one or more embodiments of the present invention,
Link entity 266 specializes in efficient message passing between particular entities. Those skilled in the art will note that there may be any number ofLink entities 266 in a net list defining theHTM network 260. The exact behavior of Link entity 266 (implemented as a base class) is extensible through the modification or addition of one or more subclasses. - In one or more embodiments of the present invention,
Supervisor entity 268 orchestrates the collective computation of theHTM network 260. Those skilled in the art will note that for a normal application, there may be only oneSupervisor entity 268 in a net list defining theHTM network 260. The exact behavior of Supervisor entity 268 (implemented as a base class) is extensible through the modification or addition of one or more subclasses. - In one or more embodiments of the present invention,
Router entity 270 specializes in accurately coordinating the passing of messages among the entities in anHTM network 260. Those skilled in the art will note that there may be aRouter entity 270 for each computing entity (e.g., CPU) over which theHTM network 260 is running. The exact behavior of Router entity 270 (implemented as a base class) is extensible through the modification or addition of one or more subclasses. - In one or more embodiments of the present invention, Learning and Inference/
Prediction entity 272 specializes in discovering and inferring causes of sensed input patterns as described above. Those skilled in the art will note that there may be any number of Learning and Inference/Prediction entities 272 in a net list defining theHTM network 260. The exact behavior of Learning and Inference/Prediction entity 272 (implemented as a base class) is extensible through the modification or addition of one or more subclasses. For example, as shown inFIG. 22 , Learning and Inference/Prediction entity 272 has the following subclasses: acoincidence detection subclass 292; asequence learning subclass 294; abelief propagation subclass 296; aprediction subclass 298; and avector quantization subclass 300. Each of thesesubclasses subclass Prediction entity 272 may have no “knowledge” of the specific functionalities performed by each of itssubclasses FIG. 22 shows a particular number and types of subclasses, in one or more other embodiments of the present invention, any number and/or types of subclasses may be used. - In one or more embodiments of the present invention, when
HTM network 260 is running, an “outer” process may be running to “orchestrate” the operation of theHTM network 260.FIG. 23 shows a flow process in accordance with an embodiment of the present invention. Particularly,FIG. 23 shows a technique for traversing an HTM network. To provide further context, as described above, an HTM network may have several entities that are extensible. During operation of the HTM network, (i) various entities may attempt to extend one or more entities of the HTM network and (ii) various entities will need to be processed. Thus, one or more embodiments of the present invention provide a mechanism for traversing the HTM network in some desirable manner with consideration to, for example, the priority and timing of particular entities. - In
FIG. 23 , initially, an HTM network is created ST310. This may be achieved by reading in a net list defining the HTM network. In one or more other embodiments of the present invention, the HTM network may be created programmatically. Once the HTM network itself has been created in ST310, each entity in the HTM network is initialized (and stored in memory) ST312. - Then, the priority of each entity may be optionally reset (noting that the priorities of each entity may already be reset immediately after initialization in ST312) ST314. Thereafter, the input parameters to the HTM network are set ST316. Then, the entity with the highest priority is determined ST318 and its compute( ) method is invoked ST320. Determining the entity with the highest priority may be dependent on one or more different factors. For example, in some cases, a priority level of an entity may be used to determine the priority of that entity relative to other entities. However, in other cases, a timing of an entity may be used to determine the priority of that entity relative to other entities. For example, if a compute( ) method of a particular entity has to be invoked every x milliseconds, then at time intervals of x milliseconds, that particular entity has the highest priority regardless of the priority levels of other entities. More particularly, for example, a sensor may be connected to a camera that needs to process a live image ever 33 milliseconds. In this case, a compute( ) method for the sensor may be invoked every 33 milliseconds regardless of the priority levels of other active entities. Those skilled in the art will note that in such a manner, an HTM network may run in real-time.
- Once all the entities in the HTM network have been processed ST322, the outputs of the HTM network are read ST324. If more inputs remain ST326, then the process repeats optionally starting at ST314 (otherwise repeating starting at ST316 (not shown)).
- Further, in one or more embodiments of the present invention, the process described above with reference to
FIG. 23 may be performed by or under the direction of, for example,Supervisor entity 268 shown inFIG. 22 . In one or more embodiments of the present invention,Supervisor entity 268 may be “subclassed” if a different traversal mechanism is desired. - An HTM network, as described above with reference to
FIG. 22 , enables, for example, a software developer, to “extend” the capabilities of the HTM network through the replacement and/or addition of subclasses. Moreover, with proper permission, a user may also modify the entity base classes in the net list defining the HTM network. -
FIG. 24 shows a flow process in accordance with an embodiment of the present invention. Particularly,FIG. 24 shows how a user may extend an HTM network. Initially, a user may define/write a subclass for extending the HTM network in some way ST330. This subclass would include, for example, a compute( ) method. Then, the source code for the HTM network may be recompiled ST332, thereby creating a new HTM network with the newly defined subclass. - In some cases, however, it may not be desirable to recompile and/or provide access to the source code for an entire HTM network. Accordingly,
FIG. 25 shows a flow process for another way to extend an HTM network. Initially, a user creates a dynamic library as a plug-in, i.e., the new or modified subclass for the HTM network ST340. Then, the user links, i.e., references in code, the plug-in to the HTM network using a plug-in interface/mechanism (e.g., Node Plug-inInterface 250 shown inFIG. 21 ) of the HTM network (step not shown). This linking may be dependent on binary code of the HTM network provided to the user. Thereafter, at start-up or while running, the HTM network may dynamically search for and then instantiate the plug-in ST342. Those skilled in the art will note that in such a manner, the HTM network is extended without having to recompile the source code for the entire HTM network. - Message Passing
- As described above, the operation of an HTM network may be executed across a cluster of one or more servers. As further described above, in one or more embodiments of the present invention, NPUs manage the operation of nodes forming the HTM network. Each NPU is responsible for managing a certain set of one or more nodes. As further described below with reference to
FIG. 26 , one or more “message managers” may be instantiated/implemented to facilitate the propagation of messages within a particular server and/or among two or more servers. - In
FIG. 26 , a cluster 350 is formed, at least in part, ofservers NPUs NPU 356 is assigned toserver 372, andNPUs server 372. Further, as shown inFIG. 26 , eachNPU NPUs - Further, those skilled in the art will note that although
FIG. 26 shows particular numbers of NPUs, servers, NPUs per server, total nodes, nodes per server, and nodes per NPU, in one or more other embodiments of the present invention, any configuration of servers, NPUs, and nodes may be used. - As described above, nodes in an HTM network output data (e.g., beliefs, matrices of values). Still referring to
FIG. 26 , in one or more embodiments of the present invention, the propagation of such data as messages between nodes, whether part of the same server or different servers, may be handled by one ormore message managers NPU 354 outputs a belief, the belief is made available to message manager 364 (the availability of the belief may be notified tomessage manager 364 by NPU 354), which, based on information as to the source of the output belief and the topology of the HTM network running on cluster 350, sends the belief as part of a message to each appropriate destination server (e.g., server 372). An “appropriate” destination server is a server running a node (or nodes) that requires the output belief. Those skilled in the art will note that by implementing such message passing, data from one server needed or expected by multiple nodes on another server may only be sent once as opposed to multiple times for each of the multiple destination nodes. This may result in the use of less bandwidth across the cluster 350. Further, in one or more embodiments of the present invention, it may not be necessary for amessage manager - As described above, a
message manager servers message manager FIG. 18 ). Further, in one or more embodiments of the present invention, information (e.g., address tables) regarding the topology of an HTM network may be formed dynamically without some central control. - Further, in one or more embodiments of the present invention, a
message manager message manager message manager - Further, in one or more embodiments of the present invention,
message managers - Further, in one or more embodiments of the present invention, a
message manager Message managers - Further, although
FIG. 26 shows a one-to-one correspondence betweenservers message managers - In one or more embodiments of the present invention, a message formed by any one of
message managers - Further, in one or more embodiments of the present invention, a
message manager FIG. 26 may be related to, or otherwise associated with, a Router entity (e.g., 270 inFIG. 22 ). - Further, in one or more embodiments of the present invention, one or more of
message managers message managers message managers message managers message managers message managers - Further, in one or more embodiments of the present invention, one or more of
message managers - Further, an HTM in accordance with one or more embodiments of the present invention may be associated with virtually any type of computer system, including multiprocessor and multithreaded uniprocessor systems, regardless of the platform being used. For example, as shown in
FIG. 27 , anetworked computer system 200 includes at least one processor (e.g., a general-purpose processor, a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a graphics processor) 202, associatedmemory 204, astorage device 206, and numerous other elements (not shown) and functionalities typical of modern commuter Systems. Thenetworked computer system 200 may also include input means (e.g., akeyboard 208, amouse 210, one or more sensory input systems (not shown)) and output means (e.g., a monitor 212). Thenetworked computer system 200 is connected to a LAN or a wide area network (WAN) via a network interface connection (not shown). Those skilled in the art will appreciate that these input and output means may take other forms. Further, those skilled in the art will appreciate that one or more elements of thenetworked computer system 200 may be remotely located and connected to the other elements over a network. Further, software instructions to perform one or more embodiments of the present invention may be stored on a computer readable medium such as a compact disc (CD), a diskette, a tape, a file, a hard drive, or any other computer-readable storage device. - Advantages of the present invention may include one or more of the following. In one or more embodiments of the present invention, an HTM-based system may learn causes.
- In one or more embodiments of the present invention, an HTM-based system may determine one or more causes of patterns that may change over space and/or time.
- In one or more embodiments of the present invention, an HTM-based system may identify patterns occurring frequently over time and then assign them to one or more particular causes.
- In one or more embodiments of the present invention, an HTM-based system may learn frequently occurring sequences and assign probabilities indicating the likelihood of elements in an input vector being part of the learned sequences.
- In one or more embodiments of the present invention, an HTM-based system may assign spatially similar patterns to the same cause.
- In one or more embodiments of the present invention, an HTM-based system may assign patterns received in order to the same cause.
- In one or more embodiments of the present invention, an HTM-based system may learn timing between patterns in a received sequence.
- In one or more embodiments of the present invention, an HTM-based system may assign patterns having no significant spatial overlap or timing relationship to the same cause.
- In one or more embodiments of the present invention, an HTM may infer causes through belief propagation.
- In one or more embodiments of the present invention, a belief in one node of an HTM may be used to inform a belief in another node of the HTM.
- In one or more embodiments of the present invention, a belief in one node of an HTM may be passed from a higher level node to a lower level node.
- In one or more embodiments of the present invention, belief propagation in an HTM may enable a node in the HTM to form a belief that is optimally and/or maximally consistent with the input to the node.
- In one or more embodiments of the present invention, an HTM-based system may focus its determination of causes of input data on a subset of an entire input space, thereby possibly resulting in more efficient, less intensive, and/or faster determination of causes of novel input.
- In one or more embodiments of the present invention, an HTM-based system may focus its determination of causes of input data on a particular category (or set thereof) of causes, thereby possibly resulting in more efficient, less intensive, and/or faster determination of causes of input data.
- In one or more embodiments of the present invention, an HTM-based system may be used to create novel, complex, and goal-oriented behavior, where the behavior as a whole was not initially preprogrammed into the HTM-based system.
- In one or more embodiments of the present invention, an HTM-based system may learn causes and form representations of behaviors caused both outside of and by the HTM-based system.
- In one or more embodiments of the present invention, an HTM network may be implemented across one or more CPUs and/or servers.
- In one or more embodiments of the present invention, an HTM network may be provided as a software platform that may be accessible in whole or in part by one or more third parties.
- In one or more embodiments of the present invention, an HTM network implemented across one or more CPUs may be accessible through a controlled interface.
- In one or more embodiments of the present invention, a functionality of an HTM network may be extensible.
- In one or more embodiments of the present invention, an HTM network may be extended without recompiling source code for the entire HTM network.
- In one or more embodiments of the present invention, various entities may extend an HTM network, thereby potentially improving the applicability, performance, speed, efficiency, robustness, and/or accuracy of the HTM network.
- In one or more embodiments of the present invention, an HTM network may be extensible based on time, thereby providing for a real-time HTM network.
- In one or more embodiments of the present invention, messages between nodes distributed across servers running all or part of an HTM network may be passed accurately and/or efficiently (e.g., using low relatively bandwidth).
- In one or more embodiments of the present invention, one or more message managers running in an HTM network may be provided with information regarding the location of nodes in the HTM network. Such information may be used to efficiently route messages between nodes in the HTM network.
- In one or more embodiments of the present invention, an HTM-based system is formed of a hierarchical network of nodes that may be used to represent a hierarchical spatial and temporal structure of a world in which the HTM-based system is designed to operate.
- While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as disclosed herein. Accordingly, the scope of the invention should be limited only by the attached claims.
Claims (20)
1. A system, comprising:
an HTM network executable at least in part on a CPU; and
a first entity arranged to manage a communication between a user application and the part of the HTM network executable on the CPU.
2. The system of claim 1 , wherein the first entity is instantiated at least in part in software.
3. The system, further comprising:
a server, wherein the server comprises the CPU.
4. The system of claim 1 , wherein the communication comprises an XML-encoded message.
5. The system of claim 1 , wherein the communication is transmitted using at least one of an HTTP and an HTTPS protocol.
6. The system of claim 1 , wherein the HTM network is executable across a plurality of CPUs.
7. A software platform, comprising:
a runtime engine arranged to run an HTM network;
a first interface accessible by a set of tools to at least one of configure, design, train, debug, modify, and deploy the HTM network; and
a second interface accessible to extend a functionality of the runtime engine.
8. The software platform of claim 7 , wherein the runtime engine is arranged to distribute operations of the HTM network over a plurality of CPUs.
9. The software platform of claim 7 , wherein the runtime engine is arranged to execute operations of the HTM network with a single CPU.
10. The software platform of claim 7 , the runtime engine comprising:
a node processing unit arranged to manage at least a portion of the HTM network; and
a supervisor entity arranged to propagate a communication between the set of tools and the node processing unit.
11. The software platform of claim 10 , wherein the node processing unit is allocated to a CPU running the at least a portion of the HTM network.
12. The software platform of claim 10 , wherein the supervisor entity is dependent on a net list comprising a description of the at least a portion of the HTM network.
13. The software platform of claim 10 , wherein the supervisor entity is arranged to allocate the at least a portion of the HTM network to a CPU.
14. The software platform of claim 7 , wherein the functionality is dynamically extendable by the runtime engine dependent on the second interface.
15. The software platform of claim 7 , wherein the set of tools is accessible to a user application, and wherein the set of tools comprises at least one of a configuration tool, a training tool, and a debugging tool.
16. A method of performing operations, comprising:
accessing, via an interface, a computer system capable of running an HTM network; and
at least one of creating, designing, modifying, training, debugging, and deploying the HTM network dependent on the accessing.
17. The method of claim 16 , wherein the computer system comprises a plurality of CPUs.
18. The method of claim 16 , further comprising:
accessing a node of the HTM network; and
extending a functionality of the HTM network dependent on the accessing.
19. The method of claim 16 , the accessing comprising:
communicating a message between a user application and the interface.
20. The method of claim 16 , further comprising:
running the HTM network dependent on instructions provided to the computer system via the interface.
Priority Applications (20)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/351,437 US20070192267A1 (en) | 2006-02-10 | 2006-02-10 | Architecture of a hierarchical temporal memory based system |
US11/622,455 US7904412B2 (en) | 2006-02-10 | 2007-01-11 | Message passing in a hierarchical temporal memory based system |
US11/622,447 US20070276774A1 (en) | 2006-02-10 | 2007-01-11 | Extensible hierarchical temporal memory based system |
US11/622,457 US7613675B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical computing modules for performing recognition using spatial distance and temporal sequences |
US11/622,448 US20070192268A1 (en) | 2006-02-10 | 2007-01-11 | Directed behavior using a hierarchical temporal memory based system |
US11/622,458 US7899775B2 (en) | 2006-02-10 | 2007-01-11 | Belief propagation in a hierarchical temporal memory based system |
US11/622,456 US7624085B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical based system for identifying object using spatial and temporal patterns |
US11/622,454 US7620608B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical computing modules for performing spatial pattern and temporal sequence recognition |
EP07750385A EP1987477A2 (en) | 2006-02-10 | 2007-02-08 | Architecture of a hierarchical temporal memory based system |
PCT/US2007/003544 WO2007095107A2 (en) | 2006-02-10 | 2007-02-08 | Architecture of a hierarchical temporal memory based system |
CN2007800072741A CN101395620B (en) | 2006-02-10 | 2007-02-08 | Architecture of a hierarchical temporal memory based system |
US11/680,197 US7941389B2 (en) | 2006-02-10 | 2007-02-28 | Hierarchical temporal memory based system including nodes with input or output variables of disparate properties |
US12/052,580 US8447711B2 (en) | 2006-02-10 | 2008-04-14 | Architecture of a hierarchical temporal memory based system |
US12/576,966 US8285667B2 (en) | 2006-02-10 | 2009-10-09 | Sequence learning in a hierarchical temporal memory based system |
US13/415,713 US8732098B2 (en) | 2006-02-10 | 2012-03-08 | Hierarchical temporal memory (HTM) system deployed as web service |
US13/604,543 US8666917B2 (en) | 2006-02-10 | 2012-09-05 | Sequence learning in a hierarchical temporal memory based system |
US14/149,607 US8959039B2 (en) | 2006-02-10 | 2014-01-07 | Directed behavior in hierarchical temporal memory based system |
US14/228,121 US9621681B2 (en) | 2006-02-10 | 2014-03-27 | Hierarchical temporal memory (HTM) system deployed as web service |
US14/591,821 US9424512B2 (en) | 2006-02-10 | 2015-01-07 | Directed behavior in hierarchical temporal memory based system |
US15/449,753 US10516763B2 (en) | 2006-02-10 | 2017-03-03 | Hierarchical temporal memory (HTM) system deployed as web service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/351,437 US20070192267A1 (en) | 2006-02-10 | 2006-02-10 | Architecture of a hierarchical temporal memory based system |
Related Child Applications (9)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/622,455 Continuation US7904412B2 (en) | 2006-02-10 | 2007-01-11 | Message passing in a hierarchical temporal memory based system |
US11/622,457 Continuation US7613675B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical computing modules for performing recognition using spatial distance and temporal sequences |
US11/622,456 Continuation US7624085B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical based system for identifying object using spatial and temporal patterns |
US11/622,454 Continuation US7620608B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical computing modules for performing spatial pattern and temporal sequence recognition |
US11/622,448 Continuation US20070192268A1 (en) | 2006-02-10 | 2007-01-11 | Directed behavior using a hierarchical temporal memory based system |
US11/622,447 Continuation US20070276774A1 (en) | 2006-02-10 | 2007-01-11 | Extensible hierarchical temporal memory based system |
US11/622,458 Continuation US7899775B2 (en) | 2006-02-10 | 2007-01-11 | Belief propagation in a hierarchical temporal memory based system |
US11/680,197 Continuation-In-Part US7941389B2 (en) | 2006-02-10 | 2007-02-28 | Hierarchical temporal memory based system including nodes with input or output variables of disparate properties |
US12/052,580 Division US8447711B2 (en) | 2006-02-10 | 2008-04-14 | Architecture of a hierarchical temporal memory based system |
Publications (1)
Publication Number | Publication Date |
---|---|
US20070192267A1 true US20070192267A1 (en) | 2007-08-16 |
Family
ID=38369922
Family Applications (13)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/351,437 Abandoned US20070192267A1 (en) | 2006-02-10 | 2006-02-10 | Architecture of a hierarchical temporal memory based system |
US11/622,448 Abandoned US20070192268A1 (en) | 2006-02-10 | 2007-01-11 | Directed behavior using a hierarchical temporal memory based system |
US11/622,458 Active 2028-08-01 US7899775B2 (en) | 2006-02-10 | 2007-01-11 | Belief propagation in a hierarchical temporal memory based system |
US11/622,454 Active US7620608B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical computing modules for performing spatial pattern and temporal sequence recognition |
US11/622,447 Abandoned US20070276774A1 (en) | 2006-02-10 | 2007-01-11 | Extensible hierarchical temporal memory based system |
US11/622,455 Active 2028-09-04 US7904412B2 (en) | 2006-02-10 | 2007-01-11 | Message passing in a hierarchical temporal memory based system |
US11/622,456 Active 2026-02-11 US7624085B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical based system for identifying object using spatial and temporal patterns |
US11/622,457 Active US7613675B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical computing modules for performing recognition using spatial distance and temporal sequences |
US12/052,580 Active 2030-01-17 US8447711B2 (en) | 2006-02-10 | 2008-04-14 | Architecture of a hierarchical temporal memory based system |
US12/576,966 Active 2027-03-24 US8285667B2 (en) | 2006-02-10 | 2009-10-09 | Sequence learning in a hierarchical temporal memory based system |
US13/604,543 Active US8666917B2 (en) | 2006-02-10 | 2012-09-05 | Sequence learning in a hierarchical temporal memory based system |
US14/149,607 Active US8959039B2 (en) | 2006-02-10 | 2014-01-07 | Directed behavior in hierarchical temporal memory based system |
US14/591,821 Active US9424512B2 (en) | 2006-02-10 | 2015-01-07 | Directed behavior in hierarchical temporal memory based system |
Family Applications After (12)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/622,448 Abandoned US20070192268A1 (en) | 2006-02-10 | 2007-01-11 | Directed behavior using a hierarchical temporal memory based system |
US11/622,458 Active 2028-08-01 US7899775B2 (en) | 2006-02-10 | 2007-01-11 | Belief propagation in a hierarchical temporal memory based system |
US11/622,454 Active US7620608B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical computing modules for performing spatial pattern and temporal sequence recognition |
US11/622,447 Abandoned US20070276774A1 (en) | 2006-02-10 | 2007-01-11 | Extensible hierarchical temporal memory based system |
US11/622,455 Active 2028-09-04 US7904412B2 (en) | 2006-02-10 | 2007-01-11 | Message passing in a hierarchical temporal memory based system |
US11/622,456 Active 2026-02-11 US7624085B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical based system for identifying object using spatial and temporal patterns |
US11/622,457 Active US7613675B2 (en) | 2006-02-10 | 2007-01-11 | Hierarchical computing modules for performing recognition using spatial distance and temporal sequences |
US12/052,580 Active 2030-01-17 US8447711B2 (en) | 2006-02-10 | 2008-04-14 | Architecture of a hierarchical temporal memory based system |
US12/576,966 Active 2027-03-24 US8285667B2 (en) | 2006-02-10 | 2009-10-09 | Sequence learning in a hierarchical temporal memory based system |
US13/604,543 Active US8666917B2 (en) | 2006-02-10 | 2012-09-05 | Sequence learning in a hierarchical temporal memory based system |
US14/149,607 Active US8959039B2 (en) | 2006-02-10 | 2014-01-07 | Directed behavior in hierarchical temporal memory based system |
US14/591,821 Active US9424512B2 (en) | 2006-02-10 | 2015-01-07 | Directed behavior in hierarchical temporal memory based system |
Country Status (1)
Country | Link |
---|---|
US (13) | US20070192267A1 (en) |
Cited By (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070192262A1 (en) * | 2006-02-10 | 2007-08-16 | Numenta, Inc. | Hierarchical Temporal Memory Based System Including Nodes with Input or Output Variables of Disparate Properties |
US20070192271A1 (en) * | 2006-02-10 | 2007-08-16 | Dileep George | Belief propagation in a hierarchical temporal memory based system |
US20080140593A1 (en) * | 2006-11-28 | 2008-06-12 | Numenta, Inc. | Group-Based Temporal Pooling |
US20080167820A1 (en) * | 2007-01-04 | 2008-07-10 | Kentaro Oguchi | System for predicting driver behavior |
US20080201286A1 (en) * | 2004-12-10 | 2008-08-21 | Numenta, Inc. | Methods, Architecture, and Apparatus for Implementing Machine Intelligence and Hierarchical Memory Systems |
US20080208783A1 (en) * | 2007-02-28 | 2008-08-28 | Numenta, Inc. | Spatio-Temporal Learning Algorithms In Hierarchical Temporal Networks |
US20080205280A1 (en) * | 2007-02-28 | 2008-08-28 | William Cooper Saphir | Scheduling system and method in a hierarchical temporal memory based system |
US20080208915A1 (en) * | 2007-02-28 | 2008-08-28 | Numenta, Inc. | Episodic Memory With A Hierarchical Temporal Memory Based System |
US20080208966A1 (en) * | 2007-02-28 | 2008-08-28 | Numenta, Inc. | Hierarchical Temporal Memory (HTM) System Deployed as Web Service |
US20090006289A1 (en) * | 2007-06-29 | 2009-01-01 | Numenta, Inc. | Hierarchical Temporal Memory System with Enhanced Inference Capability |
US20090150311A1 (en) * | 2007-12-05 | 2009-06-11 | Numenta, Inc. | Action based learning |
US20090216968A1 (en) * | 2008-02-27 | 2009-08-27 | Martin Gregory D | Method and apparatus for storing sequential sample data as memories for the purpose of rapid memory recognition using mathematic invariants |
US20090240639A1 (en) * | 2008-03-21 | 2009-09-24 | Numenta, Inc. | Feedback in Group Based Hierarchical Temporal Memory System |
US20090240886A1 (en) * | 2008-03-19 | 2009-09-24 | Numenta, Inc. | Plugin infrastructure for hierarchical temporal memory (htm) system |
US20090313193A1 (en) * | 2008-06-12 | 2009-12-17 | Numenta, Inc. | Hierarchical temporal memory system with higher-order temporal pooling capability |
US20100161911A1 (en) * | 2007-05-31 | 2010-06-24 | Eric Li | Method and apparatus for mpi program optimization |
US20100185567A1 (en) * | 2009-01-16 | 2010-07-22 | Numenta, Inc. | Supervision based grouping of patterns in hierarchical temporal memory (htm) |
US20100191684A1 (en) * | 2005-06-06 | 2010-07-29 | Numenta, Inc. | Trainable hierarchical memory system and method |
US20100280982A1 (en) * | 2008-11-05 | 2010-11-04 | Alex Nugent | Watershed memory systems and methods |
US20110145177A1 (en) * | 2007-01-05 | 2011-06-16 | Knowmtech, Llc. | Hierarchical temporal memory |
US20110225108A1 (en) * | 2010-03-15 | 2011-09-15 | Numenta, Inc. | Temporal memory using sparse distributed representation |
US8504570B2 (en) | 2011-08-25 | 2013-08-06 | Numenta, Inc. | Automated search for detecting patterns and sequences in data using a spatial and temporal memory system |
US8645291B2 (en) | 2011-08-25 | 2014-02-04 | Numenta, Inc. | Encoding of data for processing in a spatial and temporal memory system |
US8732098B2 (en) | 2006-02-10 | 2014-05-20 | Numenta, Inc. | Hierarchical temporal memory (HTM) system deployed as web service |
US8825565B2 (en) | 2011-08-25 | 2014-09-02 | Numenta, Inc. | Assessing performance in a spatial and temporal memory system |
US9159021B2 (en) | 2012-10-23 | 2015-10-13 | Numenta, Inc. | Performing multistep prediction using spatial and temporal memory system |
US9269043B2 (en) | 2002-03-12 | 2016-02-23 | Knowm Tech, Llc | Memristive neural processor utilizing anti-hebbian and hebbian technology |
US9904889B2 (en) | 2012-12-05 | 2018-02-27 | Applied Brain Research Inc. | Methods and systems for artificial cognition |
CN108009477A (en) * | 2017-11-10 | 2018-05-08 | 东软集团股份有限公司 | Stream of people's quantity detection method, device, storage medium and the electronic equipment of image |
US20180285585A1 (en) * | 2017-03-30 | 2018-10-04 | British Telecommunications Public Limited Company | Hierarchical temporal memory for expendable access control |
US10318878B2 (en) | 2014-03-19 | 2019-06-11 | Numenta, Inc. | Temporal processing scheme and sensorimotor information processing |
DE102018127383A1 (en) | 2018-11-02 | 2020-05-07 | Universität Bremen | Data processing device with an artificial neural network and method for data processing |
CN111220400A (en) * | 2018-11-26 | 2020-06-02 | 中车唐山机车车辆有限公司 | Train debugging system, method and equipment |
US11153091B2 (en) | 2016-03-30 | 2021-10-19 | British Telecommunications Public Limited Company | Untrusted code distribution |
CN114387028A (en) * | 2022-01-13 | 2022-04-22 | 瑞祥全球购超市有限公司 | Intelligent analysis method for commodity demand of online shopping platform |
US11341237B2 (en) | 2017-03-30 | 2022-05-24 | British Telecommunications Public Limited Company | Anomaly detection for computer systems |
US11468337B2 (en) | 2016-05-13 | 2022-10-11 | The Trustees Of Princeton University | System and methods for facilitating pattern recognition |
US11586751B2 (en) | 2017-03-30 | 2023-02-21 | British Telecommunications Public Limited Company | Hierarchical temporal memory for access control |
US11651277B2 (en) | 2010-03-15 | 2023-05-16 | Numenta, Inc. | Sparse distributed representation for networked processing in predictive system |
US11681922B2 (en) | 2019-11-26 | 2023-06-20 | Numenta, Inc. | Performing inference and training using sparse neural network |
Families Citing this family (50)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7660581B2 (en) * | 2005-09-14 | 2010-02-09 | Jumptap, Inc. | Managing sponsored content based on usage history |
US7792769B2 (en) * | 2006-05-08 | 2010-09-07 | Cognika Corporation | Apparatus and method for learning and reasoning for systems with temporal and non-temporal variables |
WO2009052407A1 (en) * | 2007-10-18 | 2009-04-23 | Numenta, Inc. | System and method for automatic topology determination in a hierarchical-temporal network |
US7941388B2 (en) * | 2008-01-03 | 2011-05-10 | Avaya Inc. | Telecommunications-based social-trust networks |
US8898209B2 (en) * | 2009-07-12 | 2014-11-25 | Hewlett-Packard Development Company, L.P. | Compression of non-dyadic sensor data organized within a non-dyadic hierarchy |
US8810429B2 (en) * | 2010-01-25 | 2014-08-19 | International Business Machines Corporation | Data forecasting in a multi-node system |
FR2962823B1 (en) * | 2010-07-13 | 2012-08-17 | Ensuite Inf | SITUATION ANALYSIS PROCESSOR |
US8583586B2 (en) * | 2011-01-21 | 2013-11-12 | International Business Machines Corporation | Mining temporal patterns in longitudinal event data using discrete event matrices and sparse coding |
US8504493B2 (en) | 2011-02-15 | 2013-08-06 | Sigma Space Corporation | Self-organizing sequential memory pattern machine and reinforcement learning method |
WO2014009031A2 (en) * | 2012-07-09 | 2014-01-16 | Toyota Motor Europe Nv/Sa | Artificial memory system and method for use with a computational machine for interacting with dynamic behaviours |
GB2495265A (en) * | 2011-07-07 | 2013-04-10 | Toyota Motor Europe Nv Sa | Artificial memory system for predicting behaviours in order to assist in the control of a system, e.g. stability control in a vehicle |
US8738554B2 (en) | 2011-09-16 | 2014-05-27 | International Business Machines Corporation | Event-driven universal neural network circuit |
US8874498B2 (en) | 2011-09-16 | 2014-10-28 | International Business Machines Corporation | Unsupervised, supervised, and reinforced learning via spiking computation |
WO2013090451A1 (en) | 2011-12-13 | 2013-06-20 | Simigence, Inc. | Computer-implemented simulated intelligence capabilities by neuroanatomically-based system architecture |
US8626684B2 (en) | 2011-12-14 | 2014-01-07 | International Business Machines Corporation | Multi-modal neural network for universal, online learning |
US8799199B2 (en) | 2011-12-14 | 2014-08-05 | International Business Machines Corporation | Universal, online learning in multi-modal perception-action semilattices |
HUE030528T2 (en) | 2012-03-15 | 2017-05-29 | Cortical Io Gmbh | Methods, apparatus and products for semantic processing of text |
US9336774B1 (en) | 2012-04-20 | 2016-05-10 | Google Inc. | Pattern recognizing engine |
US8788439B2 (en) * | 2012-12-21 | 2014-07-22 | InsideSales.com, Inc. | Instance weighted learning machine learning model |
US8812417B2 (en) | 2012-08-20 | 2014-08-19 | InsideSales.com, Inc. | Hierarchical based sequencing machine learning model |
US9460401B2 (en) | 2012-08-20 | 2016-10-04 | InsideSales.com, Inc. | Using machine learning to predict behavior based on local conditions |
US9412067B2 (en) * | 2012-09-05 | 2016-08-09 | Numenta, Inc. | Anomaly detection in spatial and temporal memory system |
WO2014085605A2 (en) | 2012-11-28 | 2014-06-05 | Intrepid Networks, Llc | Integrated systems and methods providing situational awareness of operations in an organization |
US9031894B2 (en) * | 2013-02-19 | 2015-05-12 | Microsoft Technology Licensing, Llc | Parsing and rendering structured images |
US10534995B2 (en) | 2013-03-15 | 2020-01-14 | Qylur Intelligent Systems, Inc. | Network of intelligent machines |
US9727821B2 (en) | 2013-08-16 | 2017-08-08 | International Business Machines Corporation | Sequential anomaly detection |
KR101830069B1 (en) | 2013-10-22 | 2018-02-21 | 한국타이어 주식회사 | Method of Sealant Tire Sealing with Robot and Profile and Tire Manufactured by Its Method |
US10394851B2 (en) | 2014-08-07 | 2019-08-27 | Cortical.Io Ag | Methods and systems for mapping data items to sparse distributed representations |
US10885089B2 (en) | 2015-08-21 | 2021-01-05 | Cortical.Io Ag | Methods and systems for identifying a level of similarity between a filtering criterion and a data item within a set of streamed documents |
US10275705B2 (en) * | 2014-08-08 | 2019-04-30 | Vicarious Fpc, Inc. | Systems and methods for generating data explanations for neural networks and related systems |
US9754049B2 (en) * | 2014-09-30 | 2017-09-05 | International Business Machines Corporation | Characterizing success pathways in networked graphs |
US9729562B2 (en) | 2015-03-02 | 2017-08-08 | Harris Corporation | Cross-layer correlation in secure cognitive network |
US10303697B1 (en) * | 2015-06-25 | 2019-05-28 | National Technology & Engineering Solutions Of Sandia, Llc | Temporal data system |
US10572221B2 (en) | 2016-10-20 | 2020-02-25 | Cortical.Io Ag | Methods and systems for identifying a level of similarity between a plurality of data representations |
US10769447B1 (en) | 2016-12-01 | 2020-09-08 | Marc Joseph Kirch | Synchronous convergent pulses reduce dimensions of serial surfaces |
US11113624B2 (en) * | 2017-07-12 | 2021-09-07 | Sap Se | Distributed machine learning on heterogeneous data platforms |
US20190065935A1 (en) * | 2017-08-30 | 2019-02-28 | International Business Machines Corporation | Computational method for feedback in a hierarchical neural network |
CN107659669A (en) * | 2017-11-09 | 2018-02-02 | 武汉资联虹康科技股份有限公司 | A kind of network control system and method based on cerebral function imaging equipment |
US10828790B2 (en) | 2017-11-16 | 2020-11-10 | Google Llc | Component feature detector for robotic systems |
CN108537119B (en) * | 2018-03-06 | 2020-07-10 | 北京大学 | Small sample video identification method |
US10708363B2 (en) * | 2018-08-10 | 2020-07-07 | Futurewei Technologies, Inc. | Artificial intelligence based hierarchical service awareness engine |
US11633860B2 (en) | 2018-09-05 | 2023-04-25 | Intrinsic Innovation Llc | Method and system for machine concept understanding |
EP3871156A2 (en) * | 2018-10-24 | 2021-09-01 | HRL Laboratories, LLC | Autonomous system including a continually learning world model and related methods |
EA202191759A1 (en) * | 2019-04-04 | 2021-12-15 | Олег Александрович СЕРЕБРЕННИКОВ | HIERARCHICAL SEQUENCE MEMORY |
US11593589B2 (en) | 2019-05-17 | 2023-02-28 | Robert Bosch Gmbh | System and method for interpretable sequence and time-series data modeling |
US11861464B2 (en) * | 2019-10-31 | 2024-01-02 | Adobe Inc. | Graph data structure for using inter-feature dependencies in machine-learning |
US11526689B2 (en) * | 2019-12-19 | 2022-12-13 | Robert Bosch Gmbh | Few-shot learning of repetitive human tasks |
US20210248465A1 (en) * | 2020-02-12 | 2021-08-12 | Nec Laboratories America, Inc. | Hierarchical multi-agent imitation learning with contextual bandits |
US11734332B2 (en) | 2020-11-19 | 2023-08-22 | Cortical.Io Ag | Methods and systems for reuse of data item fingerprints in generation of semantic maps |
US11270127B1 (en) | 2021-05-05 | 2022-03-08 | Marc Joseph Kirch | Synchronized pulses identify and locate targets rapidly |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5255348A (en) * | 1991-06-14 | 1993-10-19 | Nenov Valeriy I | Neural network for learning, recognition and recall of pattern sequences |
US5712953A (en) * | 1995-06-28 | 1998-01-27 | Electronic Data Systems Corporation | System and method for classification of audio or audio/video signals based on musical content |
US6195622B1 (en) * | 1998-01-15 | 2001-02-27 | Microsoft Corporation | Methods and apparatus for building attribute transition probability models for use in pre-fetching resources |
US6468069B2 (en) * | 1999-10-25 | 2002-10-22 | Jerome H. Lemelson | Automatically optimized combustion control |
US20030018592A1 (en) * | 2001-04-23 | 2003-01-23 | Narayan Srinivasa | Fuzzy inference network for classification of high-dimensional data |
US20030065632A1 (en) * | 2001-05-30 | 2003-04-03 | Haci-Murat Hubey | Scalable, parallelizable, fuzzy logic, boolean algebra, and multiplicative neural network based classifier, datamining, association rule finder and visualization software tool |
US6751343B1 (en) * | 1999-09-20 | 2004-06-15 | Ut-Battelle, Llc | Method for indexing and retrieving manufacturing-specific digital imagery based on image content |
US20040267395A1 (en) * | 2001-08-10 | 2004-12-30 | Discenzo Frederick M. | System and method for dynamic multi-objective optimization of machine selection, integration and utilization |
US20050063565A1 (en) * | 2003-09-01 | 2005-03-24 | Honda Motor Co., Ltd. | Vehicle environment monitoring device |
Family Cites Families (84)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4845744A (en) | 1986-10-16 | 1989-07-04 | American Telephone And Telegraph Company, At&T Bell Laboratories | Method of overlaying virtual tree networks onto a message passing parallel processing network |
US4766534A (en) * | 1986-10-16 | 1988-08-23 | American Telephone And Telegraph Company, At&T Bell Laboratories | Parallel processing network and method |
US5113507A (en) | 1988-10-20 | 1992-05-12 | Universities Space Research Association | Method and apparatus for a sparse distributed memory system |
US7481453B2 (en) * | 1991-07-09 | 2009-01-27 | Automotive Technologies International, Inc. | Inflator system |
US6400996B1 (en) * | 1999-02-01 | 2002-06-04 | Steven M. Hoffberg | Adaptive pattern recognition based control system and method |
US5729661A (en) * | 1992-11-24 | 1998-03-17 | Pavilion Technologies, Inc. | Method and apparatus for preprocessing input data to a neural network |
US7251637B1 (en) | 1993-09-20 | 2007-07-31 | Fair Isaac Corporation | Context vector generation and retrieval |
JPH0877010A (en) * | 1994-09-07 | 1996-03-22 | Hitachi Ltd | Method and device for data analysis |
US7786864B1 (en) * | 2000-09-08 | 2010-08-31 | Automotive Technologies International, Inc. | Vehicular RFID and sensor assemblies |
AU4238697A (en) * | 1996-08-29 | 1998-03-19 | Cisco Technology, Inc. | Spatio-temporal processing for communication |
US6366896B1 (en) * | 1997-03-18 | 2002-04-02 | William R. Hutchison | Adaptive agent using neural network |
US6028608A (en) * | 1997-05-09 | 2000-02-22 | Jenkins; Barry | System and method of perception-based image generation and encoding |
US6516416B2 (en) * | 1997-06-11 | 2003-02-04 | Prism Resources | Subscription access system for use with an untrusted network |
US6353814B1 (en) * | 1997-10-08 | 2002-03-05 | Michigan State University | Developmental learning machine and method |
US6636631B2 (en) * | 1998-06-04 | 2003-10-21 | Matsushita Electric Industrial Co., Ltd. | Optical character reading method and system for a document with ruled lines and its application |
US6567814B1 (en) | 1998-08-26 | 2003-05-20 | Thinkanalytics Ltd | Method and apparatus for knowledge discovery in databases |
US6122014A (en) * | 1998-09-17 | 2000-09-19 | Motorola, Inc. | Modified chroma keyed technique for simple shape coding for digital video |
US6882992B1 (en) * | 1999-09-02 | 2005-04-19 | Paul J. Werbos | Neural networks for intelligent control |
JP3601397B2 (en) * | 2000-02-08 | 2004-12-15 | 株式会社村田製作所 | Method of manufacturing stator of variable capacitor and variable capacitor |
US6625585B1 (en) | 2000-02-18 | 2003-09-23 | Bioreason, Inc. | Method and system for artificial intelligence directed lead discovery though multi-domain agglomerative clustering |
DE60113073T2 (en) * | 2000-03-10 | 2006-08-31 | Smiths Detection Inc., Pasadena | CONTROL FOR AN INDUSTRIAL PROCESS WITH ONE OR MULTIPLE MULTIDIMENSIONAL VARIABLES |
NZ503882A (en) * | 2000-04-10 | 2002-11-26 | Univ Otago | Artificial intelligence system comprising a neural network with an adaptive component arranged to aggregate rule nodes |
US20020006121A1 (en) * | 2000-04-27 | 2002-01-17 | Dileep George | Adaptive diversity combining for wide band code division multiple access (W-CDMA) based on iterative channel estimation |
US7054850B2 (en) * | 2000-06-16 | 2006-05-30 | Canon Kabushiki Kaisha | Apparatus and method for detecting or recognizing pattern by employing a plurality of feature detecting elements |
CA2412963C (en) * | 2000-06-30 | 2010-04-13 | British Telecommunications Public Limited Company | Apparatus for generating sequences of elements |
US6714941B1 (en) * | 2000-07-19 | 2004-03-30 | University Of Southern California | Learning data prototypes for information extraction |
CA2424929C (en) * | 2000-10-13 | 2012-04-03 | Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. | A method for supervised teaching of a recurrent artificial neural network |
US6574537B2 (en) | 2001-02-05 | 2003-06-03 | The Boeing Company | Diagnostic system and method |
EP1359481A4 (en) * | 2001-02-05 | 2006-04-12 | Honda Motor Co Ltd | Agent learning apparatus, method, and program |
US6947378B2 (en) * | 2001-02-28 | 2005-09-20 | Mitsubishi Electric Research Labs, Inc. | Dynamic network resource allocation using multimedia content features and traffic features |
US6615211B2 (en) * | 2001-03-19 | 2003-09-02 | International Business Machines Corporation | System and methods for using continuous optimization for ordering categorical data sets |
US7962482B2 (en) | 2001-05-16 | 2011-06-14 | Pandora Media, Inc. | Methods and systems for utilizing contextual feedback to generate and modify playlists |
EP1262907B1 (en) | 2001-05-28 | 2007-10-03 | Honda Research Institute Europe GmbH | Pattern recognition with hierarchical networks |
US20040142325A1 (en) * | 2001-09-14 | 2004-07-22 | Liat Mintz | Methods and systems for annotating biomolecular sequences |
US7233781B2 (en) * | 2001-10-10 | 2007-06-19 | Ochoa Optics Llc | System and method for emergency notification content delivery |
US6957241B2 (en) * | 2002-02-14 | 2005-10-18 | Gallitzin Allegheny Llc | FFT and FHT engine |
US7035431B2 (en) * | 2002-02-22 | 2006-04-25 | Microsoft Corporation | System and method for probabilistic exemplar-based pattern tracking |
US7203635B2 (en) * | 2002-06-27 | 2007-04-10 | Microsoft Corporation | Layered models for context awareness |
JP2006513478A (en) * | 2003-01-10 | 2006-04-20 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Efficient prediction image parameter estimation |
US20040148520A1 (en) * | 2003-01-29 | 2004-07-29 | Rajesh Talpade | Mitigating denial of service attacks |
US7430546B1 (en) | 2003-06-07 | 2008-09-30 | Roland Erwin Suri | Applications of an algorithm that mimics cortical processing |
US7627171B2 (en) * | 2003-07-03 | 2009-12-01 | Videoiq, Inc. | Methods and systems for detecting objects of interest in spatio-temporal signals |
US8510083B2 (en) * | 2003-07-31 | 2013-08-13 | The Boeing Company | Method, apparatus and computer program product for constructing a diagnostic network model |
US7565451B2 (en) | 2004-01-23 | 2009-07-21 | Microsoft Corporation | Adaptive dispatch of received messages to code using inter-positioned message modification |
US20050190990A1 (en) | 2004-01-27 | 2005-09-01 | Burt Peter J. | Method and apparatus for combining a plurality of images |
US7853456B2 (en) | 2004-03-05 | 2010-12-14 | Health Outcomes Sciences, Llc | Systems and methods for risk stratification of patient populations |
US7788109B2 (en) * | 2004-04-03 | 2010-08-31 | Altusys Corp. | Method and apparatus for context-sensitive event correlation with external control in situation-based management |
US7565194B2 (en) * | 2004-05-12 | 2009-07-21 | Zoll Medical Corporation | ECG rhythm advisory method |
WO2006137829A2 (en) * | 2004-08-10 | 2006-12-28 | Sarnoff Corporation | Method and system for performing adaptive image acquisition |
US20060184462A1 (en) * | 2004-12-10 | 2006-08-17 | Hawkins Jeffrey C | Methods, architecture, and apparatus for implementing machine intelligence and hierarchical memory systems |
TWI273409B (en) * | 2005-01-18 | 2007-02-11 | Sunplus Technology Co Ltd | Pre-fetch technology by read merge mechanism |
JP2006285899A (en) * | 2005-04-05 | 2006-10-19 | Sony Corp | Learning device and learning method, creation device and creation method, and program |
US7577651B2 (en) | 2005-04-28 | 2009-08-18 | Yahoo! Inc. | System and method for providing temporal search results in response to a search query |
US7809722B2 (en) * | 2005-05-09 | 2010-10-05 | Like.Com | System and method for enabling search and retrieval from image files based on recognized information |
US7739208B2 (en) * | 2005-06-06 | 2010-06-15 | Numenta, Inc. | Trainable hierarchical memory system and method |
US10685344B2 (en) * | 2005-07-29 | 2020-06-16 | British Tlecommunications Plc | Communications system |
CA2573855A1 (en) * | 2006-01-25 | 2007-07-25 | Espeed, Inc. | Systems and methods for facilitating completion of repurchase agreements |
US8732098B2 (en) * | 2006-02-10 | 2014-05-20 | Numenta, Inc. | Hierarchical temporal memory (HTM) system deployed as web service |
US7941389B2 (en) * | 2006-02-10 | 2011-05-10 | Numenta, Inc. | Hierarchical temporal memory based system including nodes with input or output variables of disparate properties |
US20070192267A1 (en) * | 2006-02-10 | 2007-08-16 | Numenta, Inc. | Architecture of a hierarchical temporal memory based system |
US20080208966A1 (en) * | 2007-02-28 | 2008-08-28 | Numenta, Inc. | Hierarchical Temporal Memory (HTM) System Deployed as Web Service |
US7840395B2 (en) * | 2006-03-10 | 2010-11-23 | Edsa Micro Corporation | Systems and methods for predictive monitoring including real-time strength and security analysis in an electrical power distribution system |
CA2641657A1 (en) * | 2006-02-14 | 2007-08-23 | Edsa Micro Corporation | Systems and methods for real-time system monitoring and predictive analysis |
US7840396B2 (en) * | 2006-03-10 | 2010-11-23 | Edsa Micro Corporation | Systems and methods for determining protective device clearing times used for providing real-time predictions about arc flash events |
WO2007106430A2 (en) * | 2006-03-10 | 2007-09-20 | Edsa Micro Corporation | Systems and methods for real- time protective device evaluation in an electrical power distribution system |
US7844440B2 (en) * | 2006-07-07 | 2010-11-30 | Edsa Micro Corporation | Systems and methods for real-time dynamic simulation of uninterruptible power supply solutions and their control logic systems |
US7937342B2 (en) * | 2006-11-28 | 2011-05-03 | Numenta, Inc. | Method and apparatus for detecting spatial patterns |
US7941392B2 (en) * | 2007-02-28 | 2011-05-10 | Numenta, Inc. | Scheduling system and method in a hierarchical temporal memory based system |
US8112367B2 (en) * | 2007-02-28 | 2012-02-07 | Numenta, Inc. | Episodic memory with a hierarchical temporal memory based system |
WO2008106615A1 (en) * | 2007-02-28 | 2008-09-04 | Numenta, Inc. | Spatio-temporal learning algorithms in hierarchical temporal networks |
EP2162853A1 (en) * | 2007-06-29 | 2010-03-17 | Numenta, Inc. | Hierarchical temporal memory system with enhanced inference capability |
US7676458B2 (en) * | 2007-08-28 | 2010-03-09 | International Business Machines Corporation | System and method for historical diagnosis of sensor networks |
WO2009052407A1 (en) * | 2007-10-18 | 2009-04-23 | Numenta, Inc. | System and method for automatic topology determination in a hierarchical-temporal network |
US8175984B2 (en) * | 2007-12-05 | 2012-05-08 | Numenta, Inc. | Action based learning |
US8175985B2 (en) * | 2008-03-19 | 2012-05-08 | Numenta, Inc. | Plugin infrastructure for hierarchical temporal memory (HTM) system |
US7983998B2 (en) * | 2008-03-21 | 2011-07-19 | Numenta, Inc. | Feedback in group based hierarchical temporal memory system |
US8407166B2 (en) * | 2008-06-12 | 2013-03-26 | Numenta, Inc. | Hierarchical temporal memory system with higher-order temporal pooling capability |
US8081209B2 (en) | 2008-06-26 | 2011-12-20 | Toyota Motor Engineering & Manufacturing North America, Inc. | Method and system of sparse code based object classification with sensor fusion |
US8195582B2 (en) * | 2009-01-16 | 2012-06-05 | Numenta, Inc. | Supervision based grouping of patterns in hierarchical temporal memory (HTM) |
US8694449B2 (en) | 2009-05-29 | 2014-04-08 | Board Of Trustees Of Michigan State University | Neuromorphic spatiotemporal where-what machines |
US9189745B2 (en) * | 2010-03-15 | 2015-11-17 | Numenta, Inc. | Temporal memory using sparse distributed representation |
US8645291B2 (en) | 2011-08-25 | 2014-02-04 | Numenta, Inc. | Encoding of data for processing in a spatial and temporal memory system |
US8504570B2 (en) | 2011-08-25 | 2013-08-06 | Numenta, Inc. | Automated search for detecting patterns and sequences in data using a spatial and temporal memory system |
US8825565B2 (en) | 2011-08-25 | 2014-09-02 | Numenta, Inc. | Assessing performance in a spatial and temporal memory system |
-
2006
- 2006-02-10 US US11/351,437 patent/US20070192267A1/en not_active Abandoned
-
2007
- 2007-01-11 US US11/622,448 patent/US20070192268A1/en not_active Abandoned
- 2007-01-11 US US11/622,458 patent/US7899775B2/en active Active
- 2007-01-11 US US11/622,454 patent/US7620608B2/en active Active
- 2007-01-11 US US11/622,447 patent/US20070276774A1/en not_active Abandoned
- 2007-01-11 US US11/622,455 patent/US7904412B2/en active Active
- 2007-01-11 US US11/622,456 patent/US7624085B2/en active Active
- 2007-01-11 US US11/622,457 patent/US7613675B2/en active Active
-
2008
- 2008-04-14 US US12/052,580 patent/US8447711B2/en active Active
-
2009
- 2009-10-09 US US12/576,966 patent/US8285667B2/en active Active
-
2012
- 2012-09-05 US US13/604,543 patent/US8666917B2/en active Active
-
2014
- 2014-01-07 US US14/149,607 patent/US8959039B2/en active Active
-
2015
- 2015-01-07 US US14/591,821 patent/US9424512B2/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5255348A (en) * | 1991-06-14 | 1993-10-19 | Nenov Valeriy I | Neural network for learning, recognition and recall of pattern sequences |
US5712953A (en) * | 1995-06-28 | 1998-01-27 | Electronic Data Systems Corporation | System and method for classification of audio or audio/video signals based on musical content |
US6195622B1 (en) * | 1998-01-15 | 2001-02-27 | Microsoft Corporation | Methods and apparatus for building attribute transition probability models for use in pre-fetching resources |
US6751343B1 (en) * | 1999-09-20 | 2004-06-15 | Ut-Battelle, Llc | Method for indexing and retrieving manufacturing-specific digital imagery based on image content |
US6468069B2 (en) * | 1999-10-25 | 2002-10-22 | Jerome H. Lemelson | Automatically optimized combustion control |
US20030018592A1 (en) * | 2001-04-23 | 2003-01-23 | Narayan Srinivasa | Fuzzy inference network for classification of high-dimensional data |
US20030065632A1 (en) * | 2001-05-30 | 2003-04-03 | Haci-Murat Hubey | Scalable, parallelizable, fuzzy logic, boolean algebra, and multiplicative neural network based classifier, datamining, association rule finder and visualization software tool |
US20040267395A1 (en) * | 2001-08-10 | 2004-12-30 | Discenzo Frederick M. | System and method for dynamic multi-objective optimization of machine selection, integration and utilization |
US20050063565A1 (en) * | 2003-09-01 | 2005-03-24 | Honda Motor Co., Ltd. | Vehicle environment monitoring device |
Cited By (81)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9269043B2 (en) | 2002-03-12 | 2016-02-23 | Knowm Tech, Llc | Memristive neural processor utilizing anti-hebbian and hebbian technology |
US20080201286A1 (en) * | 2004-12-10 | 2008-08-21 | Numenta, Inc. | Methods, Architecture, and Apparatus for Implementing Machine Intelligence and Hierarchical Memory Systems |
US9530091B2 (en) | 2004-12-10 | 2016-12-27 | Numenta, Inc. | Methods, architecture, and apparatus for implementing machine intelligence and hierarchical memory systems |
US8175981B2 (en) | 2004-12-10 | 2012-05-08 | Numenta, Inc. | Methods, architecture, and apparatus for implementing machine intelligence and hierarchical memory systems |
US8103603B2 (en) | 2005-06-06 | 2012-01-24 | Numenta, Inc. | Trainable hierarchical memory system and method |
US20100191684A1 (en) * | 2005-06-06 | 2010-07-29 | Numenta, Inc. | Trainable hierarchical memory system and method |
US9424512B2 (en) | 2006-02-10 | 2016-08-23 | Numenta, Inc. | Directed behavior in hierarchical temporal memory based system |
US20100049677A1 (en) * | 2006-02-10 | 2010-02-25 | Numenta, Inc. | Sequence learning in a hierarchical temporal memory based system |
US20070192271A1 (en) * | 2006-02-10 | 2007-08-16 | Dileep George | Belief propagation in a hierarchical temporal memory based system |
US8285667B2 (en) | 2006-02-10 | 2012-10-09 | Numenta, Inc. | Sequence learning in a hierarchical temporal memory based system |
US20070192269A1 (en) * | 2006-02-10 | 2007-08-16 | William Saphir | Message passing in a hierarchical temporal memory based system |
US7941389B2 (en) | 2006-02-10 | 2011-05-10 | Numenta, Inc. | Hierarchical temporal memory based system including nodes with input or output variables of disparate properties |
US8732098B2 (en) | 2006-02-10 | 2014-05-20 | Numenta, Inc. | Hierarchical temporal memory (HTM) system deployed as web service |
US8666917B2 (en) | 2006-02-10 | 2014-03-04 | Numenta, Inc. | Sequence learning in a hierarchical temporal memory based system |
US8959039B2 (en) | 2006-02-10 | 2015-02-17 | Numenta, Inc. | Directed behavior in hierarchical temporal memory based system |
US9621681B2 (en) | 2006-02-10 | 2017-04-11 | Numenta, Inc. | Hierarchical temporal memory (HTM) system deployed as web service |
US20080183647A1 (en) * | 2006-02-10 | 2008-07-31 | Numenta, Inc. | Architecture of a Hierarchical Temporal Memory Based System |
US8447711B2 (en) | 2006-02-10 | 2013-05-21 | Numenta, Inc. | Architecture of a hierarchical temporal memory based system |
US7904412B2 (en) | 2006-02-10 | 2011-03-08 | Numenta, Inc. | Message passing in a hierarchical temporal memory based system |
US10516763B2 (en) | 2006-02-10 | 2019-12-24 | Numenta, Inc. | Hierarchical temporal memory (HTM) system deployed as web service |
US7899775B2 (en) | 2006-02-10 | 2011-03-01 | Numenta, Inc. | Belief propagation in a hierarchical temporal memory based system |
US20070192262A1 (en) * | 2006-02-10 | 2007-08-16 | Numenta, Inc. | Hierarchical Temporal Memory Based System Including Nodes with Input or Output Variables of Disparate Properties |
US7937342B2 (en) | 2006-11-28 | 2011-05-03 | Numenta, Inc. | Method and apparatus for detecting spatial patterns |
US20080140593A1 (en) * | 2006-11-28 | 2008-06-12 | Numenta, Inc. | Group-Based Temporal Pooling |
US20080167820A1 (en) * | 2007-01-04 | 2008-07-10 | Kentaro Oguchi | System for predicting driver behavior |
US8041653B2 (en) * | 2007-01-05 | 2011-10-18 | Knowm Tech, Llc | Method and system for a hierarchical temporal memory utilizing a router hierarchy and hebbian and anti-hebbian learning |
US8311958B2 (en) | 2007-01-05 | 2012-11-13 | Knowm Tech, Llc | Hierarchical temporal memory methods and systems |
US20110145177A1 (en) * | 2007-01-05 | 2011-06-16 | Knowmtech, Llc. | Hierarchical temporal memory |
US8504494B2 (en) | 2007-02-28 | 2013-08-06 | Numenta, Inc. | Spatio-temporal learning algorithms in hierarchical temporal networks |
US7941392B2 (en) | 2007-02-28 | 2011-05-10 | Numenta, Inc. | Scheduling system and method in a hierarchical temporal memory based system |
US8037010B2 (en) * | 2007-02-28 | 2011-10-11 | Numenta, Inc. | Spatio-temporal learning algorithms in hierarchical temporal networks |
US20080208783A1 (en) * | 2007-02-28 | 2008-08-28 | Numenta, Inc. | Spatio-Temporal Learning Algorithms In Hierarchical Temporal Networks |
US8112367B2 (en) | 2007-02-28 | 2012-02-07 | Numenta, Inc. | Episodic memory with a hierarchical temporal memory based system |
US20080208966A1 (en) * | 2007-02-28 | 2008-08-28 | Numenta, Inc. | Hierarchical Temporal Memory (HTM) System Deployed as Web Service |
US20080208915A1 (en) * | 2007-02-28 | 2008-08-28 | Numenta, Inc. | Episodic Memory With A Hierarchical Temporal Memory Based System |
US20080205280A1 (en) * | 2007-02-28 | 2008-08-28 | William Cooper Saphir | Scheduling system and method in a hierarchical temporal memory based system |
US20100161911A1 (en) * | 2007-05-31 | 2010-06-24 | Eric Li | Method and apparatus for mpi program optimization |
US8312227B2 (en) * | 2007-05-31 | 2012-11-13 | Intel Corporation | Method and apparatus for MPI program optimization |
US8219507B2 (en) | 2007-06-29 | 2012-07-10 | Numenta, Inc. | Hierarchical temporal memory system with enhanced inference capability |
US20090006289A1 (en) * | 2007-06-29 | 2009-01-01 | Numenta, Inc. | Hierarchical Temporal Memory System with Enhanced Inference Capability |
US20090150311A1 (en) * | 2007-12-05 | 2009-06-11 | Numenta, Inc. | Action based learning |
US8175984B2 (en) * | 2007-12-05 | 2012-05-08 | Numenta, Inc. | Action based learning |
US20090216968A1 (en) * | 2008-02-27 | 2009-08-27 | Martin Gregory D | Method and apparatus for storing sequential sample data as memories for the purpose of rapid memory recognition using mathematic invariants |
US8175985B2 (en) | 2008-03-19 | 2012-05-08 | Numenta, Inc. | Plugin infrastructure for hierarchical temporal memory (HTM) system |
US20090240886A1 (en) * | 2008-03-19 | 2009-09-24 | Numenta, Inc. | Plugin infrastructure for hierarchical temporal memory (htm) system |
US8121961B2 (en) | 2008-03-21 | 2012-02-21 | Numenta, Inc. | Feedback in group based hierarchical temporal memory system |
US20110231351A1 (en) * | 2008-03-21 | 2011-09-22 | Numenta, Inc. | Feedback in Group Based Hierarchical Temporal Memory System |
US7983998B2 (en) | 2008-03-21 | 2011-07-19 | Numenta, Inc. | Feedback in group based hierarchical temporal memory system |
US20090240639A1 (en) * | 2008-03-21 | 2009-09-24 | Numenta, Inc. | Feedback in Group Based Hierarchical Temporal Memory System |
US8407166B2 (en) | 2008-06-12 | 2013-03-26 | Numenta, Inc. | Hierarchical temporal memory system with higher-order temporal pooling capability |
US20090313193A1 (en) * | 2008-06-12 | 2009-12-17 | Numenta, Inc. | Hierarchical temporal memory system with higher-order temporal pooling capability |
US20100280982A1 (en) * | 2008-11-05 | 2010-11-04 | Alex Nugent | Watershed memory systems and methods |
US8332339B2 (en) * | 2008-11-05 | 2012-12-11 | Knowmtech, Llc | Watershed memory systems and methods |
US20100185567A1 (en) * | 2009-01-16 | 2010-07-22 | Numenta, Inc. | Supervision based grouping of patterns in hierarchical temporal memory (htm) |
US8195582B2 (en) | 2009-01-16 | 2012-06-05 | Numenta, Inc. | Supervision based grouping of patterns in hierarchical temporal memory (HTM) |
US11270202B2 (en) | 2010-03-15 | 2022-03-08 | Numenta, Inc. | Temporal memory using sparse distributed representation |
US9189745B2 (en) | 2010-03-15 | 2015-11-17 | Numenta, Inc. | Temporal memory using sparse distributed representation |
US20110225108A1 (en) * | 2010-03-15 | 2011-09-15 | Numenta, Inc. | Temporal memory using sparse distributed representation |
US11651277B2 (en) | 2010-03-15 | 2023-05-16 | Numenta, Inc. | Sparse distributed representation for networked processing in predictive system |
US10275720B2 (en) | 2010-03-15 | 2019-04-30 | Numenta, Inc. | Temporal memory using sparse distributed representation |
US8645291B2 (en) | 2011-08-25 | 2014-02-04 | Numenta, Inc. | Encoding of data for processing in a spatial and temporal memory system |
US9552551B2 (en) | 2011-08-25 | 2017-01-24 | Numenta, Inc. | Pattern detection feedback loop for spatial and temporal memory systems |
US8825565B2 (en) | 2011-08-25 | 2014-09-02 | Numenta, Inc. | Assessing performance in a spatial and temporal memory system |
US8504570B2 (en) | 2011-08-25 | 2013-08-06 | Numenta, Inc. | Automated search for detecting patterns and sequences in data using a spatial and temporal memory system |
US9159021B2 (en) | 2012-10-23 | 2015-10-13 | Numenta, Inc. | Performing multistep prediction using spatial and temporal memory system |
US9904889B2 (en) | 2012-12-05 | 2018-02-27 | Applied Brain Research Inc. | Methods and systems for artificial cognition |
US10963785B2 (en) | 2012-12-05 | 2021-03-30 | Applied Brain Research Inc. | Methods and systems for artificial cognition |
US10318878B2 (en) | 2014-03-19 | 2019-06-11 | Numenta, Inc. | Temporal processing scheme and sensorimotor information processing |
US11537922B2 (en) | 2014-03-19 | 2022-12-27 | Numenta, Inc. | Temporal processing scheme and sensorimotor information processing |
US11153091B2 (en) | 2016-03-30 | 2021-10-19 | British Telecommunications Public Limited Company | Untrusted code distribution |
US11468337B2 (en) | 2016-05-13 | 2022-10-11 | The Trustees Of Princeton University | System and methods for facilitating pattern recognition |
US20180285585A1 (en) * | 2017-03-30 | 2018-10-04 | British Telecommunications Public Limited Company | Hierarchical temporal memory for expendable access control |
US11586751B2 (en) | 2017-03-30 | 2023-02-21 | British Telecommunications Public Limited Company | Hierarchical temporal memory for access control |
US10769292B2 (en) * | 2017-03-30 | 2020-09-08 | British Telecommunications Public Limited Company | Hierarchical temporal memory for expendable access control |
US11341237B2 (en) | 2017-03-30 | 2022-05-24 | British Telecommunications Public Limited Company | Anomaly detection for computer systems |
CN108009477A (en) * | 2017-11-10 | 2018-05-08 | 东软集团股份有限公司 | Stream of people's quantity detection method, device, storage medium and the electronic equipment of image |
WO2020089287A1 (en) | 2018-11-02 | 2020-05-07 | Universität Bremen | Data-processing device having an artificial neural network and method for processing data |
DE102018127383A1 (en) | 2018-11-02 | 2020-05-07 | Universität Bremen | Data processing device with an artificial neural network and method for data processing |
CN111220400A (en) * | 2018-11-26 | 2020-06-02 | 中车唐山机车车辆有限公司 | Train debugging system, method and equipment |
US11681922B2 (en) | 2019-11-26 | 2023-06-20 | Numenta, Inc. | Performing inference and training using sparse neural network |
CN114387028A (en) * | 2022-01-13 | 2022-04-22 | 瑞祥全球购超市有限公司 | Intelligent analysis method for commodity demand of online shopping platform |
Also Published As
Publication number | Publication date |
---|---|
US20080059389A1 (en) | 2008-03-06 |
US7613675B2 (en) | 2009-11-03 |
US20100049677A1 (en) | 2010-02-25 |
US7624085B2 (en) | 2009-11-24 |
US20070192270A1 (en) | 2007-08-16 |
US20150142710A1 (en) | 2015-05-21 |
US20120330885A1 (en) | 2012-12-27 |
US8447711B2 (en) | 2013-05-21 |
US7620608B2 (en) | 2009-11-17 |
US20070192268A1 (en) | 2007-08-16 |
US20070192269A1 (en) | 2007-08-16 |
US20070192271A1 (en) | 2007-08-16 |
US8959039B2 (en) | 2015-02-17 |
US20070276774A1 (en) | 2007-11-29 |
US8666917B2 (en) | 2014-03-04 |
US8285667B2 (en) | 2012-10-09 |
US9424512B2 (en) | 2016-08-23 |
US20140122394A1 (en) | 2014-05-01 |
US7904412B2 (en) | 2011-03-08 |
US7899775B2 (en) | 2011-03-01 |
US20080183647A1 (en) | 2008-07-31 |
US20070192264A1 (en) | 2007-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9424512B2 (en) | Directed behavior in hierarchical temporal memory based system | |
US7941389B2 (en) | Hierarchical temporal memory based system including nodes with input or output variables of disparate properties | |
US7941392B2 (en) | Scheduling system and method in a hierarchical temporal memory based system | |
US8112367B2 (en) | Episodic memory with a hierarchical temporal memory based system | |
US8175984B2 (en) | Action based learning | |
US7937342B2 (en) | Method and apparatus for detecting spatial patterns | |
US8037010B2 (en) | Spatio-temporal learning algorithms in hierarchical temporal networks | |
Narayanan | Knowledge-based action representations for metaphor and aspect (KARMA) | |
US11593680B2 (en) | Predictive models having decomposable hierarchical layers configured to generate interpretable results | |
WO2007095107A2 (en) | Architecture of a hierarchical temporal memory based system | |
US20210374612A1 (en) | Interpretable imitation learning via prototypical option discovery | |
Kumari et al. | A Systematic Approach Towards Development of Universal Software Fault Prediction Model Using Object-Oriented Design Measurement | |
US20240169269A1 (en) | Deploying simplified machine learning models to resource-constrained edge devices | |
WO2024108194A1 (en) | Deploying simplified machine learning models to resource-constrained edge devices | |
Tung et al. | An adaptive fuzzy semantic memory model based on the computational principles of the human hippocampus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: NUMENTA, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HAWKINS, JEFFREY;AHMAD, SUBUTAI;GEORGE, DILEEP;AND OTHERS;REEL/FRAME:017562/0974 Effective date: 20060208 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |