Prompting or Fine-tuning? Exploring Large Language Models for Causal Graph Validation

Yuni Susanti, Nina Holsmoelle
5/29/2024
cs.CLcs.AI

No official code found. Best implementation: susantiyuni/causal-llm (0 stars, last commit 2025-04-16).

Abstract

This study explores the capability of Large Language Models (LLMs) to evaluate causality in causal graphs generated by conventional statistical causal discovery methods-a task traditionally reliant on manual assessment by human subject matter experts. To bridge this gap in causality assessment, LLMs are employed to evaluate the causal relationships by determining whether a causal connection between variable pairs can be inferred from textual context. Our study compares two approaches: (1) prompting-based method for zero-shot and few-shot causal inference and, (2) fine-tuning language models for the causal relation prediction task. While prompt-based LLMs have demonstrated versatility across various NLP tasks, our experiments on biomedical and general-domain datasets show that fine-tuned models consistently outperform them, achieving up to a 20.5-point improvement in F1 score-even when using smaller-parameter language models. These findings provide valuable insights into the strengths and limitations of both approaches for causal graph evaluation.

View on arXivView PDF

Code Implementations(1)

Supplementary materials: Prompting or Fine-tuning? Exploring Large Language Models for Causal Graph Validation (CausalNeSy'25)

00Shell, PythonSep 8, 20231 years ago

Similar Papers

Cite this paper

@article{susanti2024prompting,
  title  = {Prompting or Fine-tuning? Exploring Large Language Models for Causal Graph Validation},
  author = {Yuni Susanti and Nina Holsmoelle},
  year   = {2024},
  eprint = {2406.16899},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.16899v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.16899.svg)](https://codeofpaper.com/paper/2406.16899)

Discussion