← Back to Library
AI/ML Document · July 2026 · Enhanced Edition
Complete AI/ML Study Plan
Based on: All documents in the AIML library
Author: Anas Hussain (a1n4a)  ·  Date: July 2026  ·  Edition: Enhanced with Diagrams

Complete AI/ML Study Plan

Anas Hussain (a1n4a) — Frontier Mastery Programme

Based on: All documents in the AI_ML library
Duration: 24 Months
Goal: Frontier-level research competence


Your Document Library (Reading Order)

Priority Document Focus When
1 AI_ML_Mastery_Roadmap Strategy & habits Week 1
2 a1n4a_deep_understanding Conceptual depth Months 1-4
3 a1n4a2 Zero-to-researcher arc Months 1-6
4 a1n4a_complete_textbook Full technical reference Ongoing
5 research_summary_phases_1_3 Cutting-edge theory Months 5-8
6 phases_4_5_6_research_summary RLHF / LLMs / MoE Months 9-14
7 phases_7_8_9_research_summary TCS / Neuro / Frontier Months 15-20
8 AI_ML_Frontier_Research Pure research reference Months 6-24

Phase 1: Foundations (Months 1-4)

Week 1-2: Orientation & Audit

Week 3-6: Mathematical Core

Primary: a1n4a_deep_understanding Ch 2-4
Reference: a1n4a_complete_textbook Part 0

Week 7-10: Classical ML

Primary: a1n4a_deep_understanding Ch 5-8 + a1n4a2 Sec 1-4
Reference: a1n4a_complete_textbook Ch 1-8

Weekly Deliverable: Implement each algorithm from scratch. No sklearn.

Week 11-16: Statistical Learning Theory

Primary: AI_ML_Frontier_Research Sec 1
Reference: a1n4a_complete_textbook Ch 7

Phase 1 Gate Test: Implement backpropagation in pure NumPy for a 3-layer network. Verify gradients with finite differences.


Phase 2: Deep Architectures (Months 5-8)

Month 5: Neural Networks Deeply

Input Hidden 1 Hidden 2 Output x₁ x₂ x₃ x₄ ŷ₁ ŷ₂ 4 neurons 5 neurons 4 neurons 2 neurons → Forward Pass →
Fig. 1 — Feedforward Neural Network: 4-input, two hidden layers, 2-output. Each circle = neuron; each edge = learnable weight.

Primary: a1n4a_deep_understanding Ch 9+
Reference: a1n4a_complete_textbook Ch 9-14

Month 6: The Transformer (Core Architecture)

Transformer Encoder Block Input Embeddings + Positional Encoding Multi-Head Attention Q K V Attention(Q,K,V) = softmax(QKᵀ/√dₖ)V Add & LayerNorm Feed-Forward Network Linear → ReLU → Linear dim: 512 → 2048 → 512 Add & LayerNorm Output (to next block) Residual ×N stacked blocks
Fig. 2 — Transformer Encoder Block: Multi-Head Attention + residual connections + Layer Normalization + Feed-Forward Network.

Primary: a1n4a_complete_textbook Ch 16
Reference: research_summary_phases_1_3 Sec Phase 2

Month 7: CNN, GNN, SSM

Primary: a1n4a_complete_textbook Ch 11, 20, 21

Month 8: Generative Models

Primary: a1n4a_complete_textbook Ch 22-27
Reference: research_summary_phases_1_3 Sec Phase 3

Phase 2 Gate Test: Implement DDPM from scratch. Train on MNIST. Generate samples.


Phase 3: Learning Paradigms (Months 9-12)

Month 9: Self-Supervised & Contrastive Learning

Contrastive Self-Supervised Learning (SimCLR / CLIP) Image x Augment 1 crop+flip+color Augment 2 grayscale+blur Encoder f z₁ Encoder f z₂ Project + Compare InfoNCE Loss Pull z₁,z₂ together Push negatives apart No labels needed — augmented views of same image = positive pairs; different images = negatives.
Fig. 15 — Contrastive SSL: two augmented views of the same image form a positive pair. InfoNCE loss pulls them together in representation space, pushes negatives apart.

Primary: a1n4a_complete_textbook + phases_4_5_6_research_summary

Month 10: Reinforcement Learning

Reinforcement Learning — Agent-Environment Loop Agent Policy π(a|s) Value V(s) Environment State transitions Reward function R(s,a) Action aₜ State sₜ₊₁ + Reward rₜ Goal: maximise cumulative reward G = Σ γᵗ rₜ
Fig. 10 — RL Agent-Environment loop: agent selects actions via policy π; environment returns next state and reward; agent maximises cumulative discounted reward.

Primary: a1n4a_complete_textbook Ch 30

Month 11: RLHF & Alignment

RLHF — Reinforcement Learning from Human Feedback Step 1 Supervised Fine-Tuning (SFT on demos) Step 2 Reward Model Training (human pref pairs) Step 3 PPO Training with RM (policy optimisation) Aligned LLM Human Annotators rank model outputs Alternative: DPO Direct Pref. Optimisation (skips explicit RM)
Fig. 9 — RLHF Pipeline: (1) SFT on demonstrations, (2) train Reward Model from human preferences, (3) PPO to optimise policy against RM.

Primary: phases_4_5_6_research_summary Sec 4.1
Reference: a1n4a_complete_textbook Ch 31-32

Month 12: Advanced Paradigms

Phase 3 Gate Test: Train a small language model with RLHF on a custom reward function.


Phase 4: Foundation Models (Months 13-16)

Month 13: LLM Internals

Primary: a1n4a_complete_textbook Ch 28
Reference: phases_4_5_6_research_summary Sec 5

Month 14: Reasoning & Test-Time Compute

Primary: phases_4_5_6_research_summary Sec 5.2

Month 15: Multimodal + MoE

Primary: a1n4a_complete_textbook Ch 29, 34

Month 16: Mechanistic Interpretability

Primary: AI_ML_Frontier_Research Sec 6
Reference: phases_7_8_9_research_summary

Phase 4 Gate Test: Write a 3-page technical critique of a recent NeurIPS 2024 paper.


Phase 5: Safety & Frontier (Months 17-24)

Month 17-18: AI Safety Theory

Primary: AI_ML_Frontier_Research Sec 6

Month 19-20: TCS & Theoretical Connections

Primary: phases_7_8_9_research_summary

Month 21-24: Your Frontier

Pick 2-3 from the frontier areas and go deep:


Daily Schedule

Time Activity
07:00-07:45 Read 1 arxiv paper — write 3 bullet summary
07:45-08:00 Implement or derive 1 thing from yesterday's paper
20:00-21:30 Deep work: derive, code, or write
21:30-22:00 Update Known Unknown Map
22:00-22:15 Queue tomorrow's paper (arxiv.org/list/cs.LG/recent)

Weekly Review Template

Every Sunday:
1. What is the ONE thing I understood most deeply this week?
2. What gap in my Known Unknown Map did I fill?
3. What did I implement? (Link to GitHub commit)
4. What paper did I read? What is its main contribution?
5. What question do I still not know how to answer?


Benchmark Tests

Month Test
4 Implement backpropagation from scratch. Match finite-difference gradients.
8 Implement DDPM. Train on MNIST. Generate 64 samples.
12 Full RLHF pipeline: SFT + RM + PPO. It must converge.
16 3-page critique of a recent paper. Identify one extendable contribution.
20 State one unsolved problem. Propose an experiment. Write it up.
24 Submit to a workshop (NeurIPS/ICML/ICLR).

Resources by Phase

Phase 1 (Foundations)

Phase 2 (Architectures)

Phase 3-4 (Learning + Foundation Models)

Phase 5 (Safety + Frontier)


The Measurement: Your Known Unknown Map

Update this file weekly. The goal is to move everything from the bottom to the top.

KNOWS DEEPLY (can derive + implement + explain without notes):
- [ ] Backpropagation
- [ ] Self-attention mechanism
- [ ] ELBO derivation for VAE
...

KNOWS SUPERFICIALLY (can explain but not derive):
- [ ] NTK theory
- [ ] Wasserstein GAN
...

KNOWS EXISTS (but cannot explain):
- [ ] Free Energy Principle
- [ ] Kolmogorov complexity
...

"The goal is not to finish this plan. The goal is to become the kind of person who never stops."


Study Plan generated from AI/ML document library — July 2026
Documents covered: a1n4a_complete_textbook, a1n4a_deep_understanding, a1n4a2, AI_ML_Frontier_Research, AI_ML_Mastery_Roadmap, phases research summaries