Skip to content

Repository files navigation

OrthoLab

Watch neuron death in 20 seconds. Interactive spectral geometry studio for Newton–Schulz, Muon polar updates, update-rank ceilings, and tiny-net singular spectra — all client-side.

Part of the Spectral Training Stack with OptiScale and SpectOptim.

Panels (v0.1)

  1. Orthogonalize — NS singular-value collapse toward 1
  2. Coefficient Lab — (a,b,c) presets + cobweb + (a,b) stability basin heatmap
  3. Spectral vs Adam — anisotropic bowl race
  4. Neuron Death — tall-matrix row norms (Muon / paper Aurora / NorMuon)
  5. Update Rank — Dion-style rank truncation + soft/hard rank
  6. Mini Net — moons MLP with SGD / Adam / Muon / NorMuon
  7. Matrix Playground — paste a matrix: σ, cond, polar
  8. Flight Recorder — import SpectOptim telemetry.csv and replay curves

Pedagogy: intuition / math / code toggles. Shareable scene URLs. Copy PyTorch / SpectOptim snippets (custom coeffs + OptiScale allocate hint). Export SVG / PNG frames for papers. PWA manifest. Low-power mode.

Math notes

  • Jacobi SVD uses a τ≥0 → +1 sign convention (fixes equal-eigenvalue rotations).
  • Newton–Schulz spectra use cheap power iteration mid-run; exact Jacobi only on the final step for small mats.
  • npm test runs vitest coverage for SVD / polar / aspect scale.

Run

npm install
npm run dev

Build static site (GitHub Pages):

npm run build
# dist/ ready to publish

Embed: add ?embed=1 to hide chrome.

Stack

TypeScript + Vite. In-browser Jacobi SVD + Newton–Schulz (no backend, no WASM required for v0.1).

License

MIT

About

Interactive spectral geometry studio for Newton-Schulz, Muon, and neuron death

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages