SlideShare a Scribd company logo
k-Nearest Neighbors
in Uncertain Graphs
Michalis Potamias   Francesco Bonchi

 Aristides Gionis    George Kollios
Thesis
• Many complex networks are modeled as
  probabilistic (i.e., uncertain) graphs.

• The probabilistic treatment of such graphs leads
  to better understanding of real data.




               Nearest Neighbors in Uncertain Graphs @ VLDB 2010   2
Probabilistic Protein-Protein
          Interaction Networks
Possible interactions between
proteins are established
through biological experiments
that entail uncertainty.
The edge probability
represents that uncertainty.
                                                                                       A
                                                                               0.2     0.6

                                                                                 0.4
                                                                           B                       C
                                                                               0.3           0.7

                                                                                       D



Source: Asthana et al., Genome Research 2004



                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010          3
Probabilistic Protein-Protein
      Interaction Networks
• Neighbors of a given node in a standard graph?
  – Nodes close in terms of shortest path distance!

                                                                       A
• How do we define neighbors
                                                               0.2     0.6
  in probabilistic graphs?
                                                                 0.4
                                                           B                       C
• How do we define the distance?
                                                               0.3           0.7

                                                                       D
  –   Treat them as weighted graphs (N06)
  –   Nodes with high reliability(GR04)
  –   Most probable path (BI03)
  –   …shortest paths? (VLDB10)
                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010          4
Probabilistic Protein-Protein
       Interaction Networks
• Why is it important to find good neighbors of
  proteins in PPI networks?
  – Detection of candidate co-complex relationships.
  – Actual co-complex relationships can be
    established through experiments in the lab.




               Nearest Neighbors in Uncertain Graphs @ VLDB 2010   5
Outline
•   Thesis
•   Probabilistic PPI Networks
•   Distance Definition
•   Sampling Algorithms
•   kNN Pruning
•   Experiments



               Nearest Neighbors in Uncertain Graphs @ VLDB 2010   6
Outline
•   Thesis
•   Probabilistic PPI Networks
•   Distance Definition
•   Sampling Algorithms
•   kNN Pruning
•   Experiments



               Nearest Neighbors in Uncertain Graphs @ VLDB 2010   7
A
                0.6


B
    0.2

      0.4
                            C
                                        Distance Definition
    0.3               0.7

            D
      A                A                 A             A            A            A               A               A


B           C     B             C   B         C   B        C   B        C   B        C   B           C   B           C


      D                D                 D             D            D            D               D               D

      A                A                 A             A            A            A               A               A


B           C     B             C   B         C   B        C   B        C   B        C   B           C   B           C


      D                D                 D             D            D            D               D               D

      A                A                 A             A            A            A               A               A


B           C     B             C   B         C   B        C   B        C   B        C   B           C   B           C


      D                D                 D             D            D            D               D               D

      A                A                 A             A            A            A               A               A


B           C     B             C   B         C   B        C   B        C   B        C   B           C   B           C


      D                D                 D             D            D            D               D               D

                                             Nearest Neighbors in Uncertain Graphs @ VLDB 2010               8
Distance Definition
the graph
             A
     0.2     0.6

       0.4
 B                       C
     0.3           0.7

             D




                               Nearest Neighbors in Uncertain Graphs @ VLDB 2010   9
Distance Definition
the graph                       a world
             A                            A
     0.2     0.6                                     Pr(world )    p( A, B) p( B, D)
       0.4                                                        (1 p( B, C )) (1 p(C , D)) (1 p( A, D))
 B                       C        B              C
     0.3           0.7

             D                            D




                               Nearest Neighbors in Uncertain Graphs @ VLDB 2010               10
Distance Definition
the graph                       a world
             A                            A
     0.2     0.6                                     Pr(world )     p( A, B) p( B, D)
       0.4                                                         (1 p( B, C )) (1 p(C , D)) (1 p( A, D))
 B                       C        B              C
     0.3           0.7

             D                            D


                                                              PDF            .44
                                                     .3
                                                             .26



                                                    1      2          inf
                                               shortest path length d(B,D)
                               Nearest Neighbors in Uncertain Graphs @ VLDB 2010                12
Distance Definition
• Use well known statistics of the Shortest Path
  PDF:
  – Median
  – Majority (mode)
  – ExpectedReliable
     • infinity problem
                                                 PDF
• Hard! they require                                         .44
                                                                       d med    2
                                        .3
  explicit enumeration                         .26
                                                                       d maj   inf
  of possible worlds:
                                                                       d exp   1.46
  resort to sampling!                   1      2          inf
                                   shortest path length d(B,D)
                   Nearest Neighbors in Uncertain Graphs @ VLDB 2010           14
Outline
•   Thesis
•   Probabilistic PPI Networks
•   Distance Definition
•   Sampling Algorithms
•   kNN Pruning
•   Experiments



               Nearest Neighbors in Uncertain Graphs @ VLDB 2010   15
Sampling Algorithms
1. sample (a small number of) worlds
2. compute sample median (approximation)
3. output result
  – Median (Chernoff bound)
  – ExpectedReliable (Hoeffding inequality)
  – Majority (No bound)




              Nearest Neighbors in Uncertain Graphs @ VLDB 2010   16
Sampling Algorithms




BIOMINE                                  FLICKR
database of biological entities          users from flickr.com. edges have
and uncertain interactions from          been created assuming homophily
UHelsinki                                based on jaccard of flickr groups
1M nodes, 10M edges                      77K nodes, 20M edges

                     Nearest Neighbors in Uncertain Graphs @ VLDB 2010   17
Outline
•   Thesis
•   Probabilistic PPI Networks
•   Distance Definition
•   Sampling Algorithms
•   kNN Pruning
•   Experiments



               Nearest Neighbors in Uncertain Graphs @ VLDB 2010   18
kNN Pruning
•    Query: Given a probabilistic graph, and a
     source node find the set of k nodes closest to
     the source.

•    Naïve algorithm:
    1. sample worlds
    2. run dijkstra traversals and compute a pdf of the sp
       distance per node
    3. calculate the median distance to all nodes using the
       pdf’s
    4. compute k-nn
                   Nearest Neighbors in Uncertain Graphs @ VLDB 2010   19
kNN Pruning                                         naive

1nn - median
node: A
sample: 5 worlds


          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                      0.7
                C
                      0.4

                            F



                                      Nearest Neighbors in Uncertain Graphs @ VLDB 2010       20
kNN Pruning                                             naive
                                          E
                                                    D
1nn - median
                                              B
node: A
                                      A             G
sample: 5 worlds
                                              C


                                                     F

          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1                               2              3
                      0.7
                C                         B                 C             D         E           F        G
                      0.4

                            F



                                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010       21
kNN Pruning                                             naive
                                          E                     E
                                                    D                   D
1nn - median
                                              B                     B
node: A
                                      A             G       A           G
sample: 5 worlds
                                              C                     C


                                                     F                  F

          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1                                     2        3
                      0.7
                C                         B                 C                   D   E           F        G
                      0.4

                            F



                                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010       22
kNN Pruning                                                      naive
                                          E                      E                   E
                                                    D                    D                   D
1nn - median
                                              B                      B                   B
node: A
                                      A             G        A           G       A           G
sample: 5 worlds
                                              C                      C                   C


                                                     F                   F                   F

          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1                  1                   2                   2 3   2          2
                      0.7
                C                         B                  C                   D                E        F      G
                      0.4

                            F



                                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010                   23
kNN Pruning                                                                  naive
                                          E                      E                   E                     E
                                                    D                    D                   D                         D
1nn - median
                                              B                      B                   B                     B
node: A
                                      A             G        A           G       A           G         A               G
sample: 5 worlds
                                              C                      C                   C                     C


                                                     F                   F                   F                         F

          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1                  1                   2                   2 3               2          2
                      0.7
                C                         B                  C                   D                E                    F      G
                      0.4

                            F



                                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010                               24
kNN Pruning                                                                  naive
                                          E                      E                   E                     E                    E
                                                    D                    D                   D                         D                     D
1nn - median
                                              B                      B                   B                     B                    B
node: A
                                      A             G        A           G       A           G         A               G    A                G
sample: 5 worlds
                                              C                      C                   C                     C                    C


                                                     F                   F                   F                         F                     F

          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1                  1                   2                   2 3               2            2
                      0.7
                C                         B                  C                   D                E                    F            G
                      0.4

                            F



                                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010                                     25
kNN Pruning                                                                  naive
                                          E                      E                   E                     E                    E
                                                    D                    D                   D                         D                     D
1nn - median
                                              B                      B                   B                     B                    B
node: A
                                      A             G        A           G       A           G         A               G    A                G
sample: 5 worlds
                                              C                      C                   C                     C                    C


          3                                          F                   F                   F                         F                     F

          E         0.5
      0.6
                            D     2
                0.8

          1     B               0.3
    0.9

A                           G
          0.3
                                      1                  1                   2                   2 3               2            2
                      0.7
                C                         B                  C                   D                E                    F            G
                      0.4

                            F



                                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010                                     26
kNN Pruning                                                                  naive
                                          E                      E                   E                     E                    E
                                                    D                    D                   D                         D                     D
1nn - median
                                              B                      B                   B                     B                    B
node: A
                                      A             G        A           G       A           G         A               G    A                G
sample: 5 worlds
                                              C                      C                   C                     C                    C


          3                                          F                   F                   F                         F                     F

          E         0.5
      0.6
                            D     2
                0.8

          1     B               0.3
    0.9

A                           G
          0.3
                                      1                  1                   2                   2 3               2            2
                      0.7
                C                         B                  C                   D                E                    F            G
                      0.4

                            F



                                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010                                     27
kNN Pruning
1nn - median
node: A
sample: 5 worlds


          E         0.5
                            D
      0.6
                0.8
                                      • algorithm
                B               0.3
    0.9
                                         – sample worlds on the fly
                                         – increase the horizon of each dijkstra one hop at a
A                           G
                                           time
          0.3
                      0.7                – maintain truncated pdf histograms
                C
                      0.4

                            F



                                          Nearest Neighbors in Uncertain Graphs @ VLDB 2010   28
kNN Pruning
1nn - median
node: A
sample: 5 worlds


          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                      0.7
                C
                      0.4

                            F



                                      Nearest Neighbors in Uncertain Graphs @ VLDB 2010   29
kNN Pruning
1nn - median
                                          B
node: A
                                      A
sample: 5 worlds


          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1
                      0.7
                C                         B
                      0.4

                            F



                                              Nearest Neighbors in Uncertain Graphs @ VLDB 2010   30
kNN Pruning
1nn - median
                                          B                 B
node: A
                                      A
sample: 5 worlds                                        A




          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1
                      0.7
                C                         B
                      0.4

                            F



                                              Nearest Neighbors in Uncertain Graphs @ VLDB 2010   31
kNN Pruning
1nn - median
                                          B                 B            B
node: A
                                      A
sample: 5 worlds                                        A            A


                                                                         C




          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1             1
                      0.7
                C                         B             C
                      0.4

                            F



                                              Nearest Neighbors in Uncertain Graphs @ VLDB 2010   32
kNN Pruning
1nn - median
                                          B                 B            B               B
node: A
                                      A
sample: 5 worlds                                        A            A               A


                                                                         C               C




          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1             1
                      0.7
                C                         B             C
                      0.4

                            F



                                              Nearest Neighbors in Uncertain Graphs @ VLDB 2010   33
kNN Pruning
1nn - median
                                          B                 B            B               B
node: A
                                      A                                                           A
sample: 5 worlds                                        A            A               A


                                                                         C               C




          E         0.5
                            D
      0.6
                0.8

                B               0.3
    0.9

A                           G
          0.3
                                      1             1
                      0.7
                C                         B             C
                      0.4

                            F



                                              Nearest Neighbors in Uncertain Graphs @ VLDB 2010       34
kNN Pruning
1nn - median
                                          B                 B            B               B
node: A
                                      A                                                           A
sample: 5 worlds                                        A            A               A


                                                                         C               C




          E         0.5
                            D
      0.6
                0.8

          1     B               0.3
    0.9

A                           G
          0.3
                                      1             1
                      0.7
     >1         C                         B             C
                      0.4

                            F



                                              Nearest Neighbors in Uncertain Graphs @ VLDB 2010       35
kNN Pruning
1nn - median
                                          B                 B            B               B
node: A
                                      A                                                             A
sample: 5 worlds                                        A            A               A


                                                                         C               C




          E         0.5
      0.6
                            D                                    •B has distance 1
                0.8                                              •C has distance greater than 1
          1     B               0.3
                                                                 •D, E, F, G, … were not discovered (d>1)
    0.9
                                                                 •1NN set is complete with B – no need to cont

A                           G                                    •just 2 nodes visited (and 2 histograms
          0.3
                                      1             1            maintained)
                      0.7
                                                                 •worlds were only partially instantiated
     >1         C                         B             C        •same answer as the naive
                      0.4

                            F                                    •with a small cost: dijkstra state needs to be
                                                                 maintained in memory for all worlds
                                              Nearest Neighbors in Uncertain Graphs @ VLDB 2010          36
kNN Pruning
                        for 200 worlds and 5NN the speedups were:
                        247x (BIOMINE), 111x (FLICKR), 269x (DBLP)




BIOMINE                           FLICKR                              DBLP
database of biological entities   users from flickr.com. edges have   authors from dblp. probabilities
and uncertain interactions from   been created assuming homophily     have been assigned based on
UHelsinki                         based on jaccard of flickr groups   number of coauthored papers
1M nodes, 10M edges               77K nodes, 20M edges                226K nodes, 1.4M edges



                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010              37
kNN Pruning
                        for 200 worlds and 5NN the speedups were:
                        247x (BIOMINE), 111x (FLICKR), 269x (DBLP)




BIOMINE                           FLICKR                              DBLP
database of biological entities   users from flickr.com. edges have   authors from dblp. probabilities
and uncertain interactions from   been created assuming homophily     have been assigned based on
UHelsinki                         based on jaccard of flickr groups   number of coauthored papers
1M nodes, 10M edges               77K nodes, 20M edges                226K nodes, 1.4M edges



                                  Nearest Neighbors in Uncertain Graphs @ VLDB 2010              38
Less uncertainty, more pruning




         Nearest Neighbors in Uncertain Graphs @ VLDB 2010   39
Less uncertainty, more pruning




                                               A                               A
•boost probabilities of edges by                                   d                   d
                                       0.2     0.6             1-0.8               1-0.4
giving each edge d chances               0.4
                                                                           d
                                                                       1-0.6
                                   B                       C   B                              C
     •d=1: original graph
                                       0.3           0.7               d
     •increasing d, p goes to 1                                1-0.7                           d
                                                                                           1-0.3
                                               D                               D


                          Nearest Neighbors in Uncertain Graphs @ VLDB 2010                        40
Less uncertainty, more pruning




                                               A                               A
•boost probabilities of edges by                                   d                   d
                                       0.2     0.6             1-0.8               1-0.4
giving each edge d chances               0.4
                                                                           d
                                                                       1-0.6
                                   B                       C   B                              C
     •d=1: original graph
                                       0.3           0.7               d
     •increasing d, p goes to 1                                1-0.7                           d
                                                                                           1-0.3
                                               D                               D


                          Nearest Neighbors in Uncertain Graphs @ VLDB 2010                        41
Less uncertainty, more pruning




                                               A                               A
•boost probabilities of edges by                                   d                   d
                                       0.2     0.6             1-0.8               1-0.4
giving each edge d chances               0.4
                                                                           d
                                                                       1-0.6
                                   B                       C   B                              C
     •d=1: original graph
                                       0.3           0.7               d
     •increasing d, p goes to 1                                1-0.7                           d
                                                                                           1-0.3
                                               D                               D


                          Nearest Neighbors in Uncertain Graphs @ VLDB 2010                        42
Outline
•   Thesis
•   Probabilistic PPI Networks
•   Distance Definition
•   Sampling Algorithms
•   kNN Pruning
•   Experiments



               Nearest Neighbors in Uncertain Graphs @ VLDB 2010   43
Experiments
• Dataset
   – Probabilistic PPI network
       [Krogan et al, Nature 06]
   – Protein co-complex
     relationships (ground truth)
       [Mewes et al, Nuc Acids Res 04]


• Experiment
   – Choose a ground truth edge
     (A,B)
   – Choose a node C s.t. there is
     no ground truth edge (A,C)
   – Classification task: Distinguish
     between the two types of
     edges: (A,B) and (A,C)


                         Nearest Neighbors in Uncertain Graphs @ VLDB 2010   44
Experiments
• Dataset
   – Probabilistic PPI network
       [Krogan et al, Nature 06]
   – Protein co-complex
     relationships (ground truth)
       [Mewes et al, Nuc Acids Res 04]


• Experiment
   – Choose a ground truth edge
     (A,B)
   – Choose a node C s.t. there is
     no ground truth edge (A,C)
   – Classification task: Distinguish
     between the two types of
     edges: (A,B) and (A,C)


                         Nearest Neighbors in Uncertain Graphs @ VLDB 2010   45
Conclusion
• Probabilistic graph analysis benefits from
  possible-world semantics.

  – Extended standard graph concepts to
    probabilistic graphs and designed
    approximation algorithms to compute them
  – Introduced novel pruning algorithms for kNN
    in probabilistic graphs
  – Confirmed the efficacy of our framework on
    real data.

              Nearest Neighbors in Uncertain Graphs @ VLDB 2010   46
Future Work
• Enrich model
  – Node probabilities
  – Arbitrary PDFs
• Explore random walks further




               Nearest Neighbors in Uncertain Graphs @ VLDB 2010   47
Thank you!



              ?


Nearest Neighbors in Uncertain Graphs @ VLDB 2010   48

More Related Content

Recently uploaded

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 

Recently uploaded (20)

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

k-Nearest Neighbors in Uncertain Graphs (Michalis Potamias, Francesco Bonchi, Aristides Gionis, George Kollios)

  • 1. k-Nearest Neighbors in Uncertain Graphs Michalis Potamias Francesco Bonchi Aristides Gionis George Kollios
  • 2. Thesis • Many complex networks are modeled as probabilistic (i.e., uncertain) graphs. • The probabilistic treatment of such graphs leads to better understanding of real data. Nearest Neighbors in Uncertain Graphs @ VLDB 2010 2
  • 3. Probabilistic Protein-Protein Interaction Networks Possible interactions between proteins are established through biological experiments that entail uncertainty. The edge probability represents that uncertainty. A 0.2 0.6 0.4 B C 0.3 0.7 D Source: Asthana et al., Genome Research 2004 Nearest Neighbors in Uncertain Graphs @ VLDB 2010 3
  • 4. Probabilistic Protein-Protein Interaction Networks • Neighbors of a given node in a standard graph? – Nodes close in terms of shortest path distance! A • How do we define neighbors 0.2 0.6 in probabilistic graphs? 0.4 B C • How do we define the distance? 0.3 0.7 D – Treat them as weighted graphs (N06) – Nodes with high reliability(GR04) – Most probable path (BI03) – …shortest paths? (VLDB10) Nearest Neighbors in Uncertain Graphs @ VLDB 2010 4
  • 5. Probabilistic Protein-Protein Interaction Networks • Why is it important to find good neighbors of proteins in PPI networks? – Detection of candidate co-complex relationships. – Actual co-complex relationships can be established through experiments in the lab. Nearest Neighbors in Uncertain Graphs @ VLDB 2010 5
  • 6. Outline • Thesis • Probabilistic PPI Networks • Distance Definition • Sampling Algorithms • kNN Pruning • Experiments Nearest Neighbors in Uncertain Graphs @ VLDB 2010 6
  • 7. Outline • Thesis • Probabilistic PPI Networks • Distance Definition • Sampling Algorithms • kNN Pruning • Experiments Nearest Neighbors in Uncertain Graphs @ VLDB 2010 7
  • 8. A 0.6 B 0.2 0.4 C Distance Definition 0.3 0.7 D A A A A A A A A B C B C B C B C B C B C B C B C D D D D D D D D A A A A A A A A B C B C B C B C B C B C B C B C D D D D D D D D A A A A A A A A B C B C B C B C B C B C B C B C D D D D D D D D A A A A A A A A B C B C B C B C B C B C B C B C D D D D D D D D Nearest Neighbors in Uncertain Graphs @ VLDB 2010 8
  • 9. Distance Definition the graph A 0.2 0.6 0.4 B C 0.3 0.7 D Nearest Neighbors in Uncertain Graphs @ VLDB 2010 9
  • 10. Distance Definition the graph a world A A 0.2 0.6 Pr(world ) p( A, B) p( B, D) 0.4 (1 p( B, C )) (1 p(C , D)) (1 p( A, D)) B C B C 0.3 0.7 D D Nearest Neighbors in Uncertain Graphs @ VLDB 2010 10
  • 11. Distance Definition the graph a world A A 0.2 0.6 Pr(world ) p( A, B) p( B, D) 0.4 (1 p( B, C )) (1 p(C , D)) (1 p( A, D)) B C B C 0.3 0.7 D D PDF .44 .3 .26 1 2 inf shortest path length d(B,D) Nearest Neighbors in Uncertain Graphs @ VLDB 2010 12
  • 12. Distance Definition • Use well known statistics of the Shortest Path PDF: – Median – Majority (mode) – ExpectedReliable • infinity problem PDF • Hard! they require .44 d med 2 .3 explicit enumeration .26 d maj inf of possible worlds: d exp 1.46 resort to sampling! 1 2 inf shortest path length d(B,D) Nearest Neighbors in Uncertain Graphs @ VLDB 2010 14
  • 13. Outline • Thesis • Probabilistic PPI Networks • Distance Definition • Sampling Algorithms • kNN Pruning • Experiments Nearest Neighbors in Uncertain Graphs @ VLDB 2010 15
  • 14. Sampling Algorithms 1. sample (a small number of) worlds 2. compute sample median (approximation) 3. output result – Median (Chernoff bound) – ExpectedReliable (Hoeffding inequality) – Majority (No bound) Nearest Neighbors in Uncertain Graphs @ VLDB 2010 16
  • 15. Sampling Algorithms BIOMINE FLICKR database of biological entities users from flickr.com. edges have and uncertain interactions from been created assuming homophily UHelsinki based on jaccard of flickr groups 1M nodes, 10M edges 77K nodes, 20M edges Nearest Neighbors in Uncertain Graphs @ VLDB 2010 17
  • 16. Outline • Thesis • Probabilistic PPI Networks • Distance Definition • Sampling Algorithms • kNN Pruning • Experiments Nearest Neighbors in Uncertain Graphs @ VLDB 2010 18
  • 17. kNN Pruning • Query: Given a probabilistic graph, and a source node find the set of k nodes closest to the source. • Naïve algorithm: 1. sample worlds 2. run dijkstra traversals and compute a pdf of the sp distance per node 3. calculate the median distance to all nodes using the pdf’s 4. compute k-nn Nearest Neighbors in Uncertain Graphs @ VLDB 2010 19
  • 18. kNN Pruning naive 1nn - median node: A sample: 5 worlds E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 0.7 C 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 20
  • 19. kNN Pruning naive E D 1nn - median B node: A A G sample: 5 worlds C F E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 2 3 0.7 C B C D E F G 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 21
  • 20. kNN Pruning naive E E D D 1nn - median B B node: A A G A G sample: 5 worlds C C F F E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 2 3 0.7 C B C D E F G 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 22
  • 21. kNN Pruning naive E E E D D D 1nn - median B B B node: A A G A G A G sample: 5 worlds C C C F F F E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 1 2 2 3 2 2 0.7 C B C D E F G 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 23
  • 22. kNN Pruning naive E E E E D D D D 1nn - median B B B B node: A A G A G A G A G sample: 5 worlds C C C C F F F F E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 1 2 2 3 2 2 0.7 C B C D E F G 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 24
  • 23. kNN Pruning naive E E E E E D D D D D 1nn - median B B B B B node: A A G A G A G A G A G sample: 5 worlds C C C C C F F F F F E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 1 2 2 3 2 2 0.7 C B C D E F G 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 25
  • 24. kNN Pruning naive E E E E E D D D D D 1nn - median B B B B B node: A A G A G A G A G A G sample: 5 worlds C C C C C 3 F F F F F E 0.5 0.6 D 2 0.8 1 B 0.3 0.9 A G 0.3 1 1 2 2 3 2 2 0.7 C B C D E F G 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 26
  • 25. kNN Pruning naive E E E E E D D D D D 1nn - median B B B B B node: A A G A G A G A G A G sample: 5 worlds C C C C C 3 F F F F F E 0.5 0.6 D 2 0.8 1 B 0.3 0.9 A G 0.3 1 1 2 2 3 2 2 0.7 C B C D E F G 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 27
  • 26. kNN Pruning 1nn - median node: A sample: 5 worlds E 0.5 D 0.6 0.8 • algorithm B 0.3 0.9 – sample worlds on the fly – increase the horizon of each dijkstra one hop at a A G time 0.3 0.7 – maintain truncated pdf histograms C 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 28
  • 27. kNN Pruning 1nn - median node: A sample: 5 worlds E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 0.7 C 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 29
  • 28. kNN Pruning 1nn - median B node: A A sample: 5 worlds E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 0.7 C B 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 30
  • 29. kNN Pruning 1nn - median B B node: A A sample: 5 worlds A E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 0.7 C B 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 31
  • 30. kNN Pruning 1nn - median B B B node: A A sample: 5 worlds A A C E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 1 0.7 C B C 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 32
  • 31. kNN Pruning 1nn - median B B B B node: A A sample: 5 worlds A A A C C E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 1 0.7 C B C 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 33
  • 32. kNN Pruning 1nn - median B B B B node: A A A sample: 5 worlds A A A C C E 0.5 D 0.6 0.8 B 0.3 0.9 A G 0.3 1 1 0.7 C B C 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 34
  • 33. kNN Pruning 1nn - median B B B B node: A A A sample: 5 worlds A A A C C E 0.5 D 0.6 0.8 1 B 0.3 0.9 A G 0.3 1 1 0.7 >1 C B C 0.4 F Nearest Neighbors in Uncertain Graphs @ VLDB 2010 35
  • 34. kNN Pruning 1nn - median B B B B node: A A A sample: 5 worlds A A A C C E 0.5 0.6 D •B has distance 1 0.8 •C has distance greater than 1 1 B 0.3 •D, E, F, G, … were not discovered (d>1) 0.9 •1NN set is complete with B – no need to cont A G •just 2 nodes visited (and 2 histograms 0.3 1 1 maintained) 0.7 •worlds were only partially instantiated >1 C B C •same answer as the naive 0.4 F •with a small cost: dijkstra state needs to be maintained in memory for all worlds Nearest Neighbors in Uncertain Graphs @ VLDB 2010 36
  • 35. kNN Pruning for 200 worlds and 5NN the speedups were: 247x (BIOMINE), 111x (FLICKR), 269x (DBLP) BIOMINE FLICKR DBLP database of biological entities users from flickr.com. edges have authors from dblp. probabilities and uncertain interactions from been created assuming homophily have been assigned based on UHelsinki based on jaccard of flickr groups number of coauthored papers 1M nodes, 10M edges 77K nodes, 20M edges 226K nodes, 1.4M edges Nearest Neighbors in Uncertain Graphs @ VLDB 2010 37
  • 36. kNN Pruning for 200 worlds and 5NN the speedups were: 247x (BIOMINE), 111x (FLICKR), 269x (DBLP) BIOMINE FLICKR DBLP database of biological entities users from flickr.com. edges have authors from dblp. probabilities and uncertain interactions from been created assuming homophily have been assigned based on UHelsinki based on jaccard of flickr groups number of coauthored papers 1M nodes, 10M edges 77K nodes, 20M edges 226K nodes, 1.4M edges Nearest Neighbors in Uncertain Graphs @ VLDB 2010 38
  • 37. Less uncertainty, more pruning Nearest Neighbors in Uncertain Graphs @ VLDB 2010 39
  • 38. Less uncertainty, more pruning A A •boost probabilities of edges by d d 0.2 0.6 1-0.8 1-0.4 giving each edge d chances 0.4 d 1-0.6 B C B C •d=1: original graph 0.3 0.7 d •increasing d, p goes to 1 1-0.7 d 1-0.3 D D Nearest Neighbors in Uncertain Graphs @ VLDB 2010 40
  • 39. Less uncertainty, more pruning A A •boost probabilities of edges by d d 0.2 0.6 1-0.8 1-0.4 giving each edge d chances 0.4 d 1-0.6 B C B C •d=1: original graph 0.3 0.7 d •increasing d, p goes to 1 1-0.7 d 1-0.3 D D Nearest Neighbors in Uncertain Graphs @ VLDB 2010 41
  • 40. Less uncertainty, more pruning A A •boost probabilities of edges by d d 0.2 0.6 1-0.8 1-0.4 giving each edge d chances 0.4 d 1-0.6 B C B C •d=1: original graph 0.3 0.7 d •increasing d, p goes to 1 1-0.7 d 1-0.3 D D Nearest Neighbors in Uncertain Graphs @ VLDB 2010 42
  • 41. Outline • Thesis • Probabilistic PPI Networks • Distance Definition • Sampling Algorithms • kNN Pruning • Experiments Nearest Neighbors in Uncertain Graphs @ VLDB 2010 43
  • 42. Experiments • Dataset – Probabilistic PPI network [Krogan et al, Nature 06] – Protein co-complex relationships (ground truth) [Mewes et al, Nuc Acids Res 04] • Experiment – Choose a ground truth edge (A,B) – Choose a node C s.t. there is no ground truth edge (A,C) – Classification task: Distinguish between the two types of edges: (A,B) and (A,C) Nearest Neighbors in Uncertain Graphs @ VLDB 2010 44
  • 43. Experiments • Dataset – Probabilistic PPI network [Krogan et al, Nature 06] – Protein co-complex relationships (ground truth) [Mewes et al, Nuc Acids Res 04] • Experiment – Choose a ground truth edge (A,B) – Choose a node C s.t. there is no ground truth edge (A,C) – Classification task: Distinguish between the two types of edges: (A,B) and (A,C) Nearest Neighbors in Uncertain Graphs @ VLDB 2010 45
  • 44. Conclusion • Probabilistic graph analysis benefits from possible-world semantics. – Extended standard graph concepts to probabilistic graphs and designed approximation algorithms to compute them – Introduced novel pruning algorithms for kNN in probabilistic graphs – Confirmed the efficacy of our framework on real data. Nearest Neighbors in Uncertain Graphs @ VLDB 2010 46
  • 45. Future Work • Enrich model – Node probabilities – Arbitrary PDFs • Explore random walks further Nearest Neighbors in Uncertain Graphs @ VLDB 2010 47
  • 46. Thank you! ? Nearest Neighbors in Uncertain Graphs @ VLDB 2010 48