3 ms·
I'm talking about problem domain and approach. "Language" is a subdomain of "written text", which is a subdomain of "all possible text permutations". LLMs mode
by thomastjeffery 4y ago
I'm talking about problem domain and approach.
"Language" is a subdomain of "written text", which is a subdomain of "all possible text permutations". LLMs model "written text".
Approach is either explicit or implicit. Constructed or inferred.
You may be familiar with parsing: that's the explicit approach. Parsers are made out of predetermined grammar patterns. They categorize text into a model (AST) that was predetermined by the grammar rules. This approach is essentially a function from "all possible permutations of text" to "a known language model". It also maps "written language" to "predictable machine instructions".
Parsing works for "context-free" (code) grammars, because the patterns of grammar are already known. Parsing fails at "context-dependent" (natural language) grammars because the patterns of grammar are ambiguous.
LLMs take the implicit approach: they start completely blind, and model every pattern they can find in the text. An LLM has no category for "language grammar pattern". It does not constrain itself to the domain of "language". This approach maps "the behavior of someone writing text" to "patterns".
The difference in problem domain introduces ambiguity: LLMs can't categorize truth from lie.
The difference in approach removes intentional behavior: LLMs don't translate text into predictable machine behavior. LLMs model the patterns of behavior from the training corpus text, then model some more from a prompt, then show the resulting pattern.
What an LLM does should not be expected to ever match what a parser does: they are completely different approaches working in completely different domains.
- meh8881 4y agoAnd I’m yawning because getting an LDM to construct explicit ontologies and then evaluate text against them seems trivial given it can code. It seems doubtful that such a hurdle will remain unsolved for more than a year. Like I said, you could do a poor man’s version of it today by instructing it on how to use a natural language API to call services.