IDEAS home Printed from https://ideas.repec.org/p/bri/uobdis/26-833.html

Mining Causality: AI-Assisted Search for Instrumental Variables

Author

Listed:
  • Sukjin Han

Abstract

The instrumental variables (IVs) method is a leading empirical strategy for causal inference. Finding IVs is a heuristic and creative process, and justifying its validity - especially exclusion restrictions - is largely rhetorical. We propose using large language models (LLMs) to search for new IVs through narratives and counterfactual reasoning, similar to how a human researcher would. The stark difference, however, is that LLMs can dramatically accelerate this process and explore an extremely large search space. We demonstrate how to construct prompts to search for potentially valid IVs. We contend that multi-step and role-playing prompting strategies are effective for simulating the endogenous decision-making processes of economic agents or social actors and for navigating language models through the realm of real-world scenarios. We apply our method to four well-known examples in economics: returns to schooling, demand and supply, and peer effects. Expert surveys reveal that some of the discovered IVs in each domain appear both novel and likely valid.

Suggested Citation

  • Sukjin Han, 2026. "Mining Causality: AI-Assisted Search for Instrumental Variables," Bristol Economics Discussion Papers 26/833, School of Economics, University of Bristol, UK.
  • Handle: RePEc:bri:uobdis:26/833
    as

    Download full text from publisher

    File URL: http://www.bristol.ac.uk/efm/media/workingpapers/working_papers/pdffiles/dp26833.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Joshua D. Angrist & Jörn-Steffen Pischke, 2010. "The Credibility Revolution in Empirical Economics: How Better Research Design Is Taking the Con out of Econometrics," Journal of Economic Perspectives, American Economic Association, vol. 24(2), pages 3-30, Spring.
    2. Benjamin S. Manning & Kehang Zhu & John J. Horton, 2024. "Automated Social Science: Language Models as Scientist and Subjects," Papers 2404.11794, arXiv.org, revised Apr 2024.
    3. Jens Ludwig & Sendhil Mullainathan & Ashesh Rambachan, 2024. "Large Language Models: An Applied Econometric Framework," Papers 2412.07031, arXiv.org, revised Dec 2025.
    4. Ashesh Rambachan & Jonathan Roth, 2023. "A More Credible Approach to Parallel Trends," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 90(5), pages 2555-2591.
    5. Douglas Staiger & James H. Stock, 1997. "Instrumental Variables Regression with Weak Instruments," Econometrica, Econometric Society, vol. 65(3), pages 557-586, May.
    6. Zvi Griliches & Jacques Mairesse, 1995. "Production Functions: The Search for Identification," Harvard Institute of Economic Research Working Papers 1719, Harvard - Institute of Economic Research.
    7. Alejandro Gaviria & Steven Raphael, 2001. "School-Based Peer Effects And Juvenile Behavior," The Review of Economics and Statistics, MIT Press, vol. 83(2), pages 257-268, May.
    8. Imbens, Guido W & Angrist, Joshua D, 1994. "Identification and Estimation of Local Average Treatment Effects," Econometrica, Econometric Society, vol. 62(2), pages 467-475, March.
    9. Ben Deaner, 2025. "The Trade-Off between Flexibility and Robustness in Instrumental Variables Analysis," American Economic Review, American Economic Association, vol. 115(11), pages 3975-3998, November.
    10. Melissa Dell, 2025. "Deep Learning for Economists," Journal of Economic Literature, American Economic Association, vol. 63(1), pages 5-58, March.
    11. Erich Battistin & Enrico Rettore, 2002. "Testing for programme effects in a regression discontinuity design with imperfect compliance," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 165(1), pages 39-57, February.
    12. Wilbert van der Klaauw, 2002. "Estimating the Effect of Financial Aid Offers on College Enrollment: A Regression-Discontinuity Approach," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 43(4), pages 1249-1287, November.
    13. José Luis Montiel Olea & Carolin Pflueger, 2013. "A Robust Test for Weak Instruments," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 31(3), pages 358-369, July.
    14. Card, David & Krueger, Alan B, 1994. "Minimum Wages and Employment: A Case Study of the Fast-Food Industry in New Jersey and Pennsylvania," American Economic Review, American Economic Association, vol. 84(4), pages 772-793, September.
    15. Jens Ludwig & Sendhil Mullainathan, 2024. "Machine Learning as a Tool for Hypothesis Generation," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 139(2), pages 751-827.
    16. Charles F. Manski, 1993. "Identification of Endogenous Social Effects: The Reflection Problem," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 60(3), pages 531-542.
    17. Foster, Andrew D & Rosenzweig, Mark R, 1995. "Learning by Doing and Learning from Others: Human Capital and Technical Change in Agriculture," Journal of Political Economy, University of Chicago Press, vol. 103(6), pages 1176-1209, December.
    18. Sendhil Mullainathan & Jann Spiess, 2017. "Machine Learning: An Applied Econometric Approach," Journal of Economic Perspectives, American Economic Association, vol. 31(2), pages 87-106, Spring.
    19. David S. Lee & Thomas Lemieux, 2010. "Regression Discontinuity Designs in Economics," Journal of Economic Literature, American Economic Association, vol. 48(2), pages 281-355, June.
    20. James Heckman, 2013. "Sample selection bias as a specification error," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 31(3), pages 129-137.
    21. Daniel A. Ackerberg & Kevin Caves & Garth Frazer, 2015. "Identification Properties of Recent Production Function Estimators," Econometrica, Econometric Society, vol. 83, pages 2411-2451, November.
    22. David Card & Lara D. Shore-Sheppard, 2004. "Using Discontinuous Eligibility Rules to Identify the Effects of the Federal Medicaid Expansions on Low-Income Children," The Review of Economics and Statistics, MIT Press, vol. 86(3), pages 752-766, August.
    23. Orley Ashenfelter & David J. Zimmerman, 1997. "Estimates Of The Returns To Schooling From Sibling Data: Fathers, Sons, And Brothers," The Review of Economics and Statistics, MIT Press, vol. 79(1), pages 1-9, February.
    24. Joshua D. Angrist & Alan B. Keueger, 1991. "Does Compulsory School Attendance Affect Schooling and Earnings?," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 106(4), pages 979-1014.
    25. Benjamin S. Manning & Kehang Zhu & John J. Horton, 2024. "Automated Social Science: Language Models as Scientist and Subjects," NBER Working Papers 32381, National Bureau of Economic Research, Inc.
    26. Victor Chernozhukov & Christian Hansen & Nathan Kallus & Martin Spindler & Vasilis Syrgkanis, 2024. "Applied Causal Inference Powered by ML and AI," Papers 2403.02467, arXiv.org.
    27. James Levinsohn & Amil Petrin, 2003. "Estimating Production Functions Using Inputs to Control for Unobservables," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 70(2), pages 317-341.
    28. Hanchen Wang & Tianfan Fu & Yuanqi Du & Wenhao Gao & Kexin Huang & Ziming Liu & Payal Chandak & Shengchao Liu & Peter Katwyk & Andreea Deac & Anima Anandkumar & Karianne Bergen & Carla P. Gomes & Shir, 2023. "Scientific discovery in the age of artificial intelligence," Nature, Nature, vol. 620(7972), pages 47-60, August.
    29. James J. Heckman & Hidehiko Ichimura & Petra Todd, 1998. "Matching As An Econometric Evaluation Estimator," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 65(2), pages 261-294.
    30. Sendhil Mullainathan & Ashesh Rambachan, 2024. "From Predictive Algorithms to Automatic Generation of Anomalies," Papers 2404.10111, arXiv.org, revised Sep 2025.
    31. Hanchen Wang & Tianfan Fu & Yuanqi Du & Wenhao Gao & Kexin Huang & Ziming Liu & Payal Chandak & Shengchao Liu & Peter Katwyk & Andreea Deac & Anima Anandkumar & Karianne Bergen & Carla P. Gomes & Shir, 2023. "Publisher Correction: Scientific discovery in the age of artificial intelligence," Nature, Nature, vol. 621(7978), pages 33-33, September.
    32. Olley, G Steven & Pakes, Ariel, 1996. "The Dynamics of Productivity in the Telecommunications Equipment Industry," Econometrica, Econometric Society, vol. 64(6), pages 1263-1297, November.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. van der Klaauw, Bas, 2014. "From micro data to causality: Forty years of empirical labor economics," Labour Economics, Elsevier, vol. 30(C), pages 88-97.
    2. Deborah A. Cobb‐Clark & Thomas Crossley, 2003. "Econometrics for Evaluations: An Introduction to Recent Developments," The Economic Record, The Economic Society of Australia, vol. 79(247), pages 491-511, December.
    3. Lorraine Dearden & Barbara Sianesi, 2001. "Estimating the Returns to Education: Models, Methods and Results," CEE Discussion Papers 0016, Centre for the Economics of Education, LSE.
    4. Wang, Wenjie & Zhang, Yichong, 2024. "Wild bootstrap inference for instrumental variables regressions with weak and few clusters," Journal of Econometrics, Elsevier, vol. 241(1).
    5. Tatsuru Kikuchi, 2025. "Treatment Effects with Correlated Spillovers: Bridging Discrete and Continuous Methods," Papers 2512.12653, arXiv.org, revised Dec 2025.
    6. Guido W. Imbens & Jeffrey M. Wooldridge, 2009. "Recent Developments in the Econometrics of Program Evaluation," Journal of Economic Literature, American Economic Association, vol. 47(1), pages 5-86, March.
    7. Sarker, Bibhuti & Serieux, John, 2022. "Foreign-invested and domestic firm attributes and spillover effects: Evidence from Brazil," Journal of Multinational Financial Management, Elsevier, vol. 63(C).
    8. Arneja, Nitika & Sharma, Chandan, 2024. "Dissecting performance gains from export-induced marketing and technological investments: Revisiting learning by exporting in Indian manufacturing," The Quarterly Review of Economics and Finance, Elsevier, vol. 97(C).
    9. Nobel Prize Committee, 2021. "Answering causal questions using observational data," Nobel Prize in Economics documents 2021-2, Nobel Prize Committee.
    10. Michael Bahrs & Mathias Schumann, 2020. "Unlucky to be young? The long-term effects of school starting age on smoking behavior and health," Journal of Population Economics, Springer;European Society for Population Economics, vol. 33(2), pages 555-600, April.
    11. Stephen Gibbons & Henry G. Overman, 2012. "Mostly Pointless Spatial Econometrics?," Journal of Regional Science, Wiley Blackwell, vol. 52(2), pages 172-191, May.
    12. Bibhuti Sarker, 2023. "Foreign firms in the industry frontier and productivity convergence: Importance of proximity and firm attributes," Managerial and Decision Economics, John Wiley & Sons, Ltd., vol. 44(2), pages 906-925, March.
    13. Arne Henningsen & Guy Low & David Wuepper & Tobias Dalhaus & Hugo Storm & Dagim Belay & Stefan Hirsch, 2026. "Estimating Causal Effects With Observational Data: Guidelines for Agricultural and Applied Economists," Journal of Agricultural Economics, Wiley Blackwell, vol. 77(2), pages 356-382, June.
    14. Czarnitzki, Dirk & Fernández, Gastón P. & Rammer, Christian, 2023. "Artificial intelligence and firm-level productivity," Journal of Economic Behavior & Organization, Elsevier, vol. 211(C), pages 188-205.
    15. Umut Kılınç, 2018. "Assessing Productivity Gains from International Trade in a Small Open Economy," Open Economies Review, Springer, vol. 29(5), pages 953-980, November.
    16. Duso, Tomaso & Schiersch, Alexander, 2025. "Let's switch to the cloud: Cloud usage and its effect on labor productivity," Information Economics and Policy, Elsevier, vol. 70(C).
    17. Nick Jacob & Giordano Mion, 2024. "On the productivity advantage of cities," Journal of Economic Geography, Oxford University Press, vol. 24(5), pages 679-705.
    18. Arthur Charpentier & Emmanuel Flachaire & Antoine Ly, 2017. "Econom\'etrie et Machine Learning," Papers 1708.06992, arXiv.org, revised Mar 2018.
    19. Guilhem Bascle, 2008. "Controlling for endogeneity with instrumental variables in strategic management research," Post-Print hal-00576795, HAL.
    20. repec:ces:ceswps:_10944 is not listed on IDEAS
    21. Aguiar, Victor H. & Kashaev, Nail & Allen, Roy, 2023. "Prices, profits, proxies, and production," Journal of Econometrics, Elsevier, vol. 235(2), pages 666-693.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bri:uobdis:26/833. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: School of Economics Research Support Team (email available below). General contact details of provider: https://edirc.repec.org/data/sebriuk.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.