Graph and hierarchical RAG

Graph and hierarchy systems organize evidence as curated relations, associative paths, corpus communities, query-specific structures, or recursive abstractions.

Graph and hierarchical RAG: architecture comparisonEach lane reads from input to output.

Curated KG

  1. linkQuery entities
  2. retrievePaths and neighbors
  3. rankGraph evidence
  4. readPassage answer
  • GraftNet
  • PullNet
  • KG-FiD

Associative graph

  1. extractEntities and relations
  2. seedQuery concepts
  3. walkPersonalized PageRank
  4. resolvePassage evidence
  • HippoRAG
  • HippoRAG 2

Corpus communities

  1. extractCorpus graph
  2. clusterCommunities
  3. summarizeCommunity reports
  4. mapPartial answers
  5. reduceGlobal answer
  • Microsoft GraphRAG
  • Dynamic community selection
  • DRIFT

Dynamic structure

  1. planQuery-specific program
  2. retrieveText or graph step
  3. extendPaths or propositions
  4. selectStructured evidence
  • RAS
  • RouteRAG
  • PROGRAM
  • PropRAG

Recursive hierarchy

  1. embedLeaf chunks
  2. clusterRelated units
  3. summarizeParent nodes
  4. recurseMultiple levels
  5. retrieveCross-level evidence
  • RAPTOR
  • HiChunk

Read the full explanation