Enhancing Inflation Nowcasting with LLM: Sentiment Analysis on News

Marc-Antoine Allard, Paul Teiletche, Adam Zinebi
10/26/2024
cs.CEcs.CL

Official code: paultltc/InflaBERT (4 stars, last commit 2024-06-05).

Abstract

This study explores the integration of large language models (LLMs) into classic inflation nowcasting frameworks, particularly in light of high inflation volatility periods such as the COVID-19 pandemic. We propose InflaBERT, a BERT-based LLM fine-tuned to predict inflation-related sentiment in news. We use this model to produce NEWS, an index capturing the monthly sentiment of the news regarding inflation. Incorporating our expectation index into the Cleveland Fed's model, which is only based on macroeconomic autoregressive processes, shows a marginal improvement in nowcast accuracy during the pandemic. This highlights the potential of combining sentiment analysis with traditional economic indicators, suggesting further research to refine these methodologies for better real-time inflation monitoring. The source code is available at https://github.com/paultltc/InflaBERT.

View on arXivView PDF

Code Implementations(1)

paultltc/InflaBERTOfficial100%
41Python, Jupyter NotebookApr 12, 20242 years ago

Cite this paper

@article{allard2024enhancing,
  title  = {Enhancing Inflation Nowcasting with LLM: Sentiment Analysis on News},
  author = {Marc-Antoine Allard and Paul Teiletche and Adam Zinebi},
  year   = {2024},
  eprint = {2410.20198},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.20198v1}
}

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/2410.20198.svg)](https://codeofpaper.com/paper/2410.20198)

Discussion