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

Attack small models with FGSM, PGD and C&W, and try poisoning, backdoors, defense, privacy and robustness evaluation in your browser, with real numbers.

30تجربة تفاعلية

Randomized smoothing and certified robustness

Defense Lab · Defense

Level 1: idea and analogy

The idea

Turns any classifier into a smoothed one by voting under Gaussian noise, and proves an L2 radius in which the label cannot change.

Analogy

Ask hundreds of noisy "witnesses" and take the majority; a landslide majority survives a small change.

Level 2: how it works and when to use it

Steps

1) Train with noise σ. 2) Pick the top class from n0 samples. 3) Compute the Clopper–Pearson lower bound on pA from n samples. 4) Radius = σΦ⁻¹(pA) or abstain.

When to use it

When a guarantee is needed rather than an empirical test.

Strengths

A mathematical guarantee that scales to large architectures (in the original paper).

Level 3: mathematics, assumptions, limits

Mathematical form

g(x)=\arg\max_c\Pr_{\epsilon\sim\mathcal N(0,\sigma^2I)}[f(x+\epsilon)=c],\quad R=\sigma\,\Phi^{-1}(\underline{p_A})

Assumptions

Independent samples; the certificate is probabilistic (failure ≤ α) and concerns the smoothed classifier.

Limitations

High inference cost (many samples), a small L2 radius compared with human perception, and abstention on many images.

Metrics

Certified accuracy at radius r, abstention rate and mean radius.

Defenses

Noise training, combined with adversarial training.

Level 4: pitfalls and references for researchers

Common pitfalls

Confusing "certified" with "correct"; forgetting that the guarantee is L2 not L∞; using few samples that weaken the bound.

References

  1. Cohen, J. M.; Rosenfeld, E.; Kolter, J. Z. (2019). Certified Adversarial Robustness via Randomized Smoothing. ICML 2019. Link

Related experiments