Oxideon — Live Deep Learning in WebAssembly

Runs the real oxideon-core tensor engine, reverse-mode autograd, and AdamW optimizer locally in your browser with zero server calls.

Loading WebAssembly module...

1. Live Neural Network Training (Rust Autograd + AdamW)

160 points

Trains a 2-hidden-layer MLP (Linear → tanh → Linear → tanh → Linear, cross-entropy loss, AdamW) directly inside Rust WASM. Click the plot to paint custom data points and watch the decision boundary adapt.

Steps0
Loss-
Accuracy-
Step Time-
Hover plot to query WASM probabilities; click to add a point.
Emerald: cross-entropy loss · Blue: classification accuracy (%).

2. Reverse-Mode Autograd & Gradient Verification

Builds a live computation graph in Rust WASM, calls loss.backward(), and compares exact analytical gradients against double-precision numerical finite differences.

Loading...

3. Matrix Multiply: WASM Speed & Float64 Accuracy

Multiplies two random n×n f32 matrices in WebAssembly and compares latency and worst ULP error against naive JavaScript loops and an f64 reference.

Loading...

4. Activation Curves vs Exact Float64 Reference

Evaluates 2,000 points on [-6, 6] in WASM (solid) over exact float64 JS curves (dashed). Move cursor over the plot to inspect exact values.

Hover plot to inspect activation values at x.

  

5. Numerically Stable Softmax

Scales logits past float64 exp() overflow (~709). Naive JS overflows to NaN; Oxideon subtracts max logit before exponentiating.

Loading...
⌂ Proxy