كتب الذكاء الاصطناعيمشاريع الذكاء الاصطناعيمقالات الذكاء الاصطناعيمعجم الذكاء الاصطناعياسئلة واجوبة في الذكاء الاصطناعيأكاديمية الذكاء الاصطناعي للأطفالأكاديمية الذكاء الاصطناعيمدرسة رياضيات الذكاء الاصطناعيمختبر الذكاء الاصطناعيمختبر الخوارزميات المستوحاة من الطبيعةأطلس نماذج الذكاء الاصطناعيموسوعة تطبيقات الذكاء الاصطناعيمستكشف مجموعات البيانات للذكاء الاصطناعياختبارات الذكاء الاصطناعيالفايب كودينغدليل البرمجة بالذكاء الاصطناعيمولّد مشاريع الذكاء الاصطناعيمرصد الذكاء الاصطناعيدليل أدوات الذكاء الاصطناعي البحث والنشر الأكاديميمكتبة البرومبتات الأكاديميةمستودع الرسائل والأطاريح في الذكاء الاصطناعيحاسبة الترقية العلميةأكاديمية الوكلاء الذكيينمختبر أخلاقيات الذكاء الاصطناعي والعدالةساحة ألعاب الذكاء الاصطناعيعبقري الذكاء الاصطناعيمختبر التنبؤ بالسلاسل الزمنيةمختبر الذكاء الاصطناعي العدائيموسوعة أطر ومكتبات الذكاء الاصطناعيمتحف الذكاء الاصطناعيالمعلوماتية الحيويةمختبر الرؤية الحاسوبيةموسوعة شبكات التعلم العميق الحديثةمختبر الشبكات العصبية البيانيةمختبر تحليل الصور الطبيةمختبر معالجة اللغة الطبيعيةمختبر الحوسبة الكمّيةخرائط طريق الذكاء الاصطناعيمختبر الذكاء الاصطناعي الصوتيأكاديمية ماتلاب والذكاء الاصطناعيمصمم الشبكات العصبيةأكاديمية الذكاء الاصطناعي بدون برمجةمختبر الذكاء الاصطناعي الكمّي

DeepFool: nearest decision boundary

Image Attacks Lab · Attack

Level 1: idea and analogy

The idea

Finds the smallest (L2) change that crosses the decision boundary by repeatedly linearising it.

Analogy

Measures the distance to the nearest wall of a room and moves perpendicular to it.

Level 2: how it works and when to use it

Steps

1) Linearise every class boundary. 2) Find the closest. 3) Move perpendicular to it with a small overshoot. 4) Repeat until the label flips.

When to use it

Measuring a per-image "robustness radius" and comparing models.

Strengths

Gives an estimate of the minimal distance to the boundary, a robustness measure without a fixed ε.

Level 3: mathematics, assumptions, limits

Mathematical form

r_i=\frac{|f_k(x_i)-f_{\hat k}(x_i)|}{\|\nabla f_k-\nabla f_{\hat k}\|_2^2}\,(\nabla f_k-\nabla f_{\hat k})

Assumptions

A differentiable model; the L2 norm in the original version.

Limitations

Only an approximation (not necessarily the true minimum); cost grows with the number of classes.

Metrics

Mean ‖δ‖₂ over successful images, and iteration count.

Defenses

Adversarial training, smoothing and calibration.

Level 4: pitfalls and references for researchers

Common pitfalls

Treating the result as a proven lower bound (it is not); ignoring [0,1] clipping that changes the distance.

References

  1. Moosavi-Dezfooli, S.-M. et al. (2016). DeepFool: A Simple and Accurate Method to Fool Deep Neural Networks. CVPR 2016. Link

Related experiments