← Latest papers
🤖 machine learning

Short-Term Electricity Demand Forecasting for New England Using a Hybrid Transformer-XGBoost Framework with Weather, Calendar, and COVID-19 Indicators

This paper proposes a hybrid Transformer-XGBoost framework for short-term electricity demand forecasting in New England that, despite incorporating COVID-19 indicators and achieving high accuracy, demonstrates that such epidemiological features ultimately degrade test performance by amplifying overfitting to outdated pandemic patterns once behavioral adaptations occurred.

Original authors: Reza Ghanavati, Behrooz Mosallaei

Published 2026-06-23
📖 5 min read🧠 Deep dive

Original authors: Reza Ghanavati, Behrooz Mosallaei

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to guess how much electricity the entire New England region will use tomorrow. It's a bit like trying to predict how much water a giant, thirsty garden will drink. You know the weather matters (hot days need more AC, cold days need more heat), and you know the day of the week matters (people use more power on weekdays than weekends). But what happens when the whole world suddenly changes, like during a pandemic? That's the puzzle this paper tries to solve.

Here is a simple breakdown of what the researchers did and what they found, using everyday analogies.

The Goal: Predicting the Power Grid's Thirst

Electricity is tricky because you can't really store it in a giant warehouse; you have to make exactly as much as people need, right now. If you guess wrong, the lights might flicker, or you might waste money making power nobody uses. The researchers wanted to build a "crystal ball" to predict daily electricity demand for New England with high accuracy.

The Recipe: A Hybrid Kitchen

The team cooked up a new method using a "hybrid" approach. Think of it like a restaurant with two chefs working together:

  1. Chef 1 (The Transformer): This is a high-tech AI chef specialized in reading stories. It looks at the "story" of the last 30 days of electricity usage and pandemic news (like case counts and deaths). It's great at spotting long, complex patterns in a timeline, kind of like how a human can read a novel and understand the mood of a character over many chapters.
  2. Chef 2 (XGBoost): This is a very sharp, logical chef who loves tables and spreadsheets. It looks at specific facts: "It's Tuesday," "The temperature in Boston is 40°F," and "We had 500 new cases yesterday." It's excellent at making quick decisions based on hard data.

The Hybrid Framework: Chef 1 reads the story and hands a summary note to Chef 2. Chef 2 then combines that summary with all the hard facts to make the final prediction. The researchers hoped this team would be better than just using Chef 2 alone.

The Ingredients

To make their prediction, they mixed in a lot of different data:

  • Weather: They didn't just look at one city; they checked the weather in six different cities across New England (like Boston, Portland, and Burlington) to get a full picture.
  • Calendar: They accounted for holidays, weekends, and seasons.
  • The Pandemic Factor: They included data about COVID-19 cases and deaths, hoping to capture how the virus changed people's habits (like working from home).
  • History: They looked at what happened yesterday, last week, and last month.

The Taste Test: Did It Work?

They tested their "Hybrid Kitchen" against a "Solo Kitchen" (just Chef 2/XGBoost without the AI story-reader).

  • The Result: The Hybrid Kitchen was slightly better at guessing the exact amount of electricity needed. However, when the researchers ran a strict statistical test (like a referee checking if the score difference was real or just luck), they found the two kitchens were essentially tied. The Hybrid model wasn't statistically better than the simple one.
  • The Takeaway: If you have a really good list of facts (weather, calendar, history), you don't necessarily need the fancy AI story-reader to get a great result. The simple, logical chef was almost just as good.

The Big Surprise: The Pandemic Ingredient

The most interesting part of the paper is what happened with the "Pandemic Ingredient" (COVID-19 data).

  • During the Pandemic (Training): When the model was learning from data from 2020–2021, the pandemic data was very useful. It helped the model understand why electricity use was weird (e.g., offices were empty, homes were full).
  • After the Pandemic (Testing): When they tested the model on data from late 2022 and early 2023, things got weird. By this time, people had adapted to the virus; we were back to work, and habits had normalized.
    • The Glitch: The model thought the pandemic data was still super important. In fact, it relied on it more heavily during the test phase than it did during the learning phase!
    • The Analogy: Imagine a student who learns that "rain means no soccer practice." They study hard during a rainy season. But then, the season changes, and it's sunny, yet the student still checks the rain forecast obsessively and cancels practice anyway. The model kept looking at the pandemic numbers as if the world was still in lockdown, even though people had already adapted.
    • The Consequence: Because the model kept using this "stale" information, it actually made slightly worse predictions in the hybrid model when the pandemic data was included, compared to when it was removed.

The Final Verdict

  1. History is King: The single most important thing for predicting electricity is knowing what happened yesterday and last week. If you remove that, the model fails miserably.
  2. Weather is Queen: Knowing the temperature and the day of the week is the next most important thing.
  3. The Pandemic is a "Time-Limited" Ingredient: The data about COVID-19 was helpful only while the world was in active lockdown. Once people adapted (by mid-2022), that data became "noise." It didn't help predict the future; it just confused the model by making it think the old rules still applied.

In short: The researchers built a smart system that works very well. They found that while fancy AI helps, a solid logical model with good weather and history data is almost just as good. Most importantly, they learned that when the world changes (like a pandemic), you have to be careful not to let the model get stuck in the past, using old rules that no longer apply.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →