Skip to content

ICLR papers

Search ICLR papers by title, author, or track. Open a paper’s abstract to read more.

Explore the ICLR analysis

Search results

461–480 of 822

  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Certified Coherent Reasoning for LLMs via Weighted MaxSAT and Belief-Revision Geometry

    Murari Ambati

    Abstract

    Large language models (LLMs) frequently produce mutually incompatible answers across sets of related questions, limiting reliability in domains that require globally consistent deduction, abduction, and theory maintenance. We formalize coherent multi-query answering as an optimization problem: an LLM supplies candidate answers with preference scores, logic supplies global feasibility constraints, and we select an answer set maximizing preference subject to satisfiability. Our main technical contribution is a proof-carrying coherence decoder that compiles the selection problem to weighted partial MaxSAT, outputs a globally consistent answer set, and emits certificates enabling independent verification of feasibility (and optionally optimality). We introduce solver-grounded coherence metrics, including the coherence gap (log-preference sacrificed to achieve global satisfiability) and minimal-change repair distance (belief-revision style). Theoretically, we give equivalences to distance-based belief revision (including a Dalal-style specialization), a complexity landscape (NP-hardness under severe restrictions), and a probabilistic extension as a KL projection onto the coherent support set. We also propose benchmark templates (pure symbolic and controlled natural language) in which the semantic map to logic is unambiguous, enabling clean measurement of global coherence, contradiction localization, and certified repair.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Bootstrapped Mixed Rewards for RL Post-Training: Injecting Canonical Action Order

    Prakhar Gupta, Vaibhav Gupta

    Abstract

    Post-training with reinforcement learning (RL) typically optimizes a single scalar objective and ignores structure in how solutions are produced. We ask whether a scalar hint toward a canonical solver ordering, used only during RL post-training, improves performance even when fine-tuned on randomized solution sequences. On Zebra puzzles, we fine-tune a Transformer on randomized solution orders, then post-train it with Group Relative Policy Optimization (GRPO) using two rewards: a sparse task reward that is 1 only when the puzzle is fully solved, and an ordering reward that increases when the model's emission order aligns with the canonical solver order. To compare signals cleanly, we combine them via fixed mixtures and use a simple bootstrapped scaling to equalize component magnitudes at initialization. Mixed rewards generally outperform task-only optimization, suggesting that coarse ordering signals can steer RL post-training toward canonical trajectories without modifying supervised data or architecture.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    The Epistemic Cost of Preference Optimization

    Rian Atri

    Abstract

    Stateful LLMs often exhibit contradictions across related questions and struggle with logical deduction and abductive revision under explicit evidence. We study the influence of preference pressure and evidence access on epistemic consistency to avoid contradictions across multiple related questions. To quantify these effects, we propose a minimal “pressure ladder” and “evidence toggle” evaluation protocol. We demonstrate the feasibility of this protocol through an empirical pilot and a reporting-gap audit. Finally, we propose a reporting checklist for logical reasoning papers to track epistemic consistency, evidence sensitivity, grounding/citation integrity, and a calibration proxy alongside standard metrics.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    TopoBench: Benchmarking LLMs on hard topological reasoning

    Mayug Maniparambil, Nils Hoehing, Janak Kapuriya, Arjun Karuvally, Ellen Rushe, Anthony Ventresque, Noel O'Connor, Fergal Reid

    Abstract

    Solving topology grid puzzles requires maintaining global spatial invariants such as connectivity, loop closure, and region symmetry and remains challenging for even the most powerful large language models (LLMs). To study these abilities under controlled settings, we introduce TopoBench, a benchmark of six puzzle families across three difficulty levels. We evaluate strong reasoning LLMs on TopoBench and find that even frontier models solve fewer than one quarter of hard instances, with two families nearly unsolved. To further understand the failure modes, we annotate 750 chain of thought traces with an error taxonomy that surfaces four candidate causal failure modes, then test them with targeted interventions simulating each error type. These interventions show that certain error patterns like premature commitment (going down a wrong solution path early on) and constraint forgetting (moves that violate rules) have a direct impact on the ability to solve the puzzle while repeated-reasoning (re-trying the same reasoning path without meaningful variation) is a benign effect of search. Finally we study mitigation strategies aimed at reducing these error patterns including prompt guidance, cell-aligned grid representations and tool-based constraint checking, finding that the bottleneck lies in extracting constraints from spatial representations and not in reasoning over them.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    interwhen: A Generalizable Framework for Verifiable Reasoning with Test-time Monitors

    Vishak K Bhat, Prateek Chanda, Ashmit Khandelwal, Maitreyi Swaroop, Subbarao Kambhampati, Vineeth Balasubramanian, Nagarajan Natarajan, Amit Sharma

    Abstract

    We present a test-time verification framework, interwhen, that ensures that the output of a reasoning model is valid wrt. a given set of verifiers. Verified reasoning is an important goal in high-stakes scenarios such as deploying agents in the physical world or in domains such as law and finance. However, current techniques either rely on the generate-test paradigm that verifies only after the final answer is produced, or verify partial output through a step-extraction paradigm where the task execution is externally broken down into structured steps. The former is inefficient while the latter artificially restricts a model’s problem solving strategies. Instead, we propose to verify a model’s reasoning trace as-is, taking full advantage of a model’s reasoning capabilities while verifying and steering the model’s output only when needed. The key idea is meta-prompting, identifying the verifiable properties that any partial solution should satisfy and then prompting the model to follow a custom format in its trace such that partial outputs can be easily parsed and checked. We consider both self-verification and external verification and find that interwhen provides a useful abstraction to provide feedback and steer reasoning models in each case. Using self-verification, interwhen obtains state-of-the-art results on early stopping reasoning models, without any loss in accuracy. Using external verifiers, interwhen obtains reasonable improvement in accuracy over test-time scaling methods, while ensuring 100% soundness with respect to full verifier and being 4x more efficient. Can find the arxiv version of the paper : https://arxiv.org/pdf/2602.11202

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    INVESTIGATING EQUATION-ONLY REASONING IN LARGE LANGUAGE MODELS

    Jonathan Chung

    Abstract

    While Large Language Models excel at mathematical reasoning with Chain-of-Thought prompting, their ability to perform systematic arithmetic reasoning without natural language scaffolding remains poorly understood. We investigate equation-only supervision, where LLMs map natural language problems directly to symbolic equation sequences without intermediate explanations. This approach separates reasoning structure generation from arithmetic computation, enabling compact equation storage and deterministic evaluation by external symbolic systems. We fine-tune LLaMA 3.1 Instruct 8B on GSM8K across three representations: numeric (16−3−4 = 9), symbolic (v0−v1−v2 = v3), and semantic variables (eggs laid per day - eggs eaten for breakfast = eggs sold at market). Numeric equations achieve 67.85% accuracy on GSM8K with strong generalization (63.68% on GSM-Symbolic), while semantic variables perform comparably (66.41%). Surprisingly, pure symbolic variables underperform significantly (52.46%), revealing that semantic grounding is crucial for learning equation structures. Our dual evaluation metrics show equation-calculated accuracy often matches or exceeds LLM-calculated accuracy, indicating that improving structure generation—not arithmetic computation—remains the primary challenge. This diagnostic study provides empirical insights into LLMs’ structured mathematical reasoning capabilities with implications for building reliable systems leveraging symbolic computation.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    STRuCT-LLM: Unifying Tabular and Graph Reasoning with Reinforcement Learning for Semantic Parsing

    Josefa Stoisser, Marc Boubnovski Martell, Lawrence Phillips, Casper Hansen, Julien Fauqueur

    Abstract

    Large language models (LLMs) can parse natural language into SQL or Cypher, but remain fragmented—lacking a unified ability to reason across both relational and graph-structured data. We present STRuCT-LLM, a reinforcement learning framework for cross-domain query understanding. Our approach integrates supervised chain-of-thought traces with topology-aware execution rewards, enabling models to acquire complementary reasoning skills: computational and inter-column analysis from SQL and graph traversal from Cypher. On noisy real-world datasets (e.g., SEDE), STRuCT-LLM achieves consistent gains over supervised fine-tuning baselines, including 17\% fewer logical errors and 20\% fewer data-reference errors, while maintaining robustness under perturbations. Beyond benchmark improvements, we provide a structural analysis of SQL–Cypher equivalence and qualitative case studies showing how unified training resolves errors that single-domain models cannot. These results establish reinforcement learning as a driver of structure-aware generalization across heterogeneous data modalities, paving the way for natural language interfaces to more diverse and unified database systems.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Scaling Reasoning Depth Reveals Three Tiers of Failure in Multi-Model Mathematical Deduction

    Harsh Rathva

    Abstract

    We present a diagnostic analysis of mathematical reasoning failures across three reasoning-specialized language models on 15 competition-level problems. Through detailed trace analysis of 45 independent reasoning attempts and 90 cross-model verifications (each of 3 models verifying each other model's solutions across 15 problems), we identify a three-tier taxonomy of failure modes that current evaluation methodologies routinely conflate: capacity failures (correct reasoning approaches truncated by generation limits, accounting for 8 of 11 errors in our sample; 95\% CI: 48\%-91\%), correlated deductive failures (genuine logical errors where models independently converge on the same wrong answer through a shared invalid reasoning step, 2 of 11 in our sample; 95\% CI: 2\%-52\%), and meta-cognitive override (a model that correctly refutes its own candidate answer and submits it anyway, documented in a controlled extended-context experiment). We demonstrate that majority voting across models corrected zero errors across our dataset because each failure tier induces distinct correlation structures: capacity failures produce correlated truncation artifacts, and reasoning failures reflect shared deductive blind spots that verification cannot detect. Furthermore, we reveal that cross-model verification actively amplifies these correlated errors. Rather than functioning as an independent logical auditor, the verification phase suffers from severe meta-reasoning pathologies, including problem mutation and training data injection, achieving a 3/3 false-negative rate on the one problem where all models answered correctly (P12). Our findings suggest that failure-tier-aware evaluation is required to accurately assess and improve logical consistency in large language models.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Linear Mechanisms of Spatiotemporal Reasoning in Vision Language Models

    Raphaela Kang, Hongqiao Chen, Georgia Gkioxari, Pietro Perona

    Abstract

    Spatio-temporal reasoning is a remarkable capability of Vision Language Models (VLMs), but the underlying mechanisms of such abilities remain largely opaque. We postulate that visual/geometrical and textual representations of spatial structure must be combined at some point in VLM computations. We search for such confluence, and ask whether the identified representation can causally explain aspects of input-output model behavior through a linear model. We show empirically that VLMs encode object locations by linearly binding \textit{spatial IDs to textual activations, then perform reasoning via language tokens. Through rigorous causal interventions we demonstrate that these IDs, which are ubiquitous across the model, can systematically mediate model beliefs at intermediate VLM layers. Additionally, we find that spatial IDs serve as a diagnostic tool for identifying limitations and bottlenecks in existing VLMs. We extend our analysis to video VLMs and identify an analogous linear temporal ID mechanism. By characterizing our proposed spatiotemporal ID mechanism, we elucidate a previously underexplored internal reasoning process in VLMs, toward improved interpretability and the principled design of more aligned and capable models.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Enhancing Code LLMs with Reinforcement Learning in Code Generation: A Survey

    Junqiao Wang, Zeng Zhang, Yangfan He, Zihao Zhang, Xinyuan Song, Yuyang Song, TIANYU SHI, Yuchen Li, Hengyuan Xu, Kunyu Wu, Yi Xin, Zhongwei Wan, Xinhang Yuan, Zijun Wang, Kuan Lu, Menghao Huo, Jingqun Tang, Guangwu Qian, Keqin Li, Qiuwu Chen, Lewei He

    Abstract

    With the rapid evolution of large language models (LLM), reinforcement learning (RL) has emerged as a pivotal technique for code generation and optimization in various domains. This paper presents a systematic survey of the application of RL in code optimization and generation, highlighting its role in enhancing compiler optimization, resource allocation, and the development of frameworks and tools. Subsequent sections first delve into the intricate processes of compiler optimization, where RL algorithms are leveraged to improve efficiency and resource utilization. The discussion then progresses to the function of RL in resource allocation, emphasizing register allocation and system optimization. We also explore the burgeoning role of frameworks and tools in code generation, examining how RL can be integrated to bolster their capabilities. This survey aims to serve as a comprehensive resource for researchers and practitioners interested in harnessing the power of RL to advance code generation and optimization techniques.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    ERA-GAC for Stable Structured Reasoning with Attention Priors and Gain-Aware Entropy Control

    Rian Atri

    Abstract

    Large language models often fail on logical reasoning tasks not only by being wrong, but by being unstable, small shifts in training phase or attention dynamics can yield brittle internal inference that disproportionately harms structured question answering. We present ERA-GAC, a training-time method that stabilizes attention-based inference through (i) ERA, an additive log-prior over attention destinations that encodes length-aware structural constraints, and (ii) GAC, a gain-aware entropy/temperature controller that prevents late-phase collapse into overly sharp or overly diffuse attention regimes while keeping inference-time behavior fixed. On compute-matched training (540M parameters, 1.87B tokens), ERA-GAC yields statistically significant differences on six of nine tasks (five improvements, one regression) with paired tests and multiple-comparisons corrections. We find large gains on structured science QA benchmarks (SciQ, ARC-Easy, QASC) and smaller gains on commonsense/RC tasks, while the regression on BoolQ indicates when structural priors may interfere with passage-grounded entailment.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    AtomGraph: Reasoning Isn't Linear, Why Should Verification Be?

    Aryan Karmore

    Abstract

    Verifying the correctness and consistency of multi-step reasoning chains generated by large language models to solve reasoning problems remains a challenge. Current verification strategies treat reasoning as strictly linear chains(Chain-of-Thought) or rigid trees (Tree-of-Thought). These approaches fail to capture complex dependencies in mathematical reasoning. AtomGraph is a graph neural network approach that represents reasoning chains as directed acyclic graphs where nodes act as atomic reasoning steps and edges encode logical dependencies. AtomGraph also combines semantic embeddings with structural features then applies multi head graph attention to learn the dependencies which matter the most. On the GSM8k dataset, AtomGraph achieves 75.9\% F1 score outperforming CoT, ToT baselines by 386\%. Further analysis reveals that AtomGraph learns to assign significantly higher attention to computation nodes than reasoning nodes ($\mu = 0.70$ vs $\mu = 0.478$ ). Skip connections receive higher attention and demonstrate that reasoning verification benefits from explicit modeling of multi-hop dependencies rather than treating reasoning as linear.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Premises Reordering in Forward Chaining Improves LLM Symbolic Reasoning

    Xin Zhang

    Abstract

    Large Language Models (LLMs) have shown outstanding performance on diverse natural language processing tasks, but they still struggle with complex logical reasoning, limiting its real-world applicability. While previous neuro-symbolic approaches for improving LLMs' performance on logical question-answering (QA) primarily focus on either translation quality or reasoning process, they largely overlook LLMs' performance significantly sensitive to the \textbf{orders} of relevant information (also known as \textbf{premises} in logical QA tasks) in the input contexts. Motivated by such observations, we propose a method to first reorder the logical QA premises to align with the premises orders in forward chaining proof to improve LLM logical reasoning. We then use the LLM to translate both premises and the question to the symbolic language, and perform symbolic reasoning via an external logic solver using the translated symbolic language. In this way, both the translation and reasoning accuracy are enhanced, due to the forward chaining premises benefits (i) sequentially formulating the objects and (ii) performing symbolic reasoning during the premises searching in solver. Empirical experiments across three benchmarks demonstrate that our premises reordering method stably outperforms neuro-symbolic baselines, including both symbolic solver-based and prompt-based methods.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Characterizing Backtracking in CoT through Internal Probes and Surface-Level Features

    Adiba Ejaz, Aditya Gupta, Arthur Pogosian, Peter Hase

    Abstract

    Chain-of-thought (CoT) traces from reasoning models often include revisions of intermediate reasoning steps, a behavior we term backtracking. We explore when and why backtracking occurs in reasoning. Using an automated annotation pipeline, we find that backtracking is rare (3-10\% of reasoning chunks) and highly autocorrelated. We further compare surface-level predictors with linear probes on hidden states to identify features predictive of backtracking. While surface features provide substantial signal (ROC-AUC up to 0.80), hidden-state probes prove superior for both detecting current backtracking and predicting its onset in the next step (TPR@5%FPR up to 0.47). Our results indicate that backtracking reflects a structured internal regime during generation rather than merely superficial linguistic cues.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Automatically Generating Hard Math Problems from Hypothesis-Driven Error Analysis

    Jiayu Fu, Mourad Heddaya, Chenhao Tan

    Abstract

    Numerous math benchmarks exist to evaluate LLMs' mathematical capabilities. However, most involve extensive manual effort and are difficult to scale. Consequently, they cannot keep pace with LLM development or easily provide new instances to mitigate overfitting. Some researchers have proposed automatic benchmark generation methods, but none focus on identifying the specific math concepts and skills on which LLMs are error-prone, and most can only generate category-specific benchmarks. To address these limitations, we propose a new math benchmark generation pipeline that uses AI-generated hypotheses to identify the specific math concepts and skills that LLMs struggle with, and then generates new benchmark problems targeting these weaknesses. Experiments show that hypothesis accuracy positively correlates with the difficulty of the generated problems: problems generated from the most accurate hypotheses reduce Llama-3.3-70B-Instruct's accuracy to as low as 45\%, compared to 77\% on the original MATH benchmark. Furthermore, our pipeline is highly adaptable and can be applied beyond math to explore a wide range of LLM capabilities, making it a valuable tool for investigating how LLMs perform across different domains.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Logical Consistency Under Pressure: Probing and Repairing Cross-Query Contradictions in LLMs

    Aayam Bansal, Ishaan Gangwani

    Abstract

    Large language models answer individual logic questions with reasonable accuracy, yet frequently contradict themselves across logically related queries -- affirming a conditional while denying its contrapositive, or endorsing a transitive chain while rejecting the implied conclusion. We introduce ConsistencyBench, a benchmark of 493 logically entailed question sets (1,904 questions) spanning six categories of formal and commonsense reasoning, designed to measure cross-query logical consistency. We evaluate eighteen frontier LLMs -- including GPT-5.2, GPT-4.1, Claude Opus 4.6, Gemini 2.5 Pro, DeepSeek-R1, o3, and Qwen 2.5 72B -- and find that even the strongest model (GPT-4.1) achieves only 46.7% set-level consistency despite 83.0% individual accuracy, revealing consistency gaps of 36-57 percentage points across all models tested. We propose Consistency-Guided Decoding (CGD), a training-free, model-agnostic inference-time method that detects and repairs cross-query contradictions via NLI-based checking. Across 17 models, CGD improves set-level consistency by +6.6pp on average (up to +19.7pp for GPT-4o), while simultaneously improving individual accuracy by +2.8pp on average, demonstrating that cross-query consistency is a tractable target for inference-time intervention.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    POSITION: THE REASONING TRAP — LOGICAL REASONING AS A MECHANISTIC PATHWAY TO SITUATIONAL AWARENESS

    Subramanyam Sahoo, Aman Chadha, Vinija Jain, Divya Chaudhary

    Abstract

    Situational awareness, the capacity of an AI system to recognize its own nature, understand its training and deployment context, and reason strategically about its circumstances, is widely considered among the most dangerous emergent capabilities in advanced AI systems. Separately, a growing research effort seeks to improve the logical reasoning capabilities of large language models (LLMs) across deduction, induction, and abduction. In this paper, we argue that these two research trajectories are on a collision course. We introduce the RAISE framework (Reasoning Advancing Into Self Examination), which identifies three mechanistic pathways through which improvements in logical reasoning enable progressively deeper levels of situational awareness: deductive self inference, inductive context recognition, and abductive self modeling. We formalize each pathway, construct an escalation ladder from basic self recognition to strategic deception, and demonstrate that every major research topic in LLM logical reasoning maps directly onto a specific amplifier of situational awareness. We further analyze why current safety measures are insufficient to prevent this escalation. We conclude by proposing concrete safeguards, including a "Mirror Test" benchmark and a Reasoning Safety Parity Principle, and pose an uncomfortable but necessary question to the logical reasoning community about its responsibility in this trajectory.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    AI-BAAM: AI-Driven Bank Statement Analytics as Alternative Data for Malaysian MSME Credit Scoring

    Chun Chet Ng, Zhen Hao Chu, Jia Yu Lim, Boon Yin, Low Zeng, Jin Tan

    Abstract

    Despite accounting for 96.1% of all businesses in Malaysia, access to financing remains one of the most persistent challenges faced by Micro, Small, and Medium Enterprises (MSMEs). Newly established businesses are often excluded from formal credit markets as traditional underwriting approaches rely heavily on credit bureau data. This study investigates the potential of bank statement data as an alternative data source for credit assessment to promote financial inclusion in emerging markets. First, we propose a cash flow-based underwriting pipeline where we utilize bank statement data for end-to-end data extraction and machine learning credit scoring. Second, we introduce a novel dataset of 611 loan applicants from a Malaysian consulting firm. Third, we develop and evaluate credit scoring models based on application information and bank transaction-derived features. Empirical results demonstrate that incorporating bank statement features yields substantial improvements, with our best model achieving an AUROC of 0.806 on validation set, representing a 24.6% improvement over models using application information only. Finally, we will release the anonymized bank transaction dataset to facilitate further research on MSME financial inclusion within Malaysia’s emerging economy.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    EsoLang-Bench: Evaluating Genuine Reasoning in Large Language Models via Esoteric Programming Languages

    Aman Sharma, Paras Chopra

    Abstract

    Large language models achieve near-ceiling performance on code generation benchmarks, yet these results increasingly reflect memorization rather than genuine reasoning. We introduce EsoLang-Bench, a benchmark using five esoteric programming languages—Brainfuck, Befunge-98, Whitespace, Unlambda, and Shakespeare—that lack benchmark gaming incentives due to their economic irrationality for pre-training. These languages require the same computational primitives as mainstream programming but have 1,000–100,000× less training data than Python. We evaluate five frontier models across five prompting strategies and find a dramatic capability gap: models achieving 85–95% on standard benchmarks score only 0–11% on equivalent esoteric tasks, with 0% accuracy beyond the Easy tier. Few-shot learning and self-reflection fail to improve performance, suggesting these techniques exploit training priors rather than enabling genuine learning. EsoLang-Bench provides the first benchmark designed to mimic human learning—acquiring new languages through documentation, interpreter feedback, and iterative experimentation—measuring transferable reasoning skills resistant to data contamination.

    Abstract source
  • ICLR · Workshop · Workshop on Logical Reasoning of Large Language Models

    Selective Enforcement of Order-Invariant Causal Reasoning in Language Models

    Devon Copley

    Abstract

    If we accept the statements (A causes B, B causes C), then conclusions we draw from these relations should not depend on the order of presentation. The reordered sequence (B causes C, A causes B) describes the same causal graph and should therefore yield identical downstream judgments. We refer to this requirement as order-invariant causal consistency. Prior work has shown that language models violate this requirement in a variety of contexts, particularly when asked to reason about hypothetical outcomes. We introduce a methodology for selective enforcement of causal constraints in language models, and apply it to this problem. We first construct a narrowly targeted diagnostic -- the Textual Causal Invariance Test (TCIT) -- to isolate failures of order-invariant consistency. We then apply a lightweight training procedure that penalizes order-dependent preferences and reinforces order-invariant reasoning. Implemented on the open-weight Phi-3 model, this intervention raises TCIT accuracy from 59% (modestly above chance) to 98%, without degrading performance on a suite of regression tests. Furthermore, we demonstrate zero-shot transfer to the natural-language CLadder benchmark, yielding statistically significant improvements specifically on Rung-3 (counterfactual) causal reasoning tasks, with no degradation on lower causal rungs. These results demonstrate that violations of order-invariant causal consistency can be isolated and corrected through targeted enforcement of a single structural constraint. More broadly, they suggest that selectively enforcing well-defined causal principles may provide a practical path toward improving causal reasoning in language models.

    Abstract source