LoRA Adapter Lab: Low-Rank Fine-Tuning Without Forgetting
Watch a low-rank adapter ΔW = B·A learn a new task on top of a frozen base weight matrix in real 3D, swapping task-specific adapters without ever touching the shared base weights.
This simulator renders a real weight matrix as a 3D heightfield and shows exactly how Low-Rank Adaptation (LoRA) fine-tunes it: instead of training every entry of a d×d matrix, two small factor matrices B and A are trained so that their product, scaled by α/r, forms an additive update on top of a frozen base. Switch between two independent task adapters — each with its own target pattern and its own B/A pair — and watch gradient descent shape the update live, while the shared base grid never moves. That separation is the whole point: because each task's knowledge lives in its own small adapter rather than in the shared weights, learning Task B can never overwrite what Task A's adapter learned, which is the core trick large language models use to add new skills without catastrophic forgetting or the cost of a full fine-tune.
Watch a low-rank adapter ΔW = B·A learn a new task on top of a frozen base weight matrix in real 3D, switching between task-specific adapters without ever touching or overwriting the shared base — the parameter-efficient alternative to full fine-tuning that avoids catastrophic forgetting.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install