When Do LLMs Model the Right Target? Problem Formulation in High-Stakes Risk Prediction
Jennifer Zhang, Amanda Coston
Abstract
Generative AI is increasingly used to assist with data science tasks, yet fundamental questions remain about its ability to correctly formulate analytical problems. We investigate how well large language models (LLMs) can formulate prediction problems when developing models for high-stakes decision making. We focus on one particular challenge to validity: decision dependency, which arises when historical decisions affect observed outcomes. We evaluate this aspect of problem formulation in LLM-generated code and explanations across child-welfare, healthcare, and employment settings, using 11 models from OpenAI and Anthropic and seven prompt conditions. We assess whether the LLM-generated code implements a procedure appropriate for estimating the intended outcome under the study's assumptions and whether the explanation acknowledges decision dependency. We find that LLMs do not reliably address decision dependency without guidance in the prompt. When prompts specify the target, the assumption needed to estimate it, and the estimation procedure, target-aligned implementation reaches 99-100%. Among frontier models, a simple prompt description of how decisions affect outcomes appears sufficient to elicit target-aligned implementation. Some responses also acknowledge decision dependency without addressing it in their code. Our findings suggest that analysts should not rely on LLMs to correctly formulate prediction problems without explicit methodological guidance and careful review. We propose validity-centered guidelines for LLM-assisted predictive modeling, covering prompt formulation, validation of the target and estimation procedure, and identification of key assumptions. Establishing validity is a necessary early step in evaluating whether to deploy a predictive model in a high-stakes setting, but deployment requires weighing broader ethical, institutional, and practical considerations.
Create a lesson
Related papers
On the Challenges of Using LLMs in High-Risk AI Recruitment: Guiding Questions for Legal Conformity with the AI Act
Shared title terminology · Clara Punzi, Stefano Tramacere, Andrea Fedele et al.
Hi Gemini, Who Should I Vote For? The Benefits (and Problems) of Using LLMs As Voting Advice Applications
Shared title terminology · William John Atkinson, Paul Saproza
A Frugal AI Framework for India: Responsible and Right-sized AI
Shared title terminology · Balaraman Ravindran, K. S. Venkataraghavan, Gokul S Krishnan et al.
Governance Risks in Decentralized Autonomous Organizations (DAOs): Implications for Traditional Financial Institutions
Shared title terminology · Christian Plöschberger, Irene Buller, Mark Christopher Ballandies
Auditing a Moving Target: Evidence Anchoring and the Expiry of Fairness Audits of Provider-Served Language Models
Shared title terminology · Mika Facchini
Large language models put existential risk from artificial intelligence at 10%
Shared title terminology · Julian Kauk