Lune

SODA2024Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Optimal mixing of Glauber dynamics: entropy factorization via high-dimensional expansion cites Rapid Mixing of Glauber Dynamics up to Uniqueness via Contraction
  • Optimal mixing of Glauber dynamics: entropy factorization via high-dimensional expansion cites Rapid Mixing for Colorings via Spectral Independence
  • Optimal mixing of Glauber dynamics: entropy factorization via high-dimensional expansion cites On Mixing of Markov Chains: Coupling, Spectral Independence, and Entropy Factorization
  • On Mixing of Markov Chains: Coupling, Spectral Independence, and Entropy Factorization cites Optimal mixing of Glauber dynamics: entropy factorization via high-dimensional expansion
  • Smoothed Analysis of Learning from Positive Samples cites Linear Regression with Unknown Truncation Beyond Gaussian Features
  • Linear Regression with Unknown Truncation Beyond Gaussian Features cites Smoothed Analysis of Learning from Positive Samples
  • Rapid Mixing for Colorings via Spectral Independence cites Rapid Mixing of Glauber Dynamics up to Uniqueness via Contraction
  • On Mixing of Markov Chains: Coupling, Spectral Independence, and Entropy Factorization cites Rapid Mixing of Glauber Dynamics up to Uniqueness via Contraction
  • On Mixing of Markov Chains: Coupling, Spectral Independence, and Entropy Factorization cites Rapid Mixing for Colorings via Spectral Independence
  • Linear Regression with Unknown Truncation Beyond Gaussian Features cites Learning the Inverse Temperature of Ising Models under Hard Constraints using One Sample
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Learning the Inverse Temperature of Ising Models under Hard Constraints using One SampleRohan Chauhan, Ioannis PanageasICLR 2026 · 2 citations
  2. Learning CNF Formulas from Uniform Random Solutions in the Local Lemma RegimeWeiming Feng, Xiongxin Yang, Yixiao Yu, Yiyao ZhangSTOC 2026 · 2 citations
  3. Smoothed Analysis of Learning from Positive SamplesJane H. Lee, Anay Mehrotra, Manolis ZampetakisSTOC 2026 · 2 citations
  4. Linear Regression with Unknown Truncation Beyond Gaussian FeaturesAlexandros Kouridakis, Anay Mehrotra, Alkis Kalavasis, Constantine CaramanisICML 2026 · 2 citations

Builds on17

  1. Optimal mixing of Glauber dynamics: entropy factorization via high-dimensional expansionZongchen Chen, Kuikui Liu, Eric VigodaSTOC 2021 · 61 citations
  2. On Mixing of Markov Chains: Coupling, Spectral Independence, and Entropy FactorizationAntonio Blanca, Pietro Caputo, Zongchen Chen, Daniel Parisi et al.SODA 2022 · 41 citations
  3. Rapid Mixing of Glauber Dynamics up to Uniqueness via ContractionZongchen Chen, Kuikui Liu, Eric VigodaFOCS 2020 · 38 citations
  4. Rapid Mixing for Colorings via Spectral IndependenceZongchen Chen, Andreas Galanis, Daniel Stefankovic, Eric VigodaSODA 2021 · 37 citations
  5. The Algorithmic Phase Transition of Random k-SAT for Low Degree PolynomialsGuy Bresler, Brice HuangFOCS 2021 · 32 citations

Related papers

  1. Local Gibbs sampling beyond local uniformityHongyang Liu, Chunyang Wang, Yitong YinSODA 2026
  2. Simple parallel algorithms for single-site dynamicsHongyang Liu, Yitong YinSTOC 2022 · 3 citations
  3. Towards the sampling Lovász Local LemmaVishesh Jain, Huy Tuan Pham, Thuy-Duong VuongFOCS 2021 · 17 citations
  4. Hardness of 4-Colouring k-Colourable GraphsSergey Avvakumov, Marek Filakovský, Jakub Oprsal, Gianluca Tasinato et al.STOC 2025
  5. Sample-optimal and efficient learning of tree Ising modelsConstantinos Daskalakis, Qinxuan PanSTOC 2021 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines