(no title)
bitforger | 3 years ago
I once worked on AI Dungeon and we had a similar idea to parse the story so far into a graph, so that we could manage long-term memory outside of the context window (which was only 2048 tokens).
Coreference is hard. ("he took the sword"... who is he?) Updating the graph is also hard. (As the story progresses, new facts contradict old facts. Jenny was dating Tom, but now she's dating Mike.)
And knowing what to do with the knowledge graph is hard too, especially if you don't know the schema up front. The only thing we could think to use it for was... programmatically turning relevant sections back into text and prepending it to the context window. (There were easier ways to get a similar effect.)
Agentlien|3 years ago
varunshenoy|3 years ago
dm3|3 years ago
[1] https://arxiv.org/abs/2212.14052
machiaweliczny|3 years ago
unknown|3 years ago
[deleted]
Dwolb|3 years ago
Why can’t graphs properly model time or sequences?
yorwba|3 years ago
You could have some heuristics to handle this and then you add another relation "has met" and suddenly you need a whole new set of heuristics.
visualphoenix|3 years ago
Curious what other (easier) ways you found to accomplish the same effect?
groestl|3 years ago
I can't help but think, is this the voice in our heads?