Skip to Content

Pairwise Causal Link

Context

A statistical association between two variables does not by itself establish causal direction. Causal discovery from observational data requires assumptions about the data-generating process. Domain knowledge and temporal ordering can help assess plausible directions.

With LLMs, it is now possible to let BayesiaLab tap into external domain knowledge. BayesiaLab’s Hellixia can ask LLMs about the causal relationship between two nodes.

Usage & example

Select two nodes of interest, e.g., Smoking\mathit{Smoking} and Lung Cancer\mathit{Lung\ Cancer}.
Select Menus > Hellixia > Pairwise Causal Link.

In the Pairwise Causal Link window:

  • Specify the Completion Model.
  • Provide any applicable context to the Context field.
Check which fields contain the subjects under study, e.g., Node Name, Node Long Name, and Node Comment.
Click OK to launch the search.
If the LLM believes a causal relationship exists, BayesiaLab adds a corresponding arc.
Furthermore, BayesiaLab adds an Arc Comment with any contextual information the LLM provides. The Arc Comment icon indicates that such a comment was added.
Clicking the Show Arc Comments button in the Toolbar displays the comment.

Workflow video