具有可控约束复杂度的合成神经符号任务生成
Synthetic Neurosymbolic Task Generation with Controlled Constraint Complexity
Mykhailo Buleshnyi, Zsolt Zombori, Michael Benedikt
AI 速读 基于摘要
NeSySy 是一个合成神经符号学习任务生成器,能联合生成逻辑约束和一致数据集,并精细控制约束结构、紧密度、输入依赖等属性,用于系统研究学习与逻辑结构的交互。
cs.LG · cs.AI · cs.LO · cs.NE · cs.SC
查看原文摘要
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.