News for hackers. Stuff that matters.
Re:Are we in an AI Overhang? by f00zz on Monday July 27, 2020 @04:33PM (#23969119)
In Kernighan and Pike's "The Practice of Programming" there's a chapter that covers the implementation in different languages of a random text generator using markov chains. It's a nice exercise and a lot of fun to play with.

I'm guessing that not many people have read that book, because I'm seeing here and elsewhere even technical people talking about GPT-3 as if it's heralding the imminent advent of SkyNet. I get that transformers have a somewhat longer attention span than markov chains, but it's still a statistical language model. It can't even do the kind of planning or reasoning that early AI demos like SHRDLU could.

Re:Are we in an AI Overhang? by Veedrac on Monday July 27, 2020 @06:18PM (#23970079)
It's ridiculous to equate this to a traditional Markov chain language model. Here's something a Markov chain certainly cannot do:

Human: I want to test your creativity. Please invent a new word and give its meaning.

GPT-3: Ok. Um... Tana means to hit someone with the intention to wound them.

Human: Please use the word tana in a sentence.

GPT-3: You are about to tana the man attacking you.

Human: Speak like a dwarf.

GPT-3: I ain't talkin' like a dwarf.

https://www.reddit.com/r/MachineLearning/comments/hvssqn/d_g...

Re:Are we in an AI Overhang? by f00zz on Tuesday July 28, 2020 @06:15AM (#23974170)
Right, I admit that I don't know the first thing about ML, so I tried an experiment.

Consider a language with the tokens "{[()]}" and the following grammar:

S := S S | '{' S '}' | '[' S ']' | '(' S ')' | <empty>

That is, "[()]" and "[]()" are valid sequences, but "[(])" or "))))" aren't. A child would quickly figure out the grammar if presented some valid sequences.

I generated all 73206 valid sequences with 10 tokens and used it as input to the RNN text generator code at http://karpathy.github.io/2015/05/21/rnn-effectiveness/. After 500,000 iterations I'm still getting invalid sequences.

Am I doing something stupid, or is a RNN text generator weaker than a child (or a pushdown automaton)? Is GPT fundamentally more powerful than this?

Re:Are we in an AI Overhang? by Veedrac on Tuesday July 28, 2020 @07:50AM (#23974725)
GPT-3 can generate well-formed programs, so yes, it does things well beyond this complexity.

> After 500,000 iterations I'm still getting invalid sequences.

How frequently? If it's only the occasional issue it might be down to the temperature-based sampling that code uses, which means it will, with some small probability, return arbitrarily unlikely outputs.

Re:Are we in an AI Overhang? by mrfusion on Monday July 27, 2020 @08:47PM (#23971109)
How can it do that? Did it read “tana” and the meaning somewhere?
Re:Are we in an AI Overhang? by perl4ever on Tuesday July 28, 2020 @12:26AM (#23972260)
I suspect people overestimate the intelligence because they just can't grasp how much data it's ingested or don't have a visceral sense of what an ocean of data can contain. There's a saying that "quantity has a quality all its own".
Re:Are we in an AI Overhang? by dragongod2718 on Tuesday July 28, 2020 @09:05AM (#23975269)
I don't think this is an overestimation of intelligence. That ability is itself intelligence.
Re:Are we in an AI Overhang? by Jach on Monday July 27, 2020 @05:19PM (#23969510)
It's a good book, and one most programmers should read early on (it grows less useful over time), but to think of this as only an incremental improvement over markov chains is underselling the advance. The technology is different, and can scale to much higher levels of capability. AGI levels? Almost certainly not. But it's passing usefulness thresholds so things can progress elsewhere.
Re:Are we in an AI Overhang? by scottlocklin on Monday July 27, 2020 @05:40PM (#23969717)
>to think of this as only an incremental improvement over markov chains is underselling the advance.

Erm, citations needed. It's a giant, inefficient and shitty KNN model, which is capable of mimicking markov chains. Wonderful marketing achievement and not much else.

Re:Are we in an AI Overhang? by Jach on Monday July 27, 2020 @07:19PM (#23970524)
https://www.gwern.net/GPT-3 (Edit: in case it's not clear, I suspect if you give an honest perusal of that page, and the pages it links, and the pages they link, you'll come away with a different opinion.)
Re:Are we in an AI Overhang? by shpongled on Monday July 27, 2020 @08:00PM (#23970785)
I'm totally with you. I find GPT-3 incredibly impressive, but people are acting as if GPT-3 is a harbinger of AGI.

This is especially obvious on stuff like lesswrong, where AI is a big part of what they talk about. I tend to agree with the LW/SSC crowd about the negative effects of AGI, but they are being so hyperbolic about GPT-3.