Streamlined Constraint Reasoning via CNN Pattern Recognition on Enumerated Solutions
Patrick Spracklen

TL;DR
This paper introduces a novel method combining CNN pattern recognition and LLM-driven synthesis to automatically generate effective streamliner constraints for constraint programming, significantly reducing search time.
Contribution
It presents a new approach that uses enumerated solutions and CNNs to inform LLM-based constraint generation, outperforming existing automated streamliner synthesis methods.
Findings
Achieved up to 98.8% reduction in portfolio time on benchmark models.
Discovered streamliners yield geometric-mean speedups of over 900x.
Effectively identifies class-based and canonicalization constraints.
Abstract
Constraint programming practitioners accelerate hard problems through a layered set of techniques applied in order of risk. Standard hardening (symmetry-breaking and implied constraints) is applied first and preserves satisfiability. Streamliner constraints, which restrict search to a structural sub-family of solutions, do not preserve satisfiability and are reserved as a final lever. Existing automated streamliner-synthesis approaches either search a constraint grammar or prompt a Large Language Model directly on the problem model. We propose a different approach: enumerate feasible solutions, train a Convolutional Neural Network contrastively against perturbed non-solutions to detect structural patterns, and translate the CNN's discriminative signal into candidate MiniZinc streamliners through LLM-driven synthesis. The CNN grounds the LLM's constraint generation in observed solution…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
