Ainge cautions that graphs are not always the right tool, and that adopting GraphRAG or a graph database may not deliver an immediate payoff. He focuses on graph fundamentals and use cases that complement search, retrieval, pattern recognition, and knowledge-based AI work.
A Practitioner's Guide to Graphs
Speaker
Tim Ainge of Good Collective presents AI Engineer’s guide to graph fundamentals, graph data design, and algorithms for building AI applications.
Using a pancake recipe, Ainge shows how an extractor given only a request for subject-predicate-object triples can produce a graph that is hard to use. A schema for recipes, ingredients, quantities, steps, and cooking techniques gives the output more consistent types and queryable relationships. He also recommends ontology instructions such as standardizing ingredient names and using metric units.
Ainge illustrates how names such as garlic cloves, minced garlic, and plain garlic can create duplicate ingredient nodes. A fixed mapping can merge known duplicates, but it requires knowing the ingredients in advance. Embeddings allow more flexible matching of terms that were not anticipated, combining AI techniques with graph structure.
Personalized PageRank ranks nodes by their relationship to a starting point; Ainge cites Pinterest’s Pixie paper and HippoRAG as examples. Shortest-path methods can connect a broken checkout to a changed basket constructor in a code graph, while subgraph matching can find patterns such as a decorator without knowing the specific symbols in advance. In one .NET codebase evaluation, graph techniques reduced code-search tool calls by 40%.
Ainge recaps path navigation, ranking, and pattern matching, and notes that the presentation pack includes pointers to prediction, similarity, and clustering. He says graph approaches can surface intermediate relationships that vector search or individual symbol lookups may miss, and encourages builders to consider graph-native or hybrid algorithms for AI applications.
Takeaways
- Choose graphs when relationships or multi-hop connections are central to the problem, rather than adopting them for their own sake.
- Give extraction models a schema and clear ontology rules so graph entities and relationships stay consistent and queryable.
- Use embedding-based matching to reconcile entity names when a fixed list of known terms is impractical.
- Consider personalized PageRank when relevance depends on proximity to a starting node in a dense graph.
- Use path search or subgraph matching to retrieve context and discover patterns that require traversing relationships.
Mentioned in this talk
Search inside this talk
What was claimed 3
- works atTim Ainge works at Good Collective
“I'm Tim Ainge from Good Collective”
YouTube Verified2 sources· Talk, Web· archived
- featureHippoRAG: Uses graph techniques to link memories to questions and answers
“HippoRAG, which uses some other cool graph techniques as well to link memories to questions and answers”
YouTube Unverified1 source· Talk
- metricShortest-path algorithm: 40% reduction in tool calls for code search in one .NET codebase evaluation
“we saw a 40% reduction in tool calls for code search”
YouTube Unverified1 source· Talk











