Frozen W A plate (in) B plate (out) Data pulse
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

PEFT / LoRA Rank Bottleneck — 3D

This scene renders LoRA's low-rank adaptation spatially rather than as a matrix heatmap: a wide, dimmed platform of instanced cubes represents the frozen weight matrix W — untouched throughout training — while a narrow funnel above it shows the trainable path a forward pass actually takes through A and B, squeezing from d channels down to just r at the waist before expanding back out. Glowing pulses travel through the funnel to make the bottleneck tangible: widen the rank r and the waist opens up; shrink it and the funnel pinches to almost nothing while the frozen platform (d) stays exactly as large as before. The same trainable-parameter, percentage and compression stats as the 2D view update live as you drag the sliders.