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
This paper argues that the full causal graph is a brittle output when eliciting knowledge from imperfect experts such as LLMs and humans, and proposes causal order as a stable, agnostic interface for leveraging domain knowledge.It introduces the triplet prompting strategy, which uses an auxiliary variable for each pair and enforces acyclicity within triplets, combined with a majority-vote ensemble to produce a robust causal order with fewer cycles and lower cost than traditional pairwise prompting.The authors formalize the topological divergence D_top as a metric tied to valid backdoor adjustment and demonstrate that a correct causal order yields reliable effect estimation, while full graph accuracy (SHD) can remain high even for perfect experts.Extensive experiments on real-world BNLearn graphs show that triplet prompting outperforms pairwise prompting across LLMs and human annotators, and that the resulting causal order meaningfully improves downstream causal discovery and causal effect inference, especially in data-scarce settings.
Abstract
Large Language Models (LLMs) have been used as experts to infer causal graphs, often by repeatedly applying a pairwise prompt that asks about the causal relationship of each variable pair. However, such experts, including human domain experts, cannot distinguish between direct and indirect effects given a pairwise prompt. Therefore, instead of the graph, we propose that causal order be used as a more stable output interface for utilizing expert knowledge. Even when querying a perfect expert with a pairwise prompt, we show that the inferred graph can have significant errors whereas the causal order is always correct. In practice, however, LLMs are imperfect experts and we find that pairwise prompts lead to multiple cycles. Hence, we propose the triplet method, a novel querying strategy that introduces an auxiliary variable for every variable pair and instructs the LLM to avoid cycles within this triplet. It then uses a voting-based ensemble method that results in higher accuracy and fewer cycles while ensuring cost efficiency. Across multiple real-world graphs, such a triplet-based method yields a more accurate order than the pairwise prompt, using both LLMs and human annotators. The triplet method enhances robustness by repeatedly querying an expert with different auxiliary variables, enabling smaller models like Phi-3 and Llama-3 8B Instruct to surpass GPT-4 with pairwise prompting. For practical usage, we show how the expert-provided causal order from the triplet method can be used to reduce error in downstream graph discovery and effect inference tasks.
