Graph-of-Thoughts for LLM Causal Discovery with a Fairness-Pathway Case Study

Nagesh, Nitish, Khatibi, Elahe, Hughes, Thomas Dean, Bagheri, Mahdi, Gajane, Pratik, Rahmani, Amir M.

–arXiv.org Artificial Intelligence 

Path-specific counterfactual fairness asks whether a protected attribute influences an outcome through illegitimate pathways, but these estimands are defined relative to a supplied causal graph and therefore inherit whatever errors the discovery step introduces. Discovery methods are routinely scored on aggregate structural metrics that weight all edges equally, and no established evaluation asks whether the specific pathway an audit depends on survives discovery--or what the audit reports when that pathway is missing. Here we show that full-graph Graphof-Thoughts reasoning yields always-acyclic discovered graphs that are structurally competitive with large language model (LLM) baselines, yet that structural fidelity alone does not guarantee fairness-faithful audits. We introduce GoT-CD, in which the reasoning unit is a complete candidate edge set: multiple graphs are generated in parallel, scored by a deterministic validity function, and merged under a hard union constraint that forbids invented edges, with greedy projection enforcing a DAG before commitment. Under a locked n=100 protocol with backbone gpt-4o-mini, GoT-CD returns a valid DAG on all five reported benchmarks and achieves the best DAG-valid F1 among LLM methods on Asia (0.750), Alzheimer's (0.757), and COVID-Respiratory (0.688), winning against LLM-BFS on four of five datasets. On an Alzheimer's benchmark with known unfair path Sex BrainVolume MOCAScore, a posthoc path-specific audit shows that five of eight discovered graphs-- including LLM-BFS despite competitive structural F1 (0.649)--recover no S Y path and therefore report PSE| |=0 on a benchmark whose true mediated effect is substantial (PSE| |=0.572), a false-clean certificate indistinguishable from genuine fairness in the audit output alone; GoT-CD recovers the pathway with correct effect sign while leading structural recovery, whereas GES recovers the pathway but inflates path mass more than sevenfold. Pipelines that chain discovery to fairness analysis should therefore report pathway recovery alongside the fairness estimate, and discovery methods intended for such pipelines should be evaluated on the edges the downstream analysis depends on rather than on aggregate structural agreement alone.