- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper studies whether LLMs give stable answers when the same logical meaning is written in different but equivalent forms. The authors create controlled variants of reasoning problems using, e.g., material implication, double negation, De Morgan’ s laws, and mixed transformations. They show that strong LLMs can change their answers, even when the logical meaning is unchanged.
Next, the paper proposes LoGIST. LoGIST represets each reasoning instance with a graph. It learns a logic embedding from this graph by contrastive learning. Experiments on synthetic data, FOLIO, and ProverQA show that LoGIST improves consistency across equivalent logical forms.
Strengths and weaknesses
Strengths:
- The motivation is clear and important. Logical equivalence gives a clean test for whether models use logical structure or only surface patterns.
- The use of ROBDDs seems to be a reasonable technical choice. ROBDDs are canonical under a fixed variable order, so they fit the goal of logical invariance.
- The experiments are also fairly broad: two base LLMs, three training methods, and two external reasoning benchmarks.
Weaknesses:
- The gains on FOLIO and ProverQA are positive, but sometimes modest. On such cases, it should be better to show uncertainty estimates.
- Stronger baselines would make the paper more convicing. For example, the authors could compare with data augmentation using equivalent rewrites, formula canonicalization, prompting with formal representations, or a symbolic ROBDD solver. Without these comparisons, it is hard to know whether the improvement comes from the LoGIST architecture or simply from adding symbolic information.
Questions
- How are ROBDDs obtained at test time? Are they built from gold formal annotations, model-generated logical forms, or an automatic parser?
- Does the invariance generalize beyond the current transformations? The paper mainly studies material implication, double negation, De Morgan’ s laws, and mixed combinations. These are useful, but limited.
Limitations
yes
Paper formatting concerns
No
We thank Reviewer wYgY for the detailed and insightful comments, and for recognizing the value of our problem formulation and empirical study. Below we respond to each concern in turn.
W1: Study on uncertainty
We thank the reviewer for raising this point and agree that uncertainty estimates strengthen the interpretation of these results. Taking Llama-3.1-8B-Ins on FOLIO and ProverQA as an example: all reported numbers are averages over 3 runs, and we report the mean ± standard deviation below.
We find the results to be statistically robust: every LoGIST gain is at least twice the largest standard deviation, and even the smallest, +0.026 (GRPO, ProverQA), remains well outside the combined uncertainty of the two runs. The improvements are therefore driven by the method rather than by measurement noise. We will revise the manuscript to make this point clear.
W2: Comparison with stronger baseline
We thank the reviewer for this suggestion. Following it, we add a baseline that receives the full ROBDD as input in textual form: the diagram is linearized following [1, 2] and prepended to the context, so the LLM sees the same structural information as LoGIST, differing only in how it is delivered (prompt text vs. logical embedding). An example data instance containing a linearized ROBDD is:
This baseline is trained and evaluated with the linearized ROBDD included in both training and evaluation inputs, under the same SFT configuration. The accuracy results are:
and the inconsistency rates are:
Providing the linearized ROBDD information as prompt text yields marginal and inconsistent accuracy changes (e.g., +0.4% on Mixed, −0.9% on Base, −1.6% on D.M.) and does not reduce inconsistency at all (21.3% vs. 19.0% on Mixed), whereas LoGIST improves every setting. The gain thus comes from two design choices, (i) the contrastive encoder gives equivalent variants one canonical embedding and (ii) gated cross-attention injects it into hidden states, not from access to the ROBDD information itself. We will include this baseline in the revised manuscript.
[1] Fatemi, Bahare et al. "Talk like a Graph: Encoding Graphs for Large Language Models." ICLR 2024.
[2] Chen, Sirui et al. "CLEAR: Can Language Models Really Understand Causal Graphs?" Findings of EMNLP 2024.
Q1: How ROBDDs are obtained at test time
In our reported experiments, test-time ROBDDs are built from the gold formal annotations provided with each dataset (our synthetic pipeline generates paired formal representations by construction; ProverQA and FOLIO provide paired FOL annotations), and the construction itself is fully algorithmic, with no LLM involved. To test whether LoGIST also works without gold annotations, we included an experiment where the test-time formal representation is instead extracted from the natural-language premise using the method described in NL2Logic [1]. The extraction is performed by the vanilla Llama-3.1-8B-Ins, the same base model used for training, rather than any specialized logic model. The parsed FOL is genuinely noisy: on the Mixed data, only 15.3% exactly match the gold FOL (mostly due to predicate naming differences), while 73.6% are structurally correct. The model is trained following the pipeline in the original paper and evaluated with ROBDDs built from this parsed FOL:
The results show that even under this practical, noisy setup, performance remains stable: when the ROBDD is imperfect, the resulting performance change is negligible, and the model stays close to its gold-FOL input performance. We will clarify the new result on the test-time pipeline in the revision.
[1] NL2Logic: AST-Guided Translation of Natural Language into First-Order Logic with Large Language Models. EACL 2026.
Q2: Experiments on additional logic laws
We thank the reviewer for pointing out this issue. We further include an evaluation on two more complex, composed transformations: (1) MI + De Morgan, where material implication is applied first and then De Morgan's law, e.g., A(x)∧B(x)→C(x) is transformed into ¬A(x)∨¬B(x)∨C(x); and (2) MI + Commutativity, which applies material implication followed by commutativity, e.g., A(x)∧B(x)→C(x) is transformed into C(x)∨¬(A(x)∧B(x)). We follow the same training and evaluation paradigm as in the paper: train on the original training set, then evaluate on the transformed sets to test generalization. The accuracy results are:
LoGIST improves over the baseline in all settings, consistent with the trend in the paper. We will include these results in the revised manuscript.