IV Co-Scientist: Multi-Agent LLM Framework for Causal Instrumental Variable Discovery

Ivaxi Sheth, Zhijing Jin, Bryan Wilder, Mingming Gong, Mario Fritz

Abstract

In the presence of confounding between an endogenous variable and the outcome, instrumental variables (IVs) are used to isolate the causal effect of the endogenous variable. Identifying valid instruments requires interdisciplinary knowledge, creativity, and contextual understanding, making it a non-trivial task. In this paper, we investigate whether large language models (LLMs) can aid in this task. We perform a two-stage evaluation framework. First, we test whether LLMs can recover well-established instruments from the literature, assessing their ability to replicate standard reasoning. Second, we evaluate whether LLMs can identify and avoid instruments that have been empirically or theoretically discredited. Building on these results, we introduce IV Co-Scientist, a multi-agent system that proposes, critiques, and refines IVs for a given treatment-outcome pair. We also introduce a statistical test to contextualize consistency in the absence of ground truth. Our results show the potential of LLMs to discover valid instrumental variables from a large observational database.

Introduction

Estimating causal effects in observational studies is often hindered by unmeasured confounders. For instance, determining if education causes higher earnings is complicated by factors like family background, which influences both. Instrumental Variables (IVs) provide a solution by isolating exogenous variation in the treatment. However, a valid IV must satisfy strict, often untestable assumptions: relevance (it predicts the treatment), exclusion restriction (it affects the outcome only through the treatment), and independence (it is independent of unobserved confounders).

While relevance is statistically testable, the latter two require deep domain expertise and creative reasoning. This paper explores whether Large Language Models (LLMs), with their vast cross-disciplinary knowledge, can assist researchers in discovering and vetting these elusive variables.

The IV Co-Scientist Framework

The authors introduce IV Co-Scientist, a multi-agent system designed to automate the discovery process by mimicking human scientific reasoning. The pipeline consists of several specialized agents:

  1. PreSelector & HumanProxy: Identifies statistically correlated and socio-economically relevant variable pairs from large datasets.
  2. CausalOracle: Combines LLM reasoning with Granger causality tests to establish the likely causal direction.
  3. HypothesisGenerator: Proposes candidate IVs and identifies potential confounders.
  4. CriticAgents: Evaluates proposed IVs against the exclusion restriction and independence assumptions.
  5. Grounder: Links conceptual IVs to measurable variables within the dataset.
The IV Co-Scientist multi-agent pipeline.

To evaluate performance where ground truth is unavailable, the authors developed a consistency metric ($C_{norm}$). This metric posits that if multiple independent IVs are valid, their causal effect estimates should be internally consistent.

Evaluation and Key Results

The framework was tested on a curated benchmark of canonical IVs and the high-dimensional Gapminder dataset.

Recovering Canonical Knowledge

Top-tier models like GPT-4o demonstrated a remarkable ability to recover established IVs from economic literature. As shown in the table below, these models achieved high Conceptual Match (CM) scores, indicating they grasp the underlying causal mechanisms even when phrasing differs from the original source.

Model performance on recovering canonical instrumental variables.

Avoiding Invalid Instruments

A critical test of scientific "common sense" is the ability to reject flawed instruments. While the HypothesisGenerator sometimes proposed historically debunked IVs (e.g., rainfall for economic conflict), the CriticAgents effectively flagged these violations, demonstrating the necessity of a multi-agent "check and balance" system.

Novel Discovery and Consistency

On the Gapminder dataset, the system discovered novel IVs with strong statistical relevance (e.g., an F-statistic of 14.28 for the GDP → Health pair). Crucially, the $C_{norm}$ scores for these LLM-generated IVs were significantly higher than random baselines, suggesting the models are isolating genuine exogenous variation rather than noise.

Conclusion

IV Co-Scientist demonstrates that LLMs can serve as effective partners in causal discovery. By combining broad domain knowledge with structured multi-agent critique, the framework can recover known instruments, reject flawed ones, and propose consistent new candidates. Future work will focus on expanding this to more niche scientific domains and integrating more rigorous statistical overidentification tests.

Summary updated

BibTeX
@inproceedings{sheth2026iv,
  author = {Ivaxi Sheth and Zhijing Jin and Bryan Wilder and Mingming Gong and Mario Fritz},
  title = {{IV Co-Scientist: Multi-Agent LLM Framework for Causal Instrumental Variable Discovery}},
  booktitle = {CLeaR},
  year = {2026},
  url = {https://openreview.net/forum?id=m4zveElZiD},
}
Figure