Constraint-Free Structure Learning with Smooth Acyclic Orientations

Riccardo Massidda, Francesco Landolfi, Martina Cinquini, Davide Bacciu
2/12/2026

No official code found. Best implementation: gabriele-dominici/CausalCGM (8 stars, MIT, last commit 2025-05-15).

Abstract

The structure learning problem consists of fitting data generated by a Directed Acyclic Graph (DAG) to correctly reconstruct its arcs. In this context, differentiable approaches constrain or regularize the optimization problem using a continuous relaxation of the acyclicity property. The computational cost of evaluating graph acyclicity is cubic on the number of nodes and significantly affects scalability. In this paper we introduce COSMO, a constraint-free continuous optimization scheme for acyclic structure learning. At the core of our method, we define a differentiable approximation of an orientation matrix parameterized by a single priority vector. Differently from previous work, our parameterization fits a smooth orientation matrix and the resulting acyclic adjacency matrix without evaluating acyclicity at any step. Despite the absence of explicit constraints, we prove that COSMO always converges to an acyclic solution. In addition to being asymptotically faster, our empirical analysis highlights how COSMO performance on graph reconstruction compares favorably with competing structure learning methods.

View on arXivView PDF

Code Implementations(1)

MIT
83Python, Jupyter NotebookFeb 17, 20251 years agoMIT

Similar Papers

Cite this paper

@article{massidda2026constraintfree,
  title  = {Constraint-Free Structure Learning with Smooth Acyclic Orientations},
  author = {Riccardo Massidda and Francesco Landolfi and Martina Cinquini and Davide Bacciu},
  year   = {2026},
  eprint = {2309.08406},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2309.08406},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.08406.svg)](https://codeofpaper.com/paper/2309.08406)

Discussion