← Latest papers
🤖 machine learning

InferNet: Exploiting Aggregate GPU Profiles as Side-Channel for DNN Architecture Inference

InferNet is a novel side-channel attack that exploits coarse-grained, non-intrusive aggregate GPU profiles to accurately infer the specific architecture and variants of Deep Neural Networks across diverse frameworks and hardware platforms, achieving 100% extraction accuracy without requiring complex time-series analysis.

Original authors: Raja Hasnain Anwar, Jonah O'Brien Weiss, Tiago Alves, Sandip Kundu

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

Original authors: Raja Hasnain Anwar, Jonah O'Brien Weiss, Tiago Alves, Sandip Kundu

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 Idea: Guessing a Recipe by Listening to the Kitchen

Imagine you are in a restaurant kitchen, but you aren't allowed to see the chef or the recipe book. You are only allowed to stand outside the kitchen door and listen.

You can hear the clatter of pots, the hum of the blender, the sizzle of the frying pan, and the frequency of the dishwasher. Even though you can't see the food being cooked, the pattern of sounds tells you exactly what is being made. If you hear a high-speed blender and a specific chopping rhythm, you know they are making a smoothie. If you hear a slow simmer and a heavy pot, you know they are making a stew.

InferNet is a digital version of this. It is a "side-channel attack" that allows a hacker to figure out exactly which Deep Neural Network (DNN) (the AI "recipe") a company is using, just by listening to the "sounds" the computer makes while it works.

How It Works: The "Aggregate" Soundtrack

Usually, hackers trying to steal an AI model's secrets have to be very sneaky and look at tiny, split-second details (like a time-lapse video of every single move the computer makes). This is hard to do, especially in the cloud, and it's easy to get confused by background noise.

InferNet takes a different approach. Instead of watching a time-lapse video, it takes a statistical snapshot (an "aggregate profile").

  • The Analogy: Imagine you want to know what a band is playing.
    • Old Method: You record every single second of the concert to see exactly when the drummer hit the snare.
    • InferNet Method: You just count how many times the drummer hit the snare, how loud the guitar was on average, and how long the whole song lasted. You don't need the order of the notes; you just need the summary statistics.

The paper shows that different AI models (like those that recognize faces vs. those that write text) use different "musical instruments" inside the computer's graphics card (GPU).

  • Vision Models (Image AI): They use a lot of "convolution" kernels. Think of these as specialized choppers that slice and dice data in specific patterns.
  • Language Models (Text AI): They use a lot of "matrix multiplication" kernels. Think of these as heavy-duty mixers that blend huge blocks of data together.

By simply counting how many times these specific "instruments" are played and how long they take, InferNet can build a unique fingerprint for the AI model.

The Magic Trick: It Works Even When You Can't See Everything

The researchers tested this on 90 different famous AI models (like ResNet, BERT, GPT, and Inception) using two different types of computer chips (NVIDIA Tesla and Quadro).

Here is what they found, translated into our kitchen analogy:

  1. You don't need the whole recipe: You don't need to listen to the whole song to know the genre. The researchers found that listening to just the top 3 loudest sounds (the most common GPU tasks) was enough to identify the model with nearly 100% accuracy.
  2. It works on "Secret" Models: Even if the AI model has been chopped up, compressed, or optimized to run faster (like a chef hiding their tools), the "sound" of the cooking process remains unique enough to identify the dish.
  3. It works across different kitchens: Even if the hacker uses a different computer than the victim, they can still guess the model, though it's slightly harder. However, if the hacker trains their "listening" system on data from both types of computers, it becomes almost perfect.
  4. It works on different "languages": The AI models were written in two different programming languages (PyTorch and TensorFlow). Usually, these sound very different. But if the hacker listens to examples of both, they can learn to identify the model regardless of which language it was written in.

Why Should We Care?

The paper argues that AI models are valuable intellectual property, like a secret family recipe. Companies spend millions of dollars training them.

The danger is that a hacker doesn't need to break into the server or steal the code files. They can just run the AI, listen to the "aggregate" performance metrics (which are often available to users in cloud environments), and say, "Aha! You are using InceptionV3!"

Once they know the architecture, they can start stealing the rest of the model much more easily.

The Defense: How to Muffle the Sound

The paper suggests a few ways to stop this "listening":

  • Add Noise: Run fake, useless calculations (like a chef pretending to chop vegetables when they aren't) to confuse the listener.
  • Randomize Timing: Make the computer pause randomly between tasks so the rhythm is broken.
  • Hide the Tools: Stop letting regular users access the tools that measure these performance stats (like nvprof).

Summary

InferNet is a clever trick that proves you don't need to see the code to know what an AI is. By simply listening to the summary statistics of how the computer's graphics card works, a hacker can identify the AI's "family" and specific "variant" with incredible accuracy. It turns the computer's own performance data into a secret leak that reveals its identity.

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 →