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

Differential privacy and DP-SGD

Model Privacy Lab · privacy

Level 1: idea and analogy

The idea

Clips each sample's gradient and adds Gaussian noise, bounding any single sample's influence and computing ε for the guarantee.

Analogy

Whisper the answer in enough noise to hide who spoke.

Level 2: how it works and when to use it

Steps

1) Clip each per-sample gradient to C. 2) Sum and add noise σC. 3) Step. 4) Track cost with a Rényi accountant and convert to (ε,δ).

When to use it

Sensitive data that needs an auditable guarantee.

Strengths

A mathematical guarantee for each membership/sample, not just a test.

Level 3: mathematics, assumptions, limits

Mathematical form

\tilde g=\frac1B\Big(\sum_i \mathrm{clip}(g_i,C)+\mathcal N(0,\sigma^2C^2I)\Big);\quad (\varepsilon,\delta)\text{ from the RDP accountant}

Assumptions

Sampling at rate q; correct noise and clipping; ε depends on σ, q, steps and δ.

Limitations

A large ε (as in our small settings) means a weak guarantee; accuracy falls with noise.

Metrics

ε at δ, clean accuracy and attack effect.

Defenses

Combine with query limiting and access control.

Level 4: pitfalls and references for researchers

Common pitfalls

Believing a small ε without looking at δ; comparing ε without stating the accounting method and assumptions.

References

  1. Abadi, M.; Chu, A.; Goodfellow, I.; McMahan, H. B.; Mironov, I.; Talwar, K.; Zhang, L. (2016). Deep Learning with Differential Privacy. ACM CCS 2016, pp. 308-318. doi:10.1145/2976749.2978318
  2. Mironov, I.; Talwar, K.; Zhang, L. (2019). Rényi Differential Privacy of the Sampled Gaussian Mechanism. arXiv preprint. Link
  3. Dwork, C.; Roth, A. (2014). The Algorithmic Foundations of Differential Privacy. Foundations and Trends in Theoretical Computer Science 9(3-4), 211-487. doi:10.1561/0400000042

Related experiments