Have LLMs solved natural language parsing?
With all the recent advancements in LLM and transformers, has the goal of parsing natural languages and representing them as an AST been achieved?
Or is this task still considered to be a hard one?
LLMs seem to understand the text much better than any previous technologies, so anaphoric resolution, and complex tenses, and POS choice, and rare constructs, and cross-language boundaries all don't seem to be hard issues for them.
There are so many research papers published on LLMs and transformer now. With all kinds of applications, but they wll not quite there at all.
11 comments
[ 0.32 ms ] story [ 44.2 ms ] threadIt's all a black box, but it works.
There's nothing like an abstract syntax tree, nor anything programmatic in the traditional meaning of programming going on inside the math of an LLM. It's all just weights and wibbly-wobbly / timey-whimey stuff in there.
But we just can not solve the question of mass translating sentences to their AST.
It amazes me. I really hope someone will step up and tell: sure it is possible as a cheap byproduct of the transformer technology, just do this and that.
You're asking for the impossible.
The best you could get, is NOT an AST, you could get a tree of possible sentence diagrams, each one having an overall probability of being the right one.
I think LLMs haven’t advanced our understanding of how human language syntax/semantics work, but they’ve massively advanced our ability to work with it.
An interesting example – I had a project where I needed to parse out addresses and dates in a document. However, the address and date formats were not standardized across documents. Utilizing LLMs was way easier then trying to regex or pattern match across the text.
But if you're trying to take a text document and break it down into some sort of a structured output, the outcome using LLMs will be much more variable.