Sam Babichenko

Reading notes

Decision meshes

Live WebAssembly explorer: Decision Mesh · How it works, step by step

Modeling agency mortgage terminations requires fitting sharp local elbows across loan age, coupon, and balance while pools span four orders of magnitude in size and exhibit heavy binomial overdispersion. Decision meshes build a piecewise multilinear logit surface through adaptive local refinement, gating every candidate split statistically and pooling pool-level shocks so giant pools cannot drown out smaller cohorts.

Three coupled layers stabilize the fit. Anisotropic dyadic rectangles replace conforming triangles with birth-parent continuity and a sparse nodal basis, dropping retirement passes and halving runtime. Mean-neutral centering and centered conditional-mode estimation remove Jensen and PQL bias while capping every pool's effective information near 1/v1/v. Refit-adjusted candidate scores, Lindsey's empirical null, and EM depth shrinkage then guard refinement against noise and variance collapse.