Pillar
Graph AI & ML
Machine learning on graphs (GNNs, embeddings, graph transformers) and graphs for AI systems (GraphRAG, agent memory, Text2Cypher), including evaluation of LLM–KG pipelines.
01Concepts
What is it?
- Graph Laplacian
Concept
The matrix L = D − A (degree minus adjacency). Its eigenvectors underpin spectral clustering and the spectral view of graph convolutions.
- GraphRAG
Concept
Retrieval-augmented generation that uses a graph — extracted from documents or an existing knowledge graph — to retrieve connected context for an LLM.
- Knowledge graph embedding
Concept
Learning vectors for entities and relations so that true triples score highly (e.g. TransE), used for link prediction and knowledge-graph completion.
- Message passing
Concept
The common pattern of graph neural networks: each layer, nodes aggregate transformed features from their neighbours and update their own representation.
- Neural network basics
Concept
Layers of weighted sums and nonlinearities trained by gradient descent and backpropagation; needed before graph neural networks.
- Node embedding
Concept
Mapping each node to a low-dimensional vector that preserves graph structure, so standard ML can be applied to nodes and links.
- Labeled property graph
Graph model · via data models
A graph model where nodes and relationships carry labels/types and key–value properties. Used by Neo4j, Memgraph, TigerGraph and standardized by ISO GQL and SQL/PGQ.
02History & people
Where did it come from?
- node2vec: Scalable Feature Learning for Networks
Paper
Introduced node2vec, biased random-walk embeddings for nodes.
- Inductive Representation Learning on Large Graphs
Paper
Introduced GraphSAGE for inductive node embeddings via neighbourhood sampling and aggregation.
- Semi-Supervised Classification with Graph Convolutional Networks
Paper
Introduced the simplified graph convolutional network layer widely used as the GCN baseline.
- GCN and GraphSAGE
Timeline event
Graph convolutional networks and GraphSAGE make graph neural networks practical and widely adopted.
- From Local to Global: A Graph RAG Approach to Query-Focused Summarization
Paper
Microsoft Research paper introducing GraphRAG with LLM-extracted entity graphs, Leiden communities and community summaries for global questions.
- HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
Paper
Retrieval method that builds a knowledge graph from passages and uses Personalized PageRank from query entities for multi-hop retrieval.
- LightRAG: Simple and Fast Retrieval-Augmented Generation
Paper
GraphRAG variant with dual-level (entity and theme) retrieval over an extracted graph and incremental index updates.
- Microsoft GraphRAG
Timeline event
Microsoft Research publishes the GraphRAG paper and open-sources its implementation.
- Systematic integration of biomedical knowledge prioritizes drugs for repurposing
Paper · via introduced by
Introduced Hetionet and used metapath-based learning over it to predict drug–disease treatment relationships.
- From Louvain to Leiden: guaranteeing well-connected communities
Paper · via introduced by
Introduced the Leiden algorithm and showed Louvain can yield badly connected communities.
- Building a knowledge graph to enable precision medicine
Paper · via introduced by
Introduced PrimeKG, a multimodal biomedical knowledge graph integrating diseases, drugs, genes and phenotypes for precision medicine and drug repurposing.
- Jure Leskovec
Researcher · via authored
Computer scientist working on graph machine learning and large networks; co-author of node2vec and GraphSAGE and lead of SNAP.
- Thomas Kipf
Researcher · via authored
Machine-learning researcher who co-introduced the graph convolutional network (GCN).
03Standards
Which specs govern it?
04Tools & products
What can I use?
- Amazon Bedrock Knowledge Bases (GraphRAG)
Cloud service
Managed retrieval-augmented generation on Bedrock. Supports a GraphRAG mode that builds and queries a graph in Neptune Analytics alongside vector retrieval.
- Amazon Neptune ML
Cloud service
Neptune feature that trains graph neural networks on Neptune data (using DGL via SageMaker) for node classification, regression and link prediction queried from Gremlin, openCypher or SPARQL.
- Cloudflare Vectorize
Cloud service
Globally distributed vector database on Cloudflare Workers. Graph-adjacent: often paired with a graph store or KG export for hybrid vector + graph retrieval at the edge.
- Cognee
Library / framework
Open-source memory engine for AI agents that turns documents and conversations into a knowledge graph plus vectors for retrieval.
- Deep Graph Library (DGL)
Library / framework
Framework-agnostic library for graph neural networks with message-passing APIs and distributed training; used by Amazon Neptune ML.
- FalkorDB
Graph database
Low-latency property-graph database built on sparse adjacency matrices (GraphBLAS), continuing the RedisGraph lineage, with a focus on GraphRAG workloads.
- Graphiti
Library / framework
Open-source framework from Zep for building temporally aware knowledge graphs as memory for AI agents, with incremental updates and hybrid search.
- HippoRAG
Library / framework
Reference implementation of HippoRAG, which indexes passages into a knowledge graph and retrieves with Personalized PageRank.
- LightRAG
Library / framework
Open-source GraphRAG framework implementing dual-level graph retrieval with incremental updates and multiple storage backends.
- LlamaIndex
Library / framework
Framework for LLM applications over data; its property graph index supports LLM-driven graph extraction and hybrid graph + vector retrieval over several graph stores.
- Microsoft GraphRAG
Library / framework
Open-source pipeline from Microsoft Research that extracts an entity graph with an LLM, builds Leiden community summaries and answers local and global questions.
- Neo4j Graph Data Science
Library / framework
Neo4j library of parallel graph algorithms, embeddings and ML pipelines run over in-memory graph projections and called from Cypher.
- Neo4j GraphRAG for Python
Library / framework
Neo4j's Python package for building knowledge graphs from text and running vector, hybrid and Text2Cypher retrievers against Neo4j.
- PyKEEN
Library / framework
Python library for training and evaluating knowledge-graph embedding models (TransE, RotatE, ComplEx and many more) with reproducible pipelines.
- PyTorch Geometric (PyG)
Library / framework
PyTorch library for graph neural networks with many layers (GCN, GraphSAGE, GAT), datasets, samplers and explainability tools.
05Data
Which datasets, ontologies and benchmarks exist?
- Cora
Dataset
Small citation network of machine-learning papers with bag-of-words features and topic labels; the classic benchmark for semi-supervised node classification.
- DRKG (Drug Repurposing Knowledge Graph)
Dataset
Biomedical knowledge graph assembled for COVID-19 drug repurposing research, with pretrained knowledge-graph embeddings.
- FB15k-237
Dataset
Subset of Freebase for knowledge-graph completion with inverse-relation leakage removed; a standard link-prediction benchmark.
- Hetionet
Dataset
Heterogeneous biomedical network integrating genes, compounds, diseases, anatomy and more from many public resources, built to predict drug repurposing candidates.
- HotpotQA
Benchmark
Multi-hop question-answering dataset requiring reasoning across several Wikipedia paragraphs, frequently used to evaluate GraphRAG and HippoRAG-style retrieval.
- Open Graph Benchmark (OGB)
Benchmark
Collection of realistic, large-scale graph ML datasets with standard splits, evaluators and leaderboards for node, link and graph tasks.
- PrimeKG
Dataset
Precision-medicine knowledge graph integrating 20 resources on diseases, drugs, genes, phenotypes and exposures, used for drug repurposing and clinical ML.
- PubChemRDF
Dataset
RDF release of NCBI's PubChem chemical database — compounds, substances, bioassays and their links to genes, proteins and literature — for semantic integration in life-sciences knowledge graphs.
- WN18RR
Dataset
WordNet-derived link-prediction benchmark with inverse relations removed, commonly paired with FB15k-237.
- ChEBI
Ontology · via uses ontology
Chemical Entities of Biological Interest, an ontology and database of small molecules with roles and structural classification.
- Human Phenotype Ontology (HPO)
Ontology · via uses ontology
Standard vocabulary of phenotypic abnormalities in human disease, used in rare-disease diagnostics and clinical genomics.
- Mondo Disease Ontology
Ontology · via uses ontology
Disease ontology that harmonises many disease resources (OMIM, Orphanet, DOID, NCIt and others) with precise cross-mappings.
06Methods & algorithms
How is it done?
- Agent memory graph
Pattern
Store an agent's observations, entities and facts as a time-aware knowledge graph so it can recall, update and reason over long-term memory.
- Graph Convolutional Network (GCN)
Algorithm
Neural network layer that updates each node from a degree-normalised average of its neighbours' features, trained end-to-end for semi-supervised node classification.
- Graph representation learning
Algorithm family
Methods that learn vector representations of nodes, edges or graphs — random-walk embeddings and graph neural networks.
- GraphRAG on AWS
Reference architecture
Managed GraphRAG using Amazon Bedrock Knowledge Bases with Neptune Analytics as the graph store, combining vector and graph retrieval for document QA.
- GraphRAG on Azure
Reference architecture
Running the open-source Microsoft GraphRAG pipeline with Azure OpenAI models, Blob Storage for documents and index artefacts, and Azure AI Search for vectors.
- GraphRAG on Google Cloud
Reference architecture
Spanner Graph stores the extracted knowledge graph alongside vector embeddings; Vertex AI models handle extraction and generation.
- GraphRAG with community summaries (global/local search)
Pattern
Extract an entity graph from documents, cluster it hierarchically, pre-summarise communities, then answer global questions over summaries and local ones over entity neighbourhoods.
- GraphSAGE
Algorithm
Inductive graph neural network that learns functions to sample and aggregate neighbour features, so it can embed nodes unseen during training.
- HippoRAG (PPR-based retrieval)
Pattern
Index passages into an open knowledge graph, link query entities to it, and rank passages by Personalized PageRank for single-step multi-hop retrieval.
- Hybrid vector + graph retrieval
Pattern
Find entry points with vector or keyword search, then expand along graph relationships to collect connected context before generation.
- KAG (Knowledge Augmented Generation)
Pattern
Framework from Ant Group's OpenSPG that combines knowledge-graph reasoning with LLMs using logical-form-guided retrieval for professional-domain question answering.
- LazyGraphRAGpreview
Pattern
Microsoft Research variant that defers LLM summarisation to query time, cutting indexing cost while keeping global-question capability.
- Leiden community detection
Algorithm
Refinement of Louvain that guarantees well-connected communities and converges to better partitions; used for community summaries in Microsoft GraphRAG.
- LightRAG (dual-level retrieval)
Pattern
Retrieve over an extracted graph at two levels — specific entities and broader themes — and update the index incrementally as documents arrive.
- node2vec
Algorithm
Learns node embeddings by running biased second-order random walks and training a skip-gram model on them, trading off local and global structure.
- Personalized PageRank
Algorithm
PageRank whose teleport step returns to a chosen set of seed nodes, scoring relevance to those seeds; used for recommendation, local clustering and biomedical prioritisation.
- Text2Cypher / Text2SPARQL
Pattern
An LLM translates a natural-language question into a graph query (Cypher, SPARQL or GQL) using the schema, executes it, and verbalises the results.
- Dijkstra's shortest path
Algorithm · via implements
Computes shortest paths from a source in graphs with non-negative edge weights by repeatedly settling the closest unsettled node.
- Louvain community detection
Algorithm · via implements
Greedy, multi-level modularity optimisation that moves nodes between communities, then aggregates communities into super-nodes and repeats.
- PageRank
Algorithm · via implements
Scores nodes by the stationary probability that a random surfer — following links, occasionally teleporting — is on them. Originally used to rank web pages.
07Applications
Where is it used?
- Drug repurposing
Use case
Finding new therapeutic uses for existing drugs, often by link prediction or network proximity over biomedical knowledge graphs.
- Enterprise question answering
Use case · via enables
Answering employee or customer questions over internal documents and data, with graphs used to connect entities and improve multi-hop answers.
- Healthcare & life sciences
Industry · via applied to
Biomedical ontologies, clinical knowledge graphs, network medicine and drug discovery.
- Recommendation
Use case · via applied to
Suggesting items by exploiting user–item–attribute graphs, from collaborative filtering walks to GNN recommenders.
08Learn
In what order should I learn it?
- Graph ML engineer
Learning path · via part of
From linear-algebra views of graphs through embeddings to graph neural networks and benchmarks.
- GraphRAG builder
Learning path · via part of
Build retrieval-augmented generation systems that use knowledge graphs, from extraction to evaluation.
- Network scientist
Learning path · via part of
Graph theory, random-graph null models, centrality and community detection, applied to real network data.
09Ecosystem
Who builds and buys it?
- Amazon
Company · via maintained by
Parent of Amazon Web Services; maintains Amazon Neptune and contributes to graph ML (DGL) and the DRKG dataset.
- FalkorDB
Company · via maintained by
Company developing the FalkorDB graph database.
- Microsoft
Company · via maintained by
Maintains Azure graph services, Microsoft Fabric and, through Microsoft Research, the open-source GraphRAG library.
- Neo4j, Inc.
Company · via maintained by
Company behind the Neo4j graph database, AuraDB, Graph Data Science and the Cypher language.
- Stanford University
Institution · via maintained by
Home of the SNAP project and several foundational graph-ML methods.
10Frontier
What is unsolved or emerging?
Graph foundation models, evaluation of multi-hop GraphRAG faithfulness, agent memory graphs, and causal graphs combined with LLMs.
No entries yet. This lens is incomplete; suggest one.