3 ms·
We got symbolic AI sneaked into the connectionist model by making a graph of thoughts. A graph can explicitly implement any algorithm or data structure. They
by visarga 3y ago
We got symbolic AI sneaked into the connectionist model by making a graph of thoughts. A graph can explicitly implement any algorithm or data structure.
They could make it more efficient by implementing a kind of "hard attention". Each token should have access to a sparse subset of the whole input, so it would be like a node in a graph only having access to a few neighbours. Could solve the very large context issue. This can also be parallelised, running all thought nodes in parallel, of course each with a sparse view of the whole input making it much faster.
For example when reading a long book, the model would spawn nodes for each person, location or event of interest, and they would track the source text as the action develops. A mental map of the book. That would surely help a model deal with many moving pieces of information.
Or when solving a problem, the model could spawn a node to work on a subproblem, parametrised by the parent node with the right inputs. Then the node would report back with the answer and the parent continues. This would work with recursive calls.
The new cpu is the LLM and the clock tick is 1 token.
- barrenko 3y agoCould you expand on "A graph can explicitly implement any algorithm or data structure."?
- visarga 3y agoYou could create a node for each execution step, or data field.
- Vox_Leone 3y agoAnd thus you could use UML to formalize prompting. An activity diagram can be viewed as a chain of thought. Fulfilling the UML promise.
- gryn 3y agoyou can use graph transformation to perform general computation. https://en.wikipedia.org/wiki/Graph_rewriting https://en.wikipedia.org/wiki/Graph_rewriting probably not was GP meant, but something along those lines.
- barrenko 3y agoAppreciate it.