Skip to main content
QUICK REVIEW

[Paper Review] From Unstructured Text to Causal Knowledge Graphs: A Transformer-Based Approach

Scott L. Friedman, Ian Magnusson|arXiv (Cornell University)|Feb 23, 2022
Semantic Web and OntologiesComputer Science5 citations
TL;DR

This paper presents SpEAR, a transformer-based NLP model that extracts qualitative causal knowledge graphs from unstructured text, jointly identifying entities, causal relationships (including direction, magnitude, and qualifiers), and WordNet-based word senses. It demonstrates accurate extraction and practical reasoning via graph traversal in scientific and ethnographic text, achieving promising F1 scores despite linguistic ambiguity.

ABSTRACT

Qualitative causal relationships compactly express the direction, dependency, temporal constraints, and monotonicity constraints of discrete or continuous interactions in the world. In everyday or academic language, we may express interactions between quantities (e.g., sleep decreases stress), between discrete events or entities (e.g., a protein inhibits another protein's transcription), or between intentional or functional factors (e.g., hospital patients pray to relieve their pain). Extracting and representing these diverse causal relations are critical for cognitive systems that operate in domains spanning from scientific discovery to social science. This paper presents a transformer-based NLP architecture that jointly extracts knowledge graphs including (1) variables or factors described in language, (2) qualitative causal relationships over these variables, (3) qualifiers and magnitudes that constrain these causal relationships, and (4) word senses to localize each extracted node within a large ontology. We do not claim that our transformer-based architecture is itself a cognitive system; however, we provide evidence of its accurate knowledge graph extraction in real-world domains and the practicality of its resulting knowledge graphs for cognitive systems that perform graph-based reasoning. We demonstrate this approach and include promising results in two use cases, processing textual inputs from academic publications, news articles, and social media.

Motivation & Objective

  • To develop a method for automatically extracting structured causal knowledge from unstructured natural language, including entities, causal relationships, and constraints.
  • To represent causal relations with qualitative semantics (e.g., q+, q−, intent+, teleological) for use in cognitive reasoning systems.
  • To ground extracted nodes in an ontology (WordNet) via context-sensitive word sense disambiguation for improved reasoning.
  • To evaluate the utility of extracted knowledge graphs in downstream reasoning tasks such as graph traversal and causal inference.
  • To demonstrate the approach on real-world domains, including scientific claims and ethnographic narratives.

Proposed method

  • The SpEAR model is a fine-tuned BERT-based architecture adapted from SpERT, designed for joint entity and relation extraction with contextual understanding.
  • It jointly predicts: (1) entities (variables or factors), (2) qualitative causal relations (e.g., q+, q−, intent+, teleological), (3) qualifiers (magnitude, temporal, location), and (4) WordNet word senses for each node.
  • Word sense disambiguation is performed as a post-processing step using context-sensitive embeddings, not during parsing.
  • The model uses multi-task learning to predict relations and attributes simultaneously, improving coherence and consistency in knowledge graph construction.
  • Extracted knowledge is represented as a directed, attributed graph where nodes are labeled with entities and word senses, and edges encode causal semantics with qualifiers.
  • Graph traversal is enabled via pattern-based queries (e.g., 'find all causal paths from mother eating X to baby having Y') to support reasoning about indirect effects.

Experimental results

Research questions

  • RQ1Can a transformer-based model accurately extract qualitative causal relationships, including direction, magnitude, and temporal constraints, from unstructured text?
  • RQ2To what extent can context-sensitive NLP models infer ontologically grounded word senses (e.g., WordNet) for extracted entities in causal graphs?
  • RQ3Can the resulting causal knowledge graphs support practical reasoning tasks such as path traversal and causal inference in real-world domains?
  • RQ4How well does the model perform on diverse text types, including scientific claims and ethnographic narratives with culturally specific causal beliefs?
  • RQ5What are the limitations of current NLP models in handling ambiguity and hedging in causal language, and how does this affect downstream reasoning?

Key findings

  • The SpEAR model achieves promising F1-measure scores on the SciClaim dataset and ethnographic corpora, despite data sparsity and linguistic ambiguity.
  • The system successfully extracts and represents complex causal structures, including qualitative increases (q+), decreases (q−), temporal qualifiers (e.g., 'from 5 February onwards'), and magnitude modifiers.
  • Graph traversal using pattern-based queries reveals meaningful causal paths, such as linking maternal eating behaviors to child health outcomes in ethnographic texts.
  • The model captures culturally specific causal beliefs (e.g., eating mango causes diarrhea) even when not scientifically validated, demonstrating utility in descriptive mental model analysis.
  • Despite limitations in disambiguating abstract argument types (e.g., frequency vs. likelihood), the current representation supports practical reasoning in cognitive systems.
  • The approach reveals that pre-trained models inherit biases from training data, highlighting a need for careful evaluation and potential de-biasing in future work.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.