How does Naïve Bayes perform under adversarial feature poisoning attacks?

Updated May 17, 2026

Short answer

Naïve Bayes is vulnerable to feature poisoning because likelihood estimates can be shifted by maliciously injected samples.

Deep explanation

Adversarial poisoning introduces carefully crafted samples to manipulate class-conditional distributions. Since NB relies on frequency-based estimation, even small amounts of poisoned data can skew P(x|C) significantly for rare features. Smoothing reduces but does not eliminate this vulnerability.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Naïve Bayes interview questions

View all →