A trained neural network typically has far more weights than it strictly needs to reach its accuracy — many connections end up with a magnitude near zero and contribute almost nothing to the output. Pruning identifies and removes these low-value weights (or entire neurons), shrinking the model and speeding up inference with little to no loss in accuracy, up to a point.
Some production pruning techniques remove over 90% of a network's weights while keeping accuracy within a percentage point of the original — a core trick for running large models on phones and edge devices.
A layered 3D network where you set a pruning threshold and watch low-magnitude weights — or, in structured mode, entire neurons — fade out while a live estimate tracks how much accuracy the network would retain.
Unstructured pruning strips individual weak connections for maximum sparsity; structured pruning removes whole neurons for a smaller, faster-to-run network. Both trade some accuracy for size once pushed past a "knee" in the curve.
Drag the prune threshold to remove weak weights, toggle structured mode to prune whole neurons instead, resize the hidden layers, and watch sparsity and estimated accuracy update live. Regenerate weights to try a fresh random network.
Modern pruning pipelines can remove over 90% of a network's weights and still land within a percentage point of the original accuracy after a short fine-tuning pass — a key trick for shrinking models onto phones and edge devices.