r/programming • • 11d ago • Obsessed 1

tufazip: Learning to Compress a Billion Bytes of Wikipedia

https://tufalabs.ai/research/tufazip/
202 Upvotes

35 comments sorted by

98

u/girusatuku 11d ago

There a fantastic 3Brown1Blue video that just came out on this exact topic!

62

u/Predestined8 11d ago

3blue1brown * 😂

6

u/Zymoox 10d ago

3brown3blue

2

u/robisodd 10d ago

9Blue3Brown/3

38

u/48panda 11d ago

I give it a 95% chance that that video caused this post.

40

u/Booty_Bumping 11d ago

Notably, the weight update from learning and next-token probabilities must be fully deterministic in order for the algorithm to be lossless

I've heard modern GPU shader compilers treat floating point arithmetic kinda like -ffast-math but on steroids. Wouldn't want to have a GPU driver update screw up all your math.

13

u/James20k 10d ago

It depends what language you're using, as well as the hardware, but in general it isn't this bad. If you use something like OpenCL/Cuda you can get precise FP behaviour assuming that your hardware actually properly supports IEEE, and they support a fast math switch (-cl-fast-relaxed-math/--use_fast_math)

GLSL compiles with a fast math equivalent turned on by default, but you can use the precise qualifier to turn it off

That said, I don't know about the tensor hardware that comes with these chips and how easy it is to prevent the compiler doing weird crap with it

10

u/aes110 10d ago

Very interesting, I'll take the time to fully read it later

That being said looks like you need 2 NVIDIA B200 GPUs, and with that it takes 2 full weeks to compress and another 2 weeks to decompress, so for now it's a not really useful i guess

14

u/FearzuCards 10d ago

What's the Weissman score though?

4

u/yipyip_alien 10d ago

It's like 1.06 AFAIK

2

u/freddylmao 10d ago

Why is it listed as #13 in the benchmark website?

1

u/work_stuff_123 8d ago

The other entries came after

1

u/cscottnet 11d ago

Nice writeup!

-23

u/elmuerte 11d ago

And this is any many see LLMs as lossy compression algorithms, implying that copyright of the training material does not get "lost" in the process.

22

u/SunshineBiology 11d ago

Did you read and understand the method in the post?

4

u/yeah-ok 11d ago

😂 , no but let's go: words!

10

u/FeepingCreature 11d ago

A large part of intelligence in general is lossy compression. Lossy compression beyond a certain point does erase copyright, that's why it's copyright and not imitationright.

3

u/efvie 11d ago

This entire discourse is just incredibly poorly premised and plays with semantics. And that's not really how intelligence works either, that's trying to retrofit a concept to justify some outlandish claims.

LLMs steal labor and directly compete against that same labor and do so in ways completely unimaginable at the time of drafting copyright protection laws.

-1

u/sccrstud92 10d ago

I would love to hear your definition of how intelligence works.

2

u/Full-Spectral 10d ago

I won't get into that argument, but his second point is valid. And of course the really dangerous thing is that it then discourages the very activity, and the development of the skills behind it, that provided that massive chunk of labor to steal and profit from.

-4

u/Bakoro 10d ago

Anti-Ai people will never, ever give you a concrete answer, because they refuse to accept accountability for anything they say, and they don't actually know or understand how any of it works.

You can point to a body of academic work that demonstrates that computers are essentially doing the same functions as biological brains, but they won't read those papers and they'll make up some bullshit and go "nuh uh, AI Isn't real", and then probably insult you.

I've been blocked by a lot of people because I brought facts where they brought nothing but vapid hate mongering.

2

u/Syd_Jester 10d ago

What in the absolute fuck does ai doing the same function as biological brains have to do with the argument that the companies that make them stole people's labour and then undercut the people whose labour they stole on that same labour? You were probably blocked for bringing up a bunch of straw men and non-sequitors when anti ai people tell why they are anti ai, rather than address their concerns.

2

u/Bakoro 10d ago

AI doing the same functions as biological brains is relevant to the arguments when the arguments include what "intelligence" is, or isn't.

You're free to whatever ideological objections you want.
I am free to disagree and think your opinions are unjustified and selfish.
I'm free to point out that a lot of arguments are bizarre corporate bootlicking.
People are not entitled to deny reality without objection.

We could have respectful conversations while holding different opinions about the subjective matters.
What happens essentially every time, is that the anti-AI people refuse to engage honestly, and they continually make ignorant statements, refuse evidence, and refuse to actually make concrete arguments, so there can't actually be any conversation.

So, after years of making an honest effort at talking to people, I'm basically done.

1

u/chucker23n 9d ago

You can point to a body of academic work that demonstrates that computers are essentially doing the same functions as biological brains

Let's ask LLMs how they feel about that.

Gemini:

"No, a Large Language Model (LLM) does not perform the same functions as a biological brain, though it shares some computational parallels in language and pattern processing."

ChatGPT:

"Only partly. An LLM can perform some of the same tasks a brain can, especially those involving language. It can translate, summarize, answer questions, and work through some problems. But a biological brain also integrates sensory input, controls movement, regulates the body, and learns from experience throughout life.

Even where the tasks overlap, the mechanisms differ."

Claude:

"No, not in any complete sense. There's real overlap in a few areas, but the differences are large, and it's an open question how much the overlap matters."

But hey, thank you for playing!

0

u/Bakoro 9d ago

Here's just one paper that demonstrates that transformers are doing the same thing as place and grid cells:

https://arxiv.org/abs/2112.04035

Maps of fruit fly brains have shown that their optical lobe is functionally a convolutional neural network, their mushroom bodies are wired like Kanerva sparse distributed memory, and part of their brain is a recurrent neural network.

The wiring and activations are almost identical.

You can make up whatever you want but the science is there, and the facts are facts.

2

u/yoyojambo 9d ago

That paper is much more conservative in its claim than saying transformers do "the same thing". But even so, does that change anything about the arguments you read in the thread?

Nobody is discussing similarities between our models of brain function and LLMs except you.

You are free to disagree on the ideological opinions about the development of LLMs and their need for direct verbatim use of copyrighted works, but you aren't even discussing those points. Who are these people saying "AI isn't real"?

1

u/Bakoro 9d ago

Lol, the denialism is astounding.

2

u/yoyojambo 9d ago

The psychosis is palpable.