Revisable Constraint Plans: Locating and Moving the Scale Floor of Constraint-Guided Reasoning

Asking a language model to write out its reasoning before answering, a technique called chain-of-thought prompting, helps large models but often hurts small ones. A sharp version of this appears in a recent prompting method that first has the model list the answer's constraints ("the answer is a positive integer", "report it mod 1000") and then solve while checking against that list. Mid-sized and frontier models gain 7 to 9 points. Models around 1.5B parameters get worse, because they invent constraints in the first step and then faithfully obey them. We propose to make the constraint list revisable. Each constraint must quote the problem text that supports it. Each must be stated in a form a program can check. When a finished solution violates the list, the system decides whether the solution or the constraint is wrong and fixes one of them. The aim is to show that this feedback from solving back to planning moves the model size at which constraint-guided reasoning starts to pay off.

The idea comes from an older strand of text generation. There, systems that pick what to say separately from how to say it get stuck when the chosen content cannot be expressed. Systems that optimize both together drop content that does not fit. The research question is diagnostic as much as constructive. Is the small-model collapse a failure of planning, meaning the model extracts bad constraints, or a failure of realization, meaning it cannot use a good plan while solving? The answer decides whether small-model reasoning needs better plans, better execution, or neither.

Core Claim

The main claim is that the small-model losses reported for constraint-first prompting come mostly from committing to an unverified plan, not from an inability to use a correct one. A cheap grounding filter plus one round of plan-or-solution revision, triggered by a mechanical constraint check, should recover a net gain over direct chain-of-thought at roughly 1.5B to 3B parameters, where the original pipeline loses.

A second, testable claim follows. If the claim is right, giving small models an oracle constraint plan should restore most of the large-model gain. If it is wrong, and small models cannot use even a correct plan, our method should fail. In that case the honest conclusion is that the floor sits in execution, which is a different problem.

Where This Sits in Prior Work

The method we build on is Constraint-First Reasoning (CFR). It extracts answer-space constraints into a JSON checklist and then runs chain-of-thought with interleaved self-checks against that list. It also adds a regex router, called Routed-CFR, that triggers the method only when keyword cues appear. CFR supplies three things here: the protocol, the benchmarks, and the motivating negative result. It reports a "Goldilocks zone" in which low-capacity models degrade. It also finds that 80% of the errors it fixes are pure constraint violations, where the model had the right value but failed the final reduction or format. CFR is strictly one-way: a hallucinated Stage 1 constraint has no route to correction. Our proposal adds exactly that route and nothing else.

Faithful Chain-of-Thought Reasoning translates problems into symbolic programs that an external solver executes. It is one-way in the same sense, and it was evaluated only with very large models. We borrow its insight that the checkable part of reasoning should be handed to code. We apply it only to constraints, not to the whole solution, because small models are unlikely to write whole correct programs zero-shot.

The joint-optimization view comes from integer linear programming for sentence fusion (McKeown et al.), which drops salient content that cannot be realized grammatically. It also draws on PCFG-based generation that revises data selection when realizations become improbable (Konstas et al.). Both treat the plan as provisional until realization confirms it. We carry that principle over, with the constraint list as the "content" and the solution as the "realization." We do not attempt global search, which those works show scales poorly.

TASD shows that a second deliberation pass fixes factual errors in table-to-text. It also warns that such passes can over-correct. That warning shapes our design: we cap revision at one round, and it is triggered only by a mechanical failure, never applied unconditionally.

Several papers motivate the scale question. Measuring Taiwanese Mandarin Language Understanding found that chain-of-thought gives large models up to +15% in STEM but degrades smaller ones. Vittaut et al. found that small models are confused by their own self-monitoring signals. Computational Reasoning of Large Language Models showed that state tracking fails below about 4B parameters. That last result constrains us: if execution itself breaks below 4B, no planning fix can help there. The oracle-plan experiment is designed to detect this.

Training-based routes are a different regime. TinyGSM and MobileLLM-R1 lower the floor by training on curated traces. Our method is training-free, so they are not head-to-head competitors. They tell us a trained small verifier is a strong idea, which we address below.

Research Program

The method has three parts, all at inference time.

The first part is grounded extraction. The model produces each constraint as a typed record. The type is one of integer range, modulus, parity, divisibility, or an answer-encoding rule. Each record includes a verbatim quoted span from the problem. A deterministic filter drops any constraint whose span does not occur in the problem text, or whose type cannot be compiled into a check. This targets the specific small-model failure CFR documents, which is constraints with no textual basis.

The second part is constraint-guided solving, as in CFR. The model solves with chain-of-thought, with the surviving checklist kept in the prompt.

The third part is checked revision. The final answer is run through the compiled checks. If it passes, we stop. If it fails, the model gets the violated constraint and its quoted span and makes one binary decision. It either re-justifies the constraint, in which case we keep it and ask the model to redo only the final derivation steps, or it fails to re-justify it, in which case we retract the constraint and keep the original answer. Only one revision round is allowed.

This is the joint step. The solver's failure can change the plan, not only the answer. The 80% statistic suggests most repairs will be cheap fixes to the last step.

Alongside the method, we run a decomposition study across a ladder of open-weight models from about 0.5B to 14B parameters. The ladder covers the 1.5B regime where CFR degrades and the roughly 9B regime where it helps. For each model we compare five planning conditions with solving held fixed: no plan, the model's own plan, a filtered plan, a plan from a deterministic regex extractor, and an oracle plan written by annotators. This separates planning error from realization error at each scale. We also label every error into one of three categories: wrong reasoning, correct value with a constraint violation, or obeying a hallucinated constraint. The labels follow CFR's taxonomy and are extended with the third category.

Baselines

The naive reference point is direct chain-of-thought with the same model, prompt template and decoding settings. This is the "do nothing" option, and at small scale it is what CFR's evidence says to use. Beating it at 1.5B to 3B is the minimum bar. Matching it is a failure, because the trivial policy "never use CFR below some size" also matches it.

The strongest existing method is Routed-CFR from Constraint-First Reasoning. It is the only published protocol that targets answer-space constraint errors, and it is the system whose small-model degradation we claim to fix. The reported numbers are that Routed-CFR improves over direct chain-of-thought by +8.5 percentage points for DeepSeek-V4-Pro and +7.2 for Qwen3.5-9B on the AIME/CMIMC average. On AIMO_AMC it matches always-on CFR at a 2.08x token multiplier versus 2.45x. No reported result was found on Lacuna for CFR's absolute accuracy on 1.5B models, only the qualitative report of degradation, so we will reproduce it ourselves. We run it with the same models, the same sampling budget, the same router, and prompts tuned with the same small dev-set budget as our method. Our method beats it if two things hold. First, it is at least as good at 9B and above. Second, at 1.5B to 3B it turns CFR's loss into a gain over direct chain-of-thought that holds across seeds, at a token multiplier no higher than always-on CFR.

Self-consistency (majority vote over samples) at matched total tokens is the generic test-time compute competitor. It controls for the possibility that any benefit is just extra compute. We give it exactly the tokens our method spends per problem.

Three ablations isolate the key ingredient. Grounding filter only has no revision step. Revision without retraction always repairs the solution and never the plan, which is generate-then-check-then-retry. Full method has both. If the retraction branch adds nothing over retry, then the "joint" part of the claim is false and the gain is plain verification.

Why not just…?

Why not just extract constraints with a regex parser or a larger model, and let the small model only solve? This is the most serious threat. For AIME-style problems many constraints are lexical, and CFR's own router already relies on keyword cues. The decomposition study runs exactly this as the regex-plan condition, plus a large-model-plan variant. If either matches our method at small scale, we will report that the fix is "don't let small models plan" rather than "let them revise." The joint claim survives only if revision adds accuracy on top of a good external plan. That could happen through solution-side repair when the plan is right but the solution is wrong, or on problems whose constraints are stated non-lexically. We will measure the regex extractor's recall against oracle plans to see how often non-lexical constraints occur.

Why not just check the final answer and resample until it passes? Given CFR's finding that 80% of fixed errors are pure constraint violations, check-and-retry could capture most of the gain. The revision-without-retraction ablation is this baseline at matched tokens. Its weakness is predictable. When the plan contains a hallucinated constraint, retrying forces the model toward a wrong answer that satisfies the false constraint. This is why we label obedience to hallucinated constraints separately. If those errors are rare at 1.5B, retraction is unnecessary and we will say so.

Why not just spend the same tokens on self-consistency? Majority voting helps when errors are random. Constraint violations are systematic: the same model makes the same final-reduction slip across samples. So voting should help less on that error category. The matched-token comparison, broken down by error type, settles this directly.

Why not just fine-tune the small model on constraint-aware traces, as TinyGSM and MobileLLM-R1 do? Training clearly moves the floor. TinyGSM reports 81.5% on GSM8K for a 1.3B generator with a 1.3B verifier, above its GPT-3.5 teacher's 77.4%. However, that answers a different question, namely how far data can carry a small model. Our question is what makes inference-time planning help or hurt at a given size. We treat a trained model as a complementary condition. If our method still adds gains on top of a fine-tuned small model, the effects are additive.

Proposed Experiments

The benchmarks follow CFR so that numbers are directly comparable: AIME, CMIMC and AIMO_AMC. AIME accuracy for 1.5B models is near the floor, as MobileLLM-R1 shows with OLMo-2-1.48B scoring 0.6. So the scale study relies mainly on GSM8K and MATH-500, where small models have measurable accuracy and constraints such as integer outputs still matter. Oracle plans will be annotated for a few hundred problems per benchmark.

The metrics are answer accuracy, token multiplier relative to direct chain-of-thought, and the error-category breakdown. We also define the threshold location as the smallest model size at which a method beats direct chain-of-thought with a bootstrap confidence interval excluding zero.

The decisive check is the oracle-plan condition at 1.5B to 3B. If oracle plans give a clear gain there and our method recovers most of it, the planning-failure account holds and the floor has moved. If oracle plans do not help, the floor lies in execution, consistent with the state-tracking results of Computational Reasoning of Large Language Models. Then no planning-side method, including ours, should be expected to work below that size. That is a useful negative result, and the study is built to report it cleanly. A secondary check is whether the retraction branch beats retry-only on problems where the model's own plan contained an ungrounded constraint. That comparison is the narrow test of whether joint plan revision does anything that plain verification does not.