大语言模型:一个应用计量经济学框架
Large Language Models: An Applied Econometric Framework
AI总结:
本文提出一个应用计量经济学框架,利用大语言模型进行文本预测和经济概念测量,强调无训练泄漏和验证样本的重要性,以提高实证分析的准确性。
摘要:
大语言模型(LLMs)使研究者能够以前所未有的规模和低成本分析文本。研究者现在可以重新审视旧问题并解决新问题,利用丰富的数据。我们提供了一个计量经济学框架,以在两个实证应用中实现这一潜力。在预测问题——从文本预测结果——中,有效的结论需要“无训练泄漏”在LLM的训练数据和研究者样本之间,这可以通过仔细的模型选择和研究设计来强制执行。在估计问题——自动化经济概念的测量以供后续分析——中,有效的后续推断需要将LLM输出与一个小的验证样本结合,以提供一致且精确的估计。没有验证样本,研究者无法评估LLM输出中的可能误差,因此看似无害的选择(选择哪个模型,哪个提示)可以产生截然不同的参数估计。当适当使用时,LLM是强大的工具,可以扩展实证经济学的前沿。
英文摘要:
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. 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。