Skip to main content

The effect of transmission variance on observer placement for source-localization


Detecting where an epidemic started, i.e., which node in a network was the source, is of crucial importance in many contexts. However, finding the source of an epidemic can be challenging, especially because the information available is often sparse and noisy. We consider a setting in which we want to localize the source based exclusively on the information provided by a small number of observers – i.e., nodes that can reveal if and when they are infected – and we study where such observers should be placed.

We show that the optimal observer placement depends not only on the topology of the network, but also on the variance of the node-to-node transmission delays. We consider both low-variance and high-variance regimes for the transmission delays and propose algorithms for observer placement in both cases. In the low-variance regime, it suffices to only consider the network-topology and to choose observers that, based on their distances to all other nodes in the network, can distinguish among possible sources. However, the high-variance regime requires a new approach in order to guarantee that the observed infection times are sufficiently informative about the location of the source and do not get masked by the noise in the transmission delays; this is accomplished by additionally ensuring that the observers are not placed too far apart.

We validate our approaches with simulations on three real-world networks. Compared to state-of-the-art strategies for observer placement, our methods have a better performance in terms of source-localization accuracy for both the low- and the high-variance regimes.


Regardless of whether a network comprises computers, individuals or cities, in many applications we want to detect whenever any anomalous or malicious activity spreads across the network and, in particular, where the activity originated. In effect, we wish to answer questions such as what was the origin of a worm in a computer network?, who was the instigator of a false rumor in a social network? and can we identify patient zero of a virulent disease? We call the spread of any such phenomenon an epidemic and its originator the source. Clearly, monitoring all network nodes is not feasible due to cost and overhead constraints: The number of nodes in the network may be prohibitively large and some of them may be unable or unwilling to provide information about their state. Thus, studies have focused on how to localize the source based on information from a few nodes (called observers). Given a set of observers, many models and estimators for source localization have been developed (Pinto et al. 2012; Louni and Subbalakshmi 2014; Zhang et al. 2016). However, the selection of observers has not yet received a satisfactory answer: Most methods consider only the structure of the network when placing observers. However, depending on the particular epidemic model, the expected transmission delay between two nodes, and its variance, can differ widely and this can have a significant impact on source localization. We show that different transmission models require different observer placements as illustrated in Figs. 1 and 2: As the variance of the transmission delays changes, the optimal set of observers also changes.

Fig. 1
figure 1

Sequence of optimal observer placements for increasing transmission variance. We assume the transmission transmission delays {X uv } u vE to be such that \(\mathbf {E}[\!X_{uv}] = w_{uv} \in \mathbb {R}_{+}\) and such that the variance is a growing function of a variance parameter σ, i.e., Var(X uv )=g(w uv ,σ) with g(x,0)=0 for all \(x\in \mathbb {R}^{+}\). For σ(0,σ 0) the transmission delays are effectively deterministic (i.e., σ does not affect source localization). For σ(σ 0,σ 1), σ affects the accuracy of source localization but the optimal observer placement is still \(\mathcal {O}_{0}\). For larger σ, the optimal observer placement might change, possibly multiple times (\(\mathcal {O}_{k}\) denotes the optimal placement for σ(σ k ,σ k+1)) up to σ=σ F . For σ>σ F the optimal placement remains the same (\(\mathcal {O}_{F}\))

Fig. 2
figure 2

Optimal observers for Gaussian-distributed transmission delays with unit mean and standard deviation σ on a path graph. In this case \(\mathcal {P}_{s}\) and, consequently, the optimal observer placements, can be explicitly computed. a different observer placements; b their performance in terms of probability of success \(\mathcal {P}_{s}\) for w=20 and 30 edges

The difficulties faced in finding the optimal observers for source localization are two-fold. First, computing the likelihood of a node being the source conditional on the available observations can be computationally prohibitive (Shah and Zaman 2011; Pinto et al. 2012); evaluating the probability of correct localization given a set of observers is, in general, even harder. Second, the optimal selection of a limited number of observers is NP-hard, even when the transmission delays are deterministic. We take a principled approach that begins with considering deterministic transmission delays (zero-variance regime), and we build on this intuition in order to develop heuristics for both low-variance and high-variance regimes for the transmission delays.1

Model and problem statement

Transmission model. We assume that the epidemic spreads in a known contact network. The transmission delay through edge uv, i.e., the time it takes for a node u to infect a neighbor node v is encoded by the random variable X uv .

We assume a transmission model which is both natural and versatile as it comprises deterministic transmissions, which we call zero-variance, and arbitrary random independent transmission models. We study, in particular, how the amount of randomness (i.e., the variance of X uv ) in the transmission delays affects the choice of observers for source localization. Towards this, we are the first to separately analyze two different regimes for the amount of randomness of the transmission delays: low-variance and high-variance. A dichotomy exists between the two, and our approach for observer placement differs.

We use the SI epidemic model adopted, e.g., in (Pinto et al. 2012; Luo and Tay 2012). Nonetheless, since our methods for source localization only uses the time at which the sensors are first infected (no assumption on recovery or re-infection dynamics is made), they can be applied to any epidemic model, including the well known SIS or SIR (provided that nodes do not recover before infecting their neighbors).

Source localization. We assume that there is a single source that initiates the epidemic, an extension of our results to the case the case of multiple sources could use the recent work by Zhang et al. (2015) on a related problem and is left for future work.

Let \(\mathcal {O} \subseteq V\) be the set of observer nodes (which we will select). We assume we know the time at which each observer is infected, and we refer to this vector of infection times as \(T_{\mathcal {O}}\). Knowing \(T_{\mathcal {O}}\) is a standard and realistic assumption (Netrapalli and Sanghavi 2012). We want to identify the source using only the information contained in \(T_{\mathcal {O}}\).

We use maximum likelihood estimation (MLE) to produce an estimate \(\hat s\) of the true unknown source s as in (Pinto et al. 2012). This approach is common (see e.g., (Shah and Zaman 2011; Dong et al. 2013)), although the exact form of the estimator depends on the model and assumptions. In our case we have

$$\hat{s}\in \text{argmax}_{\substack{s \in V}} \mathbf{P}(T_{\mathcal{O}}|s^{\star}=s)\pi(s^{\star}), $$

where π denotes the prior on the position of the source. In this paper, unless otherwise specified we assume π to be uniform (i.e., π(s )=1/n for all nodes sV where n=|V|).

Metrics. We assume that we are given a budget k on the number of observers we can use, and that we must select our observers once and for all, i.e., independently of any particular epidemic instance. In order to select the best set of observers \(\mathcal {O}\) of size k we must first define our metric of interest. In this work we are mainly interested in the success probability

$$\mathcal{P}_{s}=\mathbf{P}(\hat{s} = {s^{\star}}) $$

which is a widely used metric for source localization (see, e.g., (Shah and Zaman 2011; Pinto et al. 2012; Louni and Subbalakshmi 2014)). In our experiments we also evaluate another important metric, the expected distance between the estimated source and the real source (Celis et al. 2015; Louni et al. 2015), i.e., \(\mathbf {E}[\!d(s^{\star },\hat {s})]\), where d denotes the distance between two nodes in the network.

In “Metrics for source localization” section we present several alternatives to these two metrics, including worst-case metrics, and show that optimizing different metrics can require different sets of observers.

Main contributions

Low-variance regime. When the variance in the transmission delays is low (see “The low-variance regime” section), we prove that the set of optimal observers is exactly the optimal set for the zero-variance regime. In the zero- and low- variance regime, both the probability of success \(\mathcal {P}_{s}\) (as well as other possible metrics of interest) can be explicitly computed. Despite this seeming simplicity, the problem remains NP-hard. We tackle the problem by using its connection with the well-studied related Double Resolving Set (DRS) problem (Cáceres et al. 2007) that minimizes the number of observers for correct localization. This minimum number is, in many cases, still prohibitively large, and can be as much as n−1, hence we cannot use this approach directly. However, from the connection between observer placement and DRS, we find inspiration for our algorithm which, by selecting one observer at a time until the budget is exhausted in order to reach a DRS set, greedily improves \(\mathcal {P}_{s}\).

High-variance regime. When the noise in the transmission delays is high, it is no longer negligible and it poses an additional challenge to source localization; in effect, the accumulation of noise from node to node as the epidemic spreads might no longer enable us to distinguish between two potential sources, especially when they are both far from all observers. Hence, we must strengthen the requirements for observer placement in order to ensure that the nodes can be distinguished by observers that are near to them; this nearness is a function of the noise, of the budget k, and of the network topology. We define a novel objective function that both maximizes the success probability and imposes a uniform spread of observers in the network. Taking inspiration from the low-variance regime, we design an algorithm that greedily maximizes this new objective (see “The high-variance regime” section).

Empirical results. In “Empirical results” section, we evaluate our algorithms on three different real-world datasets that represent different application areas for source localization and different network topologies. First, we take a community of people living in the proximity of a university campus (Aharony et al. 2011), a typical network for the transmission of airborne diseases. Second, we take a community of students exchanging messages over a Facebook-like social network (Opsahl and Panzarasa 2009) through which ideas and trends can propagate. Finally, we consider the road network of the state of California (California Road Network): this captures geographical networks that can model the transmission of a disease between connected communities or the diffusion of contaminants, e.g., through a hydrological network. We show that our methods perform favourably against state-of-the-art approaches in both the low- and the high-variance regimes (see “Comparison against benchmarks” section). For the low-variance regime, we further compare our method against two other natural greedy heuristics for observer placement (see “Comparison with benchmarks” section); we show that our approach outperforms the rest. Moreover, in the empirical results, the dichotomy between the low- and high-variance regimes becomes apparent.



Let \(\mathcal {G} = (V, E, w)\) be a weighted network. For ease of presentation we assume the graph is undirected and w uv =w vu ; however our definitions and approach extend straightforwardly to the directed case. Assuming u is infected, the weight \(w_{uv}\in \mathbb {R}_{+}\) of edge u vE represents the expected time it takes for u to infect v. The edge weights induce a weighted-distance metric d on \(\mathcal {G}\): d(u,v) is the length of the shortest path from u to v. We also sometimes consider the minimum number of edges on a path connecting two nodes, which we call the hops-distance.

We assume that the epidemic is initiated by a single unknown source s at an unknown time t . The fact that the time t at which an epidemic starts is unknown adds a significant difficulty to the problem because a single observation is not per se informative. Instead, in order to localize the source, we must use the differences between the observed infection times.

If a node u gets infected at time t u , a non-infected neighbor v of u will become infected at time t v =t u +X uv where X uv is a random variable. A large part of the epidemic literature models transmission delays with exponential random variables. However we make a different modeling choice for two reasons. First, we are interested in decoupling the transmission variance and the average transmission time (for exponential random variables, mean and variance cannot be tuned independently). Second, in many applications it has been suggested that the transmission delays can be less-skewed than exponential random variables (Cha et al. 2009; Lessler et al. 2009; Vergu et al. 2010). For every edge uv we assume X uv to be a symmetric and non-negative2 random variable. We do not make any strong assumption on the distribution of the transmission delays X uv : we only assume that their mean is equal to the edge weights, i.e., E[X uv ]=w uv for every u vE, and that their variance is an increasing function of both the edge weight and of a variance parameter σ, that is, Var(X uv )=g(w uv ,σ), where g depends on the particular distribution of X uv and g(x,0)=0 for all \(x\in \mathbb {R}^{+}\).

If the variance is zero, or if it is low compared to edge weights, network distances are a good proxy for time delays (see “Identification of the source class” section). We refer to this setting as a low-variance regime, as opposed to the high-variance regime in which time delays are very noisy and network distances no longer work as a proxy for time delays.

Distance vectors and node equivalence

We start with a few definitions. Our setting is similar to that of Celis et al. (2015).

Definition 1

(Equivalence) Let \(\mathcal {G}=(V,E)\) and \(\mathcal {O} \subseteq V\) with \(|\mathcal {O}|=k \geq 2\) be a set of observers on \(\mathcal {G}\). A node u is said to be equivalent to a node v (which we write uv) if and only if, for every \(o_{i}, o_{j} \in \mathcal {O}\)

$$ d(u, o_{i}) -d(u, o_{j}) = d(v, o_{i}) - d(v, o_{j}). $$

The relation is reflexive, symmetric, and transitive, hence it defines an equivalence relation. Therefore, a set of observers \(\mathcal {O}\) partitions V in equivalence classes (an example is given in Fig. 3). We denote by q the number of equivalence classes and we let \([u]_{\mathcal {O}}\) be the class of u, i.e., the set of all nodes that are equivalent to u.

Fig. 3
figure 3

An unweighted network with two observer nodes o 1 and o 2. Different shapes represent different equivalence classes, i.e., groups of nodes which are not distinguishable from the point of view of the observers. In this example there are q=5 equivalence classes

When the variance is zero, given an observer set, we can distinguish u from v if there exist two observers o i ,o j such that Eq. (1) does not hold for u,v and o i ,o j , i.e.,

$$d(u, o_{i}) -d(u, o_{j}) \neq d(v, o_{i}) - d(v, o_{j}), $$

which means that \([\!u]_{\mathcal {O}} \neq [\!v]_{\mathcal {O}}\).

The problem of finding the minimum-size set of nodes S, such that for every u,v in a network there exist s i ,s j S for which d(u,s i )−d(u,s j )≠d(v,s i )−d(v,s j ) is known as the Double Resolving Set (DRS) Problem (Cáceres et al. 2007), while the minimum size of a DRS is known as the Double Metric Dimension (DMD) of the network. Our problem differs from DRS because we focus on the more realistic context in which, due to limited resources, we want to allocate a finite budget in order to optimize source localization3 (as opposed to minimizing the number of observers for perfect localization, which is, in many cases, still prohibitively large). However, the connection between our problem and DRS paves the way for a principled approach to observer placement.

We now define, for every vV, a distance vector, which, as we will see in Lemma 1, mathematically captures equivalence in a manner that is easy to work with.

Definition 2

(Distance Vector) Let \(\mathcal {G} = (V,E)\), \(\mathcal {O}\subseteq {V}\) with \(|\mathcal {O}|=k \geq 2\) and \(o_{1}\in \mathcal {O}\). For each node vV the distance vector of v with respect to o 1 is \(\mathbf {d}_{s, o_{1}} \in \mathbb {R}^{k-1}\) with entries d(v,o i+1)−d(v,o 1) for 1≤ik−1.

The following lemma, similar in spirit to Lemma 3.1 in (Chen et al. 2014), shows that the equality between distance vectors of different nodes does not depend on the choice of the reference observer o 1.

Lemma 1

Let \(\mathcal {G} = (V,E)\) and \(\mathcal {O} \subseteq V\) with \(|\mathcal {O}|=k \geq 2\) and let u,vV. Then, \([u]_{\mathcal {O}}\)=\([v]_{\mathcal {O}}\) if and only if \(\mathbf {d}_{u, o_{1}} = \mathbf {d}_{v, o_{1}}\), independently of the choice of the reference observer o 1.

Metrics for source localization

In this section we define some possible metrics of interest for the source-localization problem and we show that optimizing these metrics can effectively require different sets of observers.

For ease of exposition, we restrict ourselves to the zero-variance regime and we assume that the prior distribution on the position of the source is uniform.

In the zero-variance regime, the partition in equivalence classes is effectively the only factor for the localization of the source: if [s ] is a singleton, it is always possible to localize the source exactly based on the observed infection time; if it is not a singleton, we can only correctly identify the class to which s belongs and we produce an estimated source \(\hat {s} \in [s^{\star }]\) sampling from [s ] uniformly.

We adopt two metrics to evaluate the performance of our algorithms: the success probability \(\mathcal P_{s}\) and the expected error distance \(\mathcal {D}\).

The success probability \(\mathcal {P}_{s}\) is defined as \(\mathbf {P}(\hat {s} = s^{\star })\). In the low-variance case it can be easily computed. Let q be the number of equivalence classes identified by an observer set \(\mathcal {O}\), then

$$ \begin{array}{ll} \mathcal{P}_{s} &=\sum\limits_{[u] \subseteq V}\mathbf{P}(\hat{s} = s^{\star}|s^{\star} \in\ [\!u])\mathbf{P}(s^{\star} \in\ [\!u])\\ &= \sum\limits_{[u]\subseteq V} \frac{1}{|[u]|} \cdot \frac{|[u]|}{n} = \frac 1 n \sum\limits_{[u] \subseteq V} 1 = \frac{q}{n}. \end{array} $$

Note that \(\mathcal {P}_{s} = 1\) if and only if all equivalence classes are singletons.

The expected error distance \(\mathcal {D} \stackrel {\text {def}}{=} \mathbf {E}[\!d(\hat {s}, s^{\star })]\) can also be computed, in the low-variance case, from the partition in equivalence classes:

$$ \begin{array}{ll} \mathcal{D} &= \mathbf{E}[\!d(s^{\star}, \hat{s})] \\ &= \sum\limits_{s \in V}\mathbf{P}(s^{\star} = s)\sum\limits_{u \in [s]} \mathbf{P}(\hat s = u | s^{\star} = s) d(s,u) \\ &=\frac 1 n \sum\limits_{s \in V} \frac{1}{|[s]|}\sum\limits_{u \in [s]} d(s, u), \end{array} $$

where again \(\mathcal {D} = 0\) if and only if all equivalence classes are singletons. An analogous expression for the hops-distance (instead of the weighted distance as in (3)) is also considered in the experimental evaluation in “Empirical results” section.

Maximizing \(\mathcal {P}_{s}\) (respectively, minimizing \(\mathbf {E}[\!d(s^{\star }, \hat {s})]\)) we minimize the probability of \(\hat {s} \neq s^{\star }\) (respectively, the average distance between s and \(\hat {s}\)). Other natural metrics of interest are the worst-case versions of these metrics over the vertex set V, i.e., the minimum probability of success \(\widehat {\mathcal P_{s}}\stackrel {\text {def}}{=} \min _{[s] \subseteq V}\mathcal {P}_{s}|_{s^{\star } \in [s]}\) and the maximum distance between \(\hat {s}\) and s , denoted by \(\widehat {\mathcal {D}}\). \(\widehat {\mathcal {P}_{s}}\) can be computed as

$$\widehat{\mathcal{P}_{s}} = \min_{[u]\subseteq V} \frac{1}{|[u]|}, $$

and \(\widehat {\mathcal {D}}\) as

$$\widehat{\mathcal{D}} = \max_{[s] \subseteq V} \max_{t,v \in [s]} d(t,s). $$

These last two metrics are relevant, for example, in an adversarial setting (e.g., in the case of bio-warfare), where if the observers are known, the adversary would select the worst location for the source.

A last natural metric, which is intermediate between average and worst-case metrics, is the expected maximum distance between the true and the estimated source that we define as \(\overline {\mathcal {D}} \stackrel {\text {def}}{=} \mathbf {E}_{s^{\star }}[\max (d(s^{\star }, \hat {s}))]\). We have

$$\overline{\mathcal{D}} = \mathbf{E}_{s^{\star}}[\max d(s^{\star}, \hat{s})] = \sum_{s \in V} \frac{1}{n} \left(\max_{t \in [s]} d(s,t)\right). $$

We demonstrate an example which shows that optimizing these five metrics can require different set of observers. Consider the tree in Fig. 4 together with the four sets of k=4 observers represented in the four sub-figures. With an argument similar to that of Celis et al. (2015), it can be shown that, for all metrics considered and for any budget k smaller than the number of leaves, the optimal observer set is a subset of the leaves set.4 Hence we only consider observer sets contained in the leaves set. Figure 4 shows the values of \(\mathcal {P}_{s}\), \(\widehat {\mathcal P_{s}}\), \(\mathcal {D}\), \(\widehat {\mathcal {D}}\) and \(\overline {\mathcal {D}}\) for a subset of the possible observer placements contained in the leaves set and having cardinality k=4. These placements include those that optimize \(\mathcal {P}_{s}\), \(\widehat {\mathcal {P}_{s}}\), \(\mathcal {D}\), \(\widehat {\mathcal {D}}\) and \(\overline {\mathcal {D}}\).

Fig. 4
figure 4

A tree with different sets of k=4 observers (blue). The table displays the values of different metrics for the observer sets. The best values for each metric are in bold type. The remaining possible choices of k=4 observers within the leaves set are omitted either because they are equivalent to one of the placements considered or because they do not optimize any of the metrics examined

Fig. 5
figure 5

a Success probability \(\mathcal {P}_{s}\) on a path of length L for increasing variance σ. b Counterexample for the converse of Lemma 2; for each pair of observers in \(\mathcal {O}\), u is not contained in the shortest path between them, yet \(\mathcal {O}\) is a DRS

The low-variance regime

Identification of the source class

We formalize how we can localize the source in the zero-variance setting, i.e., when X uv =w uv for every edge (u,v).

For every observer \(o_{i} \in \mathcal {O}\), denote by t i the time at which o i gets infected. In the zero-variance setting, the observed infection times of nodes o 2,…,o K with respect to observer o 1, i.e., the vector τ=deft 2t 1,…,t k t 1, is exactly the distance vector of the unknown source s with respect to o 1. Then, if for every \(u,v \in V [u]_{\mathcal {O}}\neq [v]_{\mathcal {O}}\), the source can be always correctly identified by finding the node whose distance vector matches the observed infection times. Theorem 1 proves that this is true also in a more general low-variance framework where we are always able to identify the equivalence class to which the real source belongs by looking at the distances between the distance vectors \(\{\mathbf {d}_{v, o_{1}}, v \in V\}\) and the vectors of infection times τ.

Theorem 1

Let \(\mathcal {G}=(V,E)\) be a network of size n, \(\mathcal {O}\subseteq {V}\) and fix \(o_{1}\in \mathcal {O}\). Call

$$\delta\triangleq \min_{u, v: \mathbf{d}_{u, o_{1}} \neq \mathbf{d}_{v, o_{1}}}\|\mathbf{d}_{u, o_{1}}-\mathbf{d}_{v, o_{1}}\|_{\infty}$$

and call D the maximum distance in hops in any shortest path between any node and any observer.

If the transmission delays are such that for each u vE, X uv [w uv (1−ε),w uv (1+ε)] with \(\varepsilon <\varepsilon _{0} \triangleq \frac {\delta }{4D}\) then for every \(v \in \ [s^{\star }] \|\mathbf {d}_{v, o_{1}} - \boldsymbol \tau \|_{\infty }\leq 2\varepsilon D\) and for every \(v \notin \ [s^{\star }] \|\mathbf {d}_{v, o_{1}} - \boldsymbol \tau \|_{\infty } > 2\varepsilon D\).


Let \(t_{o^{\prime }}\) be the infection time of \({o^{\prime }}\in \mathcal {O}\). When the source is s we have

$$ t_{o^{\prime}} -t^{\star} \leq d(s^{\star}, {o^{\prime}})(1+\varepsilon). $$

Moreover, if \(\mathcal {Q}\) is the collection of all paths connecting s and o and, for \(p \in \mathcal {Q}\), if d p (s ,o ) is the (weighted) length of path p we have

$$ t_{o^{\prime}} - t^{\star} \geq \min_{p\in \mathcal{Q}} d_{p}(s^{\star}, {o^{\prime}})(1-\varepsilon)=d(s^{\star}, {o^{\prime}})(1-\varepsilon). $$

Combining inequalities (4) and (5) for o being, respectively, o and o 1 and calling t 1 (resp., t o ) the infection time of the reference observer o 1 (resp., o), we have

$$\begin{array}{@{}rcl@{}} |t_{o} - t_{1} - d(s^{\star}, o) + d(s^{\star}, o_{1})|\leq\qquad\qquad&\\ &\qquad\varepsilon (d(s^{\star}, o) + d(s^{\star}, o_{1}))\leq 2\varepsilon D. \end{array} $$

Since for every \(v \in [s^{\star }] \mathbf {d}_{v, o_{1}}=\mathbf {d}_{s^{\star }, o_{1}}\), we conclude that for every v [s ], \(\|\mathbf {d}_{v, o_{1}} - \boldsymbol \tau \|_{\infty }\leq 2\varepsilon D\).

Take now v[s ] and assume by contradiction that \(\|\mathbf {d}_{v, o_{1}} - \boldsymbol \tau \|\leq 2\varepsilon D\). Using the triangular inequality and the hypothesis ε<δ/4D we have

$$\begin{array}{ll} \|\mathbf{d}_{s^{\star}, o_{1}} - \mathbf{d}_{v, o_{1}}\|_{\infty} &\leq \|\mathbf{d}_{s^{\star}, o_{1}} - \boldsymbol\tau\|_{\infty} + \|\mathbf{d}_{v, o_{1}} - \boldsymbol\tau\|_{\infty} \\ &\leq 4\varepsilon D < \delta, \end{array} $$

which contradicts the definition of δ. Hence for every v [s ], \(\|\mathbf {d}_{v, o_{1}} - \boldsymbol \tau \|_{\infty } > 2\varepsilon D\). □

Note that here ε 0 plays the role of σ 0 in Fig. 1 in the sense that it is an upper-bound on a regime in which the delays are effectively deterministic and the variance of the transmission delays does not affect the accuracy of source localization.

If additional conditions on the weights or on the network topology are made, more refined versions of Theorem 1 can be proven. For example, in a tree with integer weights, due to the uniqueness of the path between two any vertices, it can be shown that δ≥2 and Theorem 1 holds for \(\varepsilon <\varepsilon _{0} \triangleq \frac {1}{2D}\).

For the remainder of this section, we will assume ε<δ/4D, which we call the low-variance regime.

Estimation of the source

Assume that a prior probability distribution on the identity of the source is given, i.e., that we know π(v)=defP(s =v). After the source class \([s^{\star }]_{\mathcal {O}}\) is identified based on τ as described in “Identification of the source class” section, we let our estimated source \(\hat {s}\) be chosen at random from the conditional probability \(\phantom {\dot {i}\!}\pi |_{[s^{\star }]}(u)\stackrel {\text {def}}{=}\mathbf {P}(s^{\star }=v|v \in [s^{\star }])\). If a prior π is not known, we select the estimated source uniformly at random from [s ], which is equivalent to having a uniform prior π.

For ease of exposition, we focus on the case in which the prior distribution on the position of the source is uniform, hence π(v)=1/n for all vV. Our algorithms and observations can be easily extended to general priors.

Observer placement

Independently of the topology of the network \(\mathcal {G}\), the success probability \(\mathcal {P}_{s}\), as well as other possible metrics of interest, can be computed exactly in polynomial time (see, e.g., Eqs. (2) and (3)). In fact, due to Lemma 1 and Theorem 1, it is enough to compute the distance vector of Definition 1 for all the nodes. Nonetheless, if we have a budget k≥2 of nodes that we can choose as observers, finding the configuration that maximizes \(\mathcal {P}_{s}\) is an NP-hard problem. This is a direct consequence of the hardness result of Chen et al. (2014).

Theorem 2

Let k≥2 be the budget on the number of nodes we can select as observers. Finding \(\mathcal {O} \subseteq V\) such that \(\mathcal {O} \in \text {argmax}_{|\mathcal {O}|=k}\mathcal {P}_{s}(\mathcal {O})\) is NP-hard.

The proof follows straightforwardly with a reduction from the DRS problem (see Appendix B).

Our first main contribution in this paper is a solution to the budgeted observer-placement problem for general graphs.

For trees, the optimal observer placement can be find in polynomial time using dynamic programming techniques (Celis et al. 2015). In a general graph (with loops) the problem of source localization is made more challenging by the multiplicity of paths through which the epidemic can spread and for the same reason also finding an optimal observer set becomes much harder.

A first idea to solve observer placement on a general graph could be to use the latter result on a BFS-approximation of the graph. However, as mentioned in “Metrics for source localization” section, on a tree the optimal observer placement is contained in the leaves set. If we consider a non-tree graph and take a BFS-approximation, the leaves of the BFS tree depend on where the BFS-tree is rooted. Hence using the result of (Celis et al. 2015) on a tree approximation it is not possible to guarantee high probability of success independently of the position of the source.

Our approach, presented in Algorithm 1, does not rely on a graph approximation. Moreover, it is specifically designed for the source localization problem and has a simple greedy structure: for every node vV, initialize \(\mathcal {O}\leftarrow \{v\}\) and iteratively add to \(\mathcal {O}\) the node u that maximizes the gain with respect to the success probability until we either run out of budget or \(\mathcal {P}_{s}=1\). Eq. 2 ensures that greedily maximizing the success probability is equivalent to greedily maximizing the number q of equivalence classes. When adding an element to the observer set, the partition in equivalence classes can be updated in linear time, total running time of our algorithm is O(k n 3). Despite bypassing the NP-hardness of the problem, this might not be sufficiently fast for very large networks. However, the procedure is extremely parallelizable (see, for example, the main for loop and the a r g m a x in the w h i l e loop).

The osbserver placement obtained through Algorithm 1 will be denoted LV-OBS to emphasize the fact that it is designed for the case in which the variance is absent or very small (LV stands for low-variance regime).

Unfortunately we cannot use a submodularity argument to give guarantees on the performance of Algorithm 1 because the number of equivalent classes, and hence the function \(\mathcal {P}_{s}\), are not submodular. Consider as a simple example a cycle of length 6 as in Fig. 6a. If the observer set is \(\mathcal {O}_{1}=\{1\}\) the number of equivalence classes is q=1. If we add node 2 to \(\mathcal {O}_{1}\) the classes become {1,5,6} and {2,3,4} (q=2). Hence by adding node 2 to the set {1} the gain in terms of equivalence classes is just 1. Consider now \(\mathcal {O}_{2}=\{1, 4\}\supseteq \mathcal {O}_{1}\), which identifies as classes {1}, {4}, {2,6} and {3,5}. If again we add node 2 to \(\mathcal {O}_{2}\) we reach a DRS of \(\mathcal {C}\), i.e., all classes are singletons. This means that the gain in terms of equivalence classes is 6−4=2>1 and we conclude that the number of equivalence classes is not submodular.

Fig. 6
figure 6

Counterexamples for the submodularity property of Algorithms 1 and 2. For the graph in (a) (respectively, (b)) the gain of adding the node with red border to \(\mathcal {O}_{2}\) is larger in terms of \(\mathcal P_{s}\) (respectively, P L ) than the gain of adding it to \(\mathcal {O}_{1} \subseteq \mathcal {O}_{2}\)

Comparison with benchmarks

As budgeted observer placement (even in the zero-variance setting) is NP-hard, there is no optimal algorithm to compare against. Instead, we evaluate the performance of our algorithm against a set of natural benchmarks that have shown to have good performance in other works (Seo et al. 2012; Berry et al. 2006; Zhang et al. 2016) (see “Comparison against benchmarks” section for a discussion of these benchmarks, Figs. 10-12 for the results).

Alternative objective functions. We further compare LV-OBS against two other natural heuristics that also optimize an objective function greedily.

The first is an adapted version of the approximation algorithm for the DRS problem proposed by Chen et al. (2014) and described in Appendix A.

By stopping the greedy process after it selects k nodes, we can adapt in a natural way this approximation algorithm and create a heuristic for the budgeted version that we denote by Φ ent . We want to check if LV-OBS actually reaches smaller values of \(\mathcal {P}_{s}\) compared to Φ ent .

The second is a direct minimization of the expected error distance \(\mathcal {D}= \mathbf {E}\, [\!d(s^{\star }, \hat {s})]\) of Eq. (3) that we denote by Φ dist . Even if LV-OBS is not directly minimizing \(\mathcal {D}\), we want to compare the results we obtain in terms of \(\mathcal {D}\) with those obtain to Φ dist in order to check if, at least in some budget regimes, we can use the maximization of \(\mathcal {P}_{s}\) as a proxy for the minimization of \(\mathcal {D}\).

The results of our empirical evaluation are presented in Table 2 in Appendix C.

The results achieved by Φ ent and Φ dist are, on average, worse than those of Algorithm 1 both in terms of \(\mathcal {P}_{s}\) and of \(\mathcal {D}\), independently of the graph topology. We observe two exceptions. First, when k is very small: Φ dist reaches smaller values of \(\mathcal {D}\) compared to LV-OBS, which can explained by the fact that Φ dist directly minimizes \(\mathcal {D}\) and that, when fewer observers are available the difference between the observer placements that maximize \(\mathcal {P}_{s}\) and minimize \(\mathcal {D}\) is greater. Second, for large k, on the Barabàsi Albert networks Φ ent gives, in average, larger \(\mathcal {P}_{s}\) than LV-OBS. This is probably due to the fact that, for this class of graphs, the DMD is small, hence with a large value of k we approach the regime in which the objective function of Φ ent , designed to minimize the DMD of the network, is optimal.

The high-variance regime

When the variance is not guaranteed to be low, as defined in “The low-variance regime” section, computing analytically the success probability - or other metrics of interest - is unfortunately not possible (except for very simple graphs, like the path network of Fig. 2, and for particular transmission delays, e.g., Gaussian-distributed).

When the variance is high, also the localization of the source is more challenging because the observed infection delays t i t j can be misleading, especially if the corresponding observers o i and o j are far from the source. Take, for example, a path of length L where the two leaves are the only two observers and all edges have weight equal to 1. Figure 5a shows how the success probability \(\mathcal P_{s}\) decays faster for increasing values of L. Building on this observation, we propose a strategy for observer placement that enforces a controlled distance from a general source node to the observer set.

Source localization. For the high-variance case we localize the source using an adapted version of the algorithm proposed by Pinto et al. (2012) (see Appendix D for details). This adapted algorithm can be seen as a generalization to the high-variance regime of the source localization method presented in “Identification of the source class” section for the low-variance regime.

Observer placement

First, we formalize why distances between observers are important. Recall that for every transmission delay X uv we assume Var(X uv )=g(w uv ,σ), with g being an increasing function of both its arguments. If o i ,o j are two observers connected by a unique path \(\mathcal {P}(o_{i}, o_{j})\) and the source is \({v^{\star } \in \mathcal {P}(o_{i}, o_{j})}\), then

$$ \text{var}(t_{i} - t_{j}) = \left[\sum_{uv \in \mathcal{P}(o_{i}, o_{j})} g(w_{uv}, \sigma). \right]. $$

For example, if \(X_{uv} \sim \mathcal {N}\left (w_{uv}, \sigma ^{2} w_{uv}^{2}\right)\) we have

$$ \text{var}(t_{i} - t_{j}) = \sigma^{2}\left[\sum_{uv \in \mathcal{P}(o_{i}, o_{j})} w_{uv}^{2} \right]. $$

Although we cannot control σ, we can control the path length between observers.

We make use of the following sufficient condition for a set to be a DRS, i.e., for an observer set to guarantee correct source localization.

Lemma 2

Let \(\mathcal {G}=(V, E)\) be a network, \(\mathcal {O} \subseteq V\). If for every uV there exist \(o_{1}, o_{2} \in \mathcal {O}\) such that there is a unique shortest path \(\mathcal {P}(o_{1}, o_{2})\) between o 1 and o 2 and \(u \in \mathcal {P}(o_{1}, o_{2})\), then \(\mathcal {O}\) is a DRS for G.


Let \(u, v \in V \backslash \mathcal {O}\). We will prove that there exist \(o_{1}, o_{2} \in \mathcal {O}\) such that the pair (u,v) is resolved by (o 1,o 2), i.e., d(v,o 1)−d(u,o 1)≠d(v,o 2)−d(u,o 2). Let \(o_{1}, o_{2} \in \mathcal {O}\) such that u appears in the unique shortest path \(\mathcal {P}(o_{1}, o_{2})\) and o 3,o 4S such that v appears in the unique shortest path \(\mathcal {P}(o_{3}, o_{4})\). If \(v \in \mathcal {P}(o_{1}, o_{2})\) or \(u \in \mathcal {P}(o_{3}, o_{4})\) than u and v are resolved by, respectively, (o 1,o 2) or (o 3,o 4). Take \(v \notin \mathcal {P}(o_{1}, o_{2})\) and \(u \notin \mathcal {P}(o_{3}, o_{4})\). In this case, {o 1,o 2}≠{o 3,o 4}. Let us suppose without loss of generality that o 1{o 3,o 4}. We look only at the case where (o 1,o 2) does not resolve (u,v) and prove that the pair is indeed resolved by two vertices in \(\mathcal {O}\). Since (o 1,o 2) does not resolve (u,v), there exists \(c\in \mathbb {R}\) such that d(v,o 1)−d(u,o 1)=c=d(v,o 2)−d(u,o 2). Since the unique shortest path between o 1 and o 2 goes through u we have that c>0. We prove that either (o 1,o 3) or (o 1,o 4) resolves (u,v). If this was not the case, we would have the following equalities:

$$\begin{array}{*{20}l} c &= d(v, o_{1})-d(u,o_{1}) = d(v, o_{3})- d(u, o_{3})\\ c &= d(v, o_{1})-d(u,o_{1}) = d(v, o_{4})- d(u, o_{4}). \end{array} $$

Since c>0, d(v,o 3)>d(u,o 3) and d(v,o 4)>d(u,o 4) giving a contradiction with v (and not u) being on the shortest path \(\mathcal {P}(o_{3}, o_{4})\). We conclude that (u,v) are resolved by either (o 1,o 3) or (o 1,o 4). □

The converse of this lemma is not true: If \(\mathcal {O}\) double resolves \(\mathcal {G}\), it is not even true that for every node u there must exist \(o_{1}, o_{2} \in \mathcal {O}\) such that u is contained in some shortest path between o 1 and o 2 of (see Fig. 5b).

Path covering strategy. We take Lemma 2 as a basis for deriving a path covering strategy for observer placement. In practice, the condition about the uniqueness of the shortest path is too strong and excludes many potentially useful observer nodes. Experimentally we see that in many practical situations two shortest paths differ only by a few nodes and the majority of nodes on the path are resolved by the two extreme nodes. This is why we relax the condition of Lemma 2 and we prefer, when the shortest path is not unique, to select one arbitrarily. Let SV be a set of observers and L a positive integer: We call P L (S) the set of nodes that lie on a shortest path of length at most L between any two observers in the set S. Given a budget k, and a positive integer L, we denote by \(S^{\star }_{k, L}\) the set of k vertices that maximize the cardinality of P L (S). We call L the length constraint for the observer placement because we consider an observer to be useful for source localization only if it is within distance L from another observer. \(S^{\star }_{k, L}\) can be approximated greedily as in Algorithm 2. The running time of Algorithm 2 is O(n 2 k 2), however, as Algorithm 1, this algorithm is highly parallelizable and hence tractable even for large networks.

We will refer to the observer placement produced by Algorithm 2 as HV-OBS (L) to emphasize that it is designed for the high-variance case.

Unfortunately also for Algorithm 2 we cannot use a submodularity argument to derive approximation guarantees. In fact, the function P L is not submodular. Consider the path \(\mathcal {P}\) of 7 nodes in Fig. 6b, fix L=3 and set \(\mathcal {O}_{1}=\{1\}\). If we add node 7 to \(\mathcal {O}_{1}\) no node lies on a path of length smaller than L=3 among the two observers 1 and 7, hence the gain is 0. Consider now \(\mathcal {O}_{2}=\{1, 4\}\supseteq \mathcal {O}_{1}\). If we add node 7 to \(\mathcal {O}_{2}\), the gain is 3 because node 5,6 and 7, that did not lie on any path of length smaller than L connecting two observers before, now lie on the path connecting 4 and 7, hence P L is not submodular.

Comparison with Algorithm 1. Note that taking L equal to the maximum weighted distance Δ between two nodes in \(\mathcal {G}\) does not make Algorithm 2 equivalent to Algorithm 1, i.e., we do not obtain LV-OBS. To see how the two algorithms could give different results, take a cycle of odd length d with a leaf node added as a neighbor to an arbitrary node v and assume to start the algorithm with initial set {v}. At the first step, the two algorithms will make the same choice, choosing one of the two nodes that is at distance (d−1)/2 from v. At the second step however, LV-OBS will add (a DRS contains all leaves (Chen et al. 2014)), whereas Algorithm 2 will add a node on the cycle. This observation is key to our results because it explains why Algorithm 2 results in a more uniform (and hence variance-resistant) observer placement with respect to LV-OBS. HV-OBS operates a trade-off between the average distance to the observers and the maximization of \(\mathcal {P}_{s}\).

Choice of the L parameter. How could one optimally set L? Needless to say, the optimal L depends on the network topology and on the available budget: Clearly, for a larger budget a smaller L is preferred.

The cardinality of \(P_{L}(\mathcal {O})\) is a good proxy for the performance of \(\mathcal {O}\). The value |P L | is increasing in L and reaches its maximum for L equal to the maximum weighted distance Δ. For small L, |P L (HV-OBS)|<|P Δ (LV-OBS)| but for L large enough this is no longer the case. See Fig. 7a for an example. Our empirical results suggest that L should be chosen as the maximum for which |P L (HV-OBS)|≤|P Δ (LV-OBS)|. The key property of HV-OBS with respect to LV-OBS is that observers are spread more uniformly without losing too much in terms of success probability \(\mathcal {P}_{s}\): Fig. 8a shows |P L (HV-OBS)| and \(\mathcal {P}_{s}\) as a function of L. An a-priori evaluation of the variance threshold above which one should use the HV-OBS placement (and of the appropriate value of the L parameter) can be based on the comparison of \(\mathcal {P}_{s}\) on a path graph for different values of L and σ as in Fig. 5a. In fact, looking at Fig. 5 we see that, for small values of \(\sigma \mathcal {P}_{s}\) is very close to 1 independently of L, hence LV-OBS is the best solution. When σ grows, we see that, in order to guarantee an high \(\mathcal {P}_{s}\) one must choose smaller and smaller values of L. LV-OBS and HV-OBS can give drastically different observers (see Fig. 9a for an example).

Fig. 7
figure 7

Fraction of nodes in P L (·) for the California dataset with 2% of observers

Fig. 8
figure 8

Fraction of nodes in P L (HV-OBS) and success probability in the zero-variance regime (\(\mathcal P_{s}(\sigma =0)\)) as a function of L/Δ. a CR. b CR. c F & F, FB. d F & F, FB

Fig. 9
figure 9

Comparison of the oberver placements LV-OBS, HV-OBS (\(L/\tilde {\Delta }=0.5\)) and K-MEDIANS with k=5% on the F & F network. Note the difference between LV-OBS and HV-OBS: LV-OBS contains leafs while HV-OBS has shorter spacing. a LV-OBS. b HV-OBS (\(L/\tilde {\Delta }=0.5\)). c K-MEDIANS

Empirical results


We purposely run our experiments on three very different real-world networks that, in addition to being relevant examples of networks for epidemic spread, display different characteristics in terms of size, diameter, clustering coefficient and average degree (see Table 1), enabling us to test the performance of our methods on various topologies.

Table 1 Displays statistics for the networks examined

The three networks we consider are:

  • Friend & Families (F & F). This is a dataset containing phone calls, SMS exchanges and bluetooth proximity, among a community living in the proximity of a university campus (Aharony et al. 2011). We select the largest connected component of individuals who took part in the experiment during its whole duration. The edges are weighted, according to the number of phone calls, SMSs, and bluetooth contacts.

  • Facebook-like Message Exchange (FB) (Opsahl and Panzarasa 2009). As the individuals included in this dataset were living on the same university-campus, the number of messages exchanged is likely to be a good measure of in-person interaction. We selected links on which at least one message was sent in both directions and individuals that had a contact with at least one other individual.

  • California Road Network (CR) (California Road Network). In order to obtain a single connected component and remove points that effectively represent the same location, we collapsed the points falling within a distance of 2 km. Moreover we iteratively deleted all leaves. In fact, the roads that cross the state border are not completely tracked in this dataset and terminate with a leaf. Some other leaves might represent remote locations, not necessarily close to the borders, but their influence on the epidemic should anyway be very low.

    The diameter of the CR network is very large compared with that of the other two networks.

    The edges are weighted according to a rescaled version of the real distance (measured in km).

In all three networks, edges are given (non-unit) integer weights, which is realistic in many applications as the expected transmission delays are known only up to some level of precision. Integer weights do not simplify the localization of the source; in fact, this makes it more difficult to distinguish between vertices. For example, if the edges of the CR network were weighted according to the Euclidean distance between the two endpoints, LV-OBS would use only a very small portion of the budget and the comparison with other observer placements would not be meaningful.

Comparison against benchmarks

We compare LV-OBS and HV-OBS against the following benchmarks:

  • ABC (Adaptive Betweenness Centrality): Betweenness Centrality (BC) is a popular method for placing observers for source-localization (see, e.g., (Louni and Subbalakshmi 2014) and (Seo et al. 2012), where it emerges as the best heuristic for observer placement among those tested). It consists of the k nodes having the largest BC, which is defined, for all uV as

    $$\text{BC}(u) = \sum_{x, y \in V, x \neq y} \frac{\sigma_{x,y}(u)}{\sigma_{x,y}} $$

    where σ x,y is the number of shortest paths between x and y and σ x,y (u) is the number of those paths that passes through u. Here we consider an adaptive version of BC (ABC) which iteratively chooses the node that maximizes the betweenness centrality without considering the shortest paths that pass by already-chosen vertices (Yoshida 2014). ABC, with respect to the basic BC, gives less clustered, and hence more efficient, observer sets.

  • Coverage-rate (Coverage) (Zhang et al. 2016): This approach maximizes the number of nodes that have an observer as a neighbor, i.e.,

    $$\mathrm{C}(\mathcal{O}) = |\cup_{o \in \mathcal{O}} N_{o}|/n $$

    where N o denotes the set of neighbors of o. It has been shown to outperform several heuristics with a diffusion model and a source-localization setting that are very similar to ours (Zhang et al. 2016).

  • k-Median: this is the optimal placement for the closely-related problem of maximizing the detectability of a flow (Berry et al. 2006). The k-Median placement is the set of k nodes \(\mathcal {O}\) such that

    $$\mathcal{O} = \text{argmin}_{|\mathcal{O}|=k} \sum_{s \in V} (\min_{o \in \mathcal{O}} d(s, o)). $$

    Determining the k-Medians of a network is NP-hard (Kariv and Hakimi 1979), hence we approximate k-Medians with a greedy heuristic.

Transmission delays

Unless otherwise specified, we sample the transmission delays X uv from truncated Gaussian random variables with parameters (w uv ,σ w uv ,[w u v/2,3w u v/2]). More precisely, if \(Y_{uv} \sim \mathcal {N}(w_{uv}, \sigma w_{uv})\) is a Gaussian random variable, X uv is obtained by conditioning Y uv with Y uv [w u v/2,3w u v/2]. With respect to the delay distribution assumed by Pinto et al. (Pinto et al. 2012) i.e., \({X_{uv} \sim \mathcal {N}(w_{uv}, \sigma w_{uv})}\), the distribution we assume has the advantage of admitting only strictly positive infection delays. Furthermore, different values of the parameter σ result in different regimes for the transmission delays, making our model very versatile. When σ=0, we are in the zero-variance regime; when σ is large, the distribution of X uv becomes closer to a uniform random variable U([w u v/2,3w u v/2]). Finally, when σ is strictly positive but small, \({X_{uv} \approx \mathcal {N}(w_{uv}, (\sigma w_{uv})^{2})}\).

To assess the robustness of our approach for source localization and observer placement, we also experiment with uniformly distributed transmission delays, i.e., for every edge u vE, we take X uv Unif([(1−ε)w uv ,(1+ε)w uv ]). The uniform distribution is, among the unimodal distributions on a bounded support, the one that maximizes the variance (Gray and Odell 1967). Hence, uniform delays are a very challenging setting for source localization.

Experimental results

We estimate the probability of success \(\mathcal {P}_{s}\) and the expected distance \(\mathcal {D}\) for different values of the variance parameter σ. Our estimations are computed averaging the results obtained choosing each node in turn as the source and generating synthetic epidemics. For the FB and CR datasets, we run 5 simulations per node and value of σ; for the F & F dataset, as the network is smaller, we run 20 simulations per node and value of σ. For the FB and CR datasets, we localize the source based on the first 20 observations only: Given the large size of these networks, it would be unrealistic to wait for all the nodes to get infected before running the algorithm.

The results for \(\mathcal {P}_{s}\) are displayed in Fig. 10. An approximation of the value σ 1, above which HV-OBS outperforms LV-OBS, is marked with a vertical line. For the expected distance (weighted and in hops), see Fig. 11.

Fig. 10
figure 10

Success probability \(\mathcal P_{s}\) as the variance parameter σ increases. a CR, 2% observers. b CR, 5% observers. c CR, 9% observers. d FB, 5% observers. e F & F, 5% observers. f F & F, 10% observers

Fig. 11
figure 11

Expected distance \(\mathcal {D}=\mathbf {E}[d(s^{\star }, \hat {s})]\) in number of edges (first row) and in weighted path length (second row) as the variance parameter σ increases. a CR, 5% observers. b F & F, 5% observers. c FB, 5% observers. d CR, 5% observers. e F & F, 5% observers. f FB, 5% observers

Fig. 12
figure 12

Success probability \(\mathcal {P}_{s}\) for uniform transmission delays X uv Unif([(1−ε)w uv ,(1+ε)w uv ]). a CR, 5% observers. b F & F, observers. c FB, 5% observers

We first take as budget for the observers the minimum budget for which \(\mathcal {P}_{s}(\textsc {lv-Obs}) = 1\). This corresponds to k10% for the F & F dataset, k9% for the CR network and k5% for the FB dataset. This is the setting in which we expect the improvement of HV-OBS over LV-OBS to be especially strong: For smaller values of k we expect LV-OBS to be nearly optimal even in the high-variance regime because we do not have enough budget to contrast both the topological undistinguishability among nodes (what LV-OBS is designed for) and the accumulation of variance (what HV-OBS is designed for).

For the F & F and the CR networks, we also experiment with smaller percentages of observers and consistently find an improvement of HV-OBS over LV-OBS in the high-variance regime: Below a certain amount of variance σ 1 LV-OBS performs better than HV-OBS for any choice of the parameter L, whereas above σ 1 a calibrated choice of L leads to a significant improvement. Such L stays constant for all σ>σ 1, i.e., with the notation of Fig. 1 we have σ 1=σ F .

For the FB dataset instead, probably due to the low diameter with respect to the number of nodes, we observe that HV-OBS does not improve on LV-OBS for any value of L.

Both LV-OBS and HV-OBS systematically outperform the baseline heuristics for observer placement that we described in “Comparison against benchmarks” section. For the CR dataset the performance of Adaptive Betweenness Centrality is particularly poor. The Coverage Rate heuristic outperforms Adaptive Betweenness Centrality on all three networks (confirming what found by by Zhang et al. (2016)) but is consistently less effective than K-Medians and than our methods.

Finally in Fig. 12, we consider uniform transmission delays, and we measure whether, without making any changes, our observer placement still performs well. We find comparable results which suggest that our observer placement is not dependant on the exact transmission model and that the variance of the transmission delays is really a key factor for a good observer placement.

Related work

The problem of source localization has been widely studied in recent years, we survey the works that are more relevant to ours and refer the reader to the survey by Jiang et al. (2014) for a more complete review of the different approaches.

Transmission delays. Many transmission models for epidemics have been studied (Lelarge 2009) and considered for source localization. Although discrete-time transmission delays are common (Luo et al. 2014; Prakash et al. 2012; Altarelli et al. 2014), in order to better approximate realistic settings, much work (including ours) adopt continuous-time models with varying distributions for the transmission delays; e.g., exponential (Shah and Zaman 2011; Luo and Tay 2012) or Gaussian (Pinto et al. 2012; Louni and Subbalakshmi 2014; Louni et al. 2015; Zhang et al. 2016). In the same line of the latter class of works, we use truncated Gaussian variables, which gives us the advantage of ensuring that infection delays are strictly positive.

Source localization. Many approaches (Zheng and Tan 2015; Prakash et al. 2012; Sundareisan et al. 2015), beginning with the seminal work by Shah and Zaman Shah and Zaman (2011), rely on knowing the state of the entire network at a fixed point in time t; this is often called a complete observation of the epidemic. These models use maximum likelihood estimation (MLE) to estimate the source. The results of (Shah and Zaman 2011) have been extended in many ways, for example in the case of multiple sources (Luo and Tay 2012) or to obtain a local source estimator (Dong et al. 2013). An alternate line of work considers a complete observation of the epidemic, except that the observed states are noisy, i.e., potentially inaccurate (Zhu and Ying 2013; Sundareisan et al. 2015). As assuming the knowledge of the state of all the nodes is often not realistic, partial observation settings have also been studied. In such a setting, only a subset of nodes \(\mathcal {O}\) reveal their state. In this line of work, the observers are mainly given, either arbitrarily or via a random process, and the problem of selecting observers is not addressed. For example, when a fraction x of nodes are randomly selected, Lokhov et al. (2014) propose an approach which relies on the knowledge of the state (S, I or R) of a fraction of the nodes in the graph at a given moment in time and in which the starting time of the epidemic, if unknown, can be inferred from the data available. When the nodes are independently selected to be observers, an approach to source estimation based on the notion of Jordan center was proposed (Luo et al. 2014) and has since been used for source estimation, especially with regard to a game theoretic version of epidemics (Fanti et al. 2015). This line of work does not assume infection times are known, which we believe is, in many cases, an unnecessary limitation. Indeed by using infection times we can achieve exact source localization in the zero-variance setting with sufficiently many observers (Chen et al. 2014), whereas this is not true otherwise.

Observer placement. Natural heuristics for observer placement (e.g., using high-degree vertices or optimizing for distance centrality) were first evaluated under the additional assumption that infected nodes know which neighbor infected them (Pinto et al. 2012). Later, Louni and Subbalakshmi (2014) proposed, for a similar model, to place the observers using a Betweenness-Centrality criterion (which we use as a benchmark, see “Comparison against benchmarks” section), and extended it to noisy observations (Louni et al. 2015). These and other heuristic approaches for observer placement are evaluated empirically by Seo et al. (2012); they reach the conclusion that, among the placements they evaluate, the Betweenness-Centrality criterion performs the best. In their work the source is estimated by ranking candidates according to their distance to the set of observers, without using the time at which the observers became infected. Once again, this approach is inherently limited by the fact that it does not make use of the time of infection.

The problem of minimizing the number of observers required to detect the precise source (as opposed to maximizing the performance given a budget of observers) has been considered in the zero-variance setting. For trees, given the time at which the epidemic starts, the minimization problem was solved by Zejnilovic et al. (2013). Without assuming a tree topology and a known starting time, approximation algorithms have been developed towards this end (Chen et al. 2014) (still in a zero-variance setting). However, in a network of size n, the number of observers required, even if minimized, can be up to n−1, hence, a budgeted setting is practically more interesting. For trees, the budgeted placement of observers was solved by using techniques different from ours (Celis et al. 2015). However these techniques heavily rely on the tree structure of the network and do not seem to be extendible to other topologies. In a recent work, Zhang et al. (2016) consider selecting a fixed number of observers using several heuristics such as Betweenness-Centrality, Degree-Centrality and Closeness-Centrality and they show that none of these methods are satisfactory. They introduce a new heuristic for the choice of observers, called Coverage-Rate, which is linked to the total number of nodes neighboring observers, and show that an approximated optimization of this metric yields better performance. Connecting the budgeted placement problem to the un-budgeted minimization problem, we provably outperform their approach in low-variance settings. For example, in the low-variance setting, on cycles of odd-length d with budget k=2, any two nodes at distance more than 2 are equivalent with respect to Coverage-Rate, but they maximize \(\mathcal {P}_{s}\) only if they are at distance (d−1)/2; our approach instead, selects this optimal placement. Moreover, the effect of the variance in the transmission delays is neglected by Zhang et al., leaving open the question of whether their approach works in general. We consider Coverage-Rate as one of our baselines.

Conclusion and future work

In this work, we have taken a principled approach towards budgeted observer placement for source localization, which shows a dichotomy between the low and high-variance regimes. We developed complementary approaches to handle both regimes. We evaluated our approaches against state-of-the-art and alternative heuristics showing a better performance of the algorithms proposed in this paper.

A direction for future work would be to measure the performance with worst case rather than average case metrics: if we can handle (adversarially chosen) source distributions where the epidemic starts at the least-observed location, then this gives a bound on the performance with an arbitrary prior distribution.

A natural extension of our model was recently studied in a work by Spinelli et al. (2017) which accounts for two stages of observation. In the first stage, as in this work, a small set of observers are selected to monitor the network. In the next stage, once an epidemic begins, additional observers are deployed in the relevant region of the network to localize the source. The latter work does not address interesting questions such as the impact of the initial budget deployed and of the position of the observers chosen in the first stage. The techniques and the results of this paper pave the way for answering these questions which we consider of high practical importance.


1 A preliminary version of this work was presented at the 54th Annual Allerton Conference on Communication, Control, and Computing (Spinelli et al. 2016).

2 Note that in Figs. 2 and 5a we compute the value of the success probability \(\mathcal {P}_{s}\) assuming Gaussian distributed delays (and ignoring that, with low probability, negative delays could appear) because this is the only distribution that makes the exact computation of this value feasible. However, in all experiments we only consider non-negative distributions for X uv .

3 See “Metrics for source localization” section for a discussion of alternative metrics for source localization.

4 Call \(\mathcal {O}_{opt}\) the optimal observer placement for any of the metrics considered and \(\mathcal {L}\) the leaves set. If \(\mathcal {O}_{opt} \nsubseteq \mathcal L\) there would be observer \(o\in \mathcal {O}_{opt}\) equivalent to a leaf \(\ell \notin \mathcal {O}_{opt}\) and by substituting o with we would break [ o] in two or more smaller equivalence classes. In this way the value of the metric considered would get closer to its optimum.

5 The standard error of measurement is not reported for the sake of readability but it was checked to be small.

6 Lyapunov condition with δ=1 is easily verified for a sequence of independent and uniformly bounded random variables (see Example 27.4 in (Billingsley 1995) for more details).


Appendix A: Double Resolving Sets

The problem of minimizing the required number of observers in order to perfectly identify the source in the zero-variance setting has been studied (Chen et al. 2014); an observer set \(\mathcal {O}\) such that \(\mathcal {P}_{s}(\mathcal {O}) = 1\) is called a Double Resolving Set (DRS). While the original formulation of the DRS problem is slightly different, this version follows straightforwardly from our observations in “The low-variance regime” section.

Definition 3

(Double Resolving Set) Given a network \(\mathcal {G}\), SV is said to be a Double Resolving Set of \(\mathcal {G}\) if for any x,yV there exist u,vS s.t. d(x,u)−d(x,v)≠d(y,u)−d(y,v).

Finding a Double Resolving Set of minimum size is known to be NP-hard (Kratica et al. 2009). An approximation algorithm, based on a greedy minimization of an entropy function, has been studied. Note that this has no connection to true information-theoretic entropy.

Definition 4

(Entropy ( Chen et al. 2014 )) Let \(\mathcal {G}\) a network, \(\mathcal {O} \subseteq V\), \(|\mathcal {O}|=k\) a set of observers. The entropy of \(\mathcal {O}\) is

$$H_{\mathcal{O}} = \log_{2}\left(\prod_{[u]_{\mathcal{O}} \subseteq V}|[u]_{\mathcal{O}}|!\right) $$

Note that \(H_{\mathcal {O}}\) is minimized if and only if each equivalence class consists of only one node and hence if and only if \(\mathcal {P}_{s}=1\). However, despite the fact that \(H_{\mathcal {O}}\) is minimized when \(\mathcal {P}_{s}\) is maximized and that both act on the same set of equivalence classes for a given \(\mathcal {O}\), the greedy processes that minimize \(H_{\mathcal {O}}\) and maximize \(\mathcal {P}_{s}\) are not the same. This can be seen by rewriting both objective functions in the following way. Let [c 1,…,c q ] be the sequence of equivalence class sizes. Then \(H_{\mathcal {O}}\) can be written as \(H_{\mathcal {O}}([c_{1},.., c_{q}]) = \sum _{i=1}^{l} \sum _{j=2}^{c_{i}} \log (j) = \sum _{i=2}^{\max {c_{j}}} \log (i) \#\{c_{j} \geq i\}.\) Analogously we have the following equality for the success probability \(\mathcal {P}_{s}([c_{1}, \ldots, c_{q}])\): \(n (1-\mathcal {P}_{s}([c_{1}, \ldots, c_{q}])) = n - q = \sum _{i=2}^{\max {c_{j}}} \#\{c_{j} \geq i\}\)

Hence, though similar in spirit, a greedy minimization of \(H_{\mathcal {O}}\) is not related to a greedy optimization of \(\mathcal P_{s}\) (or \(\mathbf {E}[d(s^{*}, \hat s)]\)).

Appendix B: Hardness of Budgeted Observer Placement

Theorem 3

Given a network \(\mathcal {G}=(V,E)\) and a budget k, finding an observer set \(\mathcal {O}\) which maximizes \(\mathcal {P}_{s}\) is NP-hard.


We will prove that the budgeted observer placement is NP-hard with a reduction from the DRS problem (see Appendix A: Double Resolving Sets section), i.e., given a polynomial-time algorithm for the budgeted observer placement problem, we will prove that we can solve the DRS problem in polynomial time.

Assume that we have a polynomial-time algorithm that takes as input a network \(\mathcal {G} = (V,E)\) and a budget k, and outputs a set \(\mathcal {O} \subseteq V\) of size k such that \(\mathcal {P}_{s}\) is maximized. Recall from “The low-variance regime” section that given a network \(\mathcal {G}\) and a set \(\mathcal {O}\), the probability \(\mathcal {P}_{s}\) can be calculated in time O(n) where n=|V| (it is enough to compute the n distances vector with respect to \(\mathcal {O}\) and any reference observer \(o_{1}\in \mathcal {O}\)). Hence, we will construct an algorithm for the DRS problem.

Since the full set V always resolves the network, the program is well defined (i.e., it always returns some k). Moreover, it returns precisely the minimum budget k required in order to attain \(\mathcal {P}_{s} = 1\). Lastly, it is clear that the runtime is at most O(n(p(n)+n)) where p(n) is the running time of algorithm. Hence, we have a polynomial-time algorithm for the DRS problem. □

Appendix C: Alternative objective functions for Algorithm 1

We present the results of the experiment described in Comparison with benchmarks section. Let us here denote LV-OBS with Φ for consistency of notation.

Table 2 compares LV-OBS, Φ ent and Φ dist , for different topologies and different budgets k, in terms of both \(\mathcal {P}_{s}\) and \(\mathcal {D}\). The results are given in the form of (averaged) relative differences.5

Table 2 Comparison of LV-OBS (Φ) with the greedy algorithms that minimize the entropy function of (Chen et al. 2014) (Φ ent ) and the expected distance (Φ dist )

We denote the relative difference of x and y with respect to f as

$$\rho(f, x, y)\stackrel{\text{def}}{=} \frac{f(y) - f(x)}{f(x)}. $$

Since the expected distance can be equal to 0 we add 1 to the denominator when comparing values of \(\mathcal {D}\), i.e.,

$$\rho(\mathcal{D}, x, y)\stackrel{\text{def}}{=} \frac{\mathcal{D}(y) - \mathcal{D}(x)}{\mathcal{D}(x) + 1}. $$

Appendix D: Source Localization in the High-Variance Regime

We describe here how we compute the estimated source \(\hat {s}\) in the high-variance regime. Denote by \(T_{\mathcal {O}}\) the vector of the observed infection times. If the transmission delays are Gaussian-distributed, \(\mathcal {G}\) is a tree, the maximum likelihood (ML) estimator defined as

$$\hat{s} \in \arg \max_{\substack{s\in V}} \mathbf{P}(s|T_{\mathcal{O}}), $$

has a tractable closed form (Pinto et al. 2012). Note that the model of (Pinto et al. 2012) additionally assumed infected observers knew the neighbor that infected them; this assumption is not essential for the derivation of the ML estimator and it is not required in our work.

In particular, given a set of observers

$$\mathcal{O}=\{o_{1}, o_{2}, \ldots, o_{k}\} \subseteq V, $$

the vector of the observed infection delays \(\tau = [t_{2}-t_{1}, \ldots, t_{k}-t_{1}] \in \mathbb {R}^{k-1}\) is distributed as \(\mathcal {N}(\mathbf {d}_{s, o_{1}}, \mathbf {\Lambda }_{\mathcal {O}})\) where \(\mathbf {d}_{s, o_{1}}\) is the distance vector of Definition 2 and the covariance matrix \(\mathbf {\Lambda }_{o_{1}}\) is

$$ \boldsymbol\Lambda_{o_{1}, (k,i)}=\sigma^{2} \left\{\begin{array}{ll} \sum_{(u,v) \in \mathcal{P}(o_{1},o_{k+1})} w_{uv}^{2} & k=i\\ \sum_{(u,v) \in \mathcal{P}(o_{1},o_{k+1})\cap \mathcal{P}(o_{1},o_{i+1})} w_{uv}^{2}& k \neq i, \end{array}\right. $$

with \(\mathcal {P}(x,y)\) denoting the set of edges in the unique path between x and y. Hence the ML estimator is

$$ \begin{array}{ll} \hat{s}&\in\arg \max_{\substack{s\in V}}\frac{\exp \left(-\frac{1}{2}\left(\tau-\mathbf{d}_{s,o_{1}}\right)^{\top}{\mathbf{\Lambda}_{o_{1}}}{^{-1}} \left(\tau-\mathbf{d}_{s, o_{1}}\right)\right)}{|\mathbf{\Lambda}_{o_{1}}|^{1/2}}\\ &=\arg \max_{\substack{s\in V}} \Big[\mathbf{d}_{s}^{\top}{\mathbf{\Lambda}_{o_{1}}}^{-1} \left(\tau-\frac{1}{2}\mathbf{d}_{s,o_{1}}\right)\Big]. \end{array} $$

On non-tree networks, the multiplicity of paths linking any two nodes makes source estimation more challenging. As claimed in (Pinto et al. 2012), the same estimator can be used as an approximation of the ML estimator for a non-tree network by assuming that the diffusion happens only through a BFS (Breadth-First-Search) tree rooted at the (unknown) source. In this case the paths which appear in the definition of the covariance matrix \(\mathbf {\Lambda }_{o_{1}}\) are computed on the BFS tree rooted at the candidate source considered. Hence \(\mathbf {\Lambda }_{o_{1}}\) depends on the candidate source and the ML estimator is

$$ \hat{s}_{\text{BFS}} \in\arg \max_{\substack{s\in V}}\frac{\exp \Big(-\frac{1}{2}(\tau-\mathbf{d}_{s, o_{1}})^{\top}{\mathbf{\Lambda}^{s}_{o_{1}}}{^{-1}} (\tau-\mathbf{d}_{s,o_{1}})\Big)}{\Big|\mathbf{\Lambda}^{s}_{o_{1}}\Big|^{1/2}}. $$

In this work, we adopt (10) as the source estimator in the noisy case. In fact, even if our edge delays are not Gaussian-distributed, under the hypothesis of sparse observations, we can apply the Central Limit Theorem (CLT) to approximate the sum of the edge delays with Gaussian random variables: if all edges have the same weight we can apply the CLT for i.i.d. random variables; if this is not the case, we can apply Lyapunov’s version of CLT.6Using (10) to compute the ML estimator, the likelihood of nodes in the same equivalence class can result to be different as an artefact of the BFS-tree approximation. Hence, for consistency with our source-localization method in the low-variance case, we compute an average likelihood and estimate that the source is in the class with the higher average likelihood. Then, once an equivalence class for the source is estimated, we select \(\hat {s}\) by sampling the prior probability on the position of the source (if available) or by uniform sampling from the estimated equivalence class.


  • Aharony, N, Pan W, Ip C, Khayal I, Pentland A (2011) Social fMRI: Investigating and shaping social mechanisms in the real world. Pervasive Mob Comput 7(6).

  • Altarelli, F, Braunstein A, Dall’Asta L, Lage-Castellanos A, Zecchina R (2014) Bayesian inference of epidemics on networks via belief propagation. Phys Rev Lett 112(11).

  • Berry, J, Hart WE, Phillips CE, Uber JG, Watson J (2006) Sensor placement in municipal water networks with temporal integer programming models. J Water Resour Plan Manag 132(4).

  • Billingsley, P (1995) Probability and Measure. John Wiley & Sons, New York.

    MATH  Google Scholar 

  • Cáceres, J, Hernando MC, Mora M, Pelayo IM, Puertas ML, Seara C, Wood DR (2007) On the metric dimension of cartesian products of graphs. SIAM J Discret Math 21(2).

  • California Road Network.

  • Celis, LE, Pavetić F, Spinelli B, Thiran P (2015) Budgeted sensor placement for source localization on trees In: Latin-American Algorithms, Graphs and Optimization Symposium (LAGOS).

  • Cha, M, Mislove A, Gummadi KP (2009) A measurement-driven analysis of information propagation in the flickr social network In: Int Conf World Wide Web (WWW).

  • Chen, X, Hu X, Wang C (2014) Approximability of the minimum weighted doubly resolving set problem In: Int Computing and Combinatorics Conf (COCOON).

  • Dong, W, Zhang W, Tan CW (2013) Rooting out the rumor culprit from suspects In: IEEE Int. Symposium on Information Theory (ISIT).

  • Fanti, GC, Kairouz P, Oh S, Viswanath P (2015) Spy vs. spy: Rumor source obfuscation In: SIGMETRICS Conf.

  • Gray, HL, Odell PL (1967) On least favorable density functions. SlAM Rev9.

  • Jiang, J, Wen S, Yu S, Xiang Y, Zhou W (2014) Identifying propagation sources in networks: State-of-the-art and comparative studies. IEEE Commun Surv Tutorials.

  • Kariv, O, Hakimi SL (1979) An algorithmic approach to network location problems. II: The p-medians. SIAM J Appl Math37.

  • Kratica, J, Čangalović M, Kovačević-Vujčić V (2009) Computing minimal doubly resolving sets of graphs. Comput Oper Res 36(7).

  • Lelarge, M (2009) Efficient control of epidemics over random networks In: SIGMETRICS/Performance Conf.

  • Lessler, J, Reich NG, Brookmeyer R, Perl TM, Nelson KE, Cummings DAT (2009) Incubation periods of acute respiratory viral infections: a systematic review. Lancet Infect Dis 9(5).

  • Luo, W, Tay WP (2012) Identifying infection sources in large tree networks In: IEEE Conf on Sensor, Mesh and Ad Hoc Communications and Networks (SECON).

  • Luo, W, Tay W, Leng M (2014) How to identify an infection source with limited observations. IEEE J Sel Top Signal Process 8(4).

  • Lokhov, AY, Mézard M, Ohta H, Zdeborová L (2014) Inferring the origin of an epidemic with a dynamic message-passing algorithm. Phys Rev E 90(1).

  • Louni, A, Santhanakrishnan A, Subbalakshmi KP (2015) Identification of source of rumors in social networks with incomplete information In: Int Conf on Social Computing (SocialCom).

  • Louni, A, Subbalakshmi KP (2014) A two-stage algorithm to estimate the source of information diffusion in social media networks In: IEEE INFOCOM Workshop on Dynamic Social Networks.

  • Netrapalli, P, Sanghavi S (2012) Learning the graph of epidemic cascades. SIGMETRICS Perform Eval Rev 40(1).

  • Opsahl, T, Panzarasa P (2009) Clustering in weighted networks. Soc Networks 31(2).

  • Pinto, P, Thiran P, Vetterli M (2012) Locating the source of diffusion in large-scale networks. Phys Rev Lett109.

  • Prakash, BA, Vreeken J, Faloutsos C (2012) Spotting culprits in epidemics: How many and which ones? In: IEEE Int Conf on Data Mining (ICDM).

  • Seo, E, Mohapatra P, Abdelzaher T (2012) Identifying rumors and their sources in social networks In: SPIE Defense, Security, and Sensing.

  • Shah, D, Zaman T (2011) Rumors in a network: Who’s the culprit?IEEE Trans Inf Theory57.

  • Spinelli, B, Celis LE, Thiran P (2016) Observer placement for source localization: the effect of budgets and transmission variance In: Allerton Conf on Communication, Control & Computing.

  • Spinelli, B, Celis LE, Thiran P (2017) Back to the source: An online approach for sensor placement and source localization In: Int Conf World Wide Web (WWW).

  • Sundareisan, S, Vreeken J, Prakash BA (2015) Hidden hazards: Finding missing nodes in large graph epidemics In: Int Conf Data Mining (SDM).. SIAM.

  • Vergu, E, Busson H, Ezanno P (2010) Impact of the infection period distribution on the epidemic spread in a metapopulation model. PLoS ONE 5(2).

  • Yoshida, Y (2014) Almost linear-time algorithms for adaptive betweenness centrality using hypergraph sketches In: ACM SIGKDD Int Conf on Knowledge discovery and data mining (KDD).

  • Zejnilovic, S, Gomes JP, Sinopoli B (2013) Network observability and localization of the source of diffusion based on a subset of vertices In: Allerton Conf. on Communication, Control & Computing.

  • Zhang, X, Zhang Y, Lv T, Yin Y (2016) Identification of efficient observers for locating spreading source in complex networks. Physica A Stat Mech Appl 442: 100–109.

    Article  Google Scholar 

  • Zhang, Z, Xu W, Wu W, Du DZ (2015) A novel approach for detecting multiple rumor sources in networks with partial observations. J Comb Optim.

  • Zheng, L, Tan CW (2015) A probabilistic characterization of the rumor graph boundary in rumor source detection In: IEEE Int Conf on Digital Signal Processing (DSP).

  • Zhu, K, Ying L (2013) Information source detection in the SIR model: A sample path based approach In: Information Theory and Applications Workshop (ITA).

Download references


The authors wish to thank the anonymous reviewers for their helpful comments and suggestions.

B. Spinelli was partially supported by the Bill & Melinda Gates Foundation, under Grant No. OPP1070273.

Availability of data and materials

The datasets and the code used for all the experiments presented in this section are publicly available on GitHub.7

Authors’ contributions

All authors participated in the conception and design of the work. BS prepared the experimental setup, analysed the experimental results and drafted the manuscript. All authors participated in a critical revision of the manuscript and approved it in its final form. All authors read and approved the final manuscript.

Competing interests

The authors declare that they have no competing interests.

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Brunella Spinelli.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Spinelli, B., Celis, L. & Thiran, P. The effect of transmission variance on observer placement for source-localization. Appl Netw Sci 2, 20 (2017).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: