基于大语言模型的在线文本时间序列CPI预测推断
LLM-Powered CPI Prediction Inference with Online Text Time Series
AI总结:
针对传统CPI预测依赖低频调查数据的局限,提出融合在线文本时间序列的LLM-CPI方法,结合LLM生成的日度CPI代理与多类特征构建联合时间序列框架,经理论推导和实验验证了其性能与实用价值。
摘要:
消费者价格指数(CPI)预测是经济学中一项重要但颇具挑战性的任务,现有大多数方法依赖于低频的调查类数据。随着大语言模型(LLM)的最新发展,利用高频在线文本数据改进CPI预测的潜力日益凸显,该领域目前仍有较大探索空间。本文提出LLM-CPI,这是一种融合在线文本时间序列的、基于LLM的CPI预测推断方法。我们从国内一个常用的中文社交网站收集了大量高频在线文本,采用ChatGPT、经训练的BERT模型等LLM,为与通胀相关的帖子构建连续的通胀标签;同时通过LDA和BERT提取在线文本的嵌入表示。我们构建了一个联合时间序列框架,将月度CPI数据与LLM生成的日度CPI代理指标相结合。其中月度模型采用ARX结构,将观测到的CPI数据与文本嵌入、宏观经济变量相结合;日度模型采用VARX结构,基于LLM生成的CPI代理指标和文本嵌入构建。我们证明了该方法的渐近性质,并提供了两种形式的构造预测区间。通过模拟实验和真实数据案例,验证了LLM-CPI的有限样本性能和实际应用优势。
英文摘要:
Forecasting the Consumer Price Index (CPI) is an important yet challenging task in economics, where most existing approaches rely on low-frequency, survey-based data. With the recent advances of large language models (LLMs), there is growing potential to leverage high-frequency online text data for improved CPI prediction, an area still largely unexplored. This paper proposes LLM-CPI, an LLM-based approach for CPI prediction inference incorporating online text time series. We collect a large set of high-frequency online texts from a popularly used Chinese social network site and employ LLMs such as ChatGPT and the trained BERT models to construct continuous inflation labels for posts that are related to inflation. Online text embeddings are extracted via LDA and BERT. We develop a joint time series framework that combines monthly CPI data with LLM-generated daily CPI surrogates. The monthly model employs an ARX structure combining observed CPI data with text embeddings and macroeconomic variables, while the daily model uses a VARX structure built on LLM-generated CPI surrogates and text embeddings. We establish the asymptotic properties of the method and provide two forms of constructed prediction intervals. The finite-sample performance and practical advantages of LLM-CPI are demonstrated through both simulation and real data examples.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。