From tensors to research.
From understanding computation and learning mechanics to independently designing, verifying, and improving AI models. A 24-week core track running alongside continuous research; progress is measured by evidence rather than calendar time.
Master Plan v2.0 · Notion syllabus ↗ · Components v2.0 · Revised 2026-11-28
Start here · W01
Tensor Manipulation
Continue with indexing / slicing, permute, squeeze / unsqueeze, and cat / stack. Combine the already-understood reshape / transpose into one actual run without repeating concept quizzes.
Recorded progress
0/40 fully mastered · 2 in progress · 38 not started. Core depth targets: 0/37.
Notion snapshot · 2026-11-28
Original record: 1.1 concepts understood, code pending verification; 1.2 partial operations understood, remainder pending; other 38 lessons not started. Mastery levels are never auto-promoted here.
Interactive learning timeline
Click any phase or week to inspect its study items, verification tasks, and research questions. Scroll horizontally on narrow screens.
W13 previews 4.6 / 4.7; W21 previews 6.6. Deep implementations belong to flexible extensions. Every phase gate must be reviewed independently of the weekly schedule.
Tensor semantics & affine maps
Verify all pending tensor operations; compare batched affine map with nn.Linear.
Trace state, image and action tensor axes in a public VLA example.
Scalar, vector, matrix, shape, rank, axis, dtype, device, numel
Practice: Create robot-state tensors; explain axes
Evidence: Shape and axis assertions; actual code run
Index/slice, reshape/flatten, transpose/permute, squeeze/unsqueeze, cat/stack
Practice: Predict and verify mappings and shapes
Evidence: One combined exercise; remaining operations verified
Batch semantics, broadcasting, elementwise ops, reduction, keepdim
Practice: Normalize batched trajectories; compare loop
Evidence: Broadcast predictions and independent loop agreement
Dot product, matmul, batched affine map, weights, bias, parameter count
Practice: Implement XWᵀ+b; compare nn.Linear
Evidence: Independent minimal affine implementation
Seven stages · seven mastery gates
Expand any phase to inspect weekly plans, deliverables, lesson IDs, acceptance gates, and references. From tensor semantics to trainable computation graphs · Tensor → Affine → Graph → Gradient → MLP Tensor notebook + nonlinear dynamics MLP Lessons 1.1, 1.2, 1.3, 1.4 Verify all pending tensor operations; compare batched affine map with nn.Linear. Research: Trace state, image and action tensor axes in a public VLA example. Lessons 1.5, 1.6, 1.7 Hand-derive a gradient, compare finite differences and autograd. Research: Ask how gradient magnitude changes with depth; record a testable prediction. Lessons 1.8 Independent train/validation loop; held-out dynamics error. Research: Choose a synthetic dynamics system and record baseline assumptions. Reference spine: D2L Preliminaries, Linear Regression, MLP; UDL Ch.2–7; PyTorch Basics; micrograd Dive into Deep Learning ↗ · Understanding Deep Learning ↗ · PyTorch Official Tutorials ↗ · Neural Networks: Zero to Hero ↗ Extension: Memory layout, stride, contiguity, view/copy. Understanding why learning happens and how to verify training correctness · Logits → Loss → Gradient → Update → Validation Controlled training stability & generalization lab Lessons 2.1 Predict logits/CE and verify classifier loss. Research: Relate likelihood assumptions to deterministic vs probabilistic prediction. Lessons 2.2 Compare SGD, momentum and AdamW with matched budget. Research: Inspect update directions and relate them to learning dynamics. Lessons 2.3, 2.4 Diagnose deliberately broken training; measure gradient norms and leakage. Research: Formulate one stability hypothesis; vary one factor. Lessons 2.5 Derive MSE/NLL and CE/KL; validate Gaussian fit. Research: Frame probabilistic-neuron idea as a falsifiable hypothesis. Reference spine: UDL Ch.5–9; D2L Softmax Regression, Optimization, Probability; CS231n; PyTorch Basics Dive into Deep Learning ↗ · Understanding Deep Learning ↗ · PyTorch Official Tutorials ↗ · Stanford CS231n ↗ · Probabilistic Machine Learning ↗ Extension: Calibration, second-order methods, extra optimizers. Investigating how feature spaces represent information · Observation → Encoder → Latent → Task Compare PCA, AE, CNN and contrastive features Lessons 3.1, 3.2 Compare PCA and AE; trace CNN output shapes. Research: Trace a real vision encoder and identify information loss. Lessons 3.3, 3.4 Trace skip shapes; inspect embeddings and held-out linear probe. Research: Test whether a representation improves a downstream task. Reference spine: UDL Ch.10–11,14; D2L CNN; CS231n; SimCLR Dive into Deep Learning ↗ · Understanding Deep Learning ↗ · Stanford CS231n ↗ · SimCLR ↗ Extension: Large historical CNN variants. Tracing information flow and complexity in sequence models · Tokens → Q/K/V → Attention → FFN → Output Minimal Transformer + real-model trace Lessons 4.1, 4.2 Independent single-head attention; mask and softmax checks. Research: Trace Q/K/V in a public π₀.₅ implementation. Lessons 4.3 Implement a minimal block and compare numerical outputs. Research: Map block inputs, outputs and parameter counts in a real model. Lessons 4.4 Check shifted labels, causal masking and sampling. Research: Compare token generation with sequential control decisions. Lessons 4.5, 4.6, 4.7 Trace patch embeddings and attention; preview GNN/SSM. Research: Relate SSM state update to control-system dynamics; defer deeper lab if needed. Reference spine: UDL Ch.12–13; D2L RNN/Attention; Karpathy GPT; Transformer, ViT, CS224W, Mamba Dive into Deep Learning ↗ · Understanding Deep Learning ↗ · Neural Networks: Zero to Hero ↗ · Attention Is All You Need ↗ · Vision Transformer ↗ · Stanford CS224W ↗ · Mamba ↗ Extension: GNN/SSM deeper labs, full Mamba, FlashAttention, CUDA. From deterministic prediction to distributions and generative processes · Noise → Learned field → Solver → Sample DDPM vs flow matching on matched 2D distribution Lessons 5.1, 5.2, 5.3 Explain latent sampling, objectives and change of variables. Research: Compare alternative representations of a multimodal action distribution. Lessons 5.3, 5.4 Derive denoising objective; check sampler and time conventions. Research: Inspect conditional action generation and solver assumptions. Lessons 5.5 Derive velocity target; implement a small objective and ODE sampler. Research: Predict differences between DDPM and flow matching on matched data. Lessons 5.6 Compare DDPM and flow matching on the same 2D target, including cost. Research: Assess sample diversity, conditional success and inference steps. Reference spine: UDL Ch.15–18; DDPM; MIT 6.S184 2026 lectures 1–4 and labs; CFG. MIT flow-first ordering differs; use lecture 1 before 5.4–5.5. Understanding Deep Learning ↗ · MIT 6.S184 · 2026 ↗ · DDPM ↗ · Classifier-Free Guidance ↗ Extension: Discrete diffusion, heavy SDE proofs, large DiT; full MIT lab 3. Understanding real foundation models and robot policy systems · Image + Text + State → VLM → Action expert → Rollout VLM/VLA source trace + robot policy comparison Lessons 6.1, 6.2 Trace LoRA trainable weights and multimodal fusion. Research: Inspect a real model’s frozen/trainable parameters and shapes. Lessons 6.3 Point-robot BC rollout; compare held-out rollout with one-step error. Research: Analyze covariate shift and action chunking. Lessons 6.4 Compare diffusion and MLP BC on matched demonstrations. Research: Measure success, rollout error and inference latency. Lessons 6.5, 6.6 Trace π₀/π₀.₅ objectives, tensors and action expert; check RL prerequisites. Research: Propose a controlled adaptation or policy comparison; preview world models. Reference spine: CS336; Berkeley CS185/285; CLIP, Diffusion Policy, LeRobot π₀, DreamerV3 Stanford CS336 ↗ · UC Berkeley CS185/285 ↗ · CLIP ↗ · Diffusion Policy ↗ · LeRobot π₀ ↗ · DreamerV3 ↗ Extension: World models/RL deep work; before 6.6 check MDP, value function, policy gradient and actor-critic; large-scale training. Combining control theory, physical priors, and model design · Hypothesis → Baseline → Ablation → Evidence Learning × Physics × Control research study Lessons 7.1 Compare one structured model against MLP. Research: Specify a physical prior and evaluation metric. Lessons 7.2, 7.3 Specify falsifiable hypothesis; run matched baseline and ablations. Research: Test structure, data efficiency or OOD behavior with repeated seeds where feasible. Lessons 7.4 Reproducible repository, results, limitations and report. Research: Decide whether evidence supports the hypothesis and identify next study. Reference spine: Neural ODE, PINN, HNN, ICNN, equivariant GNN Neural ODE ↗ · PINN ↗ · HNN ↗ · ICNN ↗ · Equivariant GNN ↗ Extension: KAN, liquid NN, SNN, neural operators, probabilistic neuron variants.PHASE 01Tensor & Computational FoundationsW1–30/8 core targets
Phase deliverable
Predict shapes/indices; verify manual and autograd gradients; independently implement training and validation.PHASE 02Training, Optimization & ProbabilityW4–70/5 core targets
Phase deliverable
Diagnose failed training, interpret held-out error and derive loss/probability relations.PHASE 03Representation Learning & VisionW8–90/4 core targets
Phase deliverable
Trace CNN tensor sizes and parameter counts; explain what a representation preserves.PHASE 04Sequence Models & Modern ArchitecturesW10–130/5 core targets
Phase deliverable
Independent minimal Transformer; check shape, mask, softmax axis, reference output; trace real model.PHASE 05Generative ModelingW14–170/6 core targets
Phase deliverable
Derive DDPM and flow-matching objectives; implement conditional sampling and compare under matched conditions.PHASE 06Foundation Models & Robot LearningW18–210/5 core targets
Phase deliverable
Explain VLM/VLA data flow, objectives, trainable weights and inference; compare held-out rollouts.PHASE 07Physics-aware Model ResearchW22–240/4 core targets
Phase deliverable
Reproducible hypothesis-driven experiment with baseline, metrics, ablations, failure cases and limitations.
Weekly rhythm · 75% foundation / 25% research
6–8 hours per week: 4.5–6 h foundations, 1.5–2 h research. Adjust allocation based on evidence.
Before coding
Define the problem, input/output tensors, mathematical assumptions, and correctness criteria first. Predict shapes, gradients, or behavior independently before asking AI to assist.
After coding
Run real Python / PyTorch experiments; verify with hand calculations, independent references, or finite differences. Implement each core computation independently at least once.
Weekly review
Log conceptual understanding, practical verification, L1–L5 level, experiment links, and next steps. If a phase gate is unmet, adjust the plan instead of forcing progress.
Mastery targets
L1 Recognition → L2 Understanding → L3 Prediction → L4 Application & Verification → L5 Innovation
Fast: close evidence via representative practice; Deep: L4; Working: L3 (L4 when required); Concept: L2–L3; Research: reach L4 first, then target L5 research evidence; Extension: preview L2–L3 only during core.
W25–36 · optional allocation
Not new coursework, and not a promise that research finishes in 12 weeks. Close core gates first, then allocate time to these tracks as needed.
01 · Close core gaps
Redo any unmet gradient, Transformer, generative model, or research verification. Prioritize trustworthy evidence.
02 · GNN & SSM
4.6 Graph Neural Networks; 4.7 State Space Sequence Models. Connect to control dynamics and multi-agent modeling.
03 · World models & RL
6.6 World Models & Model-based RL. Review MDPs, value functions, policy gradients, and actor-critic first.
04 · VLA / structured neurons
Go deeper into 6.5 and 7.1–7.4, comparing structured neurons, physical priors, or alternative architectures without assuming gains beforehand.
Lesson notes
Chapters 1–6 link to 36 published lessons from the syllabus and weekly plan. Each chapter has its own section in the course sidebar. The Lab Coverage Map links directly to a walkthrough in each published lesson.
neural-networks-master/
├── 01-tensor/ # 1.1–1.8 Tensors, gradients, and backpropagation
├── 02-training/ # 2.1–2.5 Optimization and probability
├── 03-vision/ # 3.1–3.4 Representation learning
├── 04-sequence/ # 4.1–4.7 Sequence models and modern architectures
├── 05-generative/ # 5.1–5.6 Generative modeling
└── 06-foundation/ # 6.1–6.6 Foundation models and robot learning
The roadmap also outlines the planned physics-aware model research chapter.