Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by 7373737373 on Tuesday June 23, 2026 @11:27AM
(#48646600)
What does it compress the full 1GB file to? http://prize.hutter1.net/
[ Parent
| on HN ]
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by spidy__ on Tuesday June 23, 2026 @11:35AM
(#48646720)
I tried it on a enwik9 100 mb slice and was able to compress it to 20 mb + 900kb transformer so 21mb.
I know the top submission was able to get it to 13 mb.
Still trying some ideas to get better compression.
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by gravypod on Thursday June 25, 2026 @11:56PM
(#48682164)
Since you know the size of the file beforehand you may be able to overfit some kind of text diffusion model instead of a transformer? May allow you to partially correct the model output using some other method and then fill in the blanks that were wrong from previous generations.
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by spidy__ on Friday June 26, 2026 @02:12AM
(#48682926)
Oh, sounds interesting. I hadn't considered using a diffusion model for this. My current approach generates the document byte by byte with an autoregressive transformer, so I'm curious how a diffusion model would improve memorization or reconstruction quality.
Can you point me to something that i can read? I really wanna try this approach , diffusion model does sounds interesting for compression.
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by atiedebee on Friday June 26, 2026 @07:59AM
(#48685610)
Which slice? The large text compression benchmark uses enwik8 for a "smaller" input that is easily reproducible. The predictability of enwik9 can vary significantly depending on where in the file you are, as shown by Matt Mahoney https://www.mattmahoney.net/dc/textdata.html
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by purple-leafy on Thursday June 25, 2026 @05:28PM
(#48679435)
Thanks for the link!
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by cellular on Thursday June 25, 2026 @11:40PM
(#48682092)
Maybe everyone should compress the 1st 100MB worth of digits of pi, for an apples-to-apples comparison?
Edit: oh wait that's too easy. Need to generate /publish random digits so everyone can use it.
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by saulpw on Thursday June 25, 2026 @11:47PM
(#48682125)
random digits aren't compressible though?
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by SV_BubbleTime on Thursday June 25, 2026 @11:51PM
(#48682142)
Random digits are compressible though.
Random data does not mean it does not match a pattern in your dictionary for example.
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by gnabgib on Thursday June 25, 2026 @11:56PM
(#48682167)
No.. they're not. Do you understand random (the apparent or actual lack of definite patterns or predictability[0]) or compression (reduces bits by identifying and eliminating statistical redundancy[1])?
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by thin_carapace on Friday June 26, 2026 @12:22AM
(#48682284)
by this definition, a random dataset could apparently present no patterns, while presenting non apparent patterns.
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by ufocia on Friday June 26, 2026 @12:58AM
(#48682488)
Sounds like presenting no patterns, apparently or otherwise, would be a pattern in itself.
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by saulpw on Friday June 26, 2026 @11:49AM
(#48688061)
That's like a teenage "i am very smart" thinking. I mean sure we can look at some string of random bits and say "that looks random" but you can't just generate any old string of random bits to replace it (which would be the only 'pattern' that could be leveraged for compression here). If it's encrypted it'll also appear random, and therefore not be compressible, but you have to encode every byte exactly or the message won't be decryptable.
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by IncreasePosts on Friday June 26, 2026 @03:33AM
(#48683503)
Over infinite runs, you can't compress random data, but that doesn't mean any finite string of random digits is incompressible
Re:Overfitted a 900KB Transformer to Compress a 100MB CSV in...
by gcr on Friday June 26, 2026 @09:30AM
(#48686433)
I could write a program to generate the first 100MB of pi in a couple kilobytes. That certainly counts as “data compression” but isn’t useful outside this particular problem instance.