← Latest papers
🤖 machine learning

Understanding electricity consumption behaviour through Inverse Reinforcement Learning

This study employs Inverse Reinforcement Learning to analyze how Italian households' electricity consumption behaviors heterogeneously evolved in response to the 2021–2023 energy crisis and heatwaves, revealing that policy interventions must account for diverse consumer profiles, built environments, and the temporal persistence of behavioral shifts.

Original authors: Enrico Cofler, Carlos Rodriguez-Pardo, Matteo Giuliani, Andrea Castelletti, Massimo Tavoni

Published 2026-07-07
📖 5 min read🧠 Deep dive

Original authors: Enrico Cofler, Carlos Rodriguez-Pardo, Matteo Giuliani, Andrea Castelletti, Massimo Tavoni

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 understand why people turn on their air conditioners. Usually, researchers just look at the thermostat and the electricity bill and say, "Oh, it's hot, so they used more power." But this is like trying to understand a person's personality just by looking at their shopping receipt. It tells you what they bought, but not why they bought it or how their habits might change if the price of milk suddenly doubled.

This paper tries to solve that mystery using a clever trick called Inverse Reinforcement Learning (IRL).

The Detective Analogy: Reverse-Engineering the "Why"

Think of a household as a detective trying to solve a crime. Usually, a detective watches a suspect (the household) and tries to guess their motive.

  • Standard Approach: "They bought ice cream because it's hot." (Simple, but maybe they also bought it because they are stressed, or because they have a party, or because they are rich).
  • This Paper's Approach (IRL): Instead of guessing the motive, the researchers act like a reverse-engineer. They watch the suspect's actions (how much electricity they use) and the environment (how hot it is, how much money they have, what their house looks like) and ask: "What internal 'reward system' would make a rational person act exactly like this?"

They aren't just looking at the electricity bill; they are trying to reconstruct the invisible "scorecard" in the homeowner's head. What gives them points? Is it staying cool? Is it saving money? Is it comfort?

The Experiment: A Three-Year Heatwave

The researchers looked at electricity data from Italian homes over three summers:

  1. 2021: A "normal" summer.
  2. 2022: A scorching hot summer where electricity prices skyrocketed due to the energy crisis (like a sudden, massive price hike on everything).
  3. 2023: The aftermath.

They treated different groups of people as "agents" in a video game. The "game" was the real world, with changing temperatures and prices. The researchers used the IRL method to figure out the "reward function" (the internal scorecard) for each group.

What They Found: Not Everyone Plays the Same Game

The study found that people react to heat and high prices in very different ways, depending on their "character stats" (income, where they live, and when they usually use power).

1. The "Heavy Users" (Rich, High AC Ownership)

  • The Habit: In 2021, these people cranked up the AC whenever it got hot. They were very sensitive to temperature.
  • The Shock: When prices exploded in 2022, they didn't just turn it down a little; they fundamentally changed their strategy. They learned to tolerate more heat to save money.
  • The Result: Even in 2023, when prices dropped slightly, they didn't go back to their old ways. They had permanently "downsized" their cooling habits. The shock changed their long-term behavior.

2. The "City Dwellers" (Urban, Medium Usage)

  • The Habit: They live in older city buildings with less green space. They have AC, but maybe not as much as the rich group.
  • The Shock: In 2022, they panicked and changed their behavior drastically, cutting back hard when it got hot and expensive.
  • The Result: This was a temporary panic. By 2023, as things settled, they went right back to their old habits. The shock didn't stick; it was just a short-term reaction.

3. The "Rural Low-Users" (Countryside, Low AC)

  • The Habit: They live in greener, rural areas and rarely use AC. In 2021, they barely reacted to the heat.
  • The Shock: In 2022, the extreme heat finally forced them to change. They started using AC more when it got really hot.
  • The Result: This was a structural change. They didn't just panic; they learned a new way of living. By 2023, they kept this new habit. The heatwave taught them that they need cooling, and they kept that lesson.

4. The "Urban Low-Users" (City, Low AC)

  • The Habit: They live in the city but don't use much AC.
  • The Shock: They barely moved at all. Even when it was super hot and expensive, their behavior stayed the same. They were the most "stubborn" group, likely because they simply couldn't afford to change or didn't have the tools (like AC) to do so.

The "Time of Day" Twist

The researchers also noticed something fascinating about when people use power. They took the "Heavy Users" group and split them into two:

  • The "Afternoon People": Those who use a lot of power during the day.
  • The "Evening People": Those who use a lot of power at night.

Even though these two groups had similar incomes and lived in similar places, they reacted differently to the crisis.

  • The Afternoon People were willing to cut their power usage significantly during the day in 2022. They could shift their activities to the evening.
  • The Evening People couldn't shift their schedule as easily. They kept their high-power habits even when it was hot and expensive.

This proves that when you consume energy is just as important as who you are or where you live.

The Bottom Line

The paper concludes that you cannot treat all consumers as a single block.

  • Some people change their habits forever after a crisis (like the rural group).
  • Some people panic and then go back to normal (like the city group).
  • Some people just can't change at all.

For policymakers trying to design energy plans, this means you can't just say, "If prices go up, everyone will save energy." You have to know who you are talking to, where they live, and when they use their power, because their "internal scorecard" for making decisions is different for everyone.

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 →