Evaluating Robustness of Reasoning Models on Parameterized Logical Problems
Naïm Es-sebbani (PhD student · CRIL), Esteban Marquer, Yakoub Salhi, Zied Bouraoui
Overview
This talk, presented by Naïm Es-sebbani on behalf of a research team from CRIL, investigates the fundamental reasoning capabilities of large language models (LLMs) through the lens of formal logic. While LLMs routinely demonstrate impressive performance across various benchmarks involving SAT solving, planning, puzzles, and graph problems, it remains an open question whether these models perform genuine logical deduction or merely exploit surface-level patterns and familiar text formats. To rigorously test this, the authors introduce a controlled evaluation framework using 2-satisfiability (2-CNF or 2-SAT), a tractable fragment of propositional logic that provides precise structural control over problem instances without confounding reasoning failures with search intractability.

Key moments
- 0:00 Introduction and motivation for using 2-SAT
- 1:05 End-to-end evaluation pipeline overview
- 2:00 Generators for parameterized SAT and UNSAT formulas
- 3:00 Verbalizers using templates and LLM story augmentation
- 3:29 Experimental results and model comparison on decisions
- 4:00 Witness generation analysis and impact of story framing
- 5:17 Summary of key takeaways and conclusions
- 5:41 Audience Q and A on logical forms and validation
Evaluating Robustness of Reasoning Models on Parameterized Logical Problems
Speakers: Naïm Es-sebbani (PhD student, CRIL); Esteban Marquer; Yakoub Salhi; Zied Bouraoui
Conference: ICML
Video: https://slideslive.com/39083562
Overview
This talk, presented by Naïm Es-sebbani on behalf of a research team from CRIL, investigates the fundamental reasoning capabilities of large language models (LLMs) through the lens of formal logic. While LLMs routinely demonstrate impressive performance across various benchmarks involving SAT solving, planning, puzzles, and graph problems, it remains an open question whether these models perform genuine logical deduction or merely exploit surface-level patterns and familiar text formats. To rigorously test this, the authors introduce a controlled evaluation framework using 2-satisfiability (2-CNF or 2-SAT), a tractable fragment of propositional logic that provides precise structural control over problem instances without confounding reasoning failures with search intractability.
The core contribution of this work is a systematic evaluation pipeline comprising five parameterized problem generators, multiple verbalization regimes, and strict verification protocols. By decoupling problem size from structural axes—such as implication cycle lengths, propagation strength, and free-to-bound variable ratios—the researchers isolate how model performance responds to deliberate variations in problem topology. The findings reveal a stark disparity between a model's propensity to predict satisfiability and its actual ability to construct valid witnesses, while highlighting a heavy reliance on explicit structural cues rather than robust logical abstraction.
This research matters significantly for the machine learning and systems community as deployment of LLMs moves deeper into domains requiring verifiable correctness, such as automated reasoning, code generation, and constraint solving. By demonstrating that models collapse under specific structural configurations—even when problem complexity decreases—the talk provides actionable insights into the fragility of current reasoning models and establishes a rigorous benchmark for future algorithmic improvements.
Background
▶ Watch: Introduction and motivation for using 2-SAT (0:00)
Since the widespread adoption of large language models, researchers have probed whether these systems genuinely perform reasoning or simply mimic memorized solutions. Prior work has evaluated LLMs on complex tasks including general satisfiability (SAT), automated planning, puzzle solving, and graph algorithms. However, evaluating reasoning on these standard problem classes introduces significant methodological hurdles.
For instance, 3-SAT is NP-complete; if an LLM fails to solve a 3-SAT instance, diagnosticians cannot easily determine whether the failure stems from a true reasoning gap or merely the absence of an efficient search strategy. Conversely, simpler fragments like Horn-SAT are tractable, but satisfiability in Horn-SAT is typically decided via forward chaining, which offers minimal structural control for experimenters.
To overcome these limitations, the authors turn to 2-CNF (2-satisfiability). 2-SAT occupies a unique sweet spot in computational complexity theory: it is solvable in linear time, meaning any failure by a model is definitively attributable to a reasoning gap rather than search intractability. Furthermore, 2-SAT admits an exact graph characterization. Every 2-CNF formula can be viewed as a directed graph of implications, where a formula is unsatisfiable (UNSAT) if and only if a variable and its negation reside within the same strongly connected component. This mathematical property allows researchers to dial structural parameters—such as planting contradiction cycles or adjusting variable propagation—while keeping the underlying question format invariant.
Key Findings
▶ Watch: Generators for parameterized SAT and UNSAT formulas (2:00)
The empirical evaluation uncovers several critical insights regarding the behavior of current reasoning models when confronted with structured logical problems:
- Deciding vs. Constructing: Models frequently output correct binary decisions (satisfiable vs. unsatisfiable) by defaulting to superficial heuristics—such as predicting "satisfiable" for everything—while completely failing to construct valid variable assignments (witnesses).
- Structural Sensitivity Over Size: Model accuracy degrades sharply as structural constraints tighten, such as lengthening the implication chains in UNSAT problems, independent of the raw token length or superficial problem size.
- Paradoxical Failure Modes on Easier Instances: On equivalence core problems where the ratio of free-to-bound variables is high (resulting in more valid solutions and weaker propagation requirements), models paradoxically experience complete performance collapses compared to more constrained settings.
- Robustness to Formats, Brittle to Narratives: Models exhibit stable performance across various explicit template verbalizations (e.g., using team names or door states), proving they can parse logical structures when explicitly stated. However, wrapping the identical logical clauses inside narrative-driven story clues (such as a spy heist or detective mystery) causes accuracy to drop by roughly 25 percentage points.
Technical Deep Dive
▶ Watch: Experimental results and model comparison on decisions (3:29)
The experimental framework relies on a meticulously engineered end-to-end evaluation pipeline. The architecture begins with a problem generator, proceeds through a verbalizer, wraps the output in a standardized chain-of-thought prompt, and concludes with automated verification via PySAT.
Parameterized Problem Generators
The authors designed five distinct problem families to probe specific structural axes:
- Implication Cycle: Builds UNSAT formulas by placing literals in a directed circle where each arrow represents a clause. Following the chain for $K$ steps leads from a literal $L_1$ to its negation $\neg L_1$, and vice versa, creating an inescapable contradiction. Extra clauses ("fillers") are introduced as noise to test the model's ability to locate the core contradiction.
- Equivalence Core: Builds SAT formulas by coupling free variables to bound variables. The main difficulty knob is the ratio of free to bound variables, controlling the propagation footprint across the formula.
- Backbone: Generates SAT formulas where specific variables are forced into rigid truth values.
- Mono-Bridge: Establishes a structural trap by linking two independent regions of variables via a single bridge clause.
- Symmetry: Concatenates a logical formula with a renamed copy of itself to evaluate whether models recognize structural redundancy.
Verbalization Regimes
To test sensitivity to surface form, each generated logical instance is rendered using two distinct approaches:
- Template Verbalizer: Translates clauses like $(\neg A \lor B)$ into six alternative explicit formats (e.g., "A is on the blue team or B is on the red team", or "Door one is closed or door two is open"), preserving explicit logical structure.
- LLM Augmentation: Employs an LLM to rewrite each clause as a paragraph of a story within a spy heist or detective theme. Disjunctions are disguised as clues in a mystery, increasing prompt length by 4x to 10x while concealing the underlying logical structure behind narrative prose.
Verification Pipeline
When a model classifies an instance as satisfiable (SAT), it is instructed to output its variable assignment as JSON. The verification engine uses PySAT to check whether the provided assignment satisfies every single clause in the generated formula, ensuring that correct binary decisions are backed by mathematically sound witness construction.
Experimental Setup & Results
▶ Watch: Witness generation analysis and impact of story framing (4:00)
The evaluation benchmarks various models—including open-weights architectures like Llama and proprietary reasoning models like GPT-3—across the five parameterized generators.
For each test configuration, the evaluation tracks two primary metrics: SAT Decision Accuracy (whether the model correctly identifies satisfiability or unsatisfiability) and Witness Generation (WIT) (whether satisfiable instances yield a verified valid assignment).
The quantitative results highlight dramatic performance bifurcations:
- Baseline Collapse (Llama): When evaluated on the implication cycle generator, baseline models like Llama achieve high decision scores purely because they default to predicting "satisfiable" for every prompt. When the true answer is SAT, this heuristic succeeds; when the true answer is UNSAT, accuracy plummets to zero. Crucially, Llama's witness generation column remains uniformly at zero across trials, confirming an inability to construct valid assignments.
- True Reasoning Models (GPT-3): More advanced models correctly identify UNSAT instances by actively checking the formula rather than defaulting to positive assertions. Furthermore, GPT-3 successfully produces valid assignments on satisfiable instances, though assignment quality degrades as instance sizes scale up.
- The Narrative Penalty: Across all models, shifting from explicit template verbalization to narrative-wrapped story clues results in a consistent ~25 percentage point drop in accuracy at maximum scale. This proves that models struggle to extract and reason over latent logical constraints when embedded in unstructured natural language.
Practical Implications
▶ Watch: Audience Q and A on logical forms and validation (5:41)
These findings carry profound implications for machine learning practitioners, infrastructure deployers, and model builders integrating LLMs into automated reasoning workflows:
- Distinguish Decision from Construction: Deployers must not rely on binary accuracy metrics. A model stating a problem is solvable does not imply it can compute a valid solution. Production pipelines requiring actionable outputs (such as code generation or automated planning) must enforce rigorous secondary verification tools rather than trusting raw model assertions.
- Beware of Narrative Fragility: Translating formal specifications into natural language narratives—a common practice in prompt engineering and user-facing AI assistants—actively degrades logical reasoning performance. System designers should maintain explicit, structured representations whenever precision is paramount.
- Difficulty is Structural, Not Merely Scale-Dependent: Practitioners cannot assume smaller problem sizes correlate with easier reasoning tasks. As demonstrated by the equivalence core experiments, reducing propagation constraints and increasing valid solutions can paradoxically trigger model collapse.
Key Takeaways
- Deciding is not constructing: Models frequently guess satisfiability correctly via heuristics without possessing the capability to construct valid variable assignments.
- Failures track presentation, not raw difficulty: Performance degradation is tightly coupled to how information is presented (e.g., explicit templates versus hidden narrative clues) rather than intrinsic problem complexity.
- Robustness to surface wording, fragility to deep structure: Altering explicit syntactic templates (colors, doors, letters) yields identical performance curves, whereas obscuring clauses inside narrative text destroys reasoning accuracy.
- Parameter-controlled testing is essential: Utilizing tractable linear-time fragments like 2-SAT allows researchers to isolate genuine reasoning failures from search intractability.
About the Speaker(s)
- Naïm Es-sebbani (PhD student, CRIL): PhD student at CRIL in France working on evaluating the robustness of reasoning models on parameterized logical problems.
- Esteban Marquer: Co-author on joint work evaluating robustness of reasoning models on parameterized logical problems.
- Yakoub Salhi: Co-author on joint work evaluating robustness of reasoning models on parameterized logical problems.
- Zied Bouraoui: Co-author on joint work evaluating robustness of reasoning models on parameterized logical problems.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026