Tools and Algorithms for Querying and Mining Large Graphs. Hanghang Tong Machine Learning Department Carnegie Mellon University htong@cs.cmu.edu http://www.cs.cmu.edu/~htong. Thesis Committee. Christos Faloutsos William Cohen Jeff Schneider Philip S. Yu. Graphs are everywhere!.
01 / 74Tools and Algorithms for Querying and Mining Large Graphs
1 / 17
Télécharger la présentation
Tools and Algorithms for Querying and Mining Large Graphs
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
Motivating Questions: (high level) • Given a large graph, we want to +Task A: Querying • +Task B: Mining CePS on DBLP [Tong+ KDD 06] T3 on CIKM [Tong+ CIKM 08] Will return to this later…
Motivating Questions (in details) • Querying[Goal: query complex relationship] • Q.1. Find complex user-specific patterns; • Q.2. Link Prediction & Proximity Tracking; • Q.3. Answer all the above questions quickly. • Mining[Goal: find interesting patterns] • M.1. Spot Anomalies; • M.2. Mine time & space; • M.3. Detect communities.
Questions That We Ask Thesis Overview Completed Proposed Q1 CePS, G-Ray, ProSIN (KDD06, KDD07 a, ICDM08) pTrack/cTrack (SDM08, SAM08) Q2 Q2 DAP (KDD07 b) Q3 FastProx (ICDM06, KAIS07, KDD07 b, ICDM08) P3 Q3 FastProx (SDM08, SAM08) M1 M1 Colibri-S (KDD08 b) P3 Colibri-D (KDD08 b) M2 M2 P2 P3 T3/MT3 (CIKM08) M3 P1 P3 P1 M3
Competed work on Q1 • Goal: Find complex user-specific patterns, • Q1.1. Center-Piece Subgraph Discovery, • e.g., master-mind criminal given some suspects X, Y and Z? • Q1.2. Best Effort Pattern Match, • e.g., Money-laundry ring • Q1.3 Interactive querying (e.g. Negation) • e.g., find most similar conferences wrt KDD, but not like ICML?
Questions That We Ask Thesis Overview Completed Proposed Q1 CePS, G-Ray, ProSIN (KDD06, KDD07 a, ICDM08) pTrack/cTrack (SDM08, SAM08) Q2 Q2 DAP (KDD07 b) Q3 FastProx (ICDM06, KAIS07, KDD07 b, ICDM08) P3 Q3 FastProx (SDM08, SAM08) M1 M1 Colibri-S (KDD08 b) P3 Colibri-D (KDD08 b) M2 M2 P2 P3 T3/MT3 (CIKM08) M3 P1 P3 P1 M3
Q2.1 Link Prediction: direction [Tong+ KDD 07 a] ? • Q: Given the existence of the link, • what is the direction of the link? • A: (DAP) Compare Prox(ij) and Prox(ji) i i j i >70% density i Web Link - 4, 000 nodes - 10, 000 edges Prox (ij) - Prox (ji)
Q2.2 pTrack/cTrack: Challenge[Tong+ SDM 08] • Observations (CePS, GRay, ProSIN…) • All for static graphs • Proximity: main tool • Graphs are evolving over time! • New nodes/edges show up; • Existing nodes/edges die out; • Edge weights change… • Q: How to make everything incremental? • A: Track Proximity!
pTrack: Problem Definitions • [Given] • (1) a large, skewed time-evolving bipartite graphs, • (2) the query nodes of interest • [Track] • (1) top-k most related nodes for each query node at each time step t; • (2) the proximity score (or rank of proximity) between any two query nodes at each time step t
Questions That We Ask Thesis Overview Completed Proposed Q1 CePS, G-Ray, ProSIN (KDD06, KDD07 a, ICDM08) pTrack/cTrack (SDM08, SAM08) Q2 Q2 DAP (KDD07 b) Q3 FastProx (ICDM06, KAIS07, KDD07 b, ICDM08) P3 Q3 FastProx (SDM08, SAM08) M1 M1 Colibri-S (KDD08 b) P3 Colibri-D (KDD08 b) M2 M2 P2 P3 T3/MT3 (CIKM08) M3 P1 P3 P1 M3
Proximity is the main tool • Q.1: CePS, G-Ray, ProSIN • Q.2: DAP, pTrack/cTrack a.k.a Relevance, Closeness, ‘Similarity’… Q: What is a `good’ Score?
0.03 0.04 10 9 0.10 12 2 0.08 0.02 0.13 8 1 0.13 11 3 0.04 4 0.05 6 5 0.13 7 0.05 Random walk with restart [Pan+ KDD 2004] Nearby nodes, higher scores Ranking vector More red, more relevant
Why RWR is a good score? j i : adjacency matrix. c: damping factor all paths from i to j with length 1 all paths from i to j with length 2 all paths from i to j with length 3 RWR summarizes all the weighted paths from i to j
details B_Lin: details + = ~ ~ W 1: within community W ~ + ~ Cross community
details B_Lin: details ~ ~ W1 W -1 Easy to be inverted LRA difference -1 ~ ~ I – c I – c –cUSV Sherman–Morrison Lemma! If Then
B_Lin: summary • Pre-Compute Stage • Q: • A: A few small, instead of ONE BIG, matrices inversions • On-Line Stage • Q: Efficiently recover one column of Q • A: A few, instead of MANY, matrix-vector multiplications Efficiently compute and store Q
Query Time vs. Pre-Compute Time Log Query Time • Quality: 90%+ • On-line: • Up to 150x speedup • Pre-computation: • Two orders saving Our Results Log Pre-compute Time
More on Scalability Issues for Querying(the spectrum of ``FastProx’’) • B_Lin: one large linear system • [Tong+ ICDM06, KAIS08] • BB_Lin: the intrinsic complexity is small • [Tong+ KAIS08] • FastUpdate: time-evolving linear system • [Tong+ SDM08, SAM08] • FastAllDAP: multiple linear systems • [Tong+ KDD07 a] • Fast-ProSIN: dealing w/ on-line feedback • [Tong+ ICDM 2008]
Roadmap • M1: Spotting Anomalies • M2: Mining Time • Introduction • Completed Work • Querying • Mining • Proposed Work
Questions That We Ask Thesis Overview Completed Proposed Q1 CePS, G-Ray, ProSIN (KDD06, KDD07 a, ICDM08) pTrack/cTrack (SDM08, SAM08) Q2 Q2 DAP (KDD07 b) Q3 FastProx (ICDM06, KAIS07, KDD07 b, ICDM08) P3 Q3 FastProx (SDM08, SAM08) M1 M1 Colibri-S (KDD08 b) P3 Colibri-D (KDD08 b) M2 M2 P2 P3 T3/MT3 (CIKM08) M3 P1 P3 P1 M3
Motivation [Tong+ KDD 08 b] • Q: How to find patterns? • e.g., communities, anomalies, etc. • A: Low-Rank Approximation (LRA) for Adjacency Matrix of the Graph. X X A L M R ~ ~
LRA for Graph Mining: Example Adj. matrix: A L M R John X X ICDM Tom KDD Conf. Cluster Bob Interaction Carl ISMB Au. clusters Van ~ ~ RECOMB Roy Author Conf. Recon. error is high ‘Carl’ is abnormal
Challenges: How to get (L, M, R)? • Efficiently • both time and space • Intuitively • easy for interpretation • Dynamically • track patterns over time None of Existing Methods Fully Meets Our Wish List!
Why Not SVD and CUR/CX? • SVD: Optimal in L2 and LF • Efficiency • Time: • Space: (L, R) are dense • Interpretation • Linear Combination of many columns • Dynamic: Not Easy • CUR: Example-based • Efficiency • Better than SVD • Redundancy in L • Interpretation • Actual Columns from A xxxx • Dynamic: Not Easy
Connexion au compte
Connectez-vous pour publier votre contenu sur SlideServe.