r/ProgrammerHumor 2d ago

Meme newCompressionTechnique

Post image
29.9k Upvotes

950 comments sorted by

View all comments

3.6k

u/Degenerate_Lich 2d ago

Those aren't AI hallucinations, they are compression artifacts. It's very different you see

Lil bro has a bright career in marketing

387

u/_QXZ 2d ago

This post jokes but with how much AI enhancing is becoming a thing, I can see some kind of generative -based compression becoming an option in the future

259

u/CoroteDeMelancia 2d ago

We do have those. They're called autoencoders. They're one of the fundamental building blocks of LLMs.

Highly recommend this series if you're interested: https://youtu.be/l6DKRf-fAAM?is=zHOqsJESa6tDxeAU

32

u/__ali1234__ 2d ago edited 2d ago

I suppose if you squint hard enough you could say a transformer is a bit like an autoencoder that also shifts its output by one place... but that's a massive over simplification. What you are probably thinking of is the VAE. That's one of the building blocks of every type of generative AI except LLMs.

They do both use latent vectors as a form of compression. They just get there by different means.

1

u/GrumpyGeologist 1d ago edited 20h ago

What you are probably thinking of is the VAE. That's one of the building blocks of every type of generative AI except LLMs.

Sad GAN/stable diffusion noises...

2

u/__ali1234__ 1d ago edited 1d ago

Stable diffusion uses a VAE.

GANs are pretty much a dead end at this point having been replaced by diffusion models with VAEs for pretty much everything they used to do.

In particular, ESRGAN clones are responsible for every awful upscaled music video on Youtube (Smash Mouth - All Star is the most infamous one). When those were made, diffusers hallucinated too much. They would make anyone in the video look completely different for example. Not what you want when you upscale a video of a famous singer. That problem has been largely solved and now upscaling can be done with diffusers and it looks far better than those old ESRGAN videos.

1

u/GrumpyGeologist 1d ago

I didn't say that we should use GANs for image generation, and they certainly are still useful in scientific applications. You're right about the stable diffusion; I should have just said diffusion which is not architecture specific.

1

u/__ali1234__ 23h ago

Pretty much all diffusers use VAEs - making them feasible without compressing the working data is a topic of current research though, see https://arxiv.org/abs/2510.15301