alanjiach@gmail.com

writing

Notes & writeups

An article for Arm Developer, followed by study and research notes.

Notes

16 study and research notes, organized by topic.

Foundations

The math I forget.

Probability, likelihood, and measure

Why probability and likelihood are different objects, what MLE is actually doing, and the measure-theory vocabulary that makes densities, PMFs, and Dirac deltas one thing.

math

Convex optimization

Convex sets, duality, and the conditions that make an optimization problem tractable. Working through Boyd & Vandenberghe.

math

Information theory

Entropy, mutual information, and the coding view of the losses we already train with. Placeholder for notes in progress.

math

Models & training

What each family of model is actually optimizing, and how the pieces get put together.

What each model is actually optimizing

A map of ML paradigms by objective rather than by architecture — which ones are maximum likelihood in disguise, which are bounds, and which are control problems wearing an inference costume.

mathllm

Diffusion, GANs, and what each buys you

Why diffusion optimizes a proxy instead of a likelihood, the things GANs still do better, and the customization techniques stacked on top of image models.

diffusion

Post-training — SFT, RL, and GRPO

Why SFT is forward KL and RL is reverse KL, what actually changes between PPO and GRPO, and how the adapter methods divide up the problem.

llmrl

Distributed training and torch.compile

What DDP and FSDP actually shard, and why torch.compile is a memory and graph optimization rather than anything to do with attention.

systems

GANs and perceptual objectives

The discriminator optimum, perceptual losses, and Wasserstein training.

study notesGANs

Diffusion and score estimation

Forward corruption, noise prediction, reverse sampling, and continuous-time scores.

study notesdiffusion

Papers & research notes

Reading-group writeups.

RL reading group

Running notes from reading group — depth scaling in contrastive RL, TD-JEPA, curriculum learning for RLVR, and skill-driven state abstractions. Discussion included, objections included.

rlpapers