Hardness of identity testing for restricted boltzmann machines and potts models

Antonio Blanca, Zongchen Chen, Daniel Štefankovic, Eric Vigoda

Research output: Contribution to journalArticlepeer-review

1 Scopus citations


We study the identity testing problem for restricted Boltzmann machines (RBMs), and more generally, for undirected graphical models. In this problem, given sample access to the Gibbs distribution corresponding to an unknown or hidden model M∗And given an explicit model M, the goal is to distinguish if either M = M or if the models are (statistically) far apart. We establish the computational hardness of identity testing for RBMs (i.e., mixed Ising models on bipartite graphs), even when there are no latent variables or an external field. Specifically, we show that unless RP = NP, there is no polynomial-time identity testing algorithm for RBMs when βd = ω(log n), where d is the maximum degree of the visible graph and β is the largest edge weight (in absolute value); when βd = O(log n) there is an efficient identity testing algorithm that utilizes the structure learning algorithm of Klivans and Meka (2017). We prove similar lower bounds for purely ferromagnetic RBMs with inconsistent external fields and for the ferromagnetic Potts model. To prove our results, we introduce a novel methodology to reduce the corresponding approximate counting problem to testing utilizing the phase transition exhibited by these models.

Original languageEnglish (US)
JournalJournal of Machine Learning Research
StatePublished - Jun 1 2021

All Science Journal Classification (ASJC) codes

  • Software
  • Artificial Intelligence
  • Control and Systems Engineering
  • Statistics and Probability


Dive into the research topics of 'Hardness of identity testing for restricted boltzmann machines and potts models'. Together they form a unique fingerprint.

Cite this