Saturday, May 23, 2026

matrix-based methods for graph analysis

 Here are common matrix-based methods for graph analysis.

Matrix / MethodMain ideaTypical use
Adjacency matrix (A)(A_{ij}=1) or weight if node (i) connects to node (j)Basic graph representation, path counting, connectivity
Degree matrix (D)Diagonal matrix where (D_{ii}) is node degreeUsed with Laplacian methods
Graph Laplacian (L=D-A)Captures graph structure through degree minus adjacencyClustering, graph cuts, diffusion, smoothness
Normalized Laplacian(L_{\text{sym}}=I-D^{-1/2}AD^{-1/2})Spectral clustering, comparing graphs with unequal degrees
Incidence matrix (B)Node-edge matrix showing which nodes belong to which edgesFlow analysis, electrical networks, graph Laplacian construction
Transition matrix (P=D^{-1}A)Row-normalized adjacency matrixRandom walks, Markov chains, PageRank
Powers of adjacency matrix (A^k)Counts walks of length (k) between nodesPath analysis, reachability, motif detection
Eigenvalue / spectral decompositionAnalyze eigenvalues and eigenvectors of (A) or (L)Community detection, graph partitioning, centrality
Singular value decompositionFactorize adjacency or feature matricesLow-rank approximation, graph embeddings
Matrix factorizationApproximate graph as (A \approx UV^\top)Link prediction, recommender systems, node embeddings
PageRank matrix methodUses a modified random-walk transition matrixRanking important nodes
Katz centralityUses ((I-\alpha A)^{-1})Measures influence through all walks, with decay
Eigenvector centralityImportant nodes connect to important nodesSocial-network influence analysis
Laplacian eigenmapsUse small eigenvectors of LaplacianDimensionality reduction, node embedding
Spectral clusteringCluster nodes using eigenvectors of LaplacianCommunity detection
Modularity matrix(B=A-\frac{kk^\top}{2m})Community detection
Graph diffusion kernelsUses functions such as (e^{-tL})Similarity, diffusion, semi-supervised learning
Resistance distance matrixBased on pseudoinverse of Laplacian (L^+)Network robustness, electrical-network analogy
Graph convolution matricesUse normalized adjacency/Laplacian in neural networksGraph neural networks, node classification

A simple way to organize them:

Representation matrices: adjacency, degree, incidence, Laplacian.
Spectral methods: eigenvectors, graph Fourier transform, spectral clustering.
Random-walk methods: transition matrix, PageRank, diffusion.
Embedding methods: SVD, matrix factorization, Laplacian eigenmaps.
Centrality methods: eigenvector centrality, Katz centrality, PageRank.
Community methods: modularity matrix, spectral partitioning.

No comments:

Post a Comment