Rewarding Novel Deductions: Solver-guided Process Supervision for Logical Reasoning

Muhammad Asif Ali, Wenqing Wang, Huan Wang, Mohammad RazaNeurIPS 2026

TL;DR

When Large Language Models (LLMs) try to solve multi-step logic puzzles, they often fall into circular loops, restate the obvious, or contradict themselves—even when they stumble onto the right answer. SPRING fixes this by pairing an LLM with a symbolic solver during reinforcement learning, rewarding the model not just for being logically valid, but for making genuinely novel deductions. The result? Small models suddenly punch way above their weight class, solving complex constraint puzzles with shorter, cleaner, and contradiction-free reasoning chains.

What Problem Does This Paper Address?

If you have ever watched a small LLM (say, 4 billion parameters or fewer) tackle a seating-arrangement puzzle, you know it gets messy fast. Tracking global constraints over many steps is hard. Current Reinforcement Learning (RL) methods usually rely on outcome supervision—grading only the final answer. This lets models get away with flawed, lucky reasoning.

Recently, researchers started using process supervision with external symbolic tools (like theorem provers or SAT/SMT solvers) to verify intermediate steps. However, checking for logical validity isn’t enough. A model can game a validity checker by endlessly repeating premises ("House 2 serves tea... therefore tea is in House 2") without ever moving closer to the solution. The missing piece is teaching models to recognize and value actual inferential progress.

Methods

Enter SPRING (Solver-guided Process Rewards for Novel LogIcal ReasoNing Step Generation). While using Group Relative Policy Optimization (GRPO) for RL and the Z3 SMT solver for verification are standard building blocks, SPRING’s secret sauce is how it structures the reasoning and mathematically defines "progress" during training.

Figure 1: Illustration of SPRING using a ZebraPuzzle example. Natural-language clues are converted into solver-checkable syntactic clues, interleaved reasoning steps are classified by the solver, and the resulting signals are mapped to process rewards for training.

First, the LLM is prompted to generate an interleaved output:

  1. Parsed syntactic clues (translating the natural-language setup into Z3 code).
  2. Alternating steps of natural-language thoughts and formal, solver-checkable statements.
  3. A final answer.

During training (and only during training—no solver is needed at test time!), the Z3 solver checks if the parsed clues form a valid, solvable system. If they do, Z3 evaluates every formal step the LLM makes:

  • Valid: Does it logically follow from the base clues?
  • Novel (The Core Innovation): A valid step is novel only if it isn't a trivial domain rule (tautology), isn't just restating an original clue, and is not already implied by the model's own previous steps alone. It must combine clues to unlock genuinely new information.
  • Contradictory: Does it clash with the clues or previous valid steps?

SPRING bundles these signals into a process reward—handing out points for novelty and consistency with the final answer, giving nothing for redundant restatements, and penalizing contradictions.

Datasets

The authors did not introduce new benchmarks, opting instead to test across three established, structurally distinct logical reasoning datasets:

  • ZebraLogic: 1,000 classic Einstein/Zebra grid puzzles ranging from Small to Extra-Large difficulty.
  • AR-LSAT: Analytical reasoning questions from actual law school admission tests (Ordering, Grouping, and Assignment tasks).
  • Knights and Knaves (KnK): Classic truth-teller and liar deduction puzzles involving 2 to 8 characters.

Key Insights and Ideas

  • Validity without novelty breeds procrastination: When the authors stripped away the novelty reward (keeping only validity and contradiction checks), Qwen3-4B's accuracy on ZebraLogic dropped from 73.71% to 61.42%. Worse, when it failed, it babbled for an average of 49.1 steps (compared to just 9.4 steps for full SPRING) and racked up 14x more contradictions per step. Without a push to find new facts, models wander aimlessly until they trip over a contradiction.
  • Carrots beat sticks in process supervision: Surprisingly, removing both novelty rewards and contradiction penalties sometimes beat removing only novelty rewards. Why? Penalizing contradictions tells the model what not to do, which paralyzes optimization if there isn't a positive, constructive signal (novelty) showing it where to go.
  • Interleaved formatting bridges two worlds: LLMs are naturally better at intuitive deduction in plain English, while solvers demand rigid math. Forcing the model to alternate between the two aligns its natural "train of thought" with rigorous symbolic tracking.

Key Results

Evaluated across four models (Qwen3-1.7B, Qwen3-4B-Thinking, Phi-4-Reasoning, and Qwen3-8B), SPRING consistently beat base models, outcome-only RL baselines, and Logic-LM (a popular inference-time solver-augmented method).

Table 1: SPRING performance across different LLMs on ZebraLogic, AR-LSAT, and Knights and Knaves. We report standard deviation for SPRING and its ablation. AR-LSAT Overall accuracy is the weighted mean of Ordering, Grouping, and Assignment accuracies.
  • ZebraLogic: SPRING boosted puzzle accuracy by up to 49.71 percentage points over base LLMs and 15.43 points over the best outcome-only RL baseline (pushing Qwen3-1.7B from 38.57% to 54.00%, and Qwen3-8B up to 77.85%).
  • AR-LSAT: Overall accuracy jumped by up to 64.43 points over base models and 11.39 points over outcome-only RL (Qwen3-4B-Thinking hit 72.17%; Qwen3-8B reached 73.91%).
  • Knights and Knaves: Achieved up to 93.14% exact puzzle accuracy and 96.05% person-level accuracy.
  • Cleaner Traces: On solved ZebraLogic puzzles, Qwen3-4B-Thinking needed only 22.37 steps with SPRING (versus 35.20 without novelty rewards), achieving a 99% step-validity rate.

Limitations and Future Work

Because SPRING relies on the LLM's own initial translation of the problem into solver code to turn on process rewards, it is initially bottlenecked by formalization quality: if the parsed setup is unsatisfiable or lacks a unique answer, SPRING has to fall back to basic outcome-only rewards for that rollout. Furthermore, the current setup targets structured, closed-world logic puzzles where domain rules are clean and Z3-friendly. For future work, the authors plan to expand SPRING into broader, messier reasoning domains—like code generation—by designing appropriate intermediate formalizations and verification checks.

Summary updated

Abstract

Logical reasoning remains a major challenge for large language models (LLMs), particularly on structured problems that require precise constraint tracking, consistency preservation, and multi-step deduction. This challenge is especially acute for small-scale LLMs, which are more prone to producing inconsistent, redundant, or brittle reasoning trajectories. Existing approaches for improving logical reasoning largely optimize for final-answer correctness, providing only weak supervision over the intermediate reasoning process. In this work, we propose SPRING: (Solver-guided Process Rewards for Novel LogIcal ReasoNing Step Generation). SPRING uses an SMT solver as a training-time verifier of intermediate reasoning steps to provide process-level supervision. It introduces the notion of a novel reasoning step, namely, a step that is logically valid, consistent with the evolving reasoning state, and not already implied by previously accepted non-contradictory deductions. Based on this solver-based assessment, it designs process rewards that encourage novel inferential progress while penalizing contradictory and uninformative reasoning steps. Evaluation across three logical reasoning benchmarks: ZebraLogic, AR-LSAT, and Knights and Knaves, and four LLMs shows that SPRING consistently outperforms base LLMs, outcome-only reward baselines, and Logic-LM. On ZebraLogic, SPRING improves puzzle accuracy by up to 49.71 and 15.43 points over the base LLM and strongest outcome-only baseline, respectively. On AR-LSAT, it improves overall accuracy by up to 64.43 and 11.39 percentage points over the base LLM and strongest outcome-only baseline, respectively. On Knights and Knaves, SPRING achieves up to 93.14 puzzle accuracy and 96.05 person accuracy.
BibTeX
@inproceedings{ali2026rewarding,
  author = {Muhammad Asif Ali and Wenqing Wang and Huan Wang and Mohammad Raza},
  title = {{Rewarding Novel Deductions: Solver-guided Process Supervision for Logical Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=jUAayjmSnv},
}
Figure