Robust Classifier Margins: Perturbation Budgets, Mislabelled Data and Robustness Curves
A defensive look at the robustness of a machine-learning classifier, using a transparent two-feature linear model. See how the distance of each point to the decision boundary decides how large an input change it can survive, measure accuracy against a perturbation budget, then train with a robustness budget, corrupt a share of the training labels and apply a trimming defence. A Blender-built lab table with a live probability surface, with seven numerical checks. Educational only: a toy model, no attack tooling.
A minimal nearest-centroid classifier splits a 3D feature space into two classes with a flat decision boundary. Switch between an evasion attack, which perturbs a single input vector until it crosses the boundary, and a data-poisoning attack, which injects mislabeled training points that pull the boundary itself out of place.
A defensive look at the robustness of a machine-learning classifier, using a transparent two-feature linear model. See how the distance of each point to the decision boundary decides how large an input change it can survive, measure accuracy against a perturbation budget, then train with a robustness budget, corrupt a share of the training labels and apply a trimming defence. A Blender-built lab table with a live probability surface, with seven numerical checks. Educational only: a toy model, no attack tooling.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install