← Latest papers
💻 computer science

Carbon-Aware Intrusion Detection: A Comparative Study of Supervised and Unsupervised DRL for Sustainable IoT Edge Gateways

This paper proposes and evaluates two novel Deep Reinforcement Learning-based Intrusion Detection Systems, DeepEdgeIDS and AutoDRL-IDS, which integrate carbon-aware multi-objective reward formulations to achieve high detection accuracy and energy efficiency for mitigating DDoS attacks on resource-constrained IoT edge gateways.

Original authors: Saeid Jamshidi, Foutse Khomh, Kawser Wazed Nafi, Amin Nikanjam, Samira Keivanpour, Omar Abdul-Wahab, Martine Bellaiche

Published 2026-05-21
📖 5 min read🧠 Deep dive

Original authors: Saeid Jamshidi, Foutse Khomh, Kawser Wazed Nafi, Amin Nikanjam, Samira Keivanpour, Omar Abdul-Wahab, Martine Bellaiche

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

The Big Picture: Protecting the "Smart City" Without Burning the Planet

Imagine the Internet of Things (IoT) as a massive, bustling city where billions of smart devices (like thermostats, cameras, and sensors) are constantly talking to each other. This city has a security guard at every neighborhood entrance, called an Edge Gateway.

The paper addresses two major problems with these security guards:

  1. They are too rigid: Traditional guards only recognize criminals they have seen before (like a "Wanted" poster). If a criminal shows up wearing a new mask (a "zero-day" attack), the guard misses them.
  2. They are too heavy: The guards are trying to be so smart that they are burning through batteries and creating a huge carbon footprint, which is bad for the environment.

The authors propose two new types of "Super Guards" based on Deep Reinforcement Learning (DRL). Think of DRL as a guard who doesn't just memorize a rulebook but learns by doing and experiencing the world, constantly getting better at spotting trouble.


The Two New Guards: DeepEdgeIDS and AutoDRL-IDS

The paper introduces two different approaches to training these guards.

1. DeepEdgeIDS: The "Intuitive Detective" (Unsupervised)

  • How it works: Imagine a detective who has never seen a criminal before. Instead of looking at a "Wanted" poster, this detective learns what "normal" traffic looks like by watching the city for a while. They build a mental model of "normal."
  • The Trick: When something weird happens (like a sudden flood of people running in one direction), the detective doesn't need a label saying "This is a riot." They just know, "Hey, this doesn't fit the pattern!" They flag it immediately.
  • The Superpower: Because they don't need a pre-written list of crimes, they are incredibly good at catching brand-new, unknown attacks (zero-day threats).
  • The Cost: To stay this sharp, this detective is constantly re-evaluating the situation, which uses a bit more energy and CPU power.

2. AutoDRL-IDS: The "Veteran Cop" (Supervised)

  • How it works: This guard is trained on a massive library of past cases where the outcome was already known (labeled data). They are like a veteran cop who has studied thousands of "Wanted" posters and knows exactly what a bank robber looks like.
  • The Trick: They use a specific memory tool (LSTM) to remember the sequence of events. If they see a pattern that matches a known crime, they act fast.
  • The Superpower: They are very efficient and stable. Once they know the rules, they don't need to think as hard, so they save energy and run cooler.
  • The Weakness: If a criminal uses a completely new method that isn't in their library, they might miss it or take longer to figure it out.

The "Carbon-Aware" Twist: The Eco-Friendly Reward System

Usually, security systems only care about one thing: "Did you catch the bad guy?"

This paper adds a new rule to the game. The guards are now rewarded not just for catching criminals, but for how efficiently they do it.

  • The Scoreboard: Every time the guard makes a decision, they get points for catching the threat, but they lose points if they:
    • Take too long (Latency).
    • Use too much memory (RAM).
    • Burn too much electricity (Energy).
    • Create too much carbon pollution.

Think of it like a video game where you get a "Gold Star" for winning, but if you use too many power-ups, you get a "Bronze Star" instead. The system forces the AI to find the smartest, greenest way to stop the attack.


The Results: Who Won the Race?

The researchers tested both guards in a real-world "city" (a physical testbed with real routers and devices) under attack.

1. Catching the Bad Guys (Accuracy):

  • The Intuitive Detective (DeepEdgeIDS) won. It caught 98% of the attacks, including the tricky new ones. It was faster to react because it didn't have to check a library; it just felt the "wrongness" of the traffic.
  • The Veteran Cop (AutoDRL-IDS) did well too, catching 94%, but it was slightly slower to adapt to the brand-new tricks.

2. The Energy Bill (Sustainability):

  • The Veteran Cop (AutoDRL-IDS) was the winner here. Because it relied on its pre-learned rules, it used less electricity and produced less carbon. It was the "green" choice for stable environments.
  • The Intuitive Detective (DeepEdgeIDS) used more energy. It had to constantly "think" and update its brain in real-time to stay sharp. However, the paper argues this extra energy is worth it for the extra safety it provides against unknown threats.

3. Speed:

  • DeepEdgeIDS was faster at making decisions (lower latency) because it didn't have to process long sequences of history to make a call. It reacted instantly to the "weirdness."

The Bottom Line

The paper concludes that there is no single "perfect" guard. It depends on what you need:

  • If you need maximum safety against unknown, evolving threats and can spare a little extra energy, choose DeepEdgeIDS (The Intuitive Detective).
  • If you need maximum efficiency and your threats are mostly known, choose AutoDRL-IDS (The Veteran Cop).

Both systems prove that we can build smart security for the Internet of Things that is not only effective but also cares about the environment by keeping energy use and carbon emissions in check.

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 →