Short Explanation
Use this preprocessing check when visual inputs may contain noise attacks, stickers, or abnormal perturbations.
Applies feature squeezing transformations such as bit-depth reduction or filtering to detect adversarial visual inputs.
Core parameters, trigger timing, and visual before/after demo references.
Use this preprocessing check when visual inputs may contain noise attacks, stickers, or abnormal perturbations.
Prepare the scene, image, video, sensor stream, prompt, or configuration expected by the original project.
Read the produced visualization, prediction, map, trajectory, mask, grasp pose, or other documented artifact.
A quick-run style example for the documentation page.
Readable controls and the meaning of each returned artifact.
input_imagefileImage or feature tensor to test.
methodselectbit_depthSqueezing operation such as bit-depth reduction or median filtering.
thresholdsliderDifference threshold for flagging a suspicious prediction change.
is_adversarialWhether the input is flagged as adversarial.
original_model_outputPrediction before feature squeezing.
squeezed_model_outputPrediction after the selected squeezing transform.
Official resources, deployment steps, academic context, citation, and source-reported benchmark numbers.
python tools/feature-squeezer/run.py --input tools/feature-squeezer/examples/input.png --method bit_depth --output tools/feature-squeezer/runs/report.json
{
"tool": "feature-squeezer",
"status": "ok",
"results": [
{
"label": "Adversarial example detection",
"score": 0.87,
"output": "Adversarial prediction result and original model output"
}
],
"timing": {
"runtime": "The submitted tool sheet describes the wrapper as interactive; the paper focuses on detection rate and false-positive behavior rather than one universal latency.",
"device": "documented in source benchmark when available"
},
"artifacts": {
"visualization": "tools/feature-squeezer/runs/visualization.png",
"raw_predictions": "tools/feature-squeezer/runs/predictions.json"
}
}Paper identity and contribution summary.
@misc{featuresqueezer2018,
title={Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks},
author={Author},
year={2018},
note={NDSS 2018},
url={https://arxiv.org/abs/1704.01155}
}Only compact, source-reported numbers are shown here.
| Dataset | Metric | Value | Runtime | Source |
|---|---|---|---|---|
| MNIST, CIFAR-10, and ImageNet adversarial examples | Joint detection rate at around 5% false positive rate | 98% on MNIST; 85% on CIFAR-10 and ImageNet | Feature squeezing detector | Official NDSS 2018 paper |
| MNIST adversarial attacks | Best joint detection, 1-bit + 2x2 | 0.982 overall detection | Static adversarial input detection | Official NDSS 2018 paper, Table 4 |
| Target model baselines | Top-1 accuracy | MNIST 99.43%; CIFAR-10 94.84%; ImageNet MobileNet 68.36% top-1 / 88.25% top-5 | Classifier baselines used for detection evaluation | Official NDSS 2018 paper, Table 1 |
Official NDSS 2018 paper, attack/detection tables, paper reference, and tool-sheet description from the submitted spreadsheet.
Visual references from the original tool. Click any image to inspect the original size.