Large Language Models: An Applied Econometric Framework

Jens Ludwig, Sendhil Mullainathan, Ashesh Rambachan
12/9/2024
econ.EMcs.AI

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Large language models (LLMs) enable researchers to analyze text at unprecedented scale and minimal cost. Researchers can now revisit old questions and tackle novel ones with rich data.

Show full abstract

We provide an econometric framework for realizing this potential in two empirical uses. For prediction problems -- forecasting outcomes from text -- valid conclusions require ``no training leakage'' between the LLM's training data and the researcher's sample, which can be enforced through careful model choice and research design. For estimation problems -- automating the measurement of economic concepts for downstream analysis -- valid downstream inference requires combining LLM outputs with a small validation sample to deliver consistent and precise estimates. Absent a validation sample, researchers cannot assess possible errors in LLM outputs, and consequently seemingly innocuous choices (which model, which prompt) can produce dramatically different parameter estimates. When used appropriately, LLMs are powerful tools that can expand the frontier of empirical economics.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ludwig2024large,
  title  = {Large Language Models: An Applied Econometric Framework},
  author = {Jens Ludwig and Sendhil Mullainathan and Ashesh Rambachan},
  year   = {2024},
  eprint = {2412.07031},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.07031v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.07031.svg)](https://codeofpaper.com/paper/2412.07031)

Discussion