Learning Hard-Constrained Models with One Sample
Andreas Galanis, Alkis Kalavasis, Anthimos Vardis Kandiros
Abstract
We consider the problem of single-sample learning, i.e., the problem of estimating the parameters of a distribution (Markov Random Field) using a single sample. Previous work has mainly focused on soft-constrained distributions, such as the Ising model, where remarkably it has been shown that efficient single-sample learning is always possible for sparse graphs.
Here, we focus instead on single-sample learning of hard -constrained distributions. As our main running examples, we use the k-SAT, the proper coloring models and the general Hcoloring models (graph homomorphisms), for which 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 nonsatisfiable instances.
Following the approach of Chatterjee for soft-constrained distributions (Annals of Statistics, 2007), our algorithms are based on the classical pseudo-likelihood estimator. The main difficulty in our setting is that the accuracy of the estimator is not driven by the sufficient statistics of the distribution (which facilitated previous analyses). Instead, we show variance bounds for the estimator using more involved coupling techniques inspired, in the case of k-SAT, by Moitra's sampling algorithm (JACM, 2019); our positive results for single-sample learning for proper q-colorings and H-colorings build on this new coupling approach. Our impossibility results are based on constructing satisfiable instances which are either uniquely satisfiable or enforce with high probability a particular value to the statistic determining the distribution; in both cases, the distribution becomes insensitive to the underlying parameters.
Using these methods, in the case of q-colorings on graphs with maximum degree d, we show that a linear-time estimator exists when q > d + 1, whereas the problem is non-identifiable when q ≤ 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 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, the picture for single-sample learning is more intriguing, and we show a linear-time estimator when k 6.45 log d, whereas the problem becomes non-identifiable when k log d.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9e1b0fe5-eb65-49b5-82ca-d240d6e1a485Cited by top-tier papers4
- Learning the Inverse Temperature of Ising Models under Hard Constraints using One SampleRohan Chauhan, Ioannis PanageasICLR 2026 · 2 citations
- Learning CNF Formulas from Uniform Random Solutions in the Local Lemma RegimeWeiming Feng, Xiongxin Yang, Yixiao Yu, Yiyao ZhangSTOC 2026 · 2 citations
- Smoothed Analysis of Learning from Positive SamplesJane H. Lee, Anay Mehrotra, Manolis ZampetakisSTOC 2026 · 2 citations
- Linear Regression with Unknown Truncation Beyond Gaussian FeaturesAlexandros Kouridakis, Anay Mehrotra, Alkis Kalavasis, Constantine CaramanisICML 2026 · 2 citations
Builds on17
- Optimal mixing of Glauber dynamics: entropy factorization via high-dimensional expansionZongchen Chen, Kuikui Liu, Eric VigodaSTOC 2021 · 61 citations
- On Mixing of Markov Chains: Coupling, Spectral Independence, and Entropy FactorizationAntonio Blanca, Pietro Caputo, Zongchen Chen, Daniel Parisi et al.SODA 2022 · 41 citations
- Rapid Mixing of Glauber Dynamics up to Uniqueness via ContractionZongchen Chen, Kuikui Liu, Eric VigodaFOCS 2020 · 38 citations
- Rapid Mixing for Colorings via Spectral IndependenceZongchen Chen, Andreas Galanis, Daniel Stefankovic, Eric VigodaSODA 2021 · 37 citations
- The Algorithmic Phase Transition of Random k-SAT for Low Degree PolynomialsGuy Bresler, Brice HuangFOCS 2021 · 32 citations
Related papers
- Local Gibbs sampling beyond local uniformityHongyang Liu, Chunyang Wang, Yitong YinSODA 2026
- Simple parallel algorithms for single-site dynamicsHongyang Liu, Yitong YinSTOC 2022 · 3 citations
- Towards the sampling Lovász Local LemmaVishesh Jain, Huy Tuan Pham, Thuy-Duong VuongFOCS 2021 · 17 citations
- Hardness of 4-Colouring k-Colourable GraphsSergey Avvakumov, Marek Filakovský, Jakub Oprsal, Gianluca Tasinato et al.STOC 2025
- Sample-optimal and efficient learning of tree Ising modelsConstantinos Daskalakis, Qinxuan PanSTOC 2021 · 4 citations
