arXiv:2611.12747cs.LGNov 2026

Manuscript Offprint

arXiv:2611.12747

Clique Constraints for Exact Causal Structure Learning

Xiaoyu He, Pavel Rytíř, Petr Ryšavý, Jakub Mareček

Xiaoyu He

AI Center

Czech Technical University in Prague

Karlovo namesti 13, Prague 12135

hexiaoyu@fel.cvut.cz

Pavel Rytíř

AI Center

Czech Technical University in Prague

Karlovo namesti 13, Prague 12135

rytirpav@fel.cvut.cz

Petr Ryšavý

AI Center

Czech Technical University in Prague

Karlovo namesti 13, Prague 12135

petr.rysavy@fel.cvut.cz

Jakub Mareček

AI Center

Czech Technical University in Prague

Karlovo namesti 13, Prague 12135

jakub.marecek@fel.cvut.cz

November 10, 2026

ABSTRACT

Exact score-based causal structure learning supports explicit structural constraints and optimisation certificates, but its branch-and-cut search can be computationally demanding. We augment exact causal structure learning methods with an upper bound on the maximum clique size of the learned undirected skeleton, enforced at integer candidates through lazy cycle and clique constraints. On static linear-Gaussian Erdős–Rényi and scale-free DAGs, we evaluate callback order, alternative clique-cut policies, incumbent repair, fractional separation, and Big-M bounds. We report causal-recovery metrics jointly with optimality gaps, primal and dual bounds, node throughput, MIPSOL events, and callback cost. Two variants receive particular attention: B3 selects the most violated minimal (k+1)(k+1)-clique inequality at each callback, whereas C3 repairs an infeasible integer candidate by deleting violating edges and refitting affected regression columns using QR-based least squares. The results do not indicate that clique constraints uniformly accelerate optimisation. However, their benefit depends on graph density, sample size, and cut-management policy, while large collections of correlated constraints can reduce node throughput. Tighter valid Big-M bounds reduced the fixed-budget optimality gap in most tested settings, without necessarily changing SHD or F1 at a fixed time limit. These findings characterize the computational trade-offs of clique-constrained exact causal learning, and identify selective separation and incumbent repair as promising directions.

1 Introduction

Causal structure learning from observational data is a fundamental problem in statistics and machine learning. Continuous methods such as NOTEARS represent acyclicity through a differentiable equality constraint [1]. Exact score-based methods instead introduce binary edge-selection variables and impose graph validity through integer or mixed-integer constraints, thereby providing globally optimal or certifiably near-optimal solutions under the specified model and stopping tolerance [2, 3, 4]. Related exact formulations apply this principle to causal structure learning under different graphical assumptions, including extensions that represent latent confounding [5, 6, 7, 8]. Although these formulations provide a principled mechanism for encoding graph validity, sparsity, degree restrictions, and prior knowledge, their computational cost remains substantial: the number of admissible structures grows exponentially, and solver performance depends on the formulation, relaxation strength, branching behavior, and management of constraints generated during the search.

Graph inequalities and on-demand separation are established techniques in combinatorial optimisation. Rather than enumerating every structural constraint in the initial formulation, a branch-and-cut method identifies a violated inequality at the current solution and adds it during the search [9]. Following this principle, we impose an upper bound on the clique size of the learned undirected skeleton. Unlike a global edge-count or degree restriction, a maximum-clique constraint directly excludes locally complete subgraphs and therefore serves as a local-density prior.

Enumerating all forbidden node subsets in advance is generally impractical, so we enforce the maximum-clique condition lazily. At a MIPSOL event, the callback examines an integer candidate and submits a lazy inequality through cbLazy() when the candidate violates the prescribed clique bound. This mechanism rejects structurally invalid integer candidates but does not directly strengthen fractional node relaxations. Strengthening a fractional relaxation instead requires a valid user cut submitted through cbCut() at MIPNODE. The computational effect of lazy clique separation is therefore empirical: a selected inequality may prevent repeated integer violations, whereas separation and additional model rows may increase callback overhead and node-relaxation cost.

The proposed condition should be interpreted specifically as a bound on the maximum clique of the learned skeleton. It is not a bound on clique-width or treewidth, and subsequent moralization or triangulation may introduce cliques that are absent from the original skeleton. We consequently do not assume that the restriction necessarily reduces downstream chordal complexity or accelerates optimisation. Instead, we examine when the structural prior improves causal-structure recovery or redirects the branch-and-cut search, and when its additional separation cost outweighs the reduction in the feasible graph class.

Our contributions are fourfold. First, we formulate and implement a lazy maximum-clique-size restriction for exact DAG structure learning. Second, we compare callback order and controlled clique-cut selection, including first and most-violated minimal- (k+1)(k+1) policies. Third, we evaluate complementary strategies involving incumbent repair, fractional separation, and tighter Big-M bounds. Fourth, we introduce detailed instrumentation that separates primal progress, dual-bound progress, MIPSOL events, node throughput, cut submission, and callback time. These measurements expose when clique constraints improve DAG recovery, when they merely redirect the search, and when their additional optimisation cost outweighs the reduction in the feasible graph class.