← Latest papers
🤖 AI

Taming Data Challenges in ML-based Security Tasks Using Generative AI

This paper demonstrates that augmenting training datasets with synthetic data generated by Generative AI, including a novel method called Nimai, can significantly improve the performance and adaptability of machine learning-based security classifiers, particularly in data-constrained settings, while also identifying specific data characteristics that may hinder such improvements.

Original authors: Shravya Kanchi, Neal Mangaokar, Aravind Cheruvu, Sifat Muhammad Abdullah, Shirin Nilizadeh, Atul Prakash, Bimal Viswanath

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

Original authors: Shravya Kanchi, Neal Mangaokar, Aravind Cheruvu, Sifat Muhammad Abdullah, Shirin Nilizadeh, Atul Prakash, Bimal Viswanath

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 teach a security guard (a computer program) how to spot a thief in a crowded city. Usually, the best way to teach this guard is to show them thousands of photos of real thieves and real citizens. But in the world of cybersecurity, there's a big problem: we don't have enough photos of the thieves.

Thieves are rare, they hide well, and sometimes the photos we do have are blurry or labeled incorrectly. This makes the security guard bad at their job.

This paper asks a simple question: Can we use "Generative AI" (GenAI) to create fake photos of thieves to help train the guard?

Here is the breakdown of their findings, using simple analogies:

1. The Problem: The "Empty Photo Album"

The researchers looked at 35 different cybersecurity studies and found that almost all of them struggled with the same data problems:

  • Not enough examples: There are very few examples of attacks compared to normal activity.
  • Biased views: The few attack examples we have might only show one specific type of thief, missing others.
  • Noisy photos: Sometimes the labels are wrong (a photo of a citizen is labeled as a thief).
  • Changing faces: Thieves change their appearance over time (this is called "concept drift"), so the guard's old training becomes useless.

2. The Solution: The "AI Artist"

The team tried using advanced AI tools (GenAI) to act like an artist. Instead of just showing the guard real photos, they asked the AI to paint new, realistic-looking photos of thieves based on the few real ones it had seen. They then added these fake photos to the training album to see if the guard got smarter.

They tested this on 7 different security tasks, ranging from spotting malware (computer viruses) to detecting hijacked internet routes.

3. The Results: When the Artist Shines

The results were a mix of "Wow!" and "Not so fast."

The Success Stories (The "Wow!" moments):

  • The "Super-Training" Effect: In tasks where the data was scarce (like the BGP hijacking task, which had only about 180 training samples), the AI-generated data was a game-changer. One specific method they invented, called Nimai, improved the security guard's accuracy by 32.6%. That's like going from a guard who catches 6 out of 10 thieves to one who catches 9.
  • Fixing the "Blurry" Photos: They found that the AI didn't just copy-paste; it actually helped smooth out the "noise" in the data. It made the patterns of the thieves clearer, helping the guard generalize better.
  • The "Shape-Shifter" Problem: When thieves changed their tactics (concept drift), the AI could quickly generate new "fake" examples of the new tactics. This allowed the security system to adapt almost instantly with very little new human labeling.

The Failures (The "Not so fast" moments):

  • The "Overcrowded Room": In some tasks, the "thieves" and "citizens" looked so similar (overlapping data) that the AI couldn't tell the difference. It just made more confusing photos, and the guard didn't get any better.
  • The "Too Big to Fit" Problem: Some of the existing AI tools were like giant trucks trying to drive down a tiny alley. They were too complex for the specific security data and crashed or failed to train.
  • The "Noisy Label" Trap: If the original data had too many mistakes (e.g., labeling a good file as bad), the AI just learned to make more mistakes. It couldn't fix a broken foundation.

4. The New Tool: "Nimai"

The researchers realized that existing AI tools were a bit like a blindfolded painter—they could only paint based on a broad category (e.g., "paint a thief"). They couldn't say, "Paint a thief that looks exactly like this specific person I'm holding."

So, they built a new tool called Nimai.

  • The Analogy: Imagine a sculptor who doesn't just make a generic statue of a person. Instead, they take a real person, look at them, and create a new statue that is very similar but has slight, controlled variations. This allows the security guard to see every tiny nuance of the threat.
  • The Result: Nimai was the most successful tool, especially in the hardest, most data-starved situations.

5. The Big Takeaway

The paper concludes that Generative AI is a powerful tool for cybersecurity, but it's not magic.

  • It works wonders when you have very little data or when the data is unbalanced. It can fill in the gaps and help the system learn faster.
  • It struggles when the data is too messy, the categories overlap too much, or the AI tools are too heavy for the job.

The authors suggest that future security tools need to be smarter about how they generate data, using controlled methods like Nimai, rather than just churning out random fake data. They also note that this approach could help security systems adapt quickly when hackers change their tactics, without needing to hire armies of humans to label new data.

In short: They taught the security guard by having an AI paint new pictures of the bad guys. It worked brilliantly when the pictures were scarce, but it got confused when the bad guys and good guys looked too much alike.

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 →