Depthwise Separable Convolution: MobileNet's Efficiency Trick
Interactive 3D comparison of standard convolution against MobileNet's depthwise-separable convolution: watch a kernel slide across a feature-map stack while live FLOP and parameter counts show how splitting a filter into per-channel and 1x1 stages cuts computation.
Every convolutional neural network for computer vision spends most of its compute budget sliding filters across feature maps. This simulator renders that sliding-window mechanic in 3D and puts a real efficiency trick next to it: MobileNet's depthwise-separable convolution, which factors a standard K×K×Cin→Cout filter into a cheap per-channel depthwise pass and a 1×1 pointwise pass that mixes channels. Change the kernel size and the input/output channel counts and watch the two cost towers — standard convolution versus depthwise-plus-pointwise — update from the exact multiply-accumulate and parameter-count formulas used in the MobileNet paper, with a live speedup readout showing exactly how much cheaper the factored version is.
Compare standard convolution against MobileNet's depthwise-separable convolution in 3D: watch a kernel slide across a feature-map stack while live FLOP and parameter counts show how splitting a filter into per-channel and 1x1 stages cuts computation by up to 8-9x.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install