Casper: A Projection-Based Neurosymbolic Layer for Scalable & Guaranteed Constraint Satisfaction
Lohith Konathala, Luca Andolfi, Eleonora Giunchiglia
Key points
From the paper's conclusion- Casper casts constraint satisfaction as a closed-form Euclidean projection onto the constraint-feasible region, computable in a single forward pass.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Scaling Neuro-symbolic Problem Solving: Solver-Free Learning of Constraints and ObjectivesJournal of Artificial Intelligence Research · 2026
- Synthetic Neurosymbolic Task Generation with Controlled Constraint ComplexityarXiv · 2026
- Challenges, Opportunities, and Misconceptions in Neurosymbolic AIarXiv · 2026
- From Natural Language to Exact Cover: A Neuro-Symbolic Approach to Zebra PuzzlesarXiv · 2026
- Neuro-Symbolic Frameworks: Conceptual Characterization and Empirical Comparative AnalysisNeurosymbolic Artificial Intelligence · 2026
- A Neuro-symbolic Framework under Statistical Relational Learning.IEEE transactions on pattern analysis and machine intelligence · 2026