Live data from Hacker News

Machine learning won't solve natural language understanding

thegradient.pub

41–50 of 193 posts

Re: Machine learning won't solve natural language understanding

#41
post #18

> In other words, we must get, from a multitude of possible interpretations of the above question, the one and only one meaning that, according to our commonsense knowledge of the world, is the one thought behind the question some speaker intended to ask. But, can humans do this? I think not; I still disagree with the author about what "Do we have a retired BBC reporter that was based in an East European country duri…

> But, can humans do this? I think not; > Even humans are only probably approximately correct. Fair point. But how about this: It's true that what John would do with the sentence is technically an "approximation" of what Alice would do because they have slightly different understandings of correct behavior. However, for humans to do what they do, they still do build an absolutely correct model of meaning in their min…

This seems to be misunderstanding what PAC learnable means. It's saying that for parameters epsilon and delta, you can get an algorithm for learning a hypothesis that, with probability 1 - delta, has an average error rate less than epsilon, given some number of training samples polynomial in 1/delta and 1/epsilon.

This has nothing to do with the mental model. The language model doesn't have to spit out probabilities. It can use a simple thresholding function and spit out certainties. They just might be wrong, but a human's "certain" mental models might be wrong, too.

Re: Machine learning won't solve natural language understanding

#42

The history of NLP is littered with people claiming on theoretical grounds that XYZ is unattainable using purely statistical methods, and that some notion of the logical structure of language needs to be brought in. And yet one by one, the XYZ have been attained by statistical methods. If you think there's something NLP can't do using machine learning, make a challenge dataset. That would be much more useful than yet…

Ironically, exactly these sorts of "statistics can't..." arguments are sort of theoretically bankrupt.

Either the thing you want to do is impossible or else a learned model can do it at least almost as well as... idk what the alternative even is, something not learned?

Taking this to the extreme, on an example where I have first-hand experience: I would never recommend replacing your compiler passes with transformers. The latter will be buggier, at best marginally faster, and it will take several orders of magnitude more effort to get them to work well enough for production. ML isn't the right tool. But, I mean, you can do it. You shouldn't. But you can.

To be fair to the article, the title is "won't", not "can't". And that's easier to believe, at least for me. It's not that X is unattainable using ML; it's that some other approach will get there first.

Re: Machine learning won't solve natural language understanding

#43
Well, I would have agreed with you a year or two ago. I have been experimenting with GPT-3, via OpenAI beta APIs. The generative (not extractive) summarization is impressive. Question answering functionality is also good.

Fast forward ten years when we have: 1. Much faster, with much more memory, custom neural processing hardware. 2. Advances in modeling techniques, similar to how Transformer models seemed revolutionary a few years ago.

Wait ten years.

Re: Machine learning won't solve natural language understanding

#44

The history of NLP is littered with people claiming on theoretical grounds that XYZ is unattainable using purely statistical methods, and that some notion of the logical structure of language needs to be brought in. And yet one by one, the XYZ have been attained by statistical methods. If you think there's something NLP can't do using machine learning, make a challenge dataset. That would be much more useful than yet…

Yeah, Norvig has a rather famous rebuttal of Chomsky up on his blog from years ago, and everything that's happened since then has supported Norvig's position.

Re: Machine learning won't solve natural language understanding

#45

> But this is where the problem is in NLU: machines don’t know what we leave out, because they don’t know what we all know. What the machine doesn’t have that we have is an understanding of culture and the feedback of emotions. What’s elusive about culture is that much of it is tacit. Consider all the things you don’t do in order to be a respected guest at a dinner party (a) for someone you don’t know well; vs (b) yo…

There's no reason in principle a machine can't learn this kind of thing (humans are still machines, after all), but I think this certainly points to why humans learn language so much faster than machine models. We can synthesize language understanding with a much richer, sensory-based model of the world and recognize that words correspond to clusters of sensations like specific sights, sounds, tastes, feelings, and smells.

A logical next step in AI research is figuring out some kind of way to get these various systems that do one thing and one well to interoperate the way all the parts of a brain do, so Alpha Go, some object recognizer trained on Go boards, and a language model trained on sentences about the game of Go can recognize they're all modeling the same thing and augment each other with crosstalk and competitive hypothesizing in roughly the way animal reasoning seems to work.

Re: Machine learning won't solve natural language understanding

#46
post #21

Earlier quoted context omitted.

That's a different problem, isn't it? That's more about transcription -- getting the speech into words -- than about what he's talking about, making sense of the words once you have them.

The two tasks are interconnected. The reasoning flows both ways.

A model of language could help with transcription, but having a perfect transcription doesn't mean you can make heads or tails of what you've got.

Re: Machine learning won't solve natural language understanding

#47
Natural language evolves with what's happening in the world. Natural language also refers to what's happening in the works. For ML to keep up with that it would have to understand what's going on in the world, no?

Imagine you see a discussion about a border issue between two countries. You see a sentence that says: "What if country X does what Lukashenka did?"

If you've paid attention to the news about the border issue between Belarus and Lithuania you'd understand that the sentence is referring to flying in Iraqi migrants to Belarus to then send them to Lithuania to try to cross the border. Effectively to "flood the border".

It gets worse too depending on the perspective. For those that support Lukashenka the meaning might be different, because they don't accept that the above is what really happened.

For an ML model to understand all of this, it would have to have an understanding of what's going on in the real world. And it would have to be able to glean this understanding from few examples. I'm not sure how feasible this is.

Re: Machine learning won't solve natural language understanding

#48

The history of NLP is littered with people claiming on theoretical grounds that XYZ is unattainable using purely statistical methods, and that some notion of the logical structure of language needs to be brought in. And yet one by one, the XYZ have been attained by statistical methods. If you think there's something NLP can't do using machine learning, make a challenge dataset. That would be much more useful than yet…

Ironically, exactly these sorts of "statistics can't..." arguments are sort of theoretically bankrupt. Either the thing you want to do is impossible or else a learned model can do it at least almost as well as... idk what the alternative even is, something not learned? Taking this to the extreme, on an example where I have first-hand experience: I would never recommend replacing your compiler passes with transformers…

Are there not situations where a learned model could be insufficient due to lack of real-time learning?

It is my understanding that a lot of current applications take a ton of training time / computing power and it's not so trivial to do in the moment. I guess this is less of a theoretical problem and more of a practical problem though.

Re: Machine learning won't solve natural language understanding

#49
> evaluating the output of some NLP system regarding the above tasks is subjective [...] However, language understanding does not admit any degrees of freedom. A full understanding of an utterance or a question requires understanding the one and only one thought that a speaker is trying to convey

I'm not understanding how NLU would be inherently more objective than something like the given example of named-entity recognition.

> None of the above challenging semantic understanding functions can be ‘approximately’ or ‘probably’ correct – but absolutely correct. In other words, we must get, from a multitude of possible interpretations of the above question, the one and only one meaning that, according to our commonsense knowledge of the world, is the one thought behind the question some speaker intended to ask. In summary, then, true understanding of ordinary spoken language is quite a different problem from mere text (or language) processing where we can accept approximately correct results – results that are also correct with some acceptable probability.

Why would only absolute accuracy be acceptable? Even humans misinterpret things with some frequency. In many cases, the text just won't contain enough context for anyone to give anything more than an educated guess to the writer's intentions.

I'd further argue that language is lossy and thoughts aren't discrete on the scales relevant to language, such that even in the best of cases we don't interpret exactly the same thought as the speaker has in mind - just something that's approximately close enough to allow for useful communication.

> The equivalence between (machine) learnability (ML) and compressibility (COMP) has been mathematically established.

Hopefully the article doesn't take "learning can be viewed as compression of information" to mean "all that a trained model can do is compression of its inputs".

> Natural language understanding, on the other hand, and due to MTP, requires intelligent ‘uncompressing’ techniques that would uncover all the missing and implicitly assumed text. Thus, machine learning and language understanding are incompatible – in fact, they are contradictory.

Aargh!

> Note that antonyms/opposites such as ‘small’ and ‘big’ (or ‘open’ and ‘close’, etc.) occur in the same contexts with equal probabilities. As such, (1a) and (1b) are statistically equivalent

If you're working with a Markov chain maybe.

> In ML/Data-driven approaches there is no type hierarchy where we can make generalized statements about a ‘bag’, a ‘suitcase’, a ‘briefcase’ etc. where all are considered subtypes of the general type ‘container’. Thus, each one of the above, in a purely data-driven paradigm, are different and must be ‘seen’ separately in the data. If we add to the semantic differences all the minor syntactic differences to the above pattern (say changing ‘because’ to ‘although’ — which also changes the correct referent to “it”) then a rough calculation tells us a ML/Data-driven system would need to see something like 40,000,000 variations of the above to learn how to resolve references in sentences such as (2).

Machine learning models don't need to see every possible combination to be able to generalise, and they can learn that bags/suitcases/etc. are related.

For this and the rest of the article, I keep feeling like I must be (ironically) misinterpreting the author. There's repeated bold theoretical claims about what machine learning will never do, but about tasks that modern models are already to some degree capable of.

Re: Machine learning won't solve natural language understanding

#50
This would be true if the entire field of NLP ML was simply a process where training data is used to fine tune a model into providing better scores at specific tasks. It's easy to see why you would be fooled into thinking that this is the case: the most impressive applications that have been developed so far are simply this.

But I would argue that NLP is more than this. As we discover new architectures and techniques that score higher on accuracy, the mechanisms through which we achieve higher scores are clues to the underlying abstractions that make up our thoughts. For example, the success of Transformers (basically a vector search engine) is strong evidence that concepts can be represented as vectors, and even more, we can even measure the "closeness" of two concepts using a dot product between their respective corresponding vectors. In this sense, the big Transformer architectures like GPT-3 are compressing natural language sentences into alternative, mathematical representations through its encoding step, but also decompressing back into natural language sentences in the decoding step.

Natural Language Processing at this point is actually a big misnomer - it's more than talking robots; it's about translating human reality into mathematical representations. We are still far from true understanding, but so what? Infants crawl before they walk. NLPs' representations of reality are crude and our tools for manipulating those representations are even cruder. But every advance we make is a step towards understanding knowledge itself.

Post reply on HN