Skip to main navigation Skip to search Skip to main content

Forecasting Economic Trends with Generative AI: A Python Framework for Policy Analysis

  • Abbas Mustapha
  • , Paul Jenkins*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

This paper develops a Python-based framework integrating generative AI with traditional economic analysis to enhance UK economic trend forecasting. Traditional approaches are not suitable to process large volumes of diverse data, particularly when combining structured economic indicators with unstructured policy documents and sentiment data. The methodology employs a mixed-methods approach using BM25 keyword retrieval, vector-based embeddings, and semantic hybrid retrieval. DeepSeek AI integration provides natural language processing capabilities, whilst ARIMA time series forecasting enables economic projections. Comparative evaluation demonstrates significant improvements over traditional systems. For UK unemployment analysis, the AI-enhanced approach delivered comprehensive insights identifying specific dimensions including post-pandemic impacts, health-related inactivity, and regional disparities, whilst traditional systems returned fragmented, limited-relevance documents. The framework contributes practical AI-economic analysis integration methodology, innovative policy document analysis through embedding-based contextual search, sentiment analysis integration in forecasting, and structured evaluation frameworks. Key limitations include temporal data lag, declining long-term forecast accuracy, API rate limitations, and UK-centric evaluation. The paper demonstrates AI's potential to complement human expertise in economic analysis, creating synergies that transform understanding, prediction, and response to economic challenges in data-rich environments.

Original languageEnglish
Title of host publicationContributions Presented at the International Conference on Computing, Communication, Cybersecurity and AI - The C3AI 2025
EditorsNitin Naik, Paul Grace, Paul Jenkins, Shaligram Prajapat
PublisherSpringer Science and Business Media Deutschland GmbH
Pages569-581
Number of pages13
ISBN (Electronic)9783032167910
ISBN (Print)9783032167903
DOIs
Publication statusPublished - 17 May 2026
EventInternational Conference on Computing, Communication, Cybersecurity and AI, C3AI 2025 - Birmingham, United Kingdom
Duration: 10 Jul 202511 Jul 2025

Publication series

NameLecture Notes in Networks and Systems
Volume1811 LNNS
ISSN (Print)2367-3370
ISSN (Electronic)2367-3389

Conference

ConferenceInternational Conference on Computing, Communication, Cybersecurity and AI, C3AI 2025
Country/TerritoryUnited Kingdom
CityBirmingham
Period10/07/2511/07/25

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

Keywords

  • Economic forecasting
  • Generative AI
  • Machine learning
  • Natural language processing
  • Policy analysis
  • Sentiment analysis
  • Time series analysis

Cite this