Machine Learning Engineering · Module 10
Deep learning architectures
- Lessons
- 12
- Free
- 0
- Reading
- ~4 h
Your progress
0 / 12 lessons done
Sign in to trackLessons
- Convolutional networks: learning from imagesMost image models you will meet at work, including the pretrained backbones you fine-tune, are stacks of convolution layers. Knowing what one layer computes lets you read their shapes, estimate their memory and compute, and predict where they fail.
- Vision architectures: ResNet to vision transformersAlmost every image model at work starts from a named backbone: ResNet, EfficientNet, ConvNeXt or a vision transformer. Knowing what each one assumes about images tells you which to try first and what it will cost to serve.
- Transfer learning: reusing pretrained modelsMost image and text models at work start from someone else’s pretrained weights. Whether you freeze them, how far you unfreeze and how you preprocess inputs often decides more accuracy than the choice of architecture.
- Recurrent networks for sequencesMuch of a company’s data arrives as sequences: a customer’s visits, a product’s daily sales, a rider’s trips. Recurrent networks were the first neural answer to reading them in order, and their one weakness, forgetting the distant past, explains why sequence models moved on to attention.
- Learned embeddings: vectors for words, items and usersEvery model that takes IDs as input, such as products, customers, words or sellers, starts with an embedding table, and in recommenders it often holds most of the parameters. Knowing how its rows learn tells you why rare items get poor vectors and why vectors from two training runs can’t be mixed.
- Case: Flipkart’s visual search across 50M productsAny store with photos ends up wanting “more like this”. This case shows the two halves of that feature, a vector that captures what shoppers mean by similar and a search that finds neighbours among millions of items, and what one team measured when it built both.
- Attention: the maths of focusing on what mattersAttention is the step that lets a model use any part of a long input directly, whatever its distance. It sits inside every transformer, from language models to recommenders that read a customer’s history, and its cost grows with the square of the input’s length.
- The transformer, layer by layerTransformers now read sequences of clicks, products, words and image patches across most ML teams. Knowing what each layer does tells you where the parameters and the compute go, and which settings, such as the norm position or a missing mask, quietly break a model that still trains.
- Training a small transformer from scratchMost engineers only ever load a pretrained transformer. Training a small one yourself shows what every loss number means, which settings matter and which bugs hide behind a falling loss, and that is what you need to judge a larger run or a fine-tune.
- Pretraining and fine-tuningLabels cost people’s time, while raw text, photos and clicks pile up for free. Almost every text and image model at work starts from weights pretrained on unlabelled data, and the choice of where those weights come from often matters more than the classifier on top.
- Self-supervised learning: autoencoders to contrastiveMost image, audio and behaviour data at work arrives without labels. Self-supervised learning is how teams turn that pile into encoders, and the pretext task they pick quietly decides what every later model can and can’t see.
- Generative models: VAEs, GANs and diffusionGenerators turn up in ML work as tools more often than as products: synthetic training data, anomaly scores, image features. Knowing how each family learns tells you what its output can and can’t be trusted for.
Practise with
No tools or paper guides for this module yet.