I started with prompt injection since that's the most obvious one, then moved into data poisoning during pretraining.
Start by defining adversarial attacks in the context of LLMs, then systematically cover the main vulnerability types (input manipulation, prompt injection, data poisoning, model extraction) and their implications. Finally, discuss mitigation strategies and trade-offs, tying them to real-world systems like Snap's content recommendation or ad targeting.
Pro tip: Emphasize that adversarial robustness is not just a security concern but also a reliability and trust issue; mention that at scale, even low success rates can have significant impact, so defense-in-depth is crucial.
Briefly explain what adversarial attacks are: inputs designed to cause the model to produce incorrect or harmful outputs. Distinguish between white-box and black-box settings.
Cover input-based attacks (e.g., prompt injection, adversarial suffixes), training-time attacks (data poisoning, backdoors), and inference-time attacks (model extraction, membership inference).
Relate vulnerabilities to potential consequences in Snap's context, such as manipulated content moderation, biased recommendations, or privacy leaks.
Describe defenses like adversarial training, input sanitization, output filtering, differential privacy, and monitoring for anomalous inputs. Mention trade-offs between robustness, cost, and performance.
Summarize how to integrate defenses into an ML pipeline, emphasizing continuous evaluation and red-teaming. Highlight the need for a balanced approach given Snap's scale and latency constraints.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.