Synthetic Neurosymbolic Task Generation with Controlled Constraint Complexity
Abstract
We introduce NeSySy, a synthetic generator for neurosymbolic learning tasks that jointly produces logical constraints and consistent datasets. Unlike existing benchmarks, NeSySy provides fine-grained control over key properties such as constraint structure, tightness, input dependence, and data generation and alignment strategies. In particular, it allows the use of rich constraints over infinite domains, and uses solvers to ensure that the constraints are meaningful and that generated samples satisfy the constraints. We design NeSySy to support both learning with declarative constraints and learning from distant supervision. Across a range of constraint families, we provide evidence that its parameters induce systematic and largely independent effects on task difficulty. Using NeSySy, we study constraint-aware learning methods, identifying regimes where explicit constraint enforcement is beneficial and where expressive unconstrained models can instead learn constraint structure directly from data. Our results establish NeSySy as a controlled testbed for analysing the interaction between learning and logical structure. NeSySy is built around a pipeline that incorporates solvers. Satisfiability checkers (CNFgen and Z3) generate and certify constraints. Constrained optimizers (RC2 for MaxSAT, Z3 for OMT) compute optimal repairs that guarantee every generated sample is consistent.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.LO, cs.NE, cs.SC
Related papers
Test-Time Constraint-Aware Diffusion Predictive Control
Shared title terminologycs.LGBraghadeesh Lakshminarayanan, Ojas Phadake, Qi Chen et al.
MarathonTS: a benchmark of long synthetic time series from window assembly and long-series generators
Shared title terminologycs.LGIlyas Varshavskiy, Sergey Shulgin, Shuhrat Khalilbekov et al.
Start Where the Data Are: Statistical Priors for One-Step Generation on Manifolds
Shared title terminologycs.LGYuyao Wang, Haoliang Sun, Xiankai Lu et al.
Fusion Gains Depend on the Implementation and the Calibration Target: An 18-Task Study of Prediction Intervals with a Single-Source Fallback
Shared title terminologycs.LGLiwei Deng, Lu Wang
Agentic AI for Intent Management and Control in Autonomous Communication Networks
Shared title terminologycs.LGBurak Demirel, Yu Wang, Pablo Soldati
Predicting Rare-Mode Collapse in Recursive Generative Training from Single-Generation Calibration
Shared title terminologycs.LGJingyao Zhang, Mingyu Du, Lu Han