Learning Hard-Constrained Models with One Sample
Preprint
Abstract
We consider the problem of estimating the parameters of a Markov Random Field with hard-constraints using a single sample. As our main running examples, we use the $k$-SAT and the proper coloring models, as well as general $H$-coloring models; for all of these we obtain both positive and negative results. In contrast to the soft-constrained case, we show in particular that single-sample estimation is not always possible, and that the existence of an estimator is related to the existence of non-satisfiable instances. Our algorithms are based on the pseudo-likelihood estimator. We show variance bounds for this estimator using coupling techniques inspired, in the case of $k$-SAT, by Moitra's sampling algorithm (JACM, 2019); our positive results for colorings build on this new coupling approach. For $q$-colorings on graphs with maximum degree $d$, we give a linear-time estimator when $q>d+1$, whereas the problem is non-identifiable when $q\leq d+1$. For general $H$-colorings, we show that standard conditions that guarantee sampling, such as Dobrushin's condition, are insufficient for one-sample learning; on the positive side, we provide a general condition that is sufficient to guarantee linear-time learning and obtain applications for proper colorings and permissive models. For the $k$-SAT model on formulas with maximum degree $d$, we provide a linear-time estimator when $k\gtrsim 6.45\log d$, whereas the problem becomes non-identifiable when $k\lesssim \log d$.
Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- Counting Solutions to Random CNF FormulasSIAM Journal on Computing, 2021
- Inapproximability of the Partition Function for the Antiferromagnetic Ising and Hard-Core ModelsCombinatorics, Probability and Computing, 2016
- Introduction to Random Graphs2015
- A Better Algorithm for Random k-SATSIAM Journal on Computing, 2010
- On probabilistic inference by weighted model countingArtificial Intelligence, 2008
- The high temperature case for the random K-sat problemProbability Theory and Related Fields, 2001
- Improved bounds for sampling coloringsJournal of Mathematical Physics, 2000
- On the Relative Complexity of Approximate Counting Problems2000
- A very simple algorithm for estimating the number of k‐colorings of a low‐degree graphRandom Structures & Algorithms, 1995
- Spatial Interaction and the Statistical Analysis of Lattice SystemsJournal of the Royal Statistical Society Series B: Statistical Methodology, 1974