1 of 23

  • This session is not comprehensive and doesn’t act as a roadmap
  • All information/knowledge in the following session is based on my own personal experience.
  • Becoming proficient in AI takes time and effort. Set your expectations.
  • Most of my experience revolves around “Applied” AI, not research.

​

Introduction

2 of 23

Machine Learning

Computer Vision

NLP

What we’ll cover

3 of 23

Timeline

1957

Perceptron

1960s

Decision Trees

Multilayer perceptron

1980

1969

Back-propagation

1990s

SVMs

1998

CNNs

Random Forests

2010s

2001

Deep Learning

AlexNet

2012

2014

R-CNN

Word2Vec

2013

2014

Seq2Seq

VGG

2014

2016

YOLO

ResNet

2016

2017

FPNs

SAM

2023

Machine Learning

Computer Vision

NLP

2017

Attention Is

All You Need

2018

BERT

2019

GPT2

2019

RoBERTa

2019

T5

2020

GPT3

4 of 23

LeNet-5

Data flow in LeNet. The input is a handwritten digit, the output is a probability over 10 possible outcomes.

5 of 23

  • Breadth: Gaining a wide understanding of various machine learning concepts, algorithms, and techniques. It involves exploring different topics like supervised and unsupervised learning, neural networks, and reinforcement learning to build a broad knowledge base.

​

  • Depth: Diving deeply into specific areas or techniques in machine learning. This means mastering the details, underlying mathematics, and advanced applications of a particular topic, such as deep learning, natural language processing, or computer vision, to develop specialized expertise.

​

Learning: Breadth vs. Depth

6 of 23

  • Major concepts: supervised vs unsupervised, L1/L2 loss, Features Engineering (normalization, standardization), Evaluation Measures (Precision, Recall, ROC, Accuracy, Average Precision), K-Folds cross-validation, False positives vs False negatives, Interpolation and Extrapolation, Generative vs Discriminative models, Bias and variance trade off

​

  • Algorithms: Linear regression, Logistic regression, Naive Bayes, SVM, Decision Tree and Random forest, bagging, boosting, K-means, KNN, Dimensionality Reduction (PCA vs AutoEncoder)

​

  • Probabilistic modeling: Distributions (Gaussian), Bayes' theorem, Gaussian Mixture, Variational AutoEncoder

Machine Learning: Breadth

7 of 23

    • Breadth:
      • What is L2 loss? Regularization techniques help prevent overfitting by adding a penalty to the model complexity.
      • When to use L2 Loss? Use regularization when your model performs well on training data but poorly on validation or test data.
    • Depth:
      • What are the different types of regularization? L1 (Lasso), L2 (Ridge), and Elastic Net.
      • How does L2 regularization work? It adds the squared magnitude of the coefficients as a penalty term to the loss function.
      • Write a pseudocode for L2 regularization.
      • Or deeper: When might L2 regularization fail? Why? What are the alternatives? Dropout, Data Augmentation, Early stopping..etc

Machine Learning: Depth

8 of 23

  • CNN, Pooling, Depth-Wise Separable
    • Depth: e.g. number of parameters computation, Translation invariance
  • Dropout, Batchnorm, Which optimizer
  • Activation functions (Sigmoid, Tanh, Relu)
  • Loss (Sigmoid, Softmax, L2, L1, Cross Entropy, Contrastive)
  • Vanishing Gradient (What/Why/How To Solve/LSTM case)
  • Other possible topics: GANs, Transformers, LSTM
  • Handling Imbalanced datasets (e.g. focal loss, over/under sampling)
  • Understanding the Leaky Properties of BackPropagation
  • Practical Training Tips for your Neural Networks

Popular Topics in Deep Learning

9 of 23

Computer Vision (Classical)

A rough timeline of some of the most active topics of research in computer vision

10 of 23

  • Feature Extraction, Optical Flow
  • 2D & 3D Projective Transformations
  • Visual Tracking
  • Segmentation and Grouping
  • Camera Models & Calibration
  • Epipolar Geometry
  • Stereovision

Computer Vision (Classical)

11 of 23

Geometric Aberrations

12 of 23

Taxonomy Classical Methods

Active Contours: utilize boundaries and evolve over time for the final segmentation.

  • Contour: F
    • Construct an energy function and minimizing this function will yield the solution.
  • Energy: Pull it toward the larger gradients in the image + keep a smooth surface.

13 of 23

3Rs of Computer Vision

Jitendra Malik Lecture: https://inst.eecs.berkeley.edu/~cs280/sp15/lectures/1.pdf

14 of 23

Computer Vision Tasks

15 of 23

Computer Vision Tasks

16 of 23

Computer Vision Tasks

17 of 23

​

  • Video Classification (frame vs clips), Action classification, Action Localization, Tracking
  • More tasks? (Reconstruction, Reorganization, Tracking..etc)

Computer Vision: Breadth

18 of 23

Natural Language Processing

  • Verbal Speech
  • Textual
  • Sometimes: Visual (OCR)

Human language is Hard.

  • Symbolic
  • Implicit
  • Sparse
  • Diverse

19 of 23

Natural Language Processing

NLP Tasks

Text Classification

Generation

Information Retrieval & Extraction

Inten Understanding

Sentiment Analysis

QA

Summarization

Reco Systems

Named Entity Recognition (NER)

MT

Auto-completion

GPTs

20 of 23

NLP: Breadth

​

​

21 of 23

  • Text Classification: BERT, RoBERTa, DistilBERT, m-DeBERTa
  • Text Generation: T5, GPT2, GPT3, GPT4, BART
  • Retrieval and Extraction: XLM-RoBERTa, BERT, ELMo, T5, SpanBERT

NLP: Breadth

​

​

22 of 23

  • Breadth & depth are equally important.
  • Getting your hands dirty is key. Apply a lot.
  • ML/DL path is a bit longer and harder than typical SWE
  • Build good intuitions during building ML projects. Don’t be blind
  • Root cause analysis for the problems you face. Deep analysis
    • A missing and hard to build skill

Conclusion

​

​

23 of 23

References