Keeping the lights on
![Windmills against a blue sky](/sites/default/files/styles/block_image_16_9_lge/public/prx-power-grid-option-1-unsplash-2500x1667.jpg?itok=nY5boyG3)
ASU electrical engineering researchers Regents Professor Ying-Cheng Lai, his doctoral student Mohammadamin Moradi and Assistant Professor Yang Weng used a type of machine learning known as deep Q-learning to determine the best power grid cyberdefense strategies to counter different cyberattack types. Photo courtesy Unsplash
Electrical grids have seen many technological advancements since they began providing power in the 1880s. With computer-controlled systems common among power grids all over the world, systems can deliver power more efficiently than ever before.
However, as power grids rely more heavily on computer-based systems, there also comes increased vulnerability to cyberattacks. A well-designed cyberattack can bring a city to its knees, shutting down the electricity that keeps modern cities bustling, such as when hackers shut down a part of Ukraine’s power grid that supplied more than 230,000 people in 2015.
With the goal of finding a way to prevent such a destructive cyberattack from happening again, Mohammadamin Moradi, an electrical engineering doctoral student at Arizona State University, used artificial intelligence to analyze the most damaging attacks and best defenses possible. His work was guided by two faculty members in the School of Electrical, Computer and Energy Engineering, part of the Ira A. Fulton Schools of Engineering at ASU: Ying-Cheng Lai, a Regents Professor of electrical engineering and advisor for Moradi’s doctoral degree, and Yang Weng, an assistant professor of electrical engineering.
This research was funded by the U.S. Department of Energy and the Israeli Ministry of Energy through the Israel-United States Binational Industrial Research and Development Foundation, or BIRD Foundation, to help both countries increase their cybersecurity defenses.
Moradi, Lai and Weng worked with a type of machine learning known as deep Q reinforcement learning, combined with stochastic game theory, to simulate what cyberattacks could cause the most damage to a power grid and the best countermeasures to keep the grid operating as best it can in the face of such attacks. The team’s research paper, “Defending smart electrical power grids against cyberattacks with deep Q-learning,” was recently published in PRX Energy, a highly selective and new open access journal of the American Physical Society focusing on modern energy issues.
“Power grid security has a substantial impact on Americans’ lives,” Moradi says. “Last year in Texas, there were power outages and people were freezing in winter. A well-planned, well-informed attacker can cause a lot of disasters, and we as defenders should be ready to act accordingly.”
A series of weather events caused the 2021 Texas power crisis, which left more than 4.5 million homes and businesses without power for more than two weeks. A cyberattack on the power grid has the potential to cause similar devastating effects. Moradi explored deep Q-learning in an effort to help bolster power grid cybersecurity.
A deep dive into deep Q-learning
Deep Q-learning is a subset of Q-learning, a type of machine learning that analyzes the results of inputs and seeks to maximize the reward for an action. In conventional Q-learning, different inputs from a user are mapped to output values in a table known as the Q-table. However, there are many challenges to creating a Q-table because it requires a large amount of computation as the number of input values increases. This can cause a computer to struggle and malfunction when the number of inputs and outputs reaches a certain size, leading Moradi to explore deep Q-learning.
This diagram shows the difference between Q-learning with a Q-table and deep Q-learning.
Deep Q-learning varies from traditional Q-learning because it doesn’t need a Q-table, decreasing the capacity needed for computing processes. Instead, deep Q-learning uses a neural network, which is a type of machine learning model, to estimate outputs, and does not require the user to make a manual input for each output.
Moradi also chose deep Q-learning because of another factor important to power grid cybersecurity: It can be used for environments where parameters are unknown, just as the optimal attack and defense strategies aren’t known by a user before running the deep Q-learning simulation.
While deep Q-learning addresses the issue of computing power needed, the algorithm model the system uses to learn also needs to be optimized to ensure the best outcome. This is how Moradi picked the idea of modeling the situation as a stochastic game.
Cyber wargames
“I had a game theory class last semester, and I thought the attacker-defender relationship could be modeled as a game where each one tries to achieve its objectives,” Moradi says.
In a two-person stochastic game, two antagonistic parties play a game with multiple stages seeking to maximize their rewards. In this case, the reward for the attacker is to cause as much damage to the power grid as possible, while the reward for the defender is to use the best strategy to minimize damage to the power grid.
“One game move is like one iteration of attacking and defending; the attacker launches an attack, and the defender figures out a way to respond,” Lai explains. “In general, the defender is not able to protect all lines simultaneously because of limited resources. This highlights the need for Q-learning because the defender should wisely select the set of lines to protect.”
Powering up power grid cyberdefense
Ultimately, Moradi’s simulation isn’t used to defend against the grid in real time. Simulating cyberattacks and cyberdefense shows power grid weaknesses and the best ways for a human operator to defend against them to minimize cyberattack damage.
The research team says they are looking to further refine their work with future simulations, taking into account factors such as limited financial and human resources for defending the power grid.
Weng, whose research focuses on power systems, machine learning and cyberphysical systems, among other areas, says he anticipates that the research can be used for real-life cybersecurity.
“Being part of this project helped me appreciate the great idea of using this model to understand a physical system theoretically using AI solutions,” he says. “This will ensure that the work will transition to the real world, which is the core reason for this research.”
More Science and technology
![Mosaic image of the moon taken with the Lunar Reconnaissance Orbiter Cameras](/sites/default/files/styles/block_image_16_9_med/public/2024-08/lroc_1.png?h=aafd87a1&itok=VkOKOC-y)
ASU teams up with industry for moon rover project to advance lunar exploration for NASA Artemis missions
Arizona State University continues to advance its presence in the commercial space sector, building strategic partnerships with…
![A robotic arm reaches out from the left side of the image to touch a human arm with tattoos reaching from the right of the image. The orientation is a nod to Michaelangelo's "The Creation of Adam."](/sites/default/files/styles/block_image_16_9_med/public/2024-08/pexels-cottonbro-6153354.jpg?itok=_ps6FuhU)
ASU workgroup addresses ethical questions about the use of AI in higher ed
As artificial intelligence becomes more ubiquitous in our everyday lives, the AI and Ethics Workgroup at Arizona State University…
![An older man points to his elbow while standing near a monument plaque in a barren dirt field](/sites/default/files/styles/block_image_16_9_med/public/2024-08/_DSF8836.jpg?itok=6hxfh4LC)
The tiny bone that led to a very big discovery
Nov. 24 will mark 50 years since Arizona State University’s Donald Johanson discovered the Lucy fossil skeleton. It’s a find that…