NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Causal Order: The Key to Leveraging Imperfect Experts in Causal Inference

Aniket Vashishtha, Abbavaram Gowtham Reddy, Abhinav Kumar, Saketh Bachu, Vineeth N. Balasubramanian, Amit Sharma

TL;DR

Instead of asking Large Language Models (LLMs) to build entire causal graphs through ambiguous pairwise questions, researchers should ask them for causal order. By using a novel "triplet prompting" strategy, we can extract more accurate, cycle-free domain knowledge from LLMs—allowing smaller models like Llama-3 8B to outperform GPT-4 in downstream causal discovery and effect estimation.

What Problem Does This Paper Address?

Causal inference usually starts with a Directed Acyclic Graph (DAG). Recently, researchers have used LLMs as "experts" to build these graphs by asking them pairwise questions: "Does variable A cause variable B?"

However, this approach has a fundamental flaw: ambiguity. Even a human expert might say "Yes" to "Does Smoking cause Respiratory Disease?" without knowing if the researcher also wants to include "Lung Damage" as a mediator. Without the full context of all other variables, experts cannot reliably distinguish between direct and indirect effects. This leads to "over-connected" graphs, inconsistent edges, and—most frustratingly for algorithms—logical cycles (e.g., A causes B, B causes C, and C causes A).

Methods

The authors propose shifting the "interface" between the expert and the algorithm from the causal graph to the causal order (the topological ordering of variables).

Comparison of Pairwise and Triplet Prompting
  1. Causal Order as Interface: Causal order is more stable than a graph. If A is an ancestor of B, A must come before B in the order, regardless of whether the effect is direct or indirect.
  2. The Triplet Method: Instead of querying a pair $(A, B)$, the authors query a triplet $(A, B, C)$. The LLM is asked to provide the causal relationships between all three and is explicitly instructed to avoid cycles within that triplet.
  3. Voting Ensemble: Because any pair $(A, B)$ can be part of many different triplets (using different auxiliary variables $C$), the system can "vote" on the direction of the edge between A and B. This redundancy filters out "noisy" or incorrect responses from the LLM.
  4. Integration: The expert-derived order can then be plugged into standard causal discovery tools like the PC algorithm (constraint-based) or CaMML (score-based) to improve final graph accuracy.

Datasets

The researchers evaluated their method across several domains:

  • BNLearn Benchmarks: Classic causal datasets including Earthquake, Cancer, Survey, Asia, and Child.
  • Nuanced Medical Graphs: To test domain-specific knowledge and avoid LLM "memorization" of common benchmarks, they used:
  • Neuropathic Pain: A complex graph for pain diagnosis.
  • Alzheimer’s: A graph curated by human experts in 2023.
  • Covid-19: A graph modeling the pathophysiological process of SARS-CoV-2.

Key Insights and Ideas

  • The "Perfect Expert" Paradox: The authors prove that even a "perfect" expert (one with access to the ground truth) will produce an incorrect graph if queried only on pairs without context. However, that same expert will always produce a correct causal order.
  • Order is Enough: For many tasks, like "backdoor adjustment" (calculating the effect of a treatment), you don't actually need the full graph. Knowing the causal order is sufficient to identify a valid set of variables to control for.
  • Context Matters More than Model Size: The triplet method provides "dynamic context." By introducing a third variable, the LLM's reasoning becomes more grounded.
  • Robustness through Redundancy: Querying the same pair multiple times with different auxiliary variables creates a robust error-correction mechanism.

Key Results

  • Beating the Giants: Using the triplet method, smaller models like Phi-3 (3.8B) and Llama-3 (8B) achieved higher accuracy and fewer cycles than GPT-4 using standard pairwise prompting.
  • Cycle Reduction: In the Child dataset (20 nodes), pairwise prompting with GPT-3.5 resulted in over 3,000 cycles. The triplet method reduced this significantly, and with a simple cycle-remover, it provided a valid causal order where the pairwise method failed entirely.
  • Topological Divergence ($D_{top}$): The authors used $D_{top}$ to measure how many ground-truth edges are violated by the predicted order. The triplet method consistently yielded lower $D_{top}$ scores across all datasets compared to pairwise baselines.
  • Downstream Success: Integrating the LLM-provided order into discovery algorithms (like PC) significantly reduced the Structural Hamming Distance (SHD), meaning the final graphs were much closer to the truth.

Limitations and Future Work

  • Novel Variables: LLMs rely on internal knowledge. If you provide variables with nonsensical names (e.g., "Variable X12"), the LLM cannot provide a causal order. It is not a replacement for data-driven discovery but a way to leverage existing domain knowledge.
  • Counterfactuals: While causal order is great for effect inference, it isn't enough for counterfactual estimation, which requires specific functional forms and the full graph structure.
  • Computational Cost: Moving from $O(V^2)$ pairs to $O(V^3)$ triplets increases the number of LLM calls. The authors suggest using a constant $k$ auxiliary variables per pair to keep costs at $O(k V^2)$ for larger graphs.

Summary updated

BibTeX
@inproceedings{vashishtha2025causal,
  author = {Aniket Vashishtha and Abbavaram Gowtham Reddy and Abhinav Kumar and Saketh Bachu and Vineeth N. Balasubramanian and Amit Sharma},
  title = {{Causal Order: The Key to Leveraging Imperfect Experts in Causal Inference}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=9juyeCqL0u},
}
Figure