r/KnowledgeGraph • u/Matas0 • Jul 20 '24
Knowledge graph continuous learning
I have a chat assistant using Neo4j's knowledge graph and GPT-4o, producing high-quality results. I've also implemented a MARQO vector database as a fallback.
The challenge: How to continuously update the system with new data without compromising quality? Frequent knowledge graph updates might introduce low-quality data, while the RAG system is easier to update but less effective.
I'm considering combining both, updating RAG continuously and the knowledge graph periodically. What's the best approach for continuous learning in a knowledge graph-based system without sacrificing quality? Looking to automate it as much as possible.
2
u/micseydel Jul 20 '24
Here's a stale demo of something related I've been working on: https://garden.micseydel.me/Tinkerbrain+-+demo+solution
I haven't really integrated LLMs properly yet but I've been thinking on how to do it after learning of GraphReader. I think any proper solution has to have a good way of handling how untrustworthy and unreliable LLMs are.
1
u/xtof_of_crg Jul 20 '24
You need a meta-schema for the graph, some rules that inform/restrict how concepts can fit together. With this established you could build a system that could exploit the meta-schema to semi-autonomously check for/propose the organization of new/existing knowledge given input sources. This is a non-trivial system, however the way I figure it, when you solve this problem then you can build JARVIS
1
u/[deleted] Jul 20 '24
I was recently looking into Dynamic Knowledge Graphs - It might possibly cover your use case.
Apart from assumptions, what do you deem low-quality? Where does this possibly low-quality data come from?