🛣️

graphs and llms

There are a lot of graph problems being re-thought __for LLMs__ and __by LLMs__

I’ll add the ones with the most fun:utilization first

building graphs using llms:

This strategy comes clearly under the by LLMs category and the most obvious one as well. Because of their semantic understanding, LLMs can be prompted into providing the triplets of relationship between the entities in a piece of text. Throw a piece of text, and it draws a graph of the relationship between subjects and objects This is a relatively straightforward utilization of an LLM’s ability to find pattern in text. eg. GraphGPT w

pathfinding in a graph

LLMs are not trained to traverse graphs. Especially, they’ve not been explicitly taught how to model a graph from a triplet. But seems like they perform fairly well. The first graph in the blog from [jacob brazeal]https://jacobbrazeal.wordpress.com/2022/09/23/gpt-3-can-find-paths-up-to-7-nodes-long-in-random-graphs/) is very telling. GPT-3 was able to

references

a quote i like

Don’t talk about giftedness — one can name all kinds of geniuses who were not very gifted. They acquired greatness, became geniuses. All of them had that diligent seriousness of a craftsman and worked tirelessly. ― Seneca, Moral Letters to Lucilius