Mining Natural Language Internet Data for Causality

Tim Hagen, Liesbeth Allein, Martin PotthastarXiv 2026

TL;DR

Humanity’s collective hypotheses about what causes what are locked away in messy natural language—full of contradictions, missing context, and scientific disagreements. Researchers built an automated NLP pipeline to mine over 800,000 Reddit r/science headlines, constructing a massive, hierarchical graph of nearly 200,000 causal claims and counterclaims. Instead of forcing conflicting studies into one artificial "truth," this resource maps the landscape of scientific assertions while keeping receipts on where every claim came from.

What Problem Does This Paper Address?

If you hand a statistical algorithm pure observational data, it often hits a wall: correlation doesn't easily untangle into causation, leaving multiple competing causal structures mathematically indistinguishable. Background knowledge helps break these ties, and our richest repository of it is written text—papers, maintenance logs, and news summaries.

However, you cannot simply scrape "A causes B" from text and drop it into a formal Structural Causal Model (SCM) or Directed Acyclic Graph (DAG). Natural language gives us claims, not universal laws. One study says exercise prevents depression; another says it doesn't help. Furthermore, text relies on context: "peanut consumption prevents allergies" only makes sense if you keep the modifier "in infancy." Existing text-mined causal graphs usually strip out context, flatten specificity, and filter out negated (countercausal) claims—leaving behind a biased map that even retains debunked myths (like vaccines causing autism) without the refutations. The authors set out to represent causal assertions without prematurely forcing them into a single consistent theory.

Table 1: Comparison of hierarchical causal-claim graphs with provenance and SCMs.

Methods

The authors designed a modular four-step pipeline to turn raw text into a structured causal-claim graph:

Figure 2: The causality extraction pipeline we use to create the causal graph.
  1. Detection: A fine-tuned RoBERTa-base binary classifier filters text for causal information, tuned for high recall so subtle claims aren't lost early.
  2. Extraction: First, a RoBERTa-base model with a biaffine span-prediction head locates candidate event phrases (avoiding the fragmented spans common in standard token tagging). Next, a fine-tuned 150M-parameter Ettin decoder classifies pairs of spans as causal, countercausal ("A does not cause B"), or uncausal.
  3. Canonicalization: Extracted spans are often fragmentary. Rather than relying on unconstrained LLMs, the authors introduce a deterministic, context-aware canonicalizer. Using dependency parsing and coreference resolution, it expands noun phrases into self-contained clauses—preserving crucial agents, affected populations (e.g., "in Tibetans"), and spatiotemporal bounds ("in infancy") while checking against information leakage from the paired event.
  4. Hierarchical Representation: How do you link "injury" to "spinal cord injury" without pretending they are identical? Using sentence embeddings for candidate retrieval (augmented with broad concepts from Wikidata and Gene Ontology), a DeBERTaV3-large Natural Language Inference (NLI) model tests whether event $A$ semantically entails event $B$ ($P \ge 0.995$). Mutually entailing events are clustered, cycles are broken, and events are organized into a multi-level taxonomy.

Datasets

  • Source Corpus & New Resource: 807,335 preprocessed submission titles (from 2006–2022) from Reddit’s r/science community via the Pushshift dataset. Strictly moderated to summarize peer-reviewed studies, this corpus yielded the paper's new multi-domain graph of 198,641 causal/countercausal relationships.
  • Training & Evaluation: Extraction models were trained and evaluated on CCNC (crucial as the only dataset annotating countercausality), CNCv2, and BECauSE 2.0.
  • External Ontologies: Wikidata and the Gene Ontology supply high-level root concepts for the hierarchy.

Key Insights and Ideas

  • LLMs hallucinate during event normalization: When asked to rewrite extracted spans into self-contained events, an LLM frequently dragged the effect into the cause span or outright hallucinated (rewriting "Dogs are being trained to sniff your urine for cancer" into "sniff out explosives"). Deterministic, rule-based syntactic and context expansion proved vastly more faithful.
  • Hierarchy turns contradictions into exceptions: Consider "fire causes smoke" vs. "methane fire does not cause smoke." By combining counterclaims with a specificity hierarchy, the graph captures 99 triples where a specific sub-event overrides a general causal default—mirroring how human default reasoning works.
  • Counterclaims act as scientific immune responses: Only 4.3% of extracted relations are countercausal, yet they do heavy lifting—preserving scientific pushback against myths like sugar causing hyperactivity or vaccines causing autism, which positive-only graphs blindly assert as fact.
  • Causal talk varies wildly by discipline: Medicine dominates causal claims, whereas Physics and Astronomy rank third in total r/science posts but drop to eighth in extracted causal claims.

Key Results

  • Graph Scale: From 807,335 titles, the pipeline extracted 198,641 relationships (including 8,564 countercausal claims) across 291,252 event clusters, with 61.5% of event descriptions connected into the subsumption hierarchy.
  • Extraction Performance: Across held-out test sets, causality detection achieved 84.6%–86.9% $F_1$, character-overlap candidate span extraction hit 69.8%–72.8% $F_1$, and relationship identification on gold spans reached 89.2%–97.4% macro-$F_1$.
  • Canonicalization Trade-offs: In human pairwise evaluations, context-aware canonicalization nearly doubled self-containment over raw spans (0.65 vs. 0.38) while keeping completeness high (0.71), whereas LLM rewriting tanked to 0.04 in both faithfulness and completeness.

Limitations and Future Work

  • Epistemic vs. Ontological Confusion: The extractor sometimes confuses how we know something with what causes it. From "Ultra-slow earthquake indicates deep crustal movement," it extracts earthquake $\rightarrow$ movement, even though the crustal movement actually caused the earthquake, and the observation merely allowed scientists to infer it.
  • NLI Quirks & Error Propagation: NLI models can be fooled by framing; for instance, assuming "Scientists believe X" strictly entails "X." Errors in early extraction or canonicalization also ripple downstream.
  • Headline Compression: Reddit titles inevitably drop methodological caveats and hedging ("may cause" vs. "causes"). Future work aims to explicitly model uncertainty, separate epistemic from ontological claims, and apply this modular pipeline to full-text corpora.

Summary updated

BibTeX
@misc{hagen2026mining,
  author = {Tim Hagen and Liesbeth Allein and Martin Potthast},
  title = {{Mining Natural Language Internet Data for Causality}},
  year = {2026},
  eprint = {2611.37077},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.37077},
}
Figure