Re:Neural Networks and the Chomsky Hierarchy [DeepMind, 2022]
by charcircuit on Monday January 23, 2023 @02:56AM
(#34486506)
If there is a finite input it is regular.
[ Parent
| on HN ]
Re:Neural Networks and the Chomsky Hierarchy [DeepMind, 2022]
by Kranar on Monday January 23, 2023 @03:27AM
(#34486664)
You might mean something like if you restrict the set of all valid inputs to N characters then the language is regular, but that's a much stronger condition than requiring the input to be finite. Furthermore, such a restriction makes the language non-recursive; it's effectively a trivial language.
In standard automata theory, all inputs to automatons are finite.
Re:Neural Networks and the Chomsky Hierarchy [DeepMind, 2022]
by charcircuit on Monday January 23, 2023 @10:03PM
(#34498607)
Yes, I was hoping people would understand that from the context.
Re:Neural Networks and the Chomsky Hierarchy [DeepMind, 2022]
by smadge on Monday January 23, 2023 @03:08AM
(#34486566)
As in you construct a FSM that can recognize all strings of a context free language less than a certain length?
Re:Neural Networks and the Chomsky Hierarchy [DeepMind, 2022]
by cma on Monday January 23, 2023 @08:57AM
(#34488743)
The paper covers that. They only test to a finite size, but the models that fail can't generalize significantly beyond the size of explicit examples they were trained on.
Formally transformers should be capable of modeling it with the right weights, but they show good evidence those weights can't be learned with gradient descent. Whereas a neural turing machine or stack machine can learn them with gradient descent.