Manuscript Offprint

arXiv:2611.04354

Large Language Models for Forecasting of Electricity Price Spikes

Liang Lin, Jianguo Zhu, Gang Lei, Allen Wang, Xin Lu

Abstract

Can market notices read by a large language model (LLM) improve short-horizon electricity price spike forecasts? We study five regions of Australia's National Electricity Market. A local LLM extracted features once per notice, only notices visible at the forecast origin were used, and a gradient-boosting model produced onset probabilities. In an out-of-sample development back-test (July 2022 to July 2024), notice features did not lower the 60-minute Brier score of a numeric model including the market operator's next-hour forecasts. At 24 hours they did, but rule-based features did so almost equally and attribution to notice content was not established. A locally frozen protocol, not publicly deposited, governed a retrospective single-use holdout from 15 August to 17 October 2026. At 60 minutes, the hypothesis that LLM features lower the numeric model's Brier score was not established (H1; relative Brier skill -0.09%), so the planned comparison with rule-based features was not tested (H2). At 24 hours, the hypothesis that LLM features lower the score against a text-free control was not established (H3; +0.37%, 95% CI [-9.74, 1.39], inconclusive). By the frozen wording rule the non-significant 24-hour improvement comes mainly from recalibration and cannot be attributed to notice content, although post hoc the decomposition could not separate recalibration from resolution. The 24-hour base rate was 1.56% on the holdout against 14.0% in development. With 5 onsets on 3 days and 24-hour positives in 2 of 22 three-day blocks, the holdout neither established nor excluded a 24-hour effect.

1 Introduction

Australia's National Electricity Market (NEM) interconnects five regions. Each region has its own spot price, updated every five minutes [1, 2], and settlement has also been at five-minute intervals since 1 October 2021 [3]. The price occasionally rises within minutes towards the market price cap, which is set administratively and reviewed by rule [4]. Such spikes are short, rare and hard to anticipate [5], and they tend to cluster when the power system is under stress [6]. Retailers and contracted generators are exposed to them [2], and these participants need a forecast of risk: how likely is a spike to begin within the next hour or the next day?

The Australian Energy Market Operator (AEMO) publishes short-horizon price forecasts, five-minute pre-dispatch (P5MIN) and pre-dispatch (PD) [7, 8], and market notices [9]. In the data used here these notices report reserve shortfalls, outages, constraint changes and interventions in text. A large language model (LLM) can read such notices without hand-written rules. We ask whether LLM-extracted notice features improve probability forecasts of spike onset beyond a numeric model that already uses AEMO's next-hour forecasts.

The studies reviewed in Section 2 leave this question open. Removing the language model did not reduce the accuracy of three LLM-based forecasters [10]. Among the studies reviewed here that add

LLM-processed text to price forecasts, text is aligned by day or by a fixed lag, or its timing is not stated, and none reports a comparison fixed before the test data. The NEM spike models reviewed here use numeric inputs only.

We compare five specifications pooled over the five regions. A contains numeric features only, including P5MIN and PD summaries. A0 adds to A an increment model with no text features. B adds notice features produced by fixed rules. L1 adds the same kinds of features produced by an LLM. L2 adds to L1 an embedding of each notice. The evidence comes from a development back-test from July 2022 to July 2024 and a retrospective single-use holdout of forecast origins from 15 August to 17 October 2026.

We find that, over 365,622 development origins, notice features did not lower the 60-minute Brier score, and that the 24-hour reduction was matched almost equally by simple rules; the holdout was too small to settle the question. The statistical components are established. Relative to the studies reviewed in Section 2, what we add is their application to NEM spike targets and market notices within one design. (i) The target is the probability of spike onset within 60 minutes or 24 hours, scored by the Brier score, a strictly proper rule [11], and notice visibility rests on a measured publication delay. A rule fixed in advance turned the delays of 43 notices (99th percentile 24.52 minutes) into a visibility delay of 25 minutes (Equation (1)). This is a proxy, and the 24-hour hypothesis has no sensitivity analysis for it. (ii) Two controls address attribution. The rule-based baseline B allows LLM extraction to be compared with fixed rules applied to the same notices. The text-free control A0 is meant to separate text information from recalibration; because the final 24-hour A0 stopped at one tree and L1 at 8 to 16, it does so only imperfectly. (iii) The holdout was opened once under a frozen protocol. The protocol was frozen and hashed locally before opening and was not deposited in a public registry, so its timing carries no third-party timestamp.

The holdout had little power. It contained 5 onsets on 3 days, and the 24-hour positives fell in 2 of 22 three-day blocks. Of the three hypotheses (Table 3), H1, L1 against A at 60 minutes, was not established (relative Brier skill -0.09%); the final 60-minute text increments are single trees, so H1 compares nearly identical forecasts. H2, L1 against B at 60 minutes, was not tested. H3, L1 against A0 at 24 hours, was not established (+0.37%, 95% CI [-9.74, 1.39]; inconclusive). The holdout therefore neither established nor excluded a 24-hour effect. By the frozen wording rule, for the non-significant point estimate the improvement comes mainly from recalibration and cannot be attributed to notice content, although post hoc the decomposition could not separate recalibration from resolution. H3 was added after a favourable development signal had been seen, and many of the 44 protocol amendments were prompted by development results or by the review of the opening procedure. Sections 6 and 10 and Appendix A set out these and other disclosures.

References (51)

  • About the National Electricity Market (NEM)
  • Spot and contract markets
  • Commission Confirms Five-Minute Settlement to Commence on 1 October 2021
  • Amendment of the Market Price Cap, Cumulative Price Threshold and Administered Price Cap: Rule Change (Final Rule, 7 December 2023)
  • Electricity price forecasting: A review of the state-of-the-art with a look into the future
  • It never rains but it pours: Modeling the persistence of spikes in electricity prices
  • MMS data model report: Package P5MIN
  • Pre-dispatch procedure
  • MMS data model report: Table MARKETNOTICEDATA
  • Are language models actually useful for time series forecasting?
  • Strictly proper scoring rules, prediction, and estimation
  • LLM-Enhanced Short-Term Electricity Price Forecasting Method for Australian Electricity Market
  • Large Language Model-Based Bidding Behavior Agent and Market Sentiment Agent-Assisted Electricity Price Prediction
  • Forecasting spikes in electricity prices
  • Models for short-term forecasting of spike occurrences in Australian electricity markets: A comparative study
  • Modelling interregional links in electricity price spikes
  • Modeling and forecasting multivariate electricity price spikes
  • Forecasting the occurrence of extreme electricity prices using a multivariate logistic regression model
  • Electricity price spike clustering: A zero-inflated GARX approach
  • Verification of forecasts expressed in terms of probability
  • A new vector partition of the probability score
  • Stable reliability diagrams for probabilistic classifiers
  • The jackknife and the bootstrap for general stationary observations
  • Boston, MA: Springer US, 1993
  • Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices and an open-access benchmark
  • Out-of-sample tests of forecasting accuracy: An analysis and review
  • The preregistration revolution
  • Large language models are zero-shot time series forecasters
  • Time-LLM: Time Series Forecasting by Reprogramming Large Language Models
  • Benchmarking Pre-Trained Time Series Models for Electricity Price Forecasting
  • Text-based crude oil price forecasting: A deep learning approach
  • Crude oil price forecasting incorporating news text
  • LLM-Enhanced Feature Engineering for Multi-Factor Electricity Price Predictions (opens arXiv in a new tab)
  • Electricity Market Price Forecast via LLM-based Sentiment Analysis and TimeXer
  • NSW-EPNews: A News-Augmented Benchmark for Electricity Price Forecasting with LLMs (opens arXiv in a new tab)
  • Text as data
  • Assessing look-ahead bias in stock return predictions generated by GPT sentiment analysis (opens arXiv in a new tab)
  • The memorization problem: Can we trust LLMs’ economic forecasts? (opens arXiv in a new tab)
  • MMS data model report: Table DISPATCHPRICE
  • The use of confidence or fiducial limits illustrated in the case of the binomial
  • Amending the Administered Price Cap: Rule Change (Final Determination, 17 November 2022)
  • Short term PASA procedures
  • Qwen3.5-9B model card
  • LightGBM: A highly efficient gradient boosting decision tree
  • It’s about time: Using discrete-time survival analysis to study duration and the timing of events
  • Transforming classifier scores into accurate multiclass probability estimates
  • Two extra components in the Brier score decomposition
  • A graphical approach to sequentially rejective multiple test procedures
  • A comparison of the two one-sided tests procedure and the power approach for assessing the equivalence of average bioavailability
  • Equivalence tests: A practical primer for t tests, correlations, and meta-analyses
  • Copyright permissions