We present a novel paradigm for pattern matching. Our method provides a means to search a continuous data stream for exact matches with a priori stored data sequences. At heart, we use a neural network with input and output layers and variable connections in between. The input layer has one neuron for each possible character or number in the data stream, and the output layer has one neuron for each stored pattern. The novelty of the network is that the delays of the connections from input to output layer are optimized to match the temporal occurrence of an input character within a stored sequence. Thus, the polychronous activation of input neurons results in activating an output neuron that indicates detection of a stored pattern. For data streams that have a large alphabet, the connectivity in our network is very sparse and the number of computational steps small: in this case, our method outperforms by a factor 2 deterministic finite state machines, which have been the state of the art for pattern matching for more than 30 years.
展开▼