ResearchNovember 2026
Four deep dives for going deep: low-precision LLMs, concentration inequalities, the problem of consciousness, and building an interactive explainer. Plus ten hard problems and a plan for each language. This package came late in the month, so treat it as a menu. Start whatever pulls you, whenever it suits you. Nothing needs finishing.
New in AI deep dive
New in AI: low-precision LLMs, from GPTQ to FP4 training
Quantization is one of the busiest topics in this month's papers. Models now ship in 4-bit, and labs pretrain in FP4 on new hardware. Knowing why outliers break naive rounding, and how block scaling fixes it, explains a lot of what makes inference cheap today.
Goal. Explain and implement the core ideas behind modern LLM quantization: rounding error, outliers, second-order weight updates (GPTQ), activation-aware scaling (AWQ, SmoothQuant) and block-scaled formats (MX, NVFP4).
Before you start. linear algebra (least squares, Hessians), PyTorch basics, how a transformer layer works
Main resource
- GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers, Frantar, Ashkboos, Hoefler, Alistarh, 2022, Sections 1-3 (paper)
- Week 1: Number formats and rounding error
- Read the Visual Guide to Quantization up to the end of post-training quantization
- In a notebook, quantize a random weight matrix to INT8 and INT4 with absmax and zero-point schemes and plot the error
- Add a few large outlier values and watch the error explode
- Week 2: GPTQ: quantize one column, fix the rest
- Read GPTQ Sections 1 to 3 and the Optimal Brain Quantization background
- Derive the GPTQ update for one weight from the layer-wise least-squares objective
- Implement a simple GPTQ for one linear layer on calibration data and compare with round-to-nearest
- Week 3: Outliers in activations: SmoothQuant and AWQ
- Read SmoothQuant Sections 3 and 4 and AWQ Section 3
- Explain in your own words why moving scale from activations to weights is mathematically free
- Measure per-channel activation magnitudes in a small open model and find the outlier channels
- Week 4: Block scaling and FP4 training
- Read the Microscaling (MX) formats paper Sections 1 to 3
- Read the NVFP4 pretraining paper introduction and method sections
- Implement block-scaled FP4 fake quantization for a weight matrix and compare it with per-tensor INT4
Resources
- A Visual Guide to Quantization, Maarten Grootendorst (blog)
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models, 2022, Sections 3-4 (paper)
- AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration, 2023, Section 3 (paper)
- Microscaling Data Formats for Deep Learning, 2023, Sections 1-3 (paper)
- Pretraining Large Language Models with NVFP4, 2025 (paper)
Exercises
- Show that for absmax INT8 quantization the worst-case error grows with the largest value in the tensor. Why do outliers hurt?
- Derive the optimal update to the remaining weights after quantizing one weight, given the layer Hessian H = 2XX^T
- SmoothQuant divides activations by s and multiplies weights by s. Prove the layer output is unchanged, then explain what changes for quantization
- Compute the effective bits per value of a block-scaled format with 4-bit elements, block size 16 and an 8-bit scale
Make. A notebook that quantizes one real linear layer four ways (round-to-nearest, GPTQ, AWQ-style scaling, block-scaled FP4) with an error table and a short explanation of each.
Done when. The notebook runs end to end and you can explain to a colleague, without notes, why block scaling handles outliers better than one scale per tensor.
Pull it together. Write half a page: where does the remaining error come from after all these tricks, and what would you test next?
If the month gets busy. Weeks 1 and 4 only: the visual guide, the outlier experiment and block-scaled FP4.
Possible next step (not scheduled). Possible later milestone: quantization-aware training, or KV-cache quantization for long context. Not scheduled.
Researcher
Fundamentals deep dive
Fundamentals: concentration inequalities and your first generalization bound
Every claim that a model generalizes, and every confidence interval on a benchmark score, rests on concentration. Deriving Markov, Chebyshev, Hoeffding and the union bound yourself turns them from facts you recall into tools you can bend. It also makes evaluation papers easier to judge.
Goal. Derive the main concentration inequalities from scratch and use them to prove a generalization bound for a finite hypothesis class, then apply it to a real question about benchmark sample sizes.
Before you start. probability: expectation, variance, independence, basic calculus
Main resource
- High-Dimensional Probability, Roman Vershynin, Ch. 2 (book)
- Week 1: Markov, Chebyshev and the Chernoff method
- Read Vershynin, High-Dimensional Probability, Ch. 2, Sec. 2.1-2.2
- Prove Markov and Chebyshev from one line each
- Derive the Chernoff bound for a sum of coin flips using the moment generating function
- Week 2: Hoeffding and sub-Gaussian variables
- Prove Hoeffding's lemma, then Hoeffding's inequality, with hints from Vershynin Sec. 2.2
- Read Wainwright, High-Dimensional Statistics, Ch. 2, Sec. 2.1
- Simulate sums of bounded variables and plot the true tail against the Hoeffding bound
- Week 3: PAC learning and the union bound
- Read Shalev-Shwartz and Ben-David, Understanding Machine Learning, Ch. 2-4
- Prove that finite hypothesis classes are agnostic PAC learnable using Hoeffding plus the union bound
- Do exercises 4.1 and 4.2 from Understanding Machine Learning
- Week 4: Use it on a real question
- Work out how many test examples you need to tell apart two models whose accuracies differ by 1 point, at 95 percent confidence
- Read Understanding Machine Learning Ch. 6 on VC dimension (skim the proofs)
- Write a one-page note: what concentration does and does not guarantee about a benchmark result
Resources
- Understanding Machine Learning: From Theory to Algorithms, Shai Shalev-Shwartz and Shai Ben-David, 2014, Ch. 2-4 and 6 (book)
- High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Martin J. Wainwright, 2019, Ch. 2, Sec. 2.1 (book)
Exercises
- Prove Markov's inequality, then get Chebyshev from it in one line
- Prove Hoeffding's lemma: for X in [a, b] with mean 0, E[exp(tX)] <= exp(t2 (b-a)^2 / 8)
- With n test examples, how wide is a 95 percent Hoeffding interval on accuracy? Compare with the normal approximation
- Show that a finite class H needs about log(|H|/delta)/epsilon^2 samples for agnostic learning
Make. A short note with your own derivations of Chebyshev, Chernoff and Hoeffding, the finite-class bound, and the benchmark sample-size calculation.
Done when. You can derive Hoeffding's inequality on a blank page and say how many test examples a 1-point accuracy gap needs.
Pull it together. Where do these bounds break for modern deep networks, and what does that say about how we should report evaluation results?
If the month gets busy. Weeks 1 and 4: the Chernoff method and the benchmark sample-size question.
Possible next step (not scheduled). Possible later milestone: Rademacher complexity and PAC-Bayes bounds. Not scheduled.
Researcher · Knowledge Explorer