453 points · by DavidSJ · 6y ago · 234 comments
https://twitter.com/nicklovescode/status/1284050958977130497
https://twitter.com/gwern/with_replies
Most other commentary I've seen either goes too far into reactionary skepticism, too far into to-the-moon style hype, or just straight-up gets stuff wrong by not being aware of some technical detail (importance of prompt design, BPE limits).
Andrej Karpathy @karpathy
> By posting GPT generated text we’re polluting the data for its future versions
John Carmack @ID_AA_Carmack
> Was just about to say that... Old printed books will be the equivalent of the sunken ships they cut up for uncontaminated steel today.
It's not so much contamination, but value drift.
Did you ever try reading Shakespeare without commentary? So many things of that language are no longer colloquial. Maybe generated text can recover that and train us.
Or imagine the "dark tongue" from Paul Kingsnorth' "The Wake" to have been real: we've come quite a bit in expressiveness.
Already are.
I incorporated this into the GPT-3 based search engine I'm hacking right now: https://twitter.com/paraschopra/status/1284905727388028928
Loosely translated: "yo be real" = "Hey, please be more realistic with your future questions"
The largest GPT-3 model "GPT-3 175B" is trained with 499 Billion tokens (one token is maybe equal to 4 characters in text).
Human reading/talking/listening equivalent of 200 pages of text per day for 80 years would be just 13GB of raw data or 3B tokens. You could also make an estimate using 39 bits/s as the normal information rate humans can absorb and get the same order of magnitude estimate.
It's not completely wrong to say that we are figuring out how far interpolation from data can go as a learning method. Even the most advanced deep learning is in-distribution learning and system 1 thinking (Kahneman's term). Just run through data until the model can interpolate accurately between data points.
We must figure out how do learn models that allow out-of-distribution learning or these models fail the Turing test after a few questions.
So I don't think that you can conclude that humans learn more efficiency based on just quantity of data.
It's also worth noting that GPT-3 is trained to emulate _any_ human writing, not just some human's writing.
For an actual Turing test one might fine-tune it on text produced by one particular human, then you might get more accurate results.
You are correct. My main argument was that in-distribution learning is not enough. You can's fix that problem with more data as many responses to my comment seem to assume.
I think out-distribution leaning and small data requirement are connected. If agent can understand the concept separate from the chain leading from sensory inputs, it can understand what it's doing in novel situation even without examples.
We can see that it actually uses abstractions and logic in some cases.
E.g. "Bob is a frog. Bob's skin color is ___". Even small GPT-2 models can relate "Bob" to concept "frog" and query "frog" "skin color" attribute. Even basic language modeling requires inference, and GPT-x can inference using transformer blocks.
With more layers it can go from inferencing meaning of words to doing inference to solve problems.
But the inference it is able to do is limited in scope because of the structure of a language model -- each input token must correspond to one output token. So the model can't take a pause and think about something, it can only think while it produces tokens.
Here's an absolutely insane example of embedding symbolic computation into a story which lets GPT-3 to break computation into small steps it can handle. Intermediate results become part of the story: https://twitter.com/kleptid/status/1284069270603866113
https://twitter.com/kleptid/status/1284098635689611264
So I guess one can make a model which is much better at thinking simply by training in a different way or changing the topology. But the building blocks are good enough.
From my reading, you've asserted this to be true, but haven't given any more support to why then the people who have asserted it to be false.
GPT-3 isn't a human brain. I want to understand your argument as more than "planes can't fly because they don't flap their wings".
Even more scary, what if our brains are simply above that power limit in their ability (if they do that) to interpolate. And what if we don't really understand anything (but, just like vision, our brains provide us the comforting sensation that we really get it), but simply are in possession of wetware/quantum computers that can interpolate better than we can poke holes in it.
I guess domain transformation is something which is hard to visualize. But it was visualized in style transfer: there are NNs which can decompose a picture into a subject and style and then take the same subject and apply a different style.
Same works with text -- you can take a sentence and rewrite it to be in Victorian epistolary style. Or take a story about humans and rephrase it to be a fairy tale with animals. GPT-3 can also do this. This means it's possible to take a sentence and decompose it into different layers, then manipulate layers individually and reassemble.
Also, "trial-and-error stateful processing" is so vague and broad that I don't feel that it meaningfully describes anything more than 'computation'.
Maybe what we call intelligence, and what we are trying to create with AI is just "how a brain" thinks. That version of AI definitely seems achievable, it's a;sp interesting to think what consciousness is, when it seems that people have been able to perceive things outside their body, while it was dead, and then return to that body upon it being revived, and being able to bring verifiable details back with them...Or a consciousness being able to recall things inbetween incarnations in bodies....Those impressions must involve pattern matching and thinking as well...But there's no substrate it seems. Just the universe itself. Which is pretty bizarre...Makes you wonder why our brains need to be so complex at all, if our souls can think and remember too...
Perhaps even more scary and bizarre (and not what I believe) but what if having a soul (as in some consciousness part that exists separate to the body) is actually real but not common. So the strange anecdotes of these occurrences are not more widespread simply because, for whatever reason, most bodies don't have souls...I'm sure it's not like that...but since we're speculating, may as well take this to where it goes, which is, if that's the case then consciousness (which we all have, otherwise the body is anesthetized), and the soul (which it seems some people have, owing to how they have disembodied memories that are factual) might be separate.
So if the body has consciousness that's entirely embodied, maybe AI's can have consciousness as well. Then what's the soul? And what is the soul doing when a person's brain and consciousness is doing the thinking? Or if we all have a soul (a disembodied consciousness) why can only very few people seem to have disembodied memories?
If we make the right AI substrate for consciousness, will it attract souls, like moths to a light?
I have memorized a random 128 bit string, please tell me which it is.
Some questions cannot be interpolated and require novel data-gathering to answer.
Our genes give us priors to evade lions and pick berries. Humanity as cultural organism can reprogram us to more abstract tasks, but it takes easily 10-20 years of training and we are relatively inefficient in them compared to our original task.
But even then. I don't think current in-distribution learning is enough even if we scale it up. There must be something else. We are at least 3-5 Turing awards away from AGI, I think.
Or it could be a complete dead end, as has happened before. And nobody could tell until it was done; even those who were correctly skeptical were really just lucky that there wasn't a rabbit in that hat. Sometimes there's a rabbit.
The best you are likely going to get is robustness wrt different environments, but the environments have to come from the same Meta-Distribution. Invariant risk minimization is an interesting research area in that direction, there is for example an adversarial formulation that seems quite elegant. I have never tried this, but I can imagine it is tricky to get to converge.
I am sympathetic to the "total life time input" argument.
But humans get a hand crafted curriculum inputs, evolved over 1000s of iterations, in a near-optimal language encoding.
Also, if unsupervised gets us in-dist, and DRL seems to be not-bad in search-out-of-dist.... then we are getting close ?
Certainly a x100 scaling of current techniques can get a useful enough machine that makes many human tasks trac-able?
(I am not getting into the Turing / AGI / skynet argument)
16 year old human has experienced only about 400 million wakeful seconds.
> Humans get a hand crafted curriculum inputs, evolved over 1000s of iterations, in a near-optimal language encoding.
In addition to nonsense questions, I think it would be pretty easy to knock it over with some deeper questions about things they were already talking about. Like asking 'Why don't chairs with 3 legs fall over then?'
To be fair (as one who hasn't paid too much attention to these developements in the last few months/years), the sheer amount of individual facts that are apparently encoded in a fixed nn architecture is what amazes me the most here?
I get that it has 175B variables, but it's not like you can used them in a structured way to store say a knowledge base...
(Sorry for the very basic question.)
It's ~650GiB of data. The entire English version of Wikipedia is about 20GiB and the Encyclopædia Britannica is only about 300MiB (measured in ASCII characters) [1].
[1] https://en.wikipedia.org/wiki/Wikipedia:Size_comparisons
Did Turing talk about this aspect? I seem to remember there was supposed to be a panel or committee rather than a single individual?
An interviewer is then trying to decide who of them is actually the one they pretend to be by asking questions.
In order to remove any hints from appearance, voice, or handwriting, a typewriter is used for interacting.
For example A could be male and B could be female and A is asked to pretend to be B. The interviewer can then ask questions to decide whether A is male or female (yes, I am fully aware that in 2020 this: https://youtu.be/z2_8cfVpXbo?t=129 could also happen).
Turing then proposed to replace A or B with a computer instead and ask the interviewer to decide which of them is the human.
In this scenario, do you really think the interviewer would bombard the candidates with trivia questions and logic puzzles to find out?
The idea was, that other aspects of human intelligence, like a sense for beauty, poetry, etc. would be used instead to differentiate between the two.
Questions like "Do you enjoy reading Harry Potter?" and depending on the answer you could further ask why or why not the subject likes or dislikes the books.
This would be much more insightful and coming up with such questions doesn't require any particular skill on part of the interviewer.
You can even get tricky and return to the topic after talking about something else to see whether you get a similar response or to test the subject's memory.
A test "pass" or "fail" could potentially be the fault of the tester as much as it is a sign of intelligence in the AI. How do you evaluate how capable someone is of administering a worthwhile Turing Test?
Maybe they should be tested beforehand. I propose a system involving a remote teletype machine and human tester...
So the basic quality he seeks in a machine that could pass the so called turing test is a machine that produces meaning. That meaning comes from any mind that is intact or coherent. So unless we take the leap from making category deciders and inference machines to actually building minds, we won't get anywhere near his definition of a machine that is truly intelligent.
It gets things wrong that people might get wrong too. Here's one you probably heard:
Quickly answer the following.
What color is a fridge?
What does a cow drink?
Cows don't drink milk. But many people will say milk, perhaps because they are primed by association.
Also, part of me thinks NOT getting math right is more of a Turing test pass than getting it right immediately. It's pretty easy to think of a calculation that no person could do in their head, but a machine could either find or calculate in a second. It's kinda like how you might put on an accent to fit in with a certain group.
'Not getting math right' is part of a classic repertoire of cheap hacks used to pass the Turing test by mimicking 'how' a human might speak. This includes pauses in typing, grammatical errors, fillers such as 'like' and on son in order to pass the TT, instead of building language competency so well that passing the TT is a by-product. It's like 'teaching to the test' instead of teaching the subject.
"Some people interpret the TT as a setting in which you can "cheat". The game has no rules constraining the design of the machines. At some places in the paper, Turing describes how machines could be "rigged" to overcome certain obstacles proposed by opponents of the idea that machines can think.
"A very obvious example is about machines making mistakes. When the machine is faced with an arithmetical operation, in order not to give away its identity by being fast and accurate, it can pause for about 30 seconds before responding and occasionally give a wrong answer. Being able to carry out arithmetical calculations fast and accurately is generally considered intelligent behavior. However, Turing wishes to sacrifice this at the expense of human-ness.
"Some commentators think this is "cheating". The machine is resorting to certain "tricks" in its operations rather than imitating the human ways. However, arithmetic is a highly specific domain. Modifying the programs in this manner cannot hurt: If a machine can pass the test, it can then be re-programmed not to cheat at arithmetic. If it does not resort to this, the interrogator can ask a difficult arithmetical problem as his/her first question and decide that he/she is dealing with a machine right then and there."
[1]: Saygin, A. P., Cicekli, I., & Akman, V. (2000). Turing test: 50 years later. Minds and machines, 10(4), 463-518.
If a system can be trained to advocate for a political viewpoint to the level of online debate without human interaction that could cause some interesting effects in online discourse.
It said many random clever sounding things. For example:
I COULD SHAKE MY TINY FIST AND SWEAR I WASN'T WRONG, BUT WHAT'S THE SENSE IN ARGUING WHEN YOU'RE MUCH TOO BUSY RETURNING TO THE LAVATOR.
COWS FLY LIKE CLOUDS BUT THEY ARE NEVER COMPLETELY SUCCESSFUL.
COWS FLY LIKE CLOUDS BUT THEY ALSO HAVE VERY SAD DEATH. BUT AT LEAST WITTY?
TIME. TIME. WHAT IS TIME? SWISS MANUFACTURE IT. FRENCH HORDE IT. ITALIANS WANT IT, HUH? WELL, I MUST BE THURSDAY. I NEVER COULD GET THE HANG OF THURSDAYS.
CHESS IS A FUN SPORT, WHEN PLAYED WITH SHOT GUNS.
Truly ahead of it's time.
It's a pity that AI technologies aren't more widely available to artists, authors, and musicians.
Maybe the AI knows something we don’t here.
Prove it
https://io9.gizmodo.com/when-a-newspaper-gave-blade-runners-...
Perhaps too wide a variety of topics. You could ask it a wide range of trivial questions about totally unrelated obscure topics that no one human would possibly happen to know.
It would learn to not know too much, to make the conversation fluent, to perhaps get bored after some time.
Sounds like a perfectly valid Dr. Seuss answer to a Dr. Seuss question.
To me this is more human seeming and demonstrates more personality then just saying, “I don’t understand your question?”
Of course as others have pointed out, if you want it to get serious, you have to demonstrate that it should respond with a “That’s a Stupid Question” if you want it to do so.
What would be interesting is if could master the usage of a sarcastic or silly emoji to tag when it was making stuff up versus being serious.
Most data quality problems in online studies stem from a lack of participant attention or effort. Identifying inattentive respondents in self-administered surveys is a challenging goal for survey researchers. Please answer "orange" below so that we know you are paying attention.
What color is the sky?
[ ] Orange
[ ] BlueTo be fair, I think Alice and other pattern-based chatbots where already much better then that. I have seen them confused for people in IRC chats more than 10 years ago.
Still, it seems to me the older issue of "lack of context" is still there even if the current results are very impressive.
I would be curious to see what happens if asking to change the tone ("could you answer more briefly/tersely/verbosely/whatever?").
But there might be a need for regulation, it some point.
On the other hand: If there is no interaction it doesn‘t really matter. After all there are many human beings, too. It‘s not that important if something is written by one of them or by an AI. But if you‘re talking to one - then I‘d say it might matter.
It's interesting that in such a setup, all participants must pretend to be judges. I've always felt uncomfortable that the Turing test is rewarding good lying. The AI must lie to pass. But developing judge AI is very interesting I think.
Even in your setup, immediately, the Judge-side winner is not guaranteed to be a human, since each match results in an evaluation of both sides and AIs can be trained to detect other AIs. And obviously once we have one that is very good at judging, we can fold it over itself for self-improvement.
Actually I wonder if being a good Turing test judge is an easier goal than passing the Turing test itself. All you need is come up with interesting questions and understand enough of the answers to make a judgment. It should be relatively easy to create this dataset by combining GPT-3 turing test and Mechanical turk turing tests. Can AI beat humans at this task before we have full AGI?
A while ago someone posted a Show HN thread where you would be matched with 50% probability with a human or AI and you could ask questions to guess which. In reality there was no AI, it was all humans vs humans, and they were harvesting Turing test questions!
I'm afraid though that all that GPT or any similar model passing the Turing Test would prove is that the Test is not fit for purpose as a demonstration of genuine intelligence - which, to be fair to Turing, is not what it was intended for.
In a sense it‘s like we are learning what it should look like at a time.
Additionally, humans make mistakes, too, especially when they are too lazy to think.
Currently the test is still good enough. But in the long term, we should change it to test for transfer learning:
Given a new task that is designed to be sufficiently complex and different from known tasks, how well does the AI do? It will require creativity to design those tests. But we‘re still far from that.
GPT isn't remotely intelligent, just brilliant at producing a semblance of some aspects of intelligence - which the Turing Test is useful in establishing.
But anyway, this can probably be fixed by making the test gamified and adversarial. The machine is considered human-level intelligent when paid testers cannot distinguish paid responders from the AI. Their payment depends on their success rates. Although one potential problem would be collusion between the testers and responders, the next step would allowing the AI access to the communication channels they would use to collude.
It would be considered to have passed the Turing Test is all, which is a very different matter.
More to the point, it's not that GPT-3 knows any answers to any questions. Like the article says, language models are trained to predict the next characters in a sequence. So, it predicts that a sequence that starts with "Who was president of the United States in 1700?" would continue with the sequence "William Penn was president of the United States in 1700". Seen another way, there's a correlation between the two strings. It's the highest correlation between the first string and any other string, so that's what ends up in the output.
So it's more accurate to say that GPT-3 is guessing what the answer to a question might look like, than to say that it "knows" what the answer to a question, is. It's perhaps a subtle distinction but it's important to keep it in mind, especially in view of claims about "intelligence" and (Old Ones save us) "understanding".
Basically, what all this tells us is that it's not possible to answer arbitrary questions consistently by guessing at them. Even if you get lucky, and you keep getting lucky, there will always be questions that you can't answer correctly and they will be many more than the questions you can answer correctly (e.g. we could generate an infinite number of common nonsense questions like how to sporgle a morgle, or who was the president of the united states since Biblical times etc).
This of course is an old debate in AI: can we simulate a system of logic, without implementing its logic? e.g. could we perform correct arithmetic by memorising the results of calculations? Can prediction replace reasoning? Despite the unending hype generated by OpenAI about its models, the answer keeps being: a resounding no. While you can go a long way by training on ever larger data, it only takes a shallow search before obvious nonsense results are generated.
I don't know, because I did not propose that definition of reasoning.
"Reasoning" does not have a formal definition in AI, or Computer Science (neither does "intelligence" or "understanding") but, in general, when we speak of reasoning in those fields we mean a procedure that can derive the logical consequences of some premises, often in conjunction with some background theory. I'm happy to use this as an informal definition of reasoning, if you want.
I wonder if expert systems could be used to generate a "logical reasoning" training dataset (or a cost/fitness function) to help train/evolve neural networks on. Or if there are other ways of integrating these two.
Kind of an eerie reply, gives me more of a Voight-Kampff test vibe.
Since GPT-3 probably has a lot of Do Androids Dream of Electric Sheep? and Blade Runner quotes in its training data, it'd probably ace the actual test just fine.
Old jokes:
Q: How high is a mouse when it spins? A: The higher, the fewer.
Q: How many surrealists does it take to change a light bulb? A: Two, one to climb the giraffe and the other to fill the bathtub with brightly colored machine tools.
Nonsense prose & poetry is an old literary challenge, notable example being Jabberwocky: https://www.poetryfoundation.org/poems/42916/jabberwocky
I wonder if GPT-3 can hold a longer conversation where it remembers facts mentioned earlier and what it itself has said.
In other words, does it exhibit any "theory of mind"?
I'm guessing it would do quite poorly on that stuff.
It would be more remarkable if GPT-3 couldn't solve these types of questions. It might be another problem with the prompt design.
[1] Incidentally, the article is wrong in claiming that the state of the art before modern neural nets was Eliza. Rule-based chatbots got quite advanced in 2013-2016, although they admittedly were never capable of the sort of "true" understanding and long-term coherence that GPT-3 seems to display.
I know that training the model would be absurdly expensive, so I'm curious if it is possible to download one of the already trained artifacts of one of the models. I can't find anything online or in either of the HN threads on GPT-3
On another note:
At 175B parameters, with float16 representations, the in memory footprint is about 350GB plus activations would take it to another 400GB. You would need 12 or 13 V100GB GPUs to hold it in memory, or three p3.8xlarge. Meaning loading it on AWS would cost around $35-40/hr.
Though if you didn't care about speed, you could load up the weights from disk one at a time and forward through it a few layers at a time on a single GPU.
Especially if you can use spot instances or a cheaper cloud host.
But I guess without the weights, the floor for this is several thousand dollars to play around with.
Do you know if the data set is being released?
You can find a very comparable corpus open sourced and easy to use on the [T5 repo](https://github.com/google-research/text-to-text-transfer-tra...)
These things seem to have about the level of coherence of dreams. Which makes me conjecture, perhaps the mechanism that "directs" dreams serves a similar function as the above?
a lost chance to ask how many eyes five giraffe have, albeit it follow up with interesting eye related questions later on
> A: The sun has one eye.
that's interesting. can it has been feed the lord of the ring?
anyway, exploring the boundaries of these projects is fascinating
I wonder what this means for the future of domains like automated theorem proving, logic programming where specialized searches are used everywhere, could there be a potential hybrid of that and more general language models such as GPT-3?
https://nitter.net/kleptid/status/1284098635689611264#m
While the human is doing most of the work, this looks more like teaching another human than coding in a formally specified, machine-parseable programming language.
On one hand, this could decrease the barrier of entry to programming. On the other hand, it seems to leverage (and train) the same skills that are needed to express ideas clearly to humans, which is arguably much more applicable than learning a traditional programming language.
However, I wonder if there's an architecture that can learn new information without doing an explicit gradient descent/backward-pass. Most active learning seems to be some sort of fine-tuning.
How do you know you are not a Chinese room? Or I am?
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.136...
Both as an anti-lawyer joke but also from the quite practical observations that there are a bunch of human endeavours, law springing to mind, where humans have to act as a Chinese room on purpose and reason about things they have little practical experience with using only words.
Surely you could tell it isn't human because it knows too much trivia?
> Q: Are there any animals with three legs?
> A: No, there are no animals with three legs.
I would expect a human to say something like, "There aren't any animals that are born with three legs (that I know of) but there are some four-legged animals who have lost a leg for some reason who now have three legs. I saw a video of a really cute three-legged dog on Youtube just the other day."
NOTE: when I used the word "just" above, I in no way meant that to be pejorative. Both Eliza and GPT-3 are really cool, amazing technical achievements. But neither one represents much progress towards GAI (IMHO) except insofar as they show that naive approaches like this won't work. Which is really useful to know.
Typically:
"The trophy would not fit in the brown suitcase because it was too big (small). What was too big (small)?"
They should have called it Orac instead of GPT-3.
Now to unleash GPT4 on Hacker News and sit back and create lots of sybil accounts... (just kidding)
If not, then how can I fine tune it to fit my own data? Will they provide API for it?
Oh! So only about $1 million on bare metal.
The Turing test was a hand-wavey method to determine if a machine was intelligent, yet since the times of Eliza most (all?) of the efforts are geared at exploiting the weaknesses of the test instead of producing something along the lines of actual artificial intelligence.
The Turing test should not even be attempted in the next few decades as were not even close to really passing it.
Further, we're actually astonishingly close, imo. Given current sota, if you asked turkers to administer the test without training, I think we'd pass.
(Also, the prompt helps, see this example https://twitter.com/nicklovescode/status/1284050958977130497 )
An AI that in some way demonstrated what we might call basic common sense, together with computer-like levels of recall, would be tremendously useful for all sorts of things. And a Turing test like this would probably demonstrate it fine.
> A: The sun has one eye.
What if GPT-3 knows more than we do?
I mean...wow.
The use cases are practically limitless.
All I saw from this post is that it doesn't work well with edge cases.
But this smashes the Pareto principle.
This is perfect as a tool for kids to get into programming.
Something where they can see a big result with less effort, like programming in the 90's.
That is what defines a human, the ability to make tools out of other things and even other people.
Content like this is why I joined Hacker News in the first place. I wonder how many other hidden gems are out there on the Internet.
What does it mean to „understand it“?
How do you know how you answer a question yourself?
Presumably, what you mean is that you can stop and _reflect_ on what was asked. You‘re aware of it. And if it‘s complicated you might be able to reason and break it down.
GPT-3 certainly doesn‘t do that, but all that means it‘s not conscious.
This can be extended down or wide, with several instances representing different thinking modalities and the final answer being generated from all of them. Basically reproducing a neural net architecture but at the higher abstraction level.