Presentation is loading. Please wait.

Presentation is loading. Please wait.

CMU SCS Data Mining in Streams and Graphs Christos Faloutsos CMU.

Similar presentations


Presentation on theme: "CMU SCS Data Mining in Streams and Graphs Christos Faloutsos CMU."— Presentation transcript:

1 CMU SCS Data Mining in Streams and Graphs Christos Faloutsos CMU

2 CMU SCS CALD Day '06C. Faloutsos2 Outline Problem definition / Motivation Graphs and power laws Streams and forecasting Conclusions

3 CMU SCS CALD Day '06C. Faloutsos3 Motivation Data mining: ~ find patterns (rules, outliers) How do real graphs look like? How do (numerical) streams look like?

4 CMU SCS CALD Day '06C. Faloutsos4 Joint work with Dr. Deepayan Chakrabarti (CMU/Yahoo R.L.)

5 CMU SCS CALD Day '06C. Faloutsos5 Graphs - why should we care? Internet Map [lumeta.com] Food Web [Martinez ’91] Protein Interactions [genomebiology.com] Friendship Network [Moody ’01]

6 CMU SCS CALD Day '06C. Faloutsos6 Graphs - why should we care? network of supply-chain companies network of companies & board-of-directors members ‘viral’ marketing web-log (‘blog’) news propagation computer network security: email/IP traffic and anomaly detection....

7 CMU SCS CALD Day '06C. Faloutsos7 Problem #1 - network and graph mining How does the Internet look like? How does the web look like? What constitutes a ‘normal’ social network? What is ‘normal’/‘abnormal’? which patterns/laws hold?

8 CMU SCS CALD Day '06C. Faloutsos8 Graph mining Are real graphs random?

9 CMU SCS CALD Day '06C. Faloutsos9 Laws and patterns NO!! Diameter in- and out- degree distributions other (surprising) patterns

10 CMU SCS CALD Day '06C. Faloutsos10 Laws – degree distributions Q: avg degree is ~3 - what is the most probable degree? degree count ?? 3

11 CMU SCS CALD Day '06C. Faloutsos11 Laws – degree distributions Q: avg degree is ~3 - what is the most probable degree? degree count ?? 3 count 3

12 CMU SCS CALD Day '06C. Faloutsos12 Solution #1: The plot is linear in log-log scale [FFF’99] freq = degree (-2.15) O = -2.15 Exponent = slope Outdegree count Nov’97 -2.15

13 CMU SCS CALD Day '06C. Faloutsos13 Solution Power law in the degree distribution [SIGCOMM99] log(rank) log(degree) -0.82 internet domains att.com ibm.com

14 CMU SCS CALD Day '06C. Faloutsos14 But: Q1: How about graphs from other domains? Q2: How about temporal evolution?

15 CMU SCS CALD Day '06C. Faloutsos15 The Peer-to-Peer Topology Frequency versus degree Number of adjacent peers follows a power-law [Jovanovic+]

16 CMU SCS CALD Day '06C. Faloutsos16 More power laws: citation counts: (citeseer.nj.nec.com 6/2001) log(#citations) log(count) Ullman

17 CMU SCS CALD Day '06C. Faloutsos17 Swedish sex-web Nodes: people (Females; Males) Links: sexual relationships Liljeros et al. Nature 2001 4781 Swedes; 18-74; 59% response rate. Albert Laszlo Barabasi http://www.nd.edu/~networks/ Publication%20Categories/ 04%20Talks/2005-norway- 3hours.ppt

18 CMU SCS CALD Day '06C. Faloutsos18 Swedish sex-web Nodes: people (Females; Males) Links: sexual relationships Liljeros et al. Nature 2001 4781 Swedes; 18-74; 59% response rate. Albert Laszlo Barabasi http://www.nd.edu/~networks/ Publication%20Categories/ 04%20Talks/2005-norway- 3hours.ppt

19 CMU SCS CALD Day '06C. Faloutsos19 More power laws: web hit counts [w/ A. Montgomery] Web Site Traffic log(in-degree) log(count) Zipf users sites ``ebay’’

20 CMU SCS CALD Day '06C. Faloutsos20 epinions.com who-trusts-whom [Richardson + Domingos, KDD 2001] (out) degree count trusts-2000-people user

21 CMU SCS CALD Day '06C. Faloutsos21 More Power laws Also hold for other web graphs [Barabasi+], [Tomkins+], with additional ‘rules’ (bi- partite cores follow power laws)

22 CMU SCS CALD Day '06C. Faloutsos22 But: Q1: How about graphs from other domains? Q2: How about temporal evolution?

23 CMU SCS CALD Day '06C. Faloutsos23 Time Evolution: rank R The rank exponent has not changed! Domain level log(rank) log(degree) - 0.82 att.com ibm.com

24 CMU SCS CALD Day '06C. Faloutsos24 Any other pattern, over time?

25 CMU SCS CALD Day '06C. Faloutsos25 Time evolution with Jure Leskovec (CMU) and Jon Kleinberg (Cornell)

26 CMU SCS CALD Day '06C. Faloutsos26 Evolution of the Diameter Prior work on Power Law graphs hints at slowly growing diameter: –diameter ~ O(log N) –diameter ~ O(log log N) What is happening in real data?

27 CMU SCS CALD Day '06C. Faloutsos27 Evolution of the Diameter Prior work on Power Law graphs hints at slowly growing diameter: –diameter ~ O(log N) –diameter ~ O(log log N) What is happening in real data? Diameter shrinks over time –As the network grows the distances between nodes slowly decrease

28 CMU SCS CALD Day '06C. Faloutsos28 Diameter – ArXiv citation graph Citations among physics papers 1992 –2003 One graph per year time [years] diameter

29 CMU SCS CALD Day '06C. Faloutsos29 Diameter – “Autonomous Systems” Graph of Internet One graph per day 1997 – 2000 number of nodes diameter

30 CMU SCS CALD Day '06C. Faloutsos30 Diameter – “Affiliation Network” Graph of collaborations in physics – authors linked to papers 10 years of data time [years] diameter

31 CMU SCS CALD Day '06C. Faloutsos31 Diameter – “Patents” Patent citation network 25 years of data time [years] diameter

32 CMU SCS CALD Day '06C. Faloutsos32 Temporal Evolution of the Graphs N(t) … nodes at time t E(t) … edges at time t Suppose that N(t+1) = 2 * N(t) Q: what is your guess for E(t+1) =? 2 * E(t)

33 CMU SCS CALD Day '06C. Faloutsos33 Temporal Evolution of the Graphs N(t) … nodes at time t E(t) … edges at time t Suppose that N(t+1) = 2 * N(t) Q: what is your guess for E(t+1) =? 2 * E(t) A: over-doubled! –But obeying the ``Densification Power Law’’

34 CMU SCS CALD Day '06C. Faloutsos34 Densification – Physics Citations Citations among physics papers 2003: –29,555 papers, 352,807 citations N(t) E(t) ??

35 CMU SCS CALD Day '06C. Faloutsos35 Densification – Physics Citations Citations among physics papers 2003: –29,555 papers, 352,807 citations N(t) E(t) 1.69

36 CMU SCS CALD Day '06C. Faloutsos36 Densification – Physics Citations Citations among physics papers 2003: –29,555 papers, 352,807 citations N(t) E(t) 1.69 1: tree

37 CMU SCS CALD Day '06C. Faloutsos37 Densification – Physics Citations Citations among physics papers 2003: –29,555 papers, 352,807 citations N(t) E(t) 1.69 clique: 2

38 CMU SCS CALD Day '06C. Faloutsos38 Densification – Patent Citations Citations among patents granted 1999 –2.9 million nodes –16.5 million edges Each year is a datapoint N(t) E(t) 1.66

39 CMU SCS CALD Day '06C. Faloutsos39 Densification – Autonomous Systems Graph of Internet 2000 –6,000 nodes –26,000 edges One graph per day N(t) E(t) 1.18

40 CMU SCS CALD Day '06C. Faloutsos40 Densification – Affiliation Network Authors linked to their publications 2002 –60,000 nodes 20,000 authors 38,000 papers –133,000 edges N(t) E(t) 1.15

41 CMU SCS CALD Day '06C. Faloutsos41 Outline Problem definition / Motivation Graphs and power laws –laws –algorithms: graph partitioning using MDL Streams and forecasting Conclusions

42 CMU SCS CALD Day '06C. Faloutsos42 Graph partitioning Documents x terms Customers x products Users x web-sites Q: HOW MANY PIECES?

43 CMU SCS CALD Day '06C. Faloutsos43 Graph partitioning Documents x terms Customers x products Users x web-sites Q: HOW MANY PIECES? A: MDL/ compression

44 CMU SCS CALD Day '06C. Faloutsos44 Cross-associations 1x2 2x2

45 CMU SCS CALD Day '06C. Faloutsos45 Cross-associations 2x3 3x3 3x4

46 CMU SCS CALD Day '06C. Faloutsos46 Cross-associations

47 CMU SCS CALD Day '06C. Faloutsos47 Cross-associations outlier edge missing edge

48 CMU SCS CALD Day '06C. Faloutsos48 bio nuclear physics math education

49 CMU SCS CALD Day '06C. Faloutsos49 Conclusions Real graphs obey some surprising patterns –which can help us spot anomalies / outliers MDL helps partition a graph into ‘natural’ groups

50 CMU SCS CALD Day '06C. Faloutsos50 Outline Problem definition / Motivation Graphs and power laws Streams and forecasting Conclusions

51 CMU SCS CALD Day '06C. Faloutsos51 Why care about streams? Sensor devices –Temperature, weather measurements –Road traffic data –Geological observations –Patient physiological data Embedded devices –Network routers –Intelligent (active) disks

52 CMU SCS CALD Day '06C. Faloutsos52 Co-evolving time sequences Joint work with Jimeng Sun (CMU) Spiros Papadimitriou (CMU/IBM) Dr. Yasushi Sakurai (NTT)

53 CMU SCS CALD Day '06C. Faloutsos53 Outline Problem definition / Motivation Graphs and power laws Streams and forecasting –single stream mining & forecasting –multiple-stream mining and summarization Conclusions

54 CMU SCS CALD Day '06C. Faloutsos54 Results - Synthetic data Triangle pulse Mix (sine + square) AR captures wrong trend (or none) Seasonal AR estimation fails AWSOMARSeasonal AR

55 CMU SCS CALD Day '06C. Faloutsos55 Automobile traffic Daily periodicity Rush-hour peaks Bursty “noise” at smaller time scales Results – real data

56 CMU SCS CALD Day '06C. Faloutsos56 Results - Real data Sunspot intensity Slightly time-varying “period” AR captures wrong trend Seasonal ARIMA –wrong trend; needs human

57 CMU SCS CALD Day '06C. Faloutsos57 Outline Problem definition / Motivation Graphs and power laws Streams and forecasting –single stream mining & forecasting –multiple-stream mining and summarization Conclusions

58 CMU SCS CALD Day '06C. Faloutsos58 Motivation water distribution network normal operation Phase 1Phase 2Phase 3 : : : chlorine concentrations sensors near leak sensors away from leak Hundreds of measurements, possibly, correlated.

59 CMU SCS CALD Day '06C. Faloutsos59 Phase 1Phase 2Phase 3 : : : Motivation water distribution network normal operation chlorine concentrations sensors near leak sensors away from leak Hundreds of measurements, possibly, correlated.

60 CMU SCS CALD Day '06C. Faloutsos60 Phase 1Phase 2Phase 3 : : : Motivation water distribution network normal operationmajor leak chlorine concentrations sensors near leak sensors away from leak Hundreds of measurements, possibly, correlated.

61 CMU SCS CALD Day '06C. Faloutsos61 Phase 1Phase 2Phase 3 : : : Motivation water distribution network normal operationmajor leak Hundreds of measurements, possibly, correlated. chlorine concentrations sensors near leak sensors away from leak

62 CMU SCS CALD Day '06C. Faloutsos62 Motivation actual measurements (n streams) k hidden variable(s) Phase 1 : : : chlorine concentrations Phase 1 k = 1 Find: “hidden (latent) variables”, to summarize the key trends

63 CMU SCS CALD Day '06C. Faloutsos63 Motivation Find: “hidden (latent) variables”, to summarize the key trends chlorine concentrations Phase 1 Phase 2 actual measurements (n streams) k hidden variable(s) k = 2 : : :

64 CMU SCS CALD Day '06C. Faloutsos64 Motivation chlorine concentrations Phase 1 Phase 2 Phase 3 actual measurements (n streams) k hidden variable(s) k = 1 : : : Find: “hidden (latent) variables”, to summarize the key trends

65 CMU SCS CALD Day '06C. Faloutsos65 Stream mining Solution: SPIRIT [VLDB’05] –incremental, on-line PCA

66 CMU SCS CALD Day '06C. Faloutsos66 Stream mining Solution: SPIRIT [VLDB’05] –incremental, on-line PCA

67 CMU SCS CALD Day '06C. Faloutsos67 SPIRIT also to monitor a data center (‘self-*’ storage project www.pdl.cmu.edu/SelfStar/ see demo of SPIRIT at http://warsteiner.db.cs.cmu.edu (needs JVM plugin) demo

68 CMU SCS CALD Day '06C. Faloutsos68 Conclusions Graphs & streams pose fascinating problems MDL, PCA/SVD (wavelets): powerful tools self-similarity, fractals and power laws work, when textbook methods fail!

69 CMU SCS CALD Day '06C. Faloutsos69 Other projects video data mining [Pan + Yang] Virus propagation (Wang) Anomaly detection in network traffic (Wang, Olston, ++)

70 CMU SCS CALD Day '06C. Faloutsos70 Books Manfred Schroeder: Fractals, Chaos, Power Laws: Minutes from an Infinite Paradise W.H. Freeman and Company, 1991 (Probably the BEST book on fractals!)

71 CMU SCS CALD Day '06C. Faloutsos71 Contact info christos@cs.cmu.edu www.cs.cmu.edu/~christos Wean Hall 7107 Ph#: x8.1457


Download ppt "CMU SCS Data Mining in Streams and Graphs Christos Faloutsos CMU."

Similar presentations


Ads by Google