Activation Clustering: Detecting Neural Network Backdoors (2D)
Interactive 2D scatter-plot simulator: a hidden backdoor trigger pulls a poisoned minority of one class into a tight, separated cluster of activation-space coordinates — run the real k-means (k=2) Activation Clustering defense, watch it converge iteration by iteration, and check precision/recall against the planted ground truth.
This simulator plots every sample a poisoned classifier assigns to one output class as a point on a 2D activation-space grid. A hidden trigger pushes a poisoned minority of that class into a tight, separated cluster, exactly as it does in a real backdoored network. Adjust the poison rate, trigger separation and clean-activation spread, then run the real k-means Activation Clustering defense (Chen et al., 2018) to flag the suspected cluster, watch its centroids converge iteration by iteration in the panel below, or reveal the planted ground truth to check how the defense performed — with live precision, recall and a silhouette-style separation score. Drag to pan and scroll to zoom the scatter plot.
Interactive 2D scatter-plot simulator: a hidden backdoor trigger pulls a poisoned minority of one class into a tight, separated cluster of activation-space coordinates — run the real k-means (k=2) Activation Clustering defense, watch it converge iteration by iteration, and check precision/recall against the planted ground truth.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install