Csongor Pilinszki-Nagy and Bálint Gyires-Tóth

Performance Analysis of Sparse Matrix Representation in Hierarchical Temporal Memory for Sequence Modeling

Hierarchical Temporal Memory (HTM) is a special type of artificial neural network (ANN), that differs from the widely used approaches. It is suited to efficiently model sequential data (including time series). The network implements a variable order sequence memory, it is trained by Hebbian learning and all
of the network’s activations are binary and sparse. The network consists of four separable units. First, the encoder layer translates the numerical input into sparse binary vectors. The Spatial Pooler performs normalization and models the spatial features of the encoded input. The Temporal Memory is responsible for learning the Spatial Pooler’s normalized output sequence. Finally, the decoder takes the Temporal Memory’s outputs and translates it to the target. The connections in the network are also sparse, which requires prudent design and implementation. In this paper a sparse matrix implementation is elaborated, it is compared to the dense implementation. Furthermore, the HTM’s performance is evaluated in terms of accuracy, speed and memory complexity and compared to the deep neural network-based LSTM (Long Short-Term Memory). 

Reference:
DOI: 10.36244/ICJ.2020.2.6

Download 

Please cite this paper the following way:

Csongor Pilinszki-Nagy and Bálint Gyires-Tóth, "Performance Analysis of Sparse Matrix Representation in Hierarchical Temporal Memory for Sequence Modeling", Infocommunications Journal, Vol. XII, No 2, July 2020, pp. 41-49. DOI: 10.36244/ICJ.2020.2.6

Technical Co-Sponsors


  

  

Supporter



 

National Cooperation Fund, Hungary