News for hackers. Stuff that matters.
Re:We Found an Neuron in GPT-2 by PeterisP on Thursday February 16, 2023 @06:28PM (#34828259)
I think the lack of explicit linguistic tools is the key to success, forcing/enabling the generic model to learn implicit linguistic tools (there's some research identifying that analysis of specific linguistic phenomena happens at specific places in the NN layers) that work better than what we could implement.

"It would be interesting to know how different a model would be if it operated on eg dependency trees instead of the linear list of tokens." - indeed, this is obviously interesting, so people have tried that a lot for many models, but IMHO it's probably now almost decade since the consensus is that in general end-to-end training (once we became able to do it) work better than adding explicit stages in between, e.g. for any random task I would expect that doing text->syntax tree->outcome is going to get worse results than text->outcome, because even if the task really needs syntax, the syntax representation that a stack of large transformer layers learns implicitly tends to be a better representation of the natural language than any human linguist devised formal grammar, which inevitably has to mangle the actual languge to fit into neat human-analyzable 'boxes'/classes/types in which it doesn't really fit and all the fuzzy edge cases stick out. Once you remove the constraint that the grammar must be simplified enough for a human to be able to rationally analyze and understand, and (perhaps even more importantly?) abandoning the need to prematurely disambiguate the utterance to a single syntax tree instead of accepting that parts of it are ambiguous (but not equally likely), processing works better.

It's just one more reminder of the bitter lesson (http://incompleteideas.net/IncIdeas/BitterLesson.html) which we don't want to accept.

Re:We Found an Neuron in GPT-2 by clementneo on Thursday February 16, 2023 @08:42PM (#34829559)
I think there's probably some truth to this. They found that in InstructGPT — where they teach the model to better follow instructions, which was the jump from GPT-3 to ChatGPT — they found that the model also learnt to follow non-English instructions, even though the extra training was done almost exclusively in English[1].

So there seems to be such emergent mechanisms in the model that have arisen because of the end-to-end training, which we don't exactly understand yet.

[1] https://twitter.com/janleike/status/1625207251630960640

Re:We Found an Neuron in GPT-2 by kilgnad on Thursday February 16, 2023 @09:53PM (#34830103)
Hmm I think it's sort of a hybrid.

First off, we know that overall the concept of language is humans is an emergent phenomenon. It developed from natural selection from simple components so there's validity that the same thing can occur in an LLM where some overarching emergent structure develops from simple primitives.

At the same time we do know that a sort of universal grammar exists among humans. Our language capacity is biased in a certain way and that it is unlikely for it to learn languages of a very extreme and divergent grammar from the universal one discovered by Noam chomsky. That means our brain is unlikely to be as universally simple as an LLM.

I think the key here is that the human mind has explicit linguistic tools but the these tools are still emergent in nature.

Re:We Found an Neuron in GPT-2 by vajrabum on Thursday February 16, 2023 @11:05PM (#34830610)
Lots of linguistics researchers would disagree about the existence and necessity of universal grammar or Chomsky's 'language acquisition device' and in fact the success of LLMs and statistical models which very clearly have no LAD and no universal grammar over feature engineering or grammar based schemes suggests the opposite.
Re:We Found an Neuron in GPT-2 by kilgnad on Thursday February 16, 2023 @11:35PM (#34830823)
I'm outdated on this research. I took a linguistics class in UCLA about a decade ago and at the time universal grammar was the prevailing norm.

Has it changed since then? Have they found a significant number of human civilizations that use divergent grammars?

Re:We Found an Neuron in GPT-2 by solarmist on Friday February 17, 2023 @03:21PM (#34840005)
Chomsky’s universal grammar is a modification of Harris’s Operator grammar.

Harris’s operator grammar was based on set theory however Chomsky was enamored with formal logic and ran in that direction. Also, Chomsky became famous while Harris didn’t.

Operator grammar is self-discoverable and he published a full description of English grammar in the 1980’s using this theory and an extension in the 1990’s which generalized to other languages.

It is not fully deterministic (final word selection and ordering is probabilistic), but it is much more convincing to me and in line with how we understand brains to work.

Over the last 20 years Chomsky has begun to fall out of favor because it’s just so complicated and requires external structures, etc.

Re:We Found an Neuron in GPT-2 by kilgnad on Friday February 17, 2023 @08:18PM (#34842847)
Well the model needs to be invalidated by science not by elegance or logic. Which grammar is actually more universal or is it a case where both can be applied. In the class I attended Chmosky's stuff was taught as foundational linguistics.
Re:We Found an Neuron in GPT-2 by solarmist on Friday February 17, 2023 @11:57PM (#34844038)
I’m not sure what you’re arguing.

Any theory that explains all the facts is valid, there can be more than one competing theory. Fame of the author absolutely matters and so does elegance of the theory.

Chomsky has held on so long because it did pretty well and he became very famous, but over time it has needed larger and larger patches to cover its flaws, so other explanations are gaining traction once again.

Re:We Found an Neuron in GPT-2 by kilgnad on Saturday February 18, 2023 @12:07AM (#34844096)
Hold on. I'm not biased here. I already admitted my knowledge is outdated. I am actively welcoming new information. I am not arguing.

No the elegance of the theory does not matter. The truth of the theory does. I'm saying does the universal grammar you describe, is it actually universal? Amongst all the languages in the world, do they all share this other grammar you describe? If not then the theory is incorrect. It doesn't matter how elegant the theory is.

I brought this up specifically because your reasoning wasn't "scientific" it was more along the lines of logical elegance.

>Chomsky has held on so long because it did pretty well and he became very famous, but over time it has needed larger and larger patches to cover its flaws, so other explanations are gaining traction once again.

See this makes sense and is basically the answer to the question I am asking. So you're basically saying that there were flaws? As in he had to make up new rules constantly because the science was contradicting his theory. Am I correct in this characterization?

Re:We Found an Neuron in GPT-2 by solarmist on Saturday February 18, 2023 @12:20AM (#34844158)
Ah, gotcha. Yeah, I didn’t really get what you were trying to say.

I’m not an expert, but if I recall I think the big flaw was insistence on determinism.

And to my knowledge operator grammar is universal to the degree there isn’t a counter example in the dozen of languages he explored and hundreds he had others help him with. But to my knowledge the only language he fully mapped was English.

Edit: take a look at the article on Wikipedia.

https://en.m.wikipedia.org/wiki/Operator_grammar