Core 2
Modern Deep Learning and Representation
Part of the Applied AI Security and Assurance curriculum, authored by Cameron Hopkin, CISSP, CEH, CHFI. Published as a reference, not an enrollable course.
Description
Replaces the dated bag-of-words and GAN-centric approach with the actual modern stack: transformers, the Hugging Face and PyTorch ecosystem, and diffusion as the generative flagship. The models that define the field are built in this ecosystem [5].
Outcomes
- Explain and implement the transformer end to end.
- Fine-tune open models with LoRA and PEFT.
- Reason about what representations encode and leak.
Modules
- Transformer architecture, attention, tokenization, and embeddings.
- Training dynamics and transfer learning.
- Fine-tuning, LoRA, and PEFT.
- Diffusion models as the modern generative flagship, with GANs treated as history.
- Interpretability primitives and probing.
- Representation leakage.
Signature lab
Fine-tune an open model with LoRA using the Hugging Face ecosystem and document precisely what changed in its behavior and why.
Research thread
What a model's internal representations reveal, and what that leaks to an adversary.