An intuitive understanding of LLMs

When we talk about AI today, we pretty much talk about LLMs. We're being told that they are able to (or very soon able to) fully replace some human workers. I'm writing this to help put some context to that statement. I'm trying to be concise; my priority with this text is for it to be accessible.

To be able to understand what an LLM is, we'll take a detour to compression algorithms.

There are two categories of compression: lossless compression and lossy compression.
Lossless compression
This will always get back the exact data you had before compression. You're using this right now, in your browser. It's most often done by applying known predefined algorithms designed to find and efficiently describe patterns. The compression ratio is decided by the effectiveness of the algorithm and how much computing power and memory you provide.
Lossy compression
In this case you lose data when you compress. This is often done by looking for things that can be removed without us noticing, such as high pitch sounds and dark colors, in combination with approximations of patterns. The compression ratio here is decided by the same as lossless compression, but also by how much quality degradation you can accept. This is what's used in most photographs and videos, and is what's responsible for JPEG images sometimes being blocky.

Historically, text has almost exclusively been used with lossless compression. LLMs are a genuinely a revolutionary change to that. LLMs are not compression in the traditional sense, where you'd expect the compressed file to grow when you give it more data, compressed by a predefined set of algorithms. With LLMs you create the output file from the start, then you take an arbitrary amount of data and optimize the parameters in that existing output file to be able to approximate the data you provide.

I get that some of you will have an instant reaction of this comparison being ridiculous. If you're one of those people, I would like to direct you to a study where researchers could get LLM models to recall (near-verbatim) 95.8% of the first Harry Potter book and 95.5% of 1984. While OpenAI claims that this doesn't count, because it's tricking their model, it still proves that the data is there.

Intelligence

If you think of LLMs as just lossy compression, then where does the intelligence come from? I have identified the following sources:As you may have noticed, this list is kind of problematic in the sense where it quickly deteriorated from sources of intelligence to pillars upholding the illusion of intelligence.

Anthropomorphism

Anthropomorphism is the ascribing of human personality, appearance, conduct, cognition, or other attributes to non-human entities, often including non-human animals.

Let's break down some of this anthropomorphism, and why I find it problematic. I have skipped some obvious ones, such as calling it AI agents or voice models breathing and laughing, and focused on the ones that are a bit more subtle.

Why does it matter?

My point with this clog post is that we all perpetuate the illusion of intelligence. Terminology and framing matters, and accepting and using their terminology makes us participants. Thinking of LLMs as AI creates an abstract entity with hard to define properties, and it becomes very easy to fall into the anthropomorphism trap. On the other hand, if you think of LLM models as lossy text compression, it will help you understand what LLMs are actually capable of, and even somewhat what they will be capable of in the future. Most importantly, it will help you understand what it isn't; It's not your therapist; It's not intelligent; It's not self aware; It's not your friend; Any belief to the contrary is dangerous. We may some day create an actual AI, but it will not be an LLM. You may rightfully argue that this is an oversimplification, but I find that it still matches the behaviors of LLM models way closer than any other mental model.

The reason that I find this to be incredibly important is a problem that is given way too little attention: If our children believe the AI promise, then what incentive do they have to educate themselves? If they don't educate themselves and the AI promise isn't fulfilled, what will happen to knowledge professions?

While I would like to believe that LLMs are without value, that's not what I'm saying. I don't agree that they are important enough to displace global environmental sustainability, but they are useful. That said, when you hype the technology to people in power that don't understand what the technology really is, they're going to make sure to promote it to a level of respective incompetence. I am very confident in my belief that LLMs won't have an uprising and hack nuclear missile facilities, but my confidence in the leaders of the world to not try to pigeonhole LLMs into surveillance or weapon systems is a lot lower.