Shikai Qiu Profile picture
Jul 14 9 tweets 4 min read Read on X
How far can we compress billion-parameter LLMs? We introduce requential coding, which achieves < 1-bit per param compression, and explains why scaling doesn't hit a generalization wall!

w/@m_finzi, @YujiaZheng9 ,@kunkzhang, @andrewgwils
1/🧵 arxiv.org/pdf/2607.11883Image
Existing compressors are blind to what a model actually learns. Post-training quantization pays at least the model size, while prequential coding pays for the full data entropy. Requential coding codes only the signal for improving the model, yielding much shorter codes. 2/🧵 Image
We code a student P that generates its own training data, with a teacher Q selecting which samples to actually train P on. Using relative entropy coding, student’s code records only these selections w/ ~KL(Q||P) bits per sample, and the selected data is distributed as Q.

3/🧵 Image
Such a powerful compressor reveals a range of phenomena inaccessible to previous methods. We show that larger models and ensembles can be compressed to smaller sizes at fixed loss despite having more parameters, breaking 1-bit per param floor achievable by standard PTQ. 4/🧵 Image
Compression implies generalization. Plugged into a PAC-Bayes bound, our code shows LLMs provably generalize better with scale both when holding dataset fixed and trained compute optimally, where code bits per param and certified generalization gap vanish as a power law!
5/🧵 Image
It’s worth pausing to reflect on the significance of this finding. If this were not true, the modern scaling paradigm could have run into a wall set by an irreducible generalization gap where further scaling lowers training loss but no longer improves test performance. 6/🧵
The requential code also sheds light on a range of other key generalization phenomena. It predicts the gradual buildup of overfitting under multi-epoch training due to memorization, a process invisible to parameter-based compression. 7/🧵 Image
Its code length measures how much information in a dataset is learnable to the model, i.e., epiplexity, rather than random, unpredictable content, a question the prequential code fails to answer and is inaccessible to parameter-based compression. Much more in the paper! 8/🧵 Image
Much more in the paper! Check out our code at
9/🧵github.com/shikaiqiu/requ…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Shikai Qiu

Shikai Qiu Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(