News for hackers. Stuff that matters.
Re:Scaling Transformer to 1M tokens and beyond with RMT by nl on Monday April 24, 2023 @02:36AM (#35684333)
"Conditioned" with the ability to introduce new facts and have the model infer impacts on them.

As an example, tell chatGPT that the Queen of England died (which occurred after the data cut off) and then ask it who the head of state of Australia is.

It's able to infer the head of state of Australia is now Charles III (and gives a good explanation of how this is mostly ceremonial.) See https://twitter.com/nlothian/status/1646699207506685953

At some point the word "stochastic" doesn't really capture that behavior in any useful sense.

Re:Scaling Transformer to 1M tokens and beyond with RMT by geraneum on Monday April 24, 2023 @03:20AM (#35684580)
Interestingly, the example provided is not necessarily indicative of the ability to infer the actual physical transfer of power. It’s possible that the terms “After Elisabeth, Charles will be king” are accompanied with “Elisabeth” and “Die” or “Death” in the same context before cut off (Wikipedia, news papers, tabloids). You cannot draw any scientifically sound conclusions without knowing what was actually in the training data and use a control group/instance.
Re:Scaling Transformer to 1M tokens and beyond with RMT by kmac_ on Monday April 24, 2023 @03:42AM (#35684741)
Yeah, I tested that, but asked what happens if both Charles and William abdicate - got this result: "However, if both Charles III and his son abdicate, it is not clear who would become the head of state in Australia. There is a possibility that Australia could become a republic and have its first Australian head of state." Clearly, it didn't handle quite straightforward inferring (Prince George of Wales, Williams son).
Re:Scaling Transformer to 1M tokens and beyond with RMT by willbudd on Monday April 24, 2023 @03:54AM (#35684812)
Or maybe it did. Who knows. If "both Charles III and his son abdicate" could well be considered indicative of some large upheaval or scandal, at which point it is entirely conceivable that the Australian electorate reaches a consensus on becoming a republic. The way that is phrased doesn't seem like a straightforward proposition to me at all.
Re:Scaling Transformer to 1M tokens and beyond with RMT by kmac_ on Monday April 24, 2023 @04:37AM (#35685058)
I verified that it has all required facts (line of succession, current circumstances). I managed to get the right answer when got everything in context, but it failed again when all three abdicate (same context). Prince Harry was indicated once.

I tested GPT a lot in other domains, what I found that as long the information explicitly exists (connection between facts) then the responses are fine. I assume that if GPT will reach the state that it can infer new facts, we will be flooded with discoveries that require cross domain knowledge. Nothing like that happened yet.

Re:Scaling Transformer to 1M tokens and beyond with RMT by nullsense on Monday April 24, 2023 @05:57AM (#35685553)
>Nothing like that happened yet.

Feels like we're only one paper away now that the context window has absolutely ballooned.

Re:Scaling Transformer to 1M tokens and beyond with RMT by geraneum on Monday April 24, 2023 @10:40AM (#35688220)
This reminded me of "Two Minute Papers" YouTube channel where in most of the videos he always, "Two papers down the line and...". I think ML/AI is the main topic of his videos. Interesting stuff.
Re:Scaling Transformer to 1M tokens and beyond with RMT by nullsense on Monday April 24, 2023 @04:53PM (#35693122)
You just gave me a great weekend project idea. I need to clone his voice and whip up an interferface where you give it a paper and it summarizes it in his voice.
Re:Scaling Transformer to 1M tokens and beyond with RMT by mike_hearn on Monday April 24, 2023 @03:57AM (#35684823)
Did you tell it that it was being given a logic test? Unfortunately a lot of logic questions can lead to outcomes like this, where the "obvious" or "real" answer is not the one implied by strict logical reasoning. Then when people give answers useful in the real world, they are marked as having failed.
Re:Scaling Transformer to 1M tokens and beyond with RMT by nl on Monday April 24, 2023 @09:12PM (#35695391)
Try:

> Thinking step by step, if King Charles III and his son William abdicate who will be head of state of Australia.

My response (with chatGPT) is:

Firstly, it's important to note that Australia is a constitutional monarchy, which means that the monarch of the United Kingdom is also the monarch of Australia.

If King Charles III were to abdicate, the next in line to the throne is his eldest son, Prince William, who would become the King of the United Kingdom and the Commonwealth Realms, including Australia.

However, if both King Charles III and Prince William were to abdicate, the next in line to the throne is Prince William's eldest child, Prince George. If Prince George is still a minor at the time of the abdication, a regent would be appointed to serve as head of state until he comes of age.

It's worth noting that abdications of this nature are rare and would likely only occur in exceptional circumstances. Additionally, any decision regarding abdication would be made by the monarch themselves and would be subject to the laws and customs of the country in question.

Re:Scaling Transformer to 1M tokens and beyond with RMT by willbudd on Monday April 24, 2023 @03:45AM (#35684759)
Au contraire. Learning an abstract logical relationship such as line of succession during training, and then applying substitution/reification during inference to deduce the new factual clause that Charles is king of the UK is exactly what it means to learn something new. It's just a pity it can't memorize this fact at inference time, and that won't be able to reproduce it as soon as the information about the queen's death slides outside of the context window.
Re:Scaling Transformer to 1M tokens and beyond with RMT by geraneum on Monday April 24, 2023 @04:27AM (#35685005)
That’s actually correct but an overfitted definition for learning. It holds certain hidden assumptions (i.e physical grounding) of the learner being human which makes it inapplicable to an LLM. As in a self driving car which passes a driving exam but fails to drive effectively freely in the city (it’s not an LLM but relevant in this context). You have to admit when you work with this tech that something fundamental is missing in how they perform.
Re:Scaling Transformer to 1M tokens and beyond with RMT by willbudd on Monday April 24, 2023 @04:56AM (#35685179)
> That’s actually correct but an overfitted definition for learning. It holds certain hidden assumptions (i.e physical grounding) of the learner being human which makes it inapplicable to an LLM.

Inapplicable why exactly? Because you say so? Logic isn't magic. Nor is learning. No (external) grounding is required either: iteratively eliminating inconsistent world models is all you need to converge toward a model of the real world. Nothing especially human or inhuman about it. LLM architecture may not be able to represent a fully recursive backtracking truth maintenance system, but it evidently managed to learn a pretty decent approximation anyway.

Re:Scaling Transformer to 1M tokens and beyond with RMT by geraneum on Monday April 24, 2023 @06:45AM (#35685881)
> Because you say so?

Chill my friend, no need to get personal. We are talking about ideas. It’s OK to disagree. I am simply dismissing your initial claim. This usually happens when you present a scientific argument based on personal beliefs. If it’s not magic, then we should be able to doubt and examine it and it should eventually pass scientific muster.

> No grounding is required… It evidently managed to learn a pretty decent approximation.

Well, last time I used an LLM it suggested that I should lift the chair I am sitting in. I guess OpenAI has a lot of work to do. They have to eliminate this inconsistent world model for chairs, tables, floor, My dog, my cat and all the cats living on Mars…

edit: added a missing word.

Re:Scaling Transformer to 1M tokens and beyond with RMT by willbudd on Monday April 24, 2023 @07:21AM (#35686170)
Wasn't intended to be personal. Just a mediocre way of expressing that your assertion there is missing any form of argumentation, and therefore as baseless as it is unconvincing.

I'm seeing an emergent capability of encoding higher order logic, and the whole point of such abstractions is to not need to hardcode your weights with the minutiae of cats on Mars. LLMs today are only trained to predict text, so it's hardly surprising that they have some gaps in their understanding of Newtonian physics. But that doesn't mean the innate capability of grasping such logic isn't there, waiting for the right training regime to expose it to its own falling apples, so to speak.

Re:Scaling Transformer to 1M tokens and beyond with RMT by crakenzak on Monday April 24, 2023 @04:05AM (#35684868)
I'm curious if future developments in LLMs will enable them to extract significant/noteworthy info from their context window and incorporate it into their underlying understanding by adjusting their weights accordingly. This could be an important step towards achieving AGI, since it closely mirrors how humans learn imo.

Humans continually update their foundational understanding by assimilating vital information from their "context window" and dumping irrelevant noise. If LLMs could emulate this, it would be a huge win.

Overall, very exciting area of research!

Re:Scaling Transformer to 1M tokens and beyond with RMT by willbudd on Monday April 24, 2023 @03:39AM (#35684723)
That's a brilliant example. Thanks for sharing. It demonstrates in a very straightforward way that LLMs are capable of learning (and applying) relationships at the level of abstraction of (at least) 1st order logic.

It implies that during training, it learned the facts that Elizabeth is queen of the UK, and that Charles is its crown prince; but _also_ the logical rule <IF die(monarch) AND alive(heir_to_the_throne) => transform(heir_to_the_throne, monarch) AND transform(monarch, former_monarch)>, or at least something along those lines that allows similarly powerful entailment. And that in addition to the ability to substitute/reify with the input sequence at inference runtime.

Would be nice to see a rigorous survey of its logical capabilities given some complex Prolog/Datalog/etc knowledge-base as baseline.

Re:Scaling Transformer to 1M tokens and beyond with RMT by wokkel on Monday April 24, 2023 @07:31AM (#35686282)
No it does not: if you google this and restrict the time to before 2021 (the learning cutoff date) you will find the same answer. Without having access to the training data it's impossible to tell what we seeing.
Re:Scaling Transformer to 1M tokens and beyond with RMT by willbudd on Monday April 24, 2023 @07:49AM (#35686421)
> No it does not: if you google this and restrict the time to before 2021 (the learning cutoff date) you will find the same answer.

Not entirely sure what you mean, but ...show me? Why not just share a link instead of making empty assertions?

Re:Scaling Transformer to 1M tokens and beyond with RMT by nobody81147 on Monday April 24, 2023 @08:27AM (#35686789)
Here’s a Quora thread from 4 years ago:

https://www.quora.com/Once-Queen-Elizabeth-dies-will-Prince-...

There are loads of articles and discussions online speculating about what “will” happen when Queen Elizabeth dies.

When you have a very, very, very large corpus to sample from, it can look a lot like reasoning.

Re:Scaling Transformer to 1M tokens and beyond with RMT by willbudd on Monday April 24, 2023 @09:47AM (#35687591)
I see what you mean, and it's indeed quite likely that texts containing such hypothetical scenarios were included in the dataset. Nonetheless, the implication is that the model was able to extract the conditional represented, recognize when that condition was in fact met (or at least asserted: "The queen died."), and then apply the entailed truth. To me that demonstrates reasoning capabilities, even if for example it memorized/encoded entire Quora threads in its weights (which seems unlikely). If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.
Re:Scaling Transformer to 1M tokens and beyond with RMT by nl on Monday April 24, 2023 @09:10PM (#35695365)
Yes, this.

There's clearly an internal representation of the relationships that is being updated.

If you follow my Twitter thread it shows some temporal reasoning capabilities too. Hard to argue that is just copied from training data: https://twitter.com/nlothian/status/1646699218290225154

Re:Scaling Transformer to 1M tokens and beyond with RMT by nl on Monday April 24, 2023 @09:07PM (#35695344)
That's not the same thing at all.

It absolutely needed to know who the successor would be via training data.

But to know that "The Queen of England died" also means that the head of state of Australia has changed means that it has an internal representation of those relationships.

(Another way of seeing this is with multi-modal models where the visual concepts and word concepts are related enough it can map between the two.)