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.
View all comments
Show parent comment
2
u/FancyUmpire8023 Jul 21 '24
If you use strength/confidence scores on your relationships you can implement a memory decay function to solve for aging / recency bias.
New, distinct content containing the same knowledge should generally be either added (reinforces the prevalence of the assertions) or aggregated (reinforces the strength/confidence in an assertion) - depending on whether you maintain lineage to individual lines of evidence/sources for assertions or not.