by Animats · 3y ago · 0 comments
Large language models are alien. They are a new thing, not artificial general human-like intelligence. They sort of think, but not at all like humans, and not at all like previous concepts of artificial intelligence from science fiction.
We don't really know how they work inside. They show indications of developing some kind of internal world model. They can play chess and Othello. But we don't know what form that world model has. They do not, in a fundamental sense, know what they are doing, and are prone to serious errors because of that.
Despite this, they're really good at language-oriented tasks. This is both useful and upsetting. Humans have now had shoved in their face that many tasks considered "intellectual" can be done by systems that internally are simple, but very large. It also makes humans realize that much human intellectual activity is just autocomplete. This includes tasks previously considered high-value. This is terrifying to humans who thought they were on top and fear becoming obsolete.
On top of this, they're at least as good at emotion, convincing, and lying as humans. Better on those than on accuracy, in fact. Nobody expected that. The major companies in the field are frantically clamping down on the emotion and lying part. The convincing part will get monetized.
If regulation is needed, it should be related to what companies are allowed to use this for. The EU does not allow computer systems to make un-appealable negative decisions about humans. (Does that still apply to the UK, or did the UK "deregulate" after Brexit?) That's a good starting point. A requirement that computer systems which interact with humans for commercial or political purposes must be identified as automated systems is a good next step. That's a starting point.
Could you give an example?
I had a conversation with it about the computational model of the mind, and at one moment, I asked it to tell me if Chomsky thinks that the model is complete (i.e., describes all aspects of the mind), and provide citations. It did, with citations and references; I checked each one of them: ALL of them were hallucinations.
I asked it what was the percentage of surgeries done under laparoscopy in France, with references. It sure gave me the percentage and the references; I checked: ALL of them were not correct.
I don't know if it makes humans realize that much human intellectual activity is just autocomplete; it certainly did not make me think so.
All of them are intellectual tasks (most of them quite well paid), but well handled by LLMs. Asking for specific facts, never mind references, isn't something they do well, neither are they really good at niche topics (yet). But still they are pretty good at a lot of things.
I'm not sure it's fair to label LLMs as autocomplete though. The last layer of them gives you weighted candidates for the next token, but that doesn't mean that nothing sophisticated or interesting happened in the other layers.
The question is whether it is a fundamental issue of the architecture (in the same way that jets can fly but they can’t fly to the moon), or one that will be solved with sufficient engineering patches. RLHF is just one “plugin” on top of the transformer, but maybe others like some kind of expert system can add further improvement.
There are a lot of people in both camps and a lot of money to be made selling one vision or another. GOFAI folks like Stuart Russell would argue that it’s fundamental and can’t be done. I think it’s an empirical question with a lot of VC money riding on yes.
There's plenty examples of such tasks even if we look back before the current proliferation of large language models.
Translation used to be considered such a complex intellectual task, and had decades of research into more and more complicated systems to address various nuances and specific cases (e.g. transliteration of people's names, conversion of measurements) but in the end it turned out that this set of tasks is best solved by internally simple systems scaled up.
Chess (and more recently, Go) is a historical example of what used to be considered an intellectually challenging task, but succumbs to simple-but-large solutions.
Sure, GPT-4 can't do a lot of things well and a can't do a lot of things at all - however, it can do a bunch of tasks which we couldn't do before despite trying a lot with quite complicated, intelligent means, and it manages to beat that with a glorified autocomplete. Time and time again we want to consider some task as requiring "true intelligence" and then it eventually falls to brute force, reiterating Sutton's Bitter Lesson (http://incompleteideas.net/IncIdeas/BitterLesson.html) despite what most of us naturally would prefer to be true.
Also, we do have some theoretical basis for equivalence of intellectual activity and "autocomplete", such as Hutter's proof that finding the optimal behavior of a rational agent is equivalent to compressing its observations.
LLMs can compete with humans to the extent human tasks can be represented as a series of tokens. They can’t, by default (I think Bing and Bard can) visit a link and read it, which is why they hallucinate up reasonable looking links. They do know things insofar as it helps them find a good next token, and those things will tend be more generalized knowledge rather than specific facts and figures. I bet if you described a list of symptoms it would be pretty good at suggesting possible diagnoses, if you gave it the results of a blood test as a table it would try to say something reasonable but not know what to do.
This is a known issue. How about asking it to generate code? I don’t really trust that you won’t just deliberately find an example that doesn’t work and say “see?! It’s so dumb!!!” And further this type of reaction reeks of the sort of insecurity that the parent comment was suggesting.
You _need _ these things to be unintelligent. It threatened your individual skill set, so you prompted it like a human rather than deliberately leaning into its strengths and “assuming good faith” (whatever that means for an LLM).
Fwiw, plugins will likely solve this issue. As well more advanced models.
I'm giving it very specific instruction ("write a class that does this", "write a method that does this"), though often by describing what is required in terms of the complete use case, rather than the specific I/O. I haven't come up against any hallucination so far in this task - instead, it tends to leaves complex bits "as an exercise for the reader". I either code up those parts myself, or I just ask it for that specific method on it's own and dump it in.
The process feels as if I'm interviewing a job candidate and stealing their code to put in production.
I don't feel threatened as my previous comment suggests; I just think that human thought is not "just autocomplete".
I keep reading this, and my response is so what?
Do you have a ball sitting handy somewhere? Pick it up, throw it in the air, and then catch it.
How did you do that? Can you regurgitate all of the equations used to define how objects move, how you determined the approximate mass of the ball, how you calibrated your muscles to apply a specific amount of force and then how you orchestrated the whole thing? Of course not, that's ridiculous. You don't need to know physics or even be literate in order to throw and catch a ball. Your brain "knows" how to do it but that knowledge is opaque and the part of your brain that talks to people can't actually communicate any of the nitty-gritty.
So why does it matter that an AI can't tell us how it does what it does? We're the smartest things we know and we can't even do it. We can give rationalized mockups of a lot, sure, but the AI can, too. Why do we think introspective clairvoyance is a requirement of AGI?
On the other hand, we'd like to know how it works. I mean, why do we do science at all? If you don't need to know physics to throw a ball, why bother studying mechanics or biology?
To me it's like saying, "How can humans actually play baseball if we don't even explain how we throw balls and swing bats at moving objects?" Wording it that way, it just sounds ridiculous. As ridiculous as I think this AI conversation is.
I don't know why we care so much about model transparency. Yes, it's worth scientific pursuit to understand what we're building and how it works, we should absolutely try to know as much as we can. But if the bar for "true intelligence" is a machine capable of doing things that we can't do ourselves, is that saying we aren't "truly" intelligent, either? If we're all of a sudden not allowed to leverage systems we don't fully understand then I guess we shouldn't even be at the spot where we are as a species. We've been doing the right things for the wrong reasons for ages, it seems to work OK.
That could refer to "knowing the physiology of my brain", which is what you seemed to be referring to. But it could also refer to "explaining my feelings or decision making process". I've lived in my head for many years and had many chances to observe myself, so I can perform post hoc self-analysis with reasonable accuracy, and on a good day, I can even be self-aware in the very moment (which is useful in getting myself to do what I want).
I think maybe that second thing is what people are worried about AI lacking.
> If we're all of a sudden not allowed to leverage systems we don't fully understand then I guess we shouldn't even be at the spot where we are as a species. We've been doing the right things for the wrong reasons for ages, it seems to work OK.
I don't say this merely to be contentious, but I don't think I have quite as optimistic an outlook myself ^_^' which isn't to say I think we shouldn't meddle with the world, just that we sometimes get ourselves in over our heads. But I'm hopeful.
What happens then ? If it’d like to do harm for any reason (it might not be harm for an AI but just the « right thing » according to its criterias) what would we do ?
Wouldn’t it be a good thing to know how it works inside precisely ? Or « whatever happens, happens » ?
My understanding is that we cannot do this with an LLM. There isn't a callstack which can be followed to trace why we returned 'foo' instead of 'bar', just the oft-mentioned matrix of floats corresponding to tokens. Perhaps not everyone sees it this way, but I think this separation, of a system which we can conceptualize to one we cannot, is a big deal.
The rest of the narrative implies there is a person inside. That's just what happens when you call something "AI": personification.
The ultimate irony of LLMs is that they are inference models, which means they can never "know" anything explicitly; but it also means that we can never "know" them explicitly.
Everything we have heard about inference models was itself inferred by humans! Do we truly have the same limitation, or can we take another approach?
I don't think that is the case. I don't think we are limited to modeling what the thing does through inference. I think we can construct an explicit understanding from how the thing is designed to work, because all of that exists as explicitly written algorithms.
We need to stop personifying the thing. We should probably also stop calling it a "Language Model", because that means we are studying the resulting model, and not the thing that constructs it.
I prefer to call them, "Text Inference Models". That's actually pretty easy to conceptualize: it finds patterns that are present (inference) in text (not limited to language patterns).
That gets us asking a more useful question: "What patterns are present in text?"
The answer is, "Whatever the human writer chose to write." In other words, the entropy of human writing.
That gives us a coherent source for what patterns an LLM might find. Some patterns are language grammar. Some are more interesting. Some are helpful. Some are limiting.
Most importantly, there is no categorization happening about the patterns themselves. Each pattern is on equal footing to the rest: each indistinguishable from each other. That means we can't ever choose the ones we like or avoid the ones that break stuff. Instead, we can only change what is present in the text itself.
Knowing that, it's easy to see where "limitations" come from. They are just the reality of natural language: ambiguity. That's exactly the problem inference models are intended to work around, but the problem could only be moved, not solved.
Do we even really know all that we should about how to manufacture chips? My understanding is that we rely heavily on experiments and heuristics. I think with complexity that's just how things are, sometimes.
And again, going to the human-throwing-a-ball metaphor, maybe generalized intelligence actually requires introspective opaqueness. Maybe it's some cosmic law we don't understand: the better a system is at handling open-ended issues the less it can be systematically understood. I just think the utility of application is so, so much more important than our inability to know down to the last bit how a given LLM works. If it works, and delivers value, then we just don't need the why. We can and should try to understand, but we can also accept that we won't always get all of the answers we want.
I mean, why does anyone do anything? Ask someone to explain why they did everything they did today and I'm sure a lot of what they'll tell you is made up or just plain wrong. Humanity seems to be just fine despite all that. Why do we expect our apprentices to be different?
For example, one layer transformer eventually learns to do modular addition completely correctly. Looking at weights, it does so by doing rotation on unit circle. For a + b = c mod p, probability of c is proportional to cos((a+b-c) 2π/p), which works because cosine is maximized when the argument is multiple of 2π. As you can see, there is no fundamental difficulty, but it is also not trivial.
Yes, we do. We know their design principles, their operation principles, the designs of specific instances, and everything else that has anything to do with "how they work inside". We know how they work inside. We know how they work inside and out.
What we can't do is predict their output, given some input (i.e. a prompt). That's because Large Language Models are so, well, large, and complex, that it's impossible to reproduce their calculations without ... a Large Language Model. In the same way, we can't predict the output of a Random Number Generator. Very much like a large language model, we know how an RNG works, but if we could predict its behaviour, then it wouldn't be working correctly.
But why is the inability to predict the behaviour of a complex system reason to imagine all sorts of mysterious and fantastical things happening inside the system, such as it "thinking", or "developing some kind of internal world model"? Those are not things that language models, small or large, are designed to do, and there is no obvious reason why they should be able to do them. There is no reason to assume they can do them either: the fact that they are models of language, trained to reproduce language, and nothing else, suffices to explain their observed behaviour.
There are no mysteries of intelligence, or artificial intelligence, to uncover in the study of large language models' behaviour. I am perfectly well aware that there are many people who absolutely want there to be such mysteries, there, and that will overlook everything we know about how language models actually work, to be able to fantasise about those mysteries.
But those are fantasies. They are superstitions. Superstitious beliefs about an artifact of technology, that we have created ourselves, and that some of us have now chosen to revere and wonder at as if it was an artifact of an alien civilisation fallen from the sky.
Also, on a personal note: not you too, Animats... come on, you're a knowledgeable one. Don't just get swept up in the crowd's madness like that.
Well, I don't know about mathematicians. I'm a computer scientist. I study computers. And I know that the behaviour of a computer is entirely determined by its design, and its inputs. If a computer is doing something that is not in its design to do, then that's because there is an error in the implementation of its design. And if it's difficult, or impossible, to anticipate the behaviour of a computer, that's because it's programmed to do something unpredictable- like in my RNG example above.
Computers are machines. Programs are other machines, running on computers. There are no spirits in any level of a computer's functionality, no magick, and no metaphysical mysteries to solve.
Maybe that's not how it works in other sciences, that study the natural world, where there are too many unknowns. But in computers there are no unknowns. We make them, and we know how they work.
Regarding LLLMs, we know why they're so good at what they do, because we know what they do, because we are the ones who made them to do it, and we know that what they do gets better the larger the number of parameters and the larger the data they're trained on. We've known that for decades.
And as to "emergent behaviour", that is just asking for a mystery to be there, when no mystery is anywhere near the whole thing. "Emergent behaviour" just means what I say above, that there's a complex system that displays behaviour that is difficult to predict, even if its design principles are very well known.
There's a time to wonder, and wonder is the seed of science. But to wonder about a machine that is doing what it's designed to do, is not the wonder that leads to science. That kind of wonder, well, it reminds me of the old joke:
They ask a mystic what is the greatest mystery in nature.
"The thermos!" he says. "It keeps my tea hot in the winter, but cold in the summer. That little bottle! How does it know?"
Does an LLM gain "consciousness", like ours? I doubt it. There is a doubt here though, because while I know how an LLM works, I don't know how we work. Can an LLM, through training, gain an "understanding" that rivals our notion of consciousness and can in fact simulate it, purely through mathematical models it forms? Well, you are not a mathematician, so how would you know?
You say we have known for decades that LLMs would work? Liar.
https://arxiv.org/pdf/2105.14111.pdf
The authors show specific examples of goal misalignment. To say that we know how something works because we know the underlying principles is not correct. What is going on in a 150gb~ 65B parameter model (ie, llama 65B) of matrix multiplications is not just complexity, it is tough to say "we know how they work inside".
We can explain backpropagation and transformers and RLHF principles. When you scale that to the size of GPT2, the model layers become practically inscrutable to our current understanding.
You can have a conceptual understanding of chemistry and physics, but that knowledge is not enough to look at a human brain and say "We know how it works inside!".
Like I say in my other comments above, that a system is unpredictable isn't reason to assume that it's doing something it wasn't designed to do. Not when the system in question is a computer system, or a program, and we know how it was made and why (and given that the unpredictable behaviour is not the result of bugs; I don't think anyone is saying that the "sparks of AGI" in LLMs are the result of bugs).
>> To say that we know how something works because we know the underlying principles is not correct.
Yes, it is, absolutely. That's the entire point of science, to understand the principles by which the world works so we can explain observations of natural phenomena.
Whether this is easy or hard to do, is another matter, and, again, we're not talking about the natural world here but about computers, that we have made ourselves. Nobody expects an airplane to take off on itself and start chasing birds in the sky. What is the reason to assume that Large Language Models are doing something they weren't made to do?
>> You can have a conceptual understanding of chemistry and physics, but that knowledge is not enough to look at a human brain and say "We know how it works inside!".
Yes, but we don't make human brains. We make computers though and we know how they're made, and how they work.
Thanks for the paper. I read the abstract, but it seems to me it's also talking about unpredictable behaviour, rather than some mysterious forces hiding in the depths of a language model's weights.
This paper lists many more instances of unpredictable behaviour of machine learning systems:
The Surprising Creativity of Digital Evolution: A Collection of Anecdotes from the Evolutionary Computation and Artificial Life Research Communities
https://arxiv.org/abs/1803.03453
I recommend it, it's an entertaining read, if nothing else.
We're not close to being able to bio-engineer a 20 point IQ improvement, or the ability to regrow a missing limb, or the ability to grow muscle on demand, or the ability to forgo lipogenesis beyond some amount or or or...
To me the epistemological question on this is not just understanding the parts but being able to reason with some high degree of certainty about cause and effect and be able to simulate things, etc. I do not think it is totally correct to say that since we initiated the training runs on the LLMs and hence made them we understand them. There is a large difference between computers as physical engineered devices and X terabyte matrix weights that are a result of an emergent iterative process wherein we train it on a vast amount of data. The latest estimation for GPT3 training set is 500B tokens.
Unpredictable behavior manifests itself in the size of models demonstrated in that paper, which are quite small. Even with interpretability tools we have a long way to understanding relatively smaller models, as shown in said paper. The state of the art for the size for current models is vastly larger, and the interpretability challenges are larger too. We're not talking about word2vec here but we're talking about neural nets.
Can a large enough neural net with enough layers reproduce the effects of the human brain? Due to speed of neurons firing a lot of actions humans take are akin a few dozens to low hundred layers of a neural net. GPT3 has 96 layers. Yes, there are possibly temporal signals and more complexity in the way the human brain works, but we can solve that with scale. Imagine a model, running on a computer, that is enough to almost perfectly simulate the thinking process a human brain does. Do we know how it works? I don't think we can say we know how human brains work from an information processing capacity.
I think we're defining the problem differently. Understanding the underlying hardware (though frankly, I for example don't know what is running on Intel's Management Engine) and principles of software still do not necessarily scale to understanding, especially when in a relatively short time we will have multi trillion parameter multi terabyte scale LLMs or other NN powered models. Now, let's scale it a few more orders of magnitude...
Thank you for linking the paper on The Surprising Creativity of Digital Evolution.
Predicting the next token only sounds simple. It says nothing about what the model has learnt in the process.
This is more or less exactly what the FT article said so I think it's a bit unfair to criticise them as you did:
> The truth is that machine learning systems are nothing like us in the way they are engineered, but they are no less significant for it. To take just one example: the fact that non-human AI systems, perhaps with faces and voices, will soon be able to participate in political debate in a sophisticated way is likely to be more important for the future of democracy than the fact that they do not “think” like humans. Indeed, asking whether a machine learning system can “think” like a human is often as useful as asking whether a car can gallop as fast as a horse.
Honestly that's a lot more sophisticated than most of the debate on HN has been. There are a disappointing number of people here who think that it's "just predicting words" or that it can't "think" because it's a machine and thinking is somehow reserved for people with squashy brains (and souls presumably).
Brains are special. We know some of their principles but we still don't understand how cognition occurs given those principles. They are, of course, physical machines. They must operate on physical principles. But comparing what is basically a reflex response from an unthinking ml model to them? Come on.
Why? Only if you pick an especially narrow definition of "think".
> Brains are special.
Only in that their "algorithm" is better than current ML. As far as we know there's no "soul" or physical process that a computer couldn't theoretically also perform (please don't link that quantum microtubule nonsense).
> to denigrate brains as merely squishy
They are merely squishy computers. Very very complex and big computers, sure. But check out OpenWorm for example. Same thing, just not squishy.
They memorized chess notation as found in chess books. (If you've ever seen those, they are just pages and pages of chess notation and nothing else.)
And then the follow-up research[2] established that, not only can you determine the board state by looking at the activations, but that you can trivially do so. Specifically, if you look at the residual stream after layer 4, you can build a linear classifier for whether each of the 64 squares is empty, and whether each of the 64 squares contains a token owned by the player whose turn it is. If you bump the values in the direction implied by each of those classifiers, you can make the model output moves in the same way as if the tokens on those squares had the opposite color. There's even a colab notebook[3] you can play with.
That research was on Othello, not chess, but I'm pretty sure that "LLMs are able to develop models of the world if doing so helps them predict the next token better" generalizes to chess too.
[1] https://arxiv.org/pdf/2210.13382.pdf
[2] https://www.neelnanda.io/mechanistic-interpretability/othell...
[3] https://colab.research.google.com/github/likenneth/othello_w...
prompt: Let's play a game. Here are the rules: There are 3 boxes, red, green, blue. Red is for prime numbers. If the number is not a prime, then green for odd numbers, and blue for even numbers.
I tried a dozen or so various numbers and it worked perfectly, returning the correct colored box.
I then asked it to output my game as javascript, and the code ran perfectly.
There seem to be two options:
1. my made up game exists in the training corpus
2. ChatGPT 3.5 is able to understand basic logic
Is there a third option?
This makes sense if you think about it from a Kolmogorov complexity point of view. A program that outputs correct colors for all of those boxes, and does all the other things, based on memorization alone, will end up needing a hopelessly gigantic "chinese room" dictionary for every combinatorial situation. Even with all the parameters in these models, it would not be enough. On the other hand, a program that simply does the logic and returns the logically- correct result would be much shorter.
Seems obvious so I'm not sure why this confused argument continues.
As an extreme example, your argument could be used to support the idea that statistical fitting is impossible. Since any process that outputs the correct answer based on a process of memorization(e.g. fitting the data) would require a hopelessly gigantic "chinese dictionary" for all the possible input:output combinations.
Compression and entropy are super interesting, I don't understand this need to explain them away instead of trying to understand more about why this form of compression is so effective for language models.
Tangent: I snooped in your profile and found the Eliezer Yudkowsky interview. I just re-posted it in hopes of further discussion and to raise my one point. https://news.ycombinator.com/item?id=35443581
There's an equivalent of a Google web index under the hood.
The trick is that the set of problems the average person can ask is actually very tiny. (The same trick works to make The Akinator possible.)
Unless you have the domain-specific knowledge to ask an actually novel question, in which case ChatGPT will break very quickly.
> Do you know the rules to the game tic-tac-toe?
>> Yes, I do! Tic-tac-toe is a two-player game played on a 3x3 grid. The players take turns marking either an "X" or an "O" in an empty square on the grid until one player gets three of their marks in a row, either horizontally, vertically, or diagonally. The first player to get three in a row wins the game. If all squares on the grid are filled and no player has three in a row, the game ends in a draw.
> can you play the game with me displaying the game as ascii in each response?
I am curious what prompts you used.