A Hidden Markov Model–Inspired Sequence Classification Method for Hyperdimensional Computing
Krzysztof Ślot, Jakub Bednarski, Kacper Kubicki, Piotr ŁuczakAbstract
This letter introduces a novel method for discrete-sequence classification within the hyperdimensional computing (HDC) paradigm. The method, inspired by the concept of hidden Markov models (HMM), implements mechanisms that effectively address the major challenges arising in analyzing sequences generated by real-world processes, such as variable length, misalignment, symbol repetitions, omissions, or insertions. All algebraic transformations of input data in HMM-based sequence classification are replaced by bitwise operations on appropriately derived hyperdimensional binary vectors (hypervectors). The proposed hypervector transformation pipeline mirrors the algebraic manipulations of the HMM paradigm and involves a procedure that prevents information decay when processing longer sequences. Since only binary bit-wise operations on hypervectors are used in computations, the proposed method is well suited for hardware implementation, especially in the form of custom in-memory computing VLSI devices. The experimental evaluation of the proposed method, conducted on both artificial and real-world data sets, demonstrates its superiority over existing HDC-based sequence analysis approaches, yielding noticeable gains in classification accuracy. We also demonstrate that the proposed approach, like most HDC-based sequence classification methods, is robust against adverse physical, internal, or external factors that induce bit flips in the underlying hardware, which could entirely corrupt the outcomes of classical sequence-analysis methods, such as HMMs.