Weg2Vec: Event Embedding for Temporal Networks
Márton Karsai
Weg2Vec: Event Embedding for Temporal Networks Mrton Karsai - - PowerPoint PPT Presentation
Weg2Vec: Event Embedding for Temporal Networks Mrton Karsai Temporal Networks (a) (b) (c) Interactions between entities are not present always but varying in time (Holme, Saramaki 2012) Calls, SMS, f2f, @mentions, collaborations,
Weg2Vec: Event Embedding for Temporal Networks
Márton Karsai
Temporal Networks
(a) (b) (c)
Representation of temporal networks
Gt = (V, E, Te) a
a b c d
Representation of temporal networks
Gt = (V, E, Te)
(Similar representation is called link streams, (Latapy et al. 2018)
where
E ⊂ T × V × V (× Y
i
Ae
i × L)
t1 a b t2 a c t4 e f t10 f a …
ev(t, ubeg, vend, a1, a2, , . . . , locbeg, locend)
a
a b c d
Representation of temporal networks
Gt = (V, E, Te) a
(Similar representation is called link streams, (Latapy et al. 2018)
E ⊂ T × V × V (× Y
i
Ae
i × L)
the same time or interval
t = 5 t = 6 t = 7 t = 2 t = 3 t = 4 t = 1
e
t1 a b t2 a c t4 e f t10 f a …
a b c d
d a
Representation of temporal networks
Gt = (V, E, Te) a
(Similar representation is called link streams, (Latapy et al. 2018)
E ⊂ T × V × V (× Y
i
Ae
i × L)
the same time or interval
t = 5 t = 6 t = 7 t = 2 t = 3 t = 4 t = 1
e
t1 a b t2 a c t4 e f t10 f a …
Computational difficulties:
b c
Time-respecting paths
Definition
events such that t1<t2<…<tn and consecutive events are adjacent (i.e. time ordered and share at least one node)
{(a, v, t1), (v, w, t2), . . . , (y, b, tn)}
a b a b
t=∞static path temporal path
Properties
doesn’t guarantee a path at t’>t
i j k l m i j k l m
Definition
events such that t1<t2<…<tn and consecutive events are adjacent (i.e. time ordered and share at least one node)
{(a, v, t1), (v, w, t2), . . . , (y, b, tn)}
Time-respecting paths
Weighted event graphs
Temporal networks
ents E ⇢ V ⇥ V ⇥ [0, T] , we allow no self-edges
with events
Adjacent events
Events are adjacent
that e ! e0
if
and t < t0.
e′ = (b, c, t′ )
a b c t=1 t = 6
Temporal network
representation of a D = (E, ED, w) in and the edges
where
in time than δt
in eD 2 ED
0 with weights
ents eD = e ! e0
as w(eD) = t0 t. paths in the network.
Kivelä, Cambe, Saramäki, Karsai, Sci. Rep. (2018) Mellor J. Complex Netw. (2017).Weighted event graphs
e e’ w=5
Weighted even graph
Temporal network embedding
… or the prediction of spreading outcome
Weg2Vec pipeline
Weg2Vec pipeline
1 1 + |tk − tl|
Event graph representation
Weg2Vec pipeline
wpath(ek, el) = 1 1 + |tk − tl|
weight:
wco−occ(ek, el)
adjacent events on the same pair
Event embedding
Weg2Vec pipeline
We rely on the static representations of the temporal networks to generate the contexts to be passed as input to Word2Vec
the event graph with probability p(el)
Event embedding
Identifies similarity between different events/nodes, which may be active at different times, but influence a similar set of nodes in the future
Weg2Vec pipeline
Parameters
Weg2Vec - embedding
Embedding time & structure
Temporal ordering Membership in mesoscale structures
Conference Primary school
Weg2Vec - stability
dimensions
becomes constant
Conference Primary school
Weg2Vec - evaluation
temporal network) and the euclidean distance (in embedding) among randomly selected pairs and pairs of adjacent events.
The method simultaneously captures structural and temporal correlations between events
Weg2Vec - prediction of epidemic size
each event
α=0.5)
coordinates and infection sizes of events
Data Conference (d = 20) 0.79 ± 0.01 Hospital (d = 14) 0.53 ± 0.03 High School (d = 26) 0.56 ± 0.02 Primary School (d = 24) 0.68 ± 0.02 r2 dimension
Comparison with other methods
two graph representations: a graph at a given time step and a graph from past time steps. It performs random walks
appears in a temporal network. It also applies random walks to generate environments
[1] Pandhre, S., Mittal, H., Gupta, M., & Balasubramanian, V. N. (2018, January). Proceedings of the ACM India Joint International Conference on Data Science and Management of Data (pp. 210-219). ACM. [2] Béres, F., Pálovics, R., Kelen, D., Szabó, D., & Benczúr, A. 7th International Conference on Complex Networks and Their Applications, Cambridge.Hospital High school Primary school
Conclusions
Event graphs: static lossless representations of temporal networks
by mapping them as weighted directed acyclic graphs
Weg2Vec - event embedding of temporal networks
Efficient prediction of spreading outcome
Collaborators
Jari Saramäki Aalto University Jordan Cambe ENS Lyon Mikko Kivelä Aalto University Maddalena Toricelli ISI Torino Uni Bologna Laetitia Gauvin ISI Torino
karsaim@ceu.edu @MartonKarsai
Template slide 1
Template slide 1