@ericyocam6
Eric YocamDeveloper▲35
Professor, California Polytechnic State University
Oct 15 · New project · Security, Models · San Luis Obispo

Shipped: Applied AI Universe Coding Guide

A three-book, code-first series that goes from building neural networks to generative AI, then attacking those models, then defending them with adversarial training and certified robustness.

Applied AI Universe Coding Guide logoApplied AI Universe Coding Guide@ericyocam/applied-ai-coding-guide · ericyocam.com/applied-ai-universe-coding-guide.html
machine-learningdeep-learninggenerative-aiadversarial-mlai-securityquantum-mleducation

Comments2

  • @ryanallis
    Ryan Allis
    Founder of AI Lounge and SaasRise, helping founders reach $100M+ exits
    Oct 18

    The jump from attacking to defending is where most tutorials stop short. With adversarial training versus certified robustness, do your readers see the accuracy and compute tradeoff in the code, say PGD training against randomized smoothing certificates on the same model?

  • @ericyocam
    Eric Yocam
    Agentic AI that performs cyber quantum ai activities
    Oct 23

    Great question, Ryan. That's exactly the kind of tradeoff the series is designed to explore. Readers build models in Book 1, attack those same models in Book 2, and implement defenses in Book 3 using executable Google Colab notebooks. We cover adversarial training and certified robustness, with measured results rather than theoretical claims. Importantly, we also retest defenses against adaptive attackers to distinguish apparent robustness from actual protection. The goal is for readers to understand not just whether a defense works, but what it costs in accuracy, computation, and overall model performance. A direct PGD-versus-randomized-smoothing comparison on identical model configurations would be a useful additional benchmark.

Log in to join the thread.