Streamlined Constraint Reasoning via CNN Pattern Recognition on Enumerated Solutions
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
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 structure rather than model text alone. We evaluate on hardened benchmark models where streamliner discovery is the residual performance lever. Our pipeline achieves 98.8% portfolio time reduction on hardened Vessel Loading, 98.6% on hardened Social Golfers, and 89.4% on Black Hole, with best-single streamliners reaching geometric-mean speedups of 932x, 356x, and 1103x respectively. Discovered streamliners include class-based packing constraints on Vessel Loading, beyond-hardening canonicalisations on Social Golfers, and layout-coordinate bounds on Black Hole.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 7 of its 27 references that are in the map. First posted on arXiv 19 May 2026.
Builds on
7 of 27 references.
References · 7
- 2017Network Dissection: Quantifying Interpretability of Deep Visual Representationscited by 707
- 2018Learning a SAT Solver from Single-Bit Supervisioncited by 198
- 2019SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solvercited by 173
- 2023Lemur: Integrating Large Language Models in Automated Program Verificationcited by 49
- 2019A Commentary on "Breaking Row and Column Symmetries in Matrix Models"cited by 9
- 2024Generating Streamlining Constraints with Large Language Modelscited by 7
- 2022A Framework for Generating Informative Benchmark Instancescited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026ConstraintBench: Benchmarking LLM Constraint Reasoning on Direct Optimization
- 2025Learn to Relax with Large Language Models: Solving Constraint Optimization Problems via Bidirectional Coevolution
- 2026Differentiable Symbolic Planning: A Neural Architecture for Constraint Reasoning with Learned Feasibility
- 2026Solver-Hard Is Not Model-Hard: A Hardness-Controlled Diagnostic for LLM Constraint Reasoning
- 2026Improving Constraint Models with LLM Agents
- 2026Constraint-First Reasoning: A Training-Free Protocol for Exploiting Answer-Space Constraints in Mathematical Problem Solving
- 2026Beyond Objective Equivalence: Constraint Injection for LLM-Based Optimization Modeling on Vehicle Routing Problems
- 2026Step-by-Step Optimization-like Reasoning in LLMs over Expanding Search Spaces