SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.21215 · NeurIPS · 2024

Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?

Bo Han, Feng Liu, Tongliang Liu, Long Lan, He Li, Wenjing Yang, Haoang Chi, Xiaoguang Ren

arXiv · PDF · Open in the Atlas

Code that ran

11 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2506.21215.json · badge: /api/ran/2506.21215.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Haoang97/CausalProbe-2024 canonical (classifier label)
classifier basis: census
11 ran · 1 no recorded run
FunctionStatusWhere it lives
accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Haoang97/CausalProbe-2024/metrics.py
pointer only (licence: NONE) · get_code("e76cf27d36723be3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

check_answer Ran
ran, violated the contract we drafted
Haoang97/CausalProbe-2024/src/evaluation.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/contriever, is pointer only (licence: NOASSERTION) · get_code("637b51b8df78832a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

exact_match_score Ran
ran, violated the contract we drafted
Haoang97/CausalProbe-2024/metrics.py
pointer only (licence: NONE) · get_code("d97ab73d08dfa3b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gather Ran
ran, honoured the contract we drafted
Haoang97/CausalProbe-2024/src/dist_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/contriever, is pointer only (licence: NOASSERTION) · get_code("9fb6e57668661c38")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gather_nograd Ran
ran, honoured the contract we drafted
Haoang97/CausalProbe-2024/src/dist_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from agwaBom/TPOUR, is pointer only (licence: NONE) · get_code("01971cc37e6fe583")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

has_answer Ran
ran, violated the contract we drafted
Haoang97/CausalProbe-2024/src/evaluation.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/contriever, is pointer only (licence: NOASSERTION) · get_code("fa4ecbff4b9a354b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_data Ran
ran; our contract draft was wrong, not the code
Haoang97/CausalProbe-2024/passage_retrieval.py
pointer only (licence: NONE) · get_code("0c3de3890cd0b382")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

metric_max_over_ground_truths Ran
ran; our contract draft was wrong, not the code
Haoang97/CausalProbe-2024/metrics.py
pointer only (licence: NONE) · get_code("6829ceb72569fa12")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize Ran
ran; our contract draft was wrong, not the code
Haoang97/CausalProbe-2024/src/normalize_text.py
pointer only (licence: NONE) · get_code("806114c1fae3d57e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

randomcrop Ran
ran; our contract draft was wrong, not the code
Haoang97/CausalProbe-2024/src/data.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/contriever, is pointer only (licence: NOASSERTION) · get_code("e037474365501512")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

varsize_gather_nograd Ran
ran, honoured the contract we drafted
Haoang97/CausalProbe-2024/src/dist_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/contriever, is pointer only (licence: NOASSERTION) · get_code("b1ad8cd3a7168b7f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_matches Not yet run
unverified (harvested, no recorded run)
Haoang97/CausalProbe-2024/src/evaluation.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/contriever, is pointer only (licence: NOASSERTION) · get_code("7a4988952dd3a127")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Haoang97/CausalProbe-2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 0 the same month, 8 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
exact_match_score 56 other papers
52 dated earlier, 2 later, 2 same year, order not determinable
1508.06615 (2015-08)
Character-Aware Neural Language Models
1606.05250 (2016-06)
SQuAD: 100,000+ Questions for Machine Comprehension of Text
1608.07905 (2016-08)
Machine Comprehension Using Match-LSTM and Answer Pointer
and 53 more not named here
calculate_matches 13 other papers
11 dated earlier, 1 later, 1 same year, order not determinable
2112.08688 (2021-12)
Evidentiality-guided Generation for Knowledge-Intensive NLP Tasks
2401.03568 (2024-01)
Agent AI: Surveying the Horizons of Multimodal Interaction
2401.16979 (2024-01)
Re3val: Reinforced and Reranked Generative Retrieval
and 10 more not named here
check_answer 13 other papers
11 dated earlier, 1 later, 1 same year, order not determinable
2112.08688 (2021-12)
Evidentiality-guided Generation for Knowledge-Intensive NLP Tasks
2401.03568 (2024-01)
Agent AI: Surveying the Horizons of Multimodal Interaction
2401.16979 (2024-01)
Re3val: Reinforced and Reranked Generative Retrieval
and 10 more not named here
has_answer 11 other papers
9 dated earlier, 1 later, 1 same year, order not determinable
2112.08688 (2021-12)
Evidentiality-guided Generation for Knowledge-Intensive NLP Tasks
2401.03568 (2024-01)
Agent AI: Surveying the Horizons of Multimodal Interaction
2401.16979 (2024-01)
Re3val: Reinforced and Reranked Generative Retrieval
and 8 more not named here
varsize_gather_nograd 10 other papers
5 dated earlier, 3 later, 2 same year, order not determinable
2402.03216 (2024-02)
M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation
2402.07867 (2024-02)
PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
2403.06840 (2024-03)
RA-ISF: Learning to Answer and Understand from Retrieval Augmentation via Iterative Self-Feedback
and 7 more not named here
gather_nograd 9 other papers
5 dated earlier, 2 later, 2 same year, order not determinable
2402.03216 (2024-02)
M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation
2402.07867 (2024-02)
PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
2403.06840 (2024-03)
RA-ISF: Learning to Answer and Understand from Retrieval Augmentation via Iterative Self-Feedback
and 6 more not named here
gather 8 other papers
5 dated earlier, 1 later, 2 same year, order not determinable
2402.03216 (2024-02)
M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation
2402.07867 (2024-02)
PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
2403.06840 (2024-03)
RA-ISF: Learning to Answer and Understand from Retrieval Augmentation via Iterative Self-Feedback
and 5 more not named here
randomcrop 7 other papers
5 dated earlier, 1 later, 1 same year, order not determinable
2310.11511 (2023-10)
Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
2402.03216 (2024-02)
M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation
2402.07867 (2024-02)
PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
and 4 more not named here
metric_max_over_ground_truths 6 other papers
6 dated earlier
2104.08773 (2021-04)
Cross-Task Generalization via Natural Language Crowdsourcing Instructions
2210.10861 (2022-10)
QA Domain Adaptation using Hidden Space Augmentation and Self-Supervised Contrastive Adaptation
2310.11511 (2023-10)
Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
and 3 more not named here
accuracy 3 other papers
3 dated earlier
2310.11511 (2023-10)
Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
2402.03216 (2024-02)
M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation
2406.11357 (2024-06)
Refiner: Restructure Retrieval Content Efficiently to Advance Question-Answering Capabilities
load_data 3 other papers
2 dated earlier, 1 same year, order not determinable
2310.11511 (2023-10)
Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
2025.emnlp-main.192 (2025 (year only))
RAG-Instruct: Boosting LLMs with Diverse Retrieval-Augmented Instructions
2501.00353 (2025-01)
RAG-Instruct: Boosting LLMs with Diverse Retrieval-Augmented Instructions
normalize 2 other papers
1 dated earlier, 1 same year, order not determinable
2404.19705 (2024-04)
When to Retrieve: Teaching LLMs to Utilize Information Retrieval Effectively
2025.findings-acl.1365 (2025 (year only))
ECoRAG: Evidentiality-guided Compression for Long Context RAG

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Causal reasoning capability is critical in advancing large language models (LLMs) toward strong artificial intelligence. While versatile LLMs appear to have demonstrated capabilities in understanding contextual causality and providing responses that obey the laws of causality, it remains unclear whether they perform genuine causal reasoning akin to humans. However, current evidence indicates the contrary. Specifically, LLMs are only capable of performing shallow (level-1) causal reasoning, primarily attributed to the causal knowledge embedded in their parameters, but they lack the capacity for genuine human-like (level-2) causal reasoning. To support this hypothesis, methodologically, we delve into the autoregression mechanism of transformer-based LLMs, revealing that it is not inherently causal. Empirically, we introduce a new causal Q&A benchmark called CausalProbe-2024, whose corpora are fresh and nearly unseen for the studied LLMs. The LLMs exhibit a significant performance drop on CausalProbe-2024 compared to earlier benchmarks, indicating the fact that they primarily engage in level-1 causal reasoning. To bridge the gap towards level-2 causal reasoning, we draw inspiration from the fact that human reasoning is usually facilitated by general knowledge and intended goals. We propose G 2 -Reasoner, a method that incorporates general knowledge and goal-oriented prompts into LLMs' causal reasoning processes. Experiments demonstrate that G 2 -Reasoner significantly enhances LLMs' causal reasoning capability, particularly in fresh and counterfactual contexts. This work sheds light on a new path for LLMs to advance towards genuine causal reasoning, going beyond level-1 and making strides towards level-2. * Equal contribution † Corresponding author 38th Conference on Neural Information Processing Systems (NeurIPS 2024).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2506.21215")
get_code_for_paper("2506.21215")
have("2506.21215")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2506.21215.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2506.21215.svg)](https://syntology.ai/paper/2506.21215)

Connect an agent — have() is free.