Skip to main content
QUICK REVIEW

[Paper Review] Learning Chordal Markov Networks by Constraint Satisfaction

Jukka Corander, Tomi Janhunen|arXiv (Cornell University)|Oct 3, 2013
Bayesian Modeling and Causal InferenceComputer Science33 references18 citations
TL;DR

This paper proposes a constraint satisfaction approach to learn optimal chordal Markov networks by encoding structure learning as propositional satisfiability (SAT), maximum satisfiability (MAXSAT), SMT, and answer set programming (ASP). It introduces a novel balancing condition on clique separators to enable efficient encoding, enabling the first exact, globally optimal solutions for Markov network structures—verified for the heart disease dataset and newly proven optimal for the econ dataset using HClasp.

ABSTRACT

We investigate the problem of learning the structure of a Markov network from data. It is shown that the structure of such networks can be described in terms of constraints which enables the use of existing solver technology with optimization capabilities to compute optimal networks starting from initial scores computed from the data. To achieve efficient encodings, we develop a novel characterization of Markov network structure using a balancing condition on the separators between cliques forming the network. The resulting translations into propositional satisfiability and its extensions such as maximum satisfiability, satisfiability modulo theories, and answer set programming, enable us to prove optimal certain network structures which have been previously found by stochastic search.

Motivation & Objective

  • To address the computational challenge of learning optimal Markov network structures from data, especially in high-dimensional spaces.
  • To overcome limitations of stochastic search methods like MCMC and simulated annealing, which may converge slowly and cannot guarantee global optimality.
  • To formalize Markov network structure learning as a constraint satisfaction problem using propositional and optimization logic formalisms.
  • To develop an efficient encoding strategy based on a new balancing condition for clique separators to reduce search space and improve solver performance.
  • To demonstrate the feasibility and effectiveness of exact, globally optimal structure learning for real-world datasets where prior optimality was unverified.

Proposed method

  • The paper introduces a novel balancing condition on the cardinalities of variables in cliques and separators to characterize chordal Markov network structures, enabling efficient constraint encoding.
  • Structure learning is translated into SAT, MAXSAT, SMT, and ASP encodings using Boolean constraints over clique and separator variables.
  • The clique graph is used as a foundation, and acyclicity of the junction tree is enforced via a level-based leaf definition and Boolean constraints.
  • A branch-and-bound search strategy is employed by solvers such as HClasp and Clasp, with search heuristics (e.g., size ordering of cliques) to guide the search toward optimal solutions.
  • The method supports both integer and floating-point scores: integer scores are used in MAXSAT and ASP, while OptiMathSAT handles original floating-point scores in SMT.
  • The approach enables pruning of infeasible structures early, significantly reducing the effective search space, as shown by the 26,651 partial networks explored by HClasp on the heart dataset.

Experimental results

Research questions

  • RQ1Can exact, globally optimal Markov network structures be computed for real-world datasets using constraint-based solvers rather than stochastic methods?
  • RQ2How effective is a novel balancing condition on clique separators in reducing the search space and improving solver performance in structure learning?
  • RQ3Can SAT, MAXSAT, SMT, and ASP solvers be effectively applied to the structure learning problem of undirected graphical models?
  • RQ4What is the computational cost and scalability of exact structure learning on datasets with larger variable counts, such as the econ dataset with 8 variables?
  • RQ5To what extent can solver-specific features like search heuristics in HClasp improve convergence and proof of optimality in structure learning?

Key findings

  • The globally optimal Markov network for the heart disease dataset was confirmed via exhaustive enumeration, validating the proposed method’s correctness.
  • For the econ dataset, the method proved optimality of a network structure previously found only via stochastic search, resolving an open problem.
  • HClasp, with a size-ordering heuristic, found the optimal solution for the econ dataset in approximately 14 hours, followed by a 3-day proof of optimality.
  • The search space was drastically reduced: HClasp explored only 26,651 partial networks on the heart dataset, despite a theoretical space of 2^15 undirected networks.
  • Among the solvers tested, only HClasp successfully solved the econ dataset, highlighting the importance of advanced search heuristics in complex instances.
  • The use of floating-point scores in OptiMathSAT enabled more precise optimization compared to integer-score solvers like SAT4J and PWBO, though performance varied across tools.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.