Causal Reasoning Favors Encoders: On The Limits of Decoder-Only Models

Amartya Roy, Elamparithy M, Kripabandhu Ghosh, Ponnurangam Kumaraguru, Adrian de WynterarXiv 2025 · DOI · arXiv

Abstract

This paper challenges the current dominance of decoder-only Large Language Models (LLMs) by demonstrating that encoder and encoder-decoder architectures are fundamentally better suited for causal reasoning. While massive decoder-only models like GPT-5 can achieve high accuracy through sheer scale, smaller fine-tuned encoders prove more robust, efficient, and capable of generalizing to non-natural language scenarios. Our findings suggest that the recursive, token-by-token nature of decoders makes them prone to accumulating local noise, whereas encoders provide a more stable foundation for structured logical deduction.

Introduction

The current landscape of Artificial Intelligence is dominated by decoder-only architectures, such as GPT-4, Claude, and Llama. While these models excel at fluid text generation, they often struggle with "causal reasoning"—the ability to chain multiple logical steps (multi-hop) and satisfy strict conditions (conjunctive control).

We hypothesize that the autoregressive nature of decoders is inherently brittle for complex logic. When reasoning chains deepen or the linguistic context shifts away from familiar patterns, these models frequently fall back on "spurious lexical relations"—word associations learned during pre-training—rather than applying actual logic. This study investigates whether encoder-based architectures, which project the entire input into a latent space simultaneously, offer a more reliable alternative for structured deduction.

Methodology

We conducted a systematic comparison across three architectural families: encoder-only (BERT), encoder-decoder (BART, Flan-T5), and decoder-only (Qwen series, GPT-4.1, GPT-5, and Claude Opus 4.1). Models were evaluated using two primary strategies: Zero-shot/Few-shot In-Context Learning (ICL) and targeted fine-tuning on logical proof chains.

Overview of dataset creation and the two-pronged evaluation approach (ICL and fine-tuning).

Datasets and Probes

Using the SimpleLogic framework, we generated synthetic logic problems based on First-Order Logic (FOL). We created three distinct splits to test generalization:

  1. Training Set: Natural language strings with reasoning depths of 0 to 7 steps.
  2. Natural Language (NL) OOD: A test set with deeper reasoning chains (up to 11 steps).
  3. Non-Natural Language (NNL): A "gibberish" version where words are replaced with random characters (e.g., "Batman is kind" becomes "Batman is a#d}"). This forces models to rely on pure logic rather than linguistic shortcuts.

To analyze internal model behavior, we employed a novel mechanistic probe called "curvature similarity." Borrowing from differential geometry, this technique analyzes the consistency of internal representations as reasoning complexity increases.

Results and Key Insights

The "Lexical Crutch" and Robustness

Our results indicate that decoder-only models are highly sensitive to distributional shifts. When presented with the NNL dataset, their performance often collapses because they can no longer rely on familiar word patterns. In contrast, fine-tuned encoders learn the underlying logical structure and remain stable even when the input is randomized.

Class distribution on the Non-Natural Language (NNL) test set, showing the impact of fine-tuning on model predictions.

Encoder Superiority and Geometric Stability

Fine-tuned BERT and BART models significantly outperformed decoder-only models of similar and even larger scales on deep reasoning tasks. The curvature similarity probe revealed that BERT maintains a stable geometric transformation across all reasoning depths, whereas decoders like Qwen exhibit "curvature drift," suggesting their internal logical consistency collapses as problems become harder.

The Efficiency Gap

One of the most striking findings is the efficiency disparity. We measured efficiency as accuracy gained per hour of compute. BART-Base was found to be roughly 640x more efficient than GPT-5, achieving respectable reasoning performance at a fraction of the cost and latency. While GPT-5 was the only decoder-only model to achieve near-perfect accuracy, its massive compute requirements make it impractical for many real-time applications.

Discussion and Conclusion

The study concludes that In-Context Learning alone is insufficient for reliable causal reasoning; even state-of-the-art models require targeted fine-tuning to handle deep logic chains. Furthermore, the global information sharing inherent in encoders prevents the "accumulating local noise" that disrupts step-by-step decoder processing.

Future work should explore hybrid architectures that combine the flexible in-context learning of decoders with the robust latent projection capabilities of encoders. While scaling can "brute force" logic, architectural optimization remains the more sustainable path toward reliable machine reasoning.

Summary updated

Abstract

In context learning (ICL) underpins recent advances in large language models (LLMs), although its role and performance in causal reasoning remains unclear. Causal reasoning demands multihop composition and strict conjunctive control, and reliance on spurious lexical relations of the input could provide misleading results. We hypothesize that, due to their ability to project the input into a latent space, encoder and encoder decoder architectures are better suited for said multihop conjunctive reasoning versus decoder only models. To do this, we compare fine-tuned versions of all the aforementioned architectures with zero and few shot ICL in both natural language and non natural language scenarios. We find that ICL alone is insufficient for reliable causal reasoning, often overfocusing on irrelevant input features. In particular, decoder only models are noticeably brittle to distributional shifts, while finetuned encoder and encoder decoder models can generalize more robustly across our tests, including the non natural language split. Both architectures are only matched or surpassed by decoder only architectures at large scales. We conclude by noting that for cost effective, short horizon robust causal reasoning, encoder or encoder decoder architectures with targeted finetuning are preferable.
BibTeX
@misc{roy2025causal,
  author = {Amartya Roy and Elamparithy M and Kripabandhu Ghosh and Ponnurangam Kumaraguru and Adrian de Wynter},
  title = {{Causal Reasoning Favors Encoders: On The Limits of Decoder-Only Models}},
  year = {2025},
  eprint = {2512.10561},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.10561},
}
Figure