Explore the research collection
3 entries · Follow this search
- Post
Evals: How to Know Whether an AI System Actually Works
Long-form, plain-language guide to evaluating LLM-based systems, aimed at engineers, PMs, and CEOs. Grounded in a runnable tutorial on a fictional bike-shop support assistant (triage/answer/agent components; 80 tickets split 20 dev / 60 test). Defines the four-step eval loop: curate inputs with gold answers, run the system, grade outputs, report one number with an error bar. Grader comparison: code rules (cheap, exact, blind to meaning); LLM-as-judge (flexible but biased — must be calibrated with human labels and binary yes/no questions; their run: 60% agreement with humans, Cohen's kappa 0.15, five judge biases); judge panels; small hallucination detectors (HHEM, LettuceDetect, MiniCheck, SelfCheckGPT); typed judges (TypeSafe's Jev). Stresses honest statistics: confidence intervals, paired comparisons, detection floor. Benchmark caveats: harness dependence, contamination, saturation, redundancy. Covers RAG and agent grading (pass^k, cost, reliability), a tools/frameworks landscape (Inspect AI, lm-evaluation-harness, promptfoo, DeepEval, RAGAS, Langfuse, Phoenix, LangSmith/Braintrust, Opik/MLflow/Weave, HELM, evalica, Selene-Mini/Prometheus 2/Flow-Judge), an approaches comparison table, a decision guide, 'Fifteen things to carry away', and an extensive references list. Directly relevant to the user's Model Axes eval platform. Reported numbers: triage accuracy 0.700, 95% CI [0.583, 0.817].
- Post
How Diffusion Policies Work: From VAEs to Flow Matching in Robot Learning
Educational explainer on diffusion policies in robot learning, written as the author wished they'd been taught. Builds from first principles: why plain VAEs blend demonstrations and how hierarchical VAEs help; diffusion as a special case of a hierarchical VAE and why it works; how Diffusion Policy brings this to action-policy learning (with the author's own reimplementation/tweaking results and a denoising animation); how DDIM takes fewer steps; and how flow matching straightens the path into a simpler recipe and reframes diffusion. Framed as the techniques behind Diffusion Policy, NVIDIA's GR00T models, and most pi (π) models; aimed at ML practitioners new to robot learning. The author also announced an upcoming sim-to-real RL project with a physical SO-101 robot arm, to be documented on X. Resource-sharing, not a research paper.
- Post
How to Train a Neural Net: Lecture Notes (MIT 6.7960 Deep Learning, Fall 2024)
Concise mathematical treatment of how a neural network learns its weights during training, from MIT's 6.7960 Deep Learning course (Fall 2024). Covers the forward pass, loss functions, gradients, backpropagation, and gradient-based optimization — aimed at moving from high-level intuition to a rigorous understanding of training math. Lecture 2 notes; a tip in the thread notes all 20+ lectures can be downloaded from the course's OCW page. Resource-sharing, not a research paper.