News for hackers. Stuff that matters.
Re:Are Emergent Abilities of Large Language Models a Mirage? by p-e-w on Monday May 01, 2023 @12:06AM (#35768995)
I'm quite skeptical of analyses like this one, because I doubt the metrics themselves. Emergence is something that is intuitively noticed by human observers. The desire to quantify everything then leads to the creation of (imperfect) metrics designed to capture what the observers already know. Those same metrics are then taken as the definition of the properties said to be emergent, and articles like this one are among the consequences of that choice.

The paper's claim is essentially "these metrics which appear to demonstrate emergence can be replaced by other metrics that also represent model behavior, but that do not have scale discontinuities, so emergence isn't a real phenomenon".

But an equally valid interpretation would be "none of these metrics actually capture the properties we are truly interested in". Which, given the complexity of what we are dealing with here, seems entirely reasonable. It's not like we suddenly learned how to accurately quantify performance at language tasks. The whole reason LLMs are so great in the first place is because traditional 'mechanical' language models suck so bad.

Re:Are Emergent Abilities of Large Language Models a Mirage? by Centigonal on Monday May 01, 2023 @12:15AM (#35769041)
I think the claim that "these metrics which appear to demonstrate emergence can be replaced by other metrics that also represent model behavior, but that do not have scale discontinuities (emergence)" is really powerful.

That might mean that behaviors we consider emergent are the consequence of a process that scales continuously with model size.

i.e.: there may exist a bijection between, say, a step-function `can_do_arithmetic(size)` and a smooth, continuous function `arithmetic_skill_metric(size)`

If we can use continuous metrics to back out the step-function equivalents, that'll help us predict when and how to get particular abilities to "emerge."

For example: If a change results in a steeper slope on the continuous metric, we can predict it would cause the associated capability to emerge at relatively smaller model sizes.

Re:Are Emergent Abilities of Large Language Models a Mirage? by p-e-w on Monday May 01, 2023 @12:23AM (#35769066)
> That might mean that behaviors we consider emergent are the consequence of a process that scales continuously with model size.

Or it might mean that the metrics used are worthless for describing high-level model behavior. That's my whole point. Emergent behavior was observed, which is why we want those metrics so we can try to understand what is going on. But just because we have metrics that exhibit discontinuities at scales where humans observe emergence, doesn't mean that those metrics really represent the hard-to-define behavioral changes we have observed.

Re:Are Emergent Abilities of Large Language Models a Mirage? by Centigonal on Monday May 01, 2023 @12:37AM (#35769137)
I'm not sure I understand. I think you're suggesting that the metrics currently being used to assess emergence of new capabilities in LLMs are imperfect and potentially worthless, but I don't understand what is missing.

Using the example of 4 digit multiplication in the source paper: The researcher wants to know if the model has developed the ability to multiply two four-digit integers, so they generate a battery of such problems, e.g. "what is 4363*1285? output only your answer." The metric is what percentage of the problems the LLM answers correctly.

This is pretty much the same way a human observer would identify the same emergent behavior, and also how we assess it in other humans. It's not some contrived metric that's detached from the emergent ability in question.

Re:Are Emergent Abilities of Large Language Models a Mirage? by p-e-w on Monday May 01, 2023 @12:47AM (#35769192)
Yes, but observed emergence goes beyond performance at individual, easy-to-define tasks.

When using GPT-2 vs GPT-3 vs GPT-4, a human can easily tell that each is leaps and bounds "better" than its predecessor, with "deeper" understanding of the input and "more human-like" responses and reasoning. There is a strong impression that those models aren't just progressing along a scale, but changing qualitatively.

I simply doubt that any of the proposed metrics captures this intuitively observable quality. Furthermore, I claim that it is this quality that actually matters. We don't need a language model in order to multiply two numbers. Any clearly defined and algorithmically solvable (and thus readily quantifiable) task is trivial for regular software.

Re:Are Emergent Abilities of Large Language Models a Mirage? by pulvinar on Monday May 01, 2023 @01:22AM (#35769363)
I think you're right, and the reason is probably that more complex concepts are hierarchies relying on the lower-level concepts to be fully correct before the higher levels can function at all. This would create an inherent thresholding that could not be avoided by any choice of metric.

To be fair though, the paper's discussion says they are not claiming that models cannot display any emergent abilities, just that some may be mirages.

Re:Are Emergent Abilities of Large Language Models a Mirage? by Centigonal on Monday May 01, 2023 @01:25AM (#35769384)
> When using GPT-2 vs GPT-3 vs GPT-4, a human can easily tell that each is leaps and bounds "better" than its predecessor, with "deeper" understanding of the input and "more human-like" responses and reasoning. There is a strong impression that those models aren't just progressing along a scale, but changing qualitatively.

I agree with you about all of this.

> I simply doubt that any of the proposed metrics captures this intuitively observable quality. Furthermore, I claim that it is this quality that actually matters.

I think there are important qualitative observations about LLMs that create understanding and guide future research, but I think it's bad science/engineering to rely on some indescribable quality of "goodness" when it comes to developing new models.

Metrics may not be perfect, but they are all we have. You could train a model, send it to a bunch of human crowdworkers, and ask them to rate it on how good it is (Anthropic does this!), but the result of that is... another metric.

That said, yeah, I think we definitely could use better metrics. OpenAI agrees, which is why they're pushing their Evals project super hard. The paper we're commenting on agrees, which is why they're proposing alternatives to these step-function metrics.

> We don't need a language model in order to multiply two numbers. Any clearly defined and algorithmically solvable (and thus readily quantifiable) task is trivial for regular software.

A language model multiplying two numbers is the whole point of emergence.

Transformers were designed to translate between different natural languages and trained on completing sentences with some words masked out. As we scaled them bigger and bigger, we found that the same model architecture was suddenly capable of more than completing sentences: it was answering questions about high school geography (MMLU), writing computer programs, and - yes - doing basic arithmetic. New capabilities were emerging with scale.

This means that a "language model," at sufficient scale, is more than a language model. This is the closest thing we have right now to generalized AI, where one model can complete a variety of disparate tasks. The arithmetic thing is exciting and unexpected because of what it represents, and understanding it should be a priority, even if we have better non-ML ways of doing that particular task.

Re:Are Emergent Abilities of Large Language Models a Mirage? by p-e-w on Monday May 01, 2023 @02:08AM (#35769548)
> Metrics may not be perfect, but they are all we have. You could train a model, send it to a bunch of human crowdworkers, and ask them to rate it on how good it is (Anthropic does this!), but the result of that is... another metric.

A metric that is an aggregate of human intuition is not the same as the usual metrics though. It's just a semi-formalized way to capture those intuitive observations, rather than trying to replace them with much-simpler piecemeal mechanical evaluations.

> but I think it's bad science/engineering to rely on some indescribable quality of "goodness" when it comes to developing new models.

IMO, bad science is what is currently happening across the entire field. Astonishing high-level behavior is being observed from models, but the tools to analyze it don't exist, so instead, people are pushing out papers at a record pace that analyze every low-level property imaginable, as if such analysis would eventually yield high-level insights.

It's okay to not know. I wish every paper dealing with LLMs would start and end with the sentence "Overall, we have no idea what is happening." Instead, we get papers that add a few numbers and then wax philosophical about how LLMs supposedly do things (I'm exaggerating here, but the gist is accurate). Not a day goes by without a new article claiming that LLMs have reached their limit or similar, while we have no clue how they even work! This is really bad science, and yes, I know that much of it is coming from non-experts, but I've seen lots and lots of experts contribute to this nonsense by making completely unjustified claims of a similar nature.

Re:Are Emergent Abilities of Large Language Models a Mirage? by dyang165 on Tuesday May 02, 2023 @12:34PM (#35790173)
I think both of what you said is valid. I think it's important not to confuse "emergent" and "expected." Who said emergence shouldn't be expected? This paper I think more argues that nonlinear metrics creating sharp plots is "expected," but in my point of view it is still and emergent property. As you said, some metrics like accuracy are important and unreplaceable. As
Re:Are Emergent Abilities of Large Language Models a Mirage? by ForHackernews on Monday May 01, 2023 @04:39AM (#35770373)
> There is a strong impression that those models aren't just progressing along a scale, but changing qualitatively.

I don't think that follows. We only get to see GPT-2, 3, 4, not 2.5, 3.33, 3.95. We have no way to assess whether LLM performance is continuous or discontinuous.

It's like if you gave me 3 different cars with 50 horsepower, 100 horsepower and 250 horsepower. I'd say that these cars aren't "progressing along a scale" but "showing radical leaps in performance" but in fact top speed does scale with engine power.

Re:Are Emergent Abilities of Large Language Models a Mirage? by agalunar on Monday May 01, 2023 @12:49AM (#35769198)
That's not at all how I would assess whether someone understood how to do multiplication – I would ask them to explain their process for performing multiplication or at least to show their work. Maybe I'm misunderstanding what you're saying, though?
Re:Are Emergent Abilities of Large Language Models a Mirage? by Centigonal on Monday May 01, 2023 @01:07AM (#35769286)
If you wanted to know if someone can multiply two numbers, the simplest and quickest way is probably to ask them to multiply two numbers and see if they get it right.

Remember that, in this case, all I want to know is if they have that capability or not. Also, I don't care whether they can tell me how multiplication works or not, only if they can multiply two arbitrary numbers. (here, the abstraction to people breaks down, because people can walk you through their reasoning - whereas for an LLM, explaining how multiplication works and performing multiplication are very different tasks)

There are weaknesses to this approach: you get a binary yes/no, and you have no idea how close they got. You can't tell if they just made a small math error or if they don't even know what numbers are. Going back to the LLM setting, this is why a continuous metric is useful, compared to one that experiences step-function behavior.

Re:Are Emergent Abilities of Large Language Models a Mirage? by agalunar on Monday May 01, 2023 @09:39PM (#35782098)
> Remember that, in this case, all I want to know is if they have that capability or not. Also, I don't care whether they can tell me how multiplication works or not, only if they can multiply two arbitrary numbers.

Right, but unless you know something about their process, the only way you can determine whether they have the ability to (correctly) multiply two arbitrary four-digit numbers is to have them demonstrate multiplying every combination of four-digit numbers. One can easily imagine a system that gets most answers correct but fails certain cases (e.g. only carrying between pairs of digits).

The reason why an inexhaustive test (using only several dozen examples) works to some degree with schoolchildren is because we know something about their method: the algorithm for multiplication they've been exposed to – that they're explicitly being taught – is an algorithm that we know to be correct.

That has a very large effect on the likelihood of different failure modes and the evidence required to have a particular degree of confidence.

Furthermore, for "system 2" activities (to borrow the term from Kahneman), we can reasonably expect a person's description of their process to match the process they actually performed. (There are exceptions: people will produced incorrect post hoc explanations for their behavior under sufficient duress when "I don't know" isn't perceived as an acceptable answer.) But I'm personally not aware of any reason to believe this about LLMs. I don't know why the network's actual process for performing multiplication should have anything to do with the text it produces after the fact when asked to explain its work.

So I'm not debating that a reasonable way to guess whether a person can (correctly) multiply two numbers is to "ask them to multiply two numbers and see if they get it right"; I'm disagreeing that this works with LLMs.

Re:Are Emergent Abilities of Large Language Models a Mirage? by mistermann on Tuesday May 09, 2023 @01:46AM (#35870608)
> There are exceptions: people will produced incorrect post hoc explanations for their behavior under sufficient duress when "I don't know" isn't perceived as an acceptable answer.

Did Khaneman get into this in his book?

Also, as for the point of contention, I think if you tell the LLM to show its work in mathematically formal notation, it's far more likely to be able to produce correct answers (I think there was a post on here in the last week or so demonstrating that?). I think this kind of makes the comparison to humans more fair, because inside their mind humans are doing some sort of intermediate math in their head for anything beyond trivial problems, and an LLM needs to be able to speak explicitly to compete fairly with that (I speculate/propose).

Re:Are Emergent Abilities of Large Language Models a Mirage? by agalunar on Tuesday May 09, 2023 @10:56PM (#35883131)
> Did Khaneman get into this in his book?

Not from what I recall; this was just my own observation. (Also, in retrospect I should have made it clearer that this exception was meant to be an example more than a particular claim... "under sufficient duress" almost makes it vacuously true.)

> Also, as for the point of contention, [...]

Yes! I've heard this reported as well, multiple times. I suppose it's sort of like using a pen and some scratch paper.

Re:Are Emergent Abilities of Large Language Models a Mirage? by roguecoder on Wednesday May 03, 2023 @01:41PM (#35805338)
What you are talking about is metacognition, which these models are specifically built to not have. And it relies on the person you are talking to being an accurate reporter, which these models are not.

The model doesn't "intend" to multiply two numbers together: it has been equipped to parrot what a person asked to multiply two numbers together might say. If we asked it how it performs multiplication, it is going to produce a process it thinks a human would claim to use to perform multiplication, but that doesn't mean it can actually apply that process.

The claimed "emergent" property is that a model that can successfully fool humans into thinking they are talking to a person quasi-magically involves becoming "good" (for some measure of "good") at the cognitive tasks humans are capable of. This paper suggests that the measures of "goodness" researchers have been using make the gains on those cognitive tasks look more dramatic than they would be if measured via linear metrics.

I suspect some of the disconnect expressed in these comments here is based on the participatory nature of being lied to by these models. The reader is a full participant in creating meaning from the output of a model. Even when the improvement in models is linear, our willingness to suspend our disbelief is not. Especially when we want to be fooled: it has to avoid anything that would jar us out of our belief rather than proactively and repeatably succeed at cognitive tasks, and that is a non-linear measure.

Re:Are Emergent Abilities of Large Language Models a Mirage? by stevenhuang on Monday May 08, 2023 @09:00PM (#35868994)
> which these models are specifically built to not have

Citation needed.

Re:Are Emergent Abilities of Large Language Models a Mirage? by stevenhuang on Tuesday May 09, 2023 @04:01AM (#35871425)
You don't have one, so you downvoted. Classic.
Re:Are Emergent Abilities of Large Language Models a Mirage? by amw-zero on Monday May 01, 2023 @12:10AM (#35769009)
You just described science, and why you don't believe in science.
Re:Are Emergent Abilities of Large Language Models a Mirage? by p-e-w on Monday May 01, 2023 @12:13AM (#35769028)
If by "don't believe in science" you mean "don't believe that every metric claimed to be representing a phenomenon actually does represent that phenomenon", you are correct.
Re:Are Emergent Abilities of Large Language Models a Mirage? by TheOnly92 on Monday May 01, 2023 @01:03AM (#35769267)
I agree that perhaps the metrics are not as useful themselves, but I think you're giving too little credit to the paper where maybe some credit is due.

I think the paper is correct that there are no "emergent abilities", i.e. abilities that might suddenly appear when scale of the model is increased. And though it might not be accurate, but the paper did make some effort to formalize and I think it is a good attempt to kind of prove the point.

However as we recognize, there are still some weird discontinuities in which at one point the model is useless and suddenly it becomes very useful. This "discontinuity" IMHO is probably just perceptional, but the underlying metric is continuous.

Re:Are Emergent Abilities of Large Language Models a Mirage? by beders on Monday May 01, 2023 @01:12AM (#35769319)
> Emergence is something that is intuitively noticed by human observers.

If you can't quantify that, then it is just a hunch. What exactly do you think "observers already know"?

Re:Are Emergent Abilities of Large Language Models a Mirage? by p-e-w on Monday May 01, 2023 @01:45AM (#35769444)
There are many fundamental qualities that can be observed but not quantified. General intelligence being one of them (intelligence tests measure some aspects of it, but not others).

If everything that is real could be quantified, we wouldn't need AI. Traditional computing is already absolutely phenomenal at dealing with quantifiable systems. The whole point of wanting "artificial intelligence" is because we don't know how to quantify the high-level properties of speech, thought, intellect, and consciousness. And not for lack of trying.

Re:Are Emergent Abilities of Large Language Models a Mirage? by freehorse on Monday May 01, 2023 @02:11AM (#35769558)
> Emergence is something that is intuitively noticed by human observers.

The takeaway from this paper is actually that this says more about the human observers than the LLMs themselves. Humans observe "emergence" using some loose metrics themselves. Whether we formalise the metrics in a quantitative way or we stay in the realm of humnan intuition is not important; we still use some criteria to analyse things, in the latter case these are more clear and amenable to critique, in the former case they are obscure and can evade critique by moving goalposts and ground easily.

In the end of the day, either we talk about quantification or just qualitative observations, it is the same phenomenon we observe with the same qualities. The problem is that human intuition uses a lot of discontinuous metrics; we judge if an LLM passes or fails what we ask for it, but it is harder to judge the underlying tokenisation process as itself. For this reason, and considering the findings of this paper, the observations and claims of emergence in LLMs carry less value now, imo.

Re:Are Emergent Abilities of Large Language Models a Mirage? by p-e-w on Monday May 01, 2023 @02:23AM (#35769628)
Calling human intuition "just another metric" ignores the fact that human intuition performs spectacularly well at many high-level tasks.

Whatever "insight" and "understanding" actually mean, there is no denying that they are immensely useful, which is why we want AIs that can replicate them.

When trying to understand complex systems that don't yield to quantitative analysis in an obvious way, the starting point should be to assume that the intuitive evaluation is (roughly) correct, until proven otherwise. Trying to cast this intuition into a simple metric and then using that metric (or other simple metrics) to demonstrate that the intuition is wrong is circular reasoning.

Re:Are Emergent Abilities of Large Language Models a Mirage? by kelseyfrog on Monday May 01, 2023 @03:13AM (#35769906)
> human intuition performs spectacularly well at many high-level tasks.

It's also the number one most common cognitive bias. Humans are especially prone to reification - the confusion that the construction of a measure equates to an objective reality.

Humans are often launder subjectivity through the creation of metrics without 1) knowing they've done so, and 2) become emotional when accused of having done so.

Re:Are Emergent Abilities of Large Language Models a Mirage? by JohnFen on Monday May 01, 2023 @01:22PM (#35776076)
> Emergence is something that is intuitively noticed by human observers.

The problem, of course, is that people's intuition is particularly awful for this sort of thing. We have a very strong tendency to anthropomorphize everything, and that illusion can be quite overpowering.

Re:Are Emergent Abilities of Large Language Models a Mirage? by roguecoder on Wednesday May 03, 2023 @01:22PM (#35805076)
Lots of things are intuitively noticed by human observers, only some of which exist. We are heuristic pattern-finding machines who believe in ESP and fairies: why wouldn't we also find mythology in the machines we build?