Learning Circular Hidden Quantum Markov Models: A Tensor Network Approach

Mohammad Ali Javidian, Vaneet Aggarwal, Zubin Jacob

TL;DR

This paper introduces circular Hidden Quantum Markov Models (c-HQMMs) for modeling temporal data, proving their equivalence to a specific type of tensor network called circular Local Purified States (c-LPS). This equivalence allows for an efficient learning algorithm, which is demonstrated to outperform existing models like HQMMs and HMMs on several real-world datasets.

What Problem Does This Paper Address?

Modeling sequential or temporal data is a fundamental challenge in many fields, from speech recognition to financial forecasting. Hidden Markov Models (HMMs) are a classic tool for this, but they have limitations, especially when dealing with data that has cyclical or periodic patterns. Circular HMMs (c-HMMs) were developed to address this by connecting the end of a sequence back to its beginning.

Quantum mechanics offers a more powerful framework for describing complex systems, leading to Hidden Quantum Markov Models (HQMMs) as a quantum analogue of HMMs. While HQMMs are more expressive than classical HMMs, learning their parameters efficiently has been a significant hurdle, often leading to suboptimal solutions. Furthermore, the extension of HQMMs to handle cyclical data, analogous to c-HMMs, was an open question. This paper tackles the problem of efficiently learning these circular quantum models and demonstrating their utility.

Methods

The core of this paper lies in establishing an equivalence between circular Hidden Quantum Markov Models (c-HQMMs) and a specific class of tensor networks called circular Local Purified States (c-LPS). Tensor networks are powerful mathematical tools for representing and manipulating high-dimensional data, particularly in quantum physics and machine learning.

The authors first define c-HQMMs, extending the concept of HQMMs to incorporate a circular structure. They then introduce c-LPS, which are a variation of LPS tensor networks designed to capture cyclic dependencies. The key theoretical contribution is proving that c-HQMMs are mathematically equivalent to c-LPS models with an additional constraint: certain matrices within the c-LPS decomposition must be positive semi-definite (p.s.d.).

This equivalence is crucial because it allows them to leverage existing tensor network techniques for learning. They propose a maximum likelihood estimation (MLE) based algorithm for learning c-HQMMs by learning their equivalent c-LPS tensor network representation. This learning algorithm is designed to handle the p.s.d. constraints and the cyclic structure, overcoming the inefficiencies of direct parameter learning for HQMMs.

Datasets

The paper evaluates the proposed c-HQMM learning algorithm on six real-world datasets:

  • Biofam data set (family life states from the Swiss Household Panel)
  • Lymphography data set
  • SPECT Heart data set
  • Congressional Voting Records data set
  • Primary Tumor data set
  • Solar Flare data set

These datasets are described as categorical variable datasets, and they are used to compare the performance of c-HQMMs against HMMs, c-HMMs, and HQMMs.

Key Insights and Ideas

  • Bridging Quantum and Classical with Circularity: The paper successfully extends the powerful framework of HQMMs to handle cyclical data, a crucial feature in many real-world temporal processes that classical HQMMs might miss.
  • Tensor Networks as a Learning Engine: The equivalence between c-HQMMs and c-LPS tensor networks is a significant theoretical result. It unlocks the potential of efficient tensor network learning algorithms for these quantum models, bypassing the challenges of direct parameter estimation.
  • Positive Semi-Definite Constraint is Key: The specific constraint of positive semi-definite matrices in the c-LPS decomposition is identified as the crucial link that makes the equivalence with c-HQMMs possible. This highlights the importance of specific structural properties in tensor networks for modeling probabilistic processes.
  • c-HQMMs Outperform: The empirical results strongly suggest that c-HQMMs, when learned using the proposed tensor network approach, offer superior performance in modeling temporal data compared to their non-circular counterparts (HQMMs) and classical models (HMMs, c-HMMs).

Key Results

The paper demonstrates the effectiveness of their proposed c-HQMM model and learning algorithm through numerical evaluations on six real datasets. The key findings are:

  • Improved Modeling: The tensor representations (LPS and c-LPS) generally lead to better data modeling for the same tensor rank compared to standard MPS representations, across various datasets.
  • c-HQMM Superiority: The c-HQMM model consistently outperforms HQMM, HMM, and c-HMM models in terms of negative log-likelihood on the tested datasets.
  • Rank Matters: The performance improvement of c-LPS over LPS becomes more significant for higher ranks (5 and 6), indicating that these models can capture more complex dependencies in the data.
  • Overall Best Performance: The c-HQMM model, in general settings, is suggested to be preferred over HMM and c-HMM, and it delivers the best performance among all considered models.

Limitations and Future Work

  • Computational Complexity: While the tensor network approach offers efficiency, the paper doesn't explicitly detail the computational complexity of the learning algorithm, which can be a significant factor for very large datasets or high-dimensional tensor networks.
  • Parameter Tuning: The paper mentions using a grid search for learning rate and setting batch size and iteration limits. Further research could explore more adaptive or automated hyperparameter tuning strategies.
  • Generalization to Infinite Horizon: The current work focuses on finite-horizon models. Extending the c-HQMM framework and learning algorithms to infinite-horizon scenarios could be a valuable future direction.
  • Broader Applications: While evaluated on categorical data, exploring the application of c-HQMMs to continuous or mixed data types would broaden their applicability.
  • Theoretical Understanding of c-HMM to c-MPS Equivalence: The paper mentions the equivalence of c-HMM to c-MPS with non-negative entries, but the detailed procedure for mapping between them is presented as a separate result. Further exploration of the implications of this equivalence could be beneficial.

Summary updated

BibTeX
@misc{javidian2021learning,
  author = {Mohammad Ali Javidian and Vaneet Aggarwal and Zubin Jacob},
  title = {{Learning Circular Hidden Quantum Markov Models: A Tensor Network Approach}},
  year = {2021},
  eprint = {2111.01536},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.01536},
}
Figure