New Theory Computes Minimum LoRA Rank for Any SFT Dataset with Under 5% Error
realJessyLin · x · 2026-11-25
Engram Lab published a derivation that computes the exact minimum LoRA rank needed for any SFT dataset, with real-world prediction error below 5%.
- The framework treats training as a relationship between dataset and model capacity, enabling exact post-training loss prediction and explaining forgetting via "conservation of capacity."
- In their plot, the LoRA rank required to fit real datasets (Harvey C&H, swebench-django, GSM8K, MATH-500, OpenThoughts3, Tulu 3, etc.) falls precisely on the predicted curve across mlp[23] and all-linear settings.
- Practical takeaway: you can determine the right rank before fine-tuning instead of grid-searching by trial and error.
More from coding & agent
- Antigravity adds MCP Apps support with live Vercel sandbox desktops in editor — steren · 2026-11-25
- OpenAI adds per-session budget controls and pre-warmed sandbox pool to Agents API — OpenAIDevs · 2026-11-25
- Safari ships with a built-in MCP server — enable remote automation and let Claude drive the browser — EricBuess · 2026-11-25
- Skillsync, YC-backed, lets you publish AI skills others can reuse in their chats — rohanpaul_ai · 2026-11-25
- Stop wiring 25 custom MCP tools to your warehouse — use one semantic layer CLI instead — Evening_Hawk_7470 · 2026-11-25
- Free AI lecture collection: Karpathy, Anthropic engineers, Jensen Huang all in one place — adnan_hashmi · 2026-11-25