Great result. One question on the conservation finding: you show learning X bits of SFT data costs roughly X bits of prior knowledge, validated on datasets drawn from the base model's distribution. Do you expect that 1:1 exchange to hold for SFT data that is genuinely out-of-distribution — e.g. teaching new domain knowledge rather than a format or style the model already 'knows'? In that regime the new information isn't just reweighting existing knowledge, so I'd guess the exchange rate could differ, or the capacity curve could shift. Did any of your datasets probe that regime?
Are there related questions along the lines of “what elements could I add to the dataset that would most increase the LoRA size.”
Is there a metric other than size that can describe a LoRA’s… usefulness? Trueness to the original? (Is trueness to the original a positive or negative in this context, anyway?). Then maybe we can formulate questions about things like <usefulness>/<size>.
Cross entropy of a finite dataset measures signal + noise(redundancy, quirks, typos, etc)
If you have 10MB of math data, the underlying task of learning the reasoning pattern might have low entropy and fit in a much lower LoRA rank, even though memorizing the dataset requires more.
On any task like GSM, Math500, Openthought3 this would just be massive overfitting.
Also they assume that the 2M-token context chunking is independent but for example logs are usually not.
---
I think this is good to point out, because the company seems to sell a solution to cram private company wikis into the Lora adapters, so the measures are upper bounds in terms of info due to their assumption of memorization.
> because again it conflates learning with memorization
Honestly I respectfully disagree, the article doesn't try to draw a distinction between task-relevant bits vs noisy bits in its analysis. I think it's worth appreciating that classical theory can extrapolate so far
You raise a good point that in practice we probably want to post-train for an end task later, but it's considerably harder to get a similarly general, straightforward result. And assessing the S/N of domain-specific data is arguably a harder problem (IIUC this is Engram's purported specialty)
The arithmetic coding widget halfway down the blog post is honestly really great. I'm surprised I haven't seen token probabilities expressed as bits of entropy before this.
I particularly like the experiments showing that you forget the same number of bits that you learn. I also like that it is a principled way to select Lora rank for a particular SFT dataset.
keel_dev | a day ago
hinkley | a day ago
natsu529 | a day ago
bee_rider | a day ago
Is there a metric other than size that can describe a LoRA’s… usefulness? Trueness to the original? (Is trueness to the original a positive or negative in this context, anyway?). Then maybe we can formulate questions about things like <usefulness>/<size>.
augment_me | a day ago
Cross entropy of a finite dataset measures signal + noise(redundancy, quirks, typos, etc)
If you have 10MB of math data, the underlying task of learning the reasoning pattern might have low entropy and fit in a much lower LoRA rank, even though memorizing the dataset requires more.
On any task like GSM, Math500, Openthought3 this would just be massive overfitting.
Also they assume that the 2M-token context chunking is independent but for example logs are usually not.
---
I think this is good to point out, because the company seems to sell a solution to cram private company wikis into the Lora adapters, so the measures are upper bounds in terms of info due to their assumption of memorization.
XTXinverseXTY | a day ago
augment_me | a day ago
Better titles could be:
Predicting the LoRA rank needed to overfit a dataset on Qwen-0.8B
or
How much can a LoRA memorize?
XTXinverseXTY | 23 hours ago
Honestly I respectfully disagree, the article doesn't try to draw a distinction between task-relevant bits vs noisy bits in its analysis. I think it's worth appreciating that classical theory can extrapolate so far
You raise a good point that in practice we probably want to post-train for an end task later, but it's considerably harder to get a similarly general, straightforward result. And assessing the S/N of domain-specific data is arguably a harder problem (IIUC this is Engram's purported specialty)
NooneAtAll5 | a day ago
thomashabets2 | 23 hours ago
Or maybe they didn't find anything, because they used bing?
Samin100 | 23 hours ago
morgan_J | 16 hours ago
undutwa | 15 hours ago