AriGraph (Part 2) - Knowledge Graph Construction and Retrieval Details

Subscribers:
5,330
Published on ● Video Link: https://www.youtube.com/watch?v=DWFCCB8nHfI



Duration: 0:00
262 views
12


Excited to have Petr run through the inner details about AriGraph! We go through how the Knowledge Graph is constructed using LLMs to generate triplets from free text and how the old triplets are updated.

We also go through how the retrieval is done by firstly coming up with a list of important queries (along with importance score) to search for based on the goal and the observation, then iteratively finding out semantically similar triplets to these queries. The number of iterations depends on the importance score. Finally, the episodic memory is added back as the observation text for the episode with the most number of triplets selected.

Overall, it is a very exciting approach how the knowledge graph is updated dynamically, and how the knowledge graph is retrieved in an iterative manner as well.

See Part 1 here:    • AriGraph: Learning Knowledge Graph Wo...  

~~~

0:00 Introduction
1:05 Constructing Knowledge Graph
5:53 Updating Knowledge Graph
9:50 How the Subset of Triplets are Selected for Updating
13:46 How disambiguation of terms are done
17:41 Why disambiguation may be better at retrieval than at construction (My Insights)
20:14 Retrieval of Knowledge Graph with Iterative Expansion
43:05 Iterative Search with ReAct (future work)
46:04 Incorporating Episodic Memory
55:13 Q&A Benchmark with AriGraph
1:01:30 Conclusion

~~~

AI and ML enthusiast. Likes to think about the essences behind breakthroughs of AI and explain it in a simple and relatable way. Also, I am an avid game creator.

Discord:   / discord  
LinkedIn:   / chong-min-tan-94652288  
Online AI blog: https://delvingintotech.wordpress.com/
Twitter:   / johntanchongmin  
Try out my games here: https://simmer.io/@chongmin




Other Videos By John Tan Chong Min


2024-09-27TaskGen Tutorial 6: Conversation Wrapper
2024-09-26TaskGen Tutorial 5: External Functions & CodeGen
2024-09-24TaskGen Tutorial 4: Hierarchical Agents
2024-09-23TaskGen Tutorial 3: Memory
2024-09-19TaskGen Tutorial 2: Shared Variables and Global Context
2024-09-16Beyond Strawberry: gpt-o1 - Is LLM alone sufficient for reasoning?
2024-09-11TaskGen Tutorial 1: Agents and Equipped Functions
2024-09-11TaskGen Tutorial 0: StrictJSON
2024-09-10LLM-Modulo: Using Critics and Verifiers to Improve Grounding of a Plan - Explanation + Improvements
2024-09-06TaskGen: Co-create the best open-sourced LLM Agentic Framework together!
2024-08-21AriGraph (Part 2) - Knowledge Graph Construction and Retrieval Details
2024-08-13alphaXiv - Share Ideas, Build Collective Understanding, Interact with ANY open sourced paper authors
2024-07-30AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agents
2024-07-23NeoPlanner - Continually Learning Planning Agent for Large Environments guided by LLMs
2024-07-17Intelligence = Sampling + Filtering
2024-07-12Michael Hodel: Reverse Engineering the Abstraction and Reasoning Corpus
2024-07-02TaskGen Conversational Class v2: JARVIS, Psychology Counsellor, Sherlock Holmes Shop Assistant
2024-06-04CodeAct: Code As Action Space of LLM Agents - Pros and Cons
2024-05-28TaskGen Conversation with Dynamic Memory - Math Quizbot, Escape Room Solver, Psychology Counsellor
2024-05-21Integrate ANY Python Function, CodeGen, CrewAI tool, LangChain tool with TaskGen! - v2.3.0
2024-05-11Empirical - Open Source LLM Evaluation UI