NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 30 min
Master the difference between ML training and inference. Learn how to secure data pipelines, harden inference APIs, and defend against phase-specific AI attacks.
To attack or defend an AI system, you must first know its two phases: Training and Inference.
Training is the "school" phase. It is expensive and slow. The model learns patterns from a large dataset and, step by step, adjusts its internal parameters (weights and biases) to reduce errors.
Inference is the "work" phase. After training, the weights are frozen. Inference means feeding new, unseen data into the trained model to get a prediction or classification. It is optimised for speed, low latency and high throughput.
The attack surface depends on the phase. You cannot poison a model during inference, and you cannot run a real-time evasion attack during training. Knowing the phase tells you which tools, techniques and defences apply.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in