Casper:基于投影的可扩展且保证约束满足的神经符号层
Casper: A Projection-Based Neurosymbolic Layer for Scalable & Guaranteed Constraint Satisfaction
Casper 将约束满足转化为一次前向传播即可计算的闭式欧氏投影,可保证约束满足、推理时可扩展、全自动且完全可微,能与任意神经预测器组合。在 MNIST 算术(最多 1024 位)、数独和 Warcraft 寻路实验中,Casper 是唯一在大规模下输出保证有效结果的方法:30×30 Warcraft 网格上精确基线超时,近似方法有效率不足 7%,Casper 达 100%。
arXiv:2611.33527v1 Announce Type: new Abstract: Many real-world problems demand exact constraint satisfaction to be meaningfully solved, yet existing neurosymbolic methods face a stark trade-off: those that guarantee satisfaction fail to scale, while those that scale must resort to approximation. Meanwhile, traditional deep learning approaches offer no satisfaction guarantees at all. In this paper, we propose Casper, a neurosymbolic layer that simultaneously (i) guarantees constraint satisfaction, (ii) scales at inference time, (iii) is fully automated, requiring no problem-specific engineering, and (iv) is fully differentiable, making it composable with any neural predictor both at training and at inference time. Casper casts constraint satisfaction as a closed-form Euclidean projection onto the constraint-feasible region, computable in a single forward pass. Experiments across MNIST arithmetic (up to 1024 digits), Sudoku solving, and Warcraft pathfinding show that Casper is the only method that produces guaranteed-valid outputs at scale: on $30\times30$ Warcraft grids, exact baselines time out and approximate ones produce valid paths less than 7% of the time, while Casper produces them 100% of the time.
来源:arXiv (AI + Vision + Imaging) · arxiv.org