← Latest papers
💻 computer science

Tensor-Based Batch Fuzzing with Adaptive Perturbation Scaling for Deep Neural Networks

This paper introduces a tensor-based batch fuzzing framework for deep neural networks that leverages adaptive, specification-aware perturbation scaling and batched constraint embedding to achieve significantly higher throughput and violation detection rates compared to traditional sequential approaches.

Original authors: Guanqin Zhang, Yulei Sui

Published 2026-06-25
📖 4 min read☕ Coffee break read

Original authors: Guanqin Zhang, Yulei Sui

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 a quality control inspector for a fleet of self-driving cars. Your job is to find "bugs" in their brains (Deep Neural Networks) by throwing tricky situations at them—like a stop sign that looks a little like a speed limit sign, or a pedestrian wearing a weird outfit. If the car gets confused and makes a mistake, you've found a bug.

The paper introduces a new, super-fast way to do this inspection, called Tensor-Based Batch Fuzzing. Here is how it works, explained through simple analogies.

The Old Way: The Single-File Line

Imagine the old method of testing is like a single cashier at a grocery store.

  • One customer at a time: The cashier (the computer) takes one customer (one test image), scans their items, checks if they paid correctly, and then moves to the next.
  • Uniform rules: The cashier applies the exact same rule to every item in the bag. If a bag has a tiny, fragile egg and a heavy brick, the cashier handles them with the same "gentleness" or "force." This isn't efficient; it might crush the egg or be too weak to move the brick.
  • The bottleneck: Even if the cashier is fast, they can only process one person at a time. If you have 100 customers, it takes 100 times longer than if you could process them all together.

The New Way: The Super-Assembly Line

The authors built a new system that acts like a massive, automated assembly line with a conveyor belt.

  • Batch Processing (The Conveyor Belt): Instead of one customer, the system puts 100 customers (100 test images) on the belt at once. The computer processes all 100 in a single "sweep." Because modern computer chips are designed to do many things at once (like a choir singing together rather than one person at a time), this is incredibly fast.
  • Result: The paper claims this new method is 40 times faster than the old single-file method.

The "Adaptive" Magic: Custom-Fitted Gloves

The second big improvement is how the system changes the test images.

  • The Old Problem: Imagine you are trying to wiggle a key into a lock. If the lock is tight, you need tiny, precise movements. If the lock is loose, you can wiggle it wildly. The old method used the same "wiggle size" for every lock, regardless of how tight or loose it was. This meant it either wasted time on loose locks or couldn't break tight ones.
  • The New Solution (Adaptive Scaling): The new system looks at each specific lock (each part of the image) and its specific rules (the "specification").
    • If a part of the image has a wide, loose rule, the system gives it a big wiggle.
    • If a part has a tight, strict rule, the system gives it a tiny, precise wiggle.
  • The Analogy: It's like a tailor making custom gloves for 100 different hands at once, rather than giving everyone the same size glove. This allows the system to explore the "tricky" areas much more effectively.

How It Works Step-by-Step

  1. Preparation: The system takes a list of rules (specifications) and wraps them around the AI model. Think of this as putting a custom "test harness" around the car's brain.
  2. Selection: It picks a group of test cases (a "batch") that look promising based on past performance.
  3. Mutation (The Wiggle): It applies the "custom wiggle" (adaptive scaling) to all 100 test cases at the same time.
  4. The Test: It runs all 100 through the AI brain in one go.
  5. The Verdict: It instantly checks: "Did any of these 100 cause a mistake?" If yes, it saves that mistake. If no, it keeps the ones that were "interesting" (like activating a new part of the brain) and tries again.

The Results

The authors tested this on three different sets of images (Traffic Signs, Cifar100, and TinyImageNet) using various AI models.

  • Speed: They found that the new method could process tests 40 times faster than the old way.
  • Success: In the same amount of time, the new method found 4 times more bugs (mistakes) than the old method.
  • Why? It's not just that it's faster; it's also smarter. By adjusting the "wiggle size" for each specific part of the image, it finds bugs that the old, "one-size-fits-all" method missed.

Summary

The paper presents a tool that stops testing AI models one by one and starts testing them in massive groups. It also stops using a "one-size-fits-all" approach to changing the test images, instead customizing the changes to fit the specific rules of each test. The result is a system that finds bugs in AI brains much faster and more thoroughly than before.

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 →