Table of Contents
Fetching ...

Enhancing Inflation Nowcasting with LLM: Sentiment Analysis on News

Marc-Antoine Allard, Paul Teiletche, Adam Zinebi

TL;DR

This study proposes InflaBERT, a BERT-based LLM fine-tuned to predict inflation-related sentiment in news, and uses this model to produce NEWS, an index capturing the monthly sentiment of the news regarding inflation.

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.

Enhancing Inflation Nowcasting with LLM: Sentiment Analysis on News

TL;DR

This study proposes InflaBERT, a BERT-based LLM fine-tuned to predict inflation-related sentiment in news, and uses this model to produce NEWS, an index capturing the monthly sentiment of the news regarding inflation.

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.

Paper Structure

This paper contains 17 sections, 7 equations, 7 figures, 6 tables.

Figures (7)

  • Figure 1: Number of google searches for ‘inflation’ over time
  • Figure 2: Comparison of existing datasets for Time Series Financial Analysis
  • Figure 3: Sentiment Distribution: 0 is negative, 1 neutral, 2 postive
  • Figure 4: Training Analytics: Transformers Models
  • Figure 5: Different Scores Frequencies
  • ...and 2 more figures