Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-07T19:54:29.336Z Has data issue: false hasContentIssue false

Sequential metric dimension for random graphs

Published online by Cambridge University Press:  22 November 2021

Gergely Ódor*
Affiliation:
EPFL
Patrick Thiran*
Affiliation:
EPFL
*
*Postal address: IINFCOM INDY2, École Polytechnique Fédérale de Lausanne, EPFL-IC Station 14 - Bâtiment BC, CH-1015 Lausanne, Switzerland
*Postal address: IINFCOM INDY2, École Polytechnique Fédérale de Lausanne, EPFL-IC Station 14 - Bâtiment BC, CH-1015 Lausanne, Switzerland
Rights & Permissions [Opens in a new window]

Abstract

In the localization game on a graph, the goal is to find a fixed but unknown target node $v^\star$ with the least number of distance queries possible. In the jth step of the game, the player queries a single node $v_j$ and receives, as an answer to their query, the distance between the nodes $v_j$ and $v^\star$. The sequential metric dimension (SMD) is the minimal number of queries that the player needs to guess the target with absolute certainty, no matter where the target is.

The term SMD originates from the related notion of metric dimension (MD), which can be defined the same way as the SMD except that the player’s queries are non-adaptive. In this work we extend the results of Bollobás, Mitsche, and Prałat [4] on the MD of Erdős–Rényi graphs to the SMD. We find that, in connected Erdős–Rényi graphs, the MD and the SMD are a constant factor apart. For the lower bound we present a clean analysis by combining tools developed for the MD and a novel coupling argument. For the upper bound we show that a strategy that greedily minimizes the number of candidate targets in each step uses asymptotically optimal queries in Erdős–Rényi graphs. Connections with source localization, binary search on graphs, and the birthday problem are discussed.

Information

Type
Original Article
Copyright
© The Author(s), 2021. Published by Cambridge University Press on behalf of Applied Probability Trust
Figure 0

Table 1. Overview of the main tools to prove Theorem 6.1. Each column corresponds to a different range of parameter c. The $c=\Theta(1)$ columns are split into two sub-columns: in the first, ${\mathrm{e}}^{-c}>1-{\mathrm{e}}^{-c}$, and in the second, ${\mathrm{e}}^{-c}<1-{\mathrm{e}}^{-c}$. Only the leading terms of the size of the level sets S are shown. The largest level set is colored red, and the second largest is colored pink. The last level set before one of the two dominating level sets is colored gray. The bottom half of the table points to the proof of the upper/lower bound (ub/lb) for each parameter range of Theorem 6.1, both in previous work and in this paper.

Figure 1

Figure 1. An example of how the SMD can be interpreted as a two-player game. In the jth round, Player 1 creates the set $R_{j}$ by adding a sensor node $w_j$ (marked in red) to $R_{j-1}$. The sensor $w_j$ partitions the current candidate target set $\mathcal{T}_{R_{j-1}}(G)$ based on distances (marked in blue). In turn, Player 2 must provide a distance from $w_j$ to a feasible but not necessarily predetermined source node, which is equivalent to selecting one of the blue sets. Player 1 tries to reduce and Player 2 tries to increase the total number of rounds until the end of the game, which happens when $\mathcal{T}_{R_{j}}(G)$ shrinks to a single element. In this example the game ends in three rounds if both players play optimally. Hence the SMD of this ‘comb graph’ of size 18 is also 3. In fact, the SMD of the ‘comb graph’ of any size $n\ge9$ is still 3, in sharp contrast to the MD of the same graph, which is $n/3$.

Figure 2

Figure 2. The red and blue dots show the approximated value of the MD and the SMD of simulated Erdős–Rényi graphs computed by the toolbox [20] averaged over 100 iterations (confidence intervals are too small to be plotted). The slope of the red and blue lines is computed by Theorem 6.1 and the intercept is chosen to fit the last few data points. On (semi-log) plots (a) and (c) we have $(Np)^i=\Theta(N)$ for $i=0$ and $i=1$ respectively. For such parameters the MD and the SMD are both logarithmic and there is a constant factor difference between them. In contrast, on (log-log) plot (b) we have $(Np)^i \ne \Theta(N)$ for all $i \in \mathbb{N}$. For such parameters the MD and the SMD grow as a power of N, and there is a gap between the theoretical upper and lower bounds, which are shown by dashed curves.

Figure 3

Figure 3. The process of non-adaptive and adaptive binary search with restricted queries with target $v^\star=3$. The queries are marked in green and the observations are marked in blue.

Figure 4

Figure 4. The arcs in the figures represent the level sets $\mathcal{S}_G(v,l)$ of $\mathcal{G}(N,p)$ for different ranges of c. The layers containing a constant fraction of the nodes marked red. In the $c=\Theta(1)$ case (a) there are two such layers, whereas in the $c\rightarrow \infty$ case (b) there is only one. In this latter case the $(i+2)$th layer is in parenthesis because that layer may or may not exist depending on c.

Figure 5

Figure 5. Part (a) of the figure shows a (partial) example sample of the elementary events of the coupled joint distribution. Here we set $N=11$, $r=3$, and $l^\star=i+1=3$. These parameters might not actually correspond to any pair of parameters (N,p); we only use them for the example. The colors signify which survival processes use which coin flips: light blue is for the SSP, yellow is for the CSP, and green is for the coin flips used by both of them. We should show $N-r=8$ buckets in total – one for each node $v_i \in V \setminus R$ – but we only show the bucket for two nodes $v_1, v_2$ in the interest of space. Node $v_1$ survives the first $l^\star-1$ rounds in both processes, but survives the last round only in the CSP. In the SSP it does not survive because the first red sub-bucket contains no head for this process (the CSP is saved by ${\operatorname{flip}}(v_1,{`r'},1,3)$). Node $v_2$ dies in the first round of the SSP (because of ${\operatorname{flip}}(v_2,{`b'},1,4)$) and in the second round of the CSP (because of ${\operatorname{flip}}(v_2,{`b'},2,2)$). Part (b) of the figure shows (a possible realization of) the ESP corresponding to the coin flips in part (a). The edges incident to nodes $v_1$ and $v_2$ correspond to the green coin flips in the blue sub-buckets in part (a) of the figure. Only one such edge is present in this realization of the ESP: the edge between $v_2$ and $v_6$. This edge corresponds to ${\operatorname{flip}}(v_2,{`b'},2,2)$, which is indeed the only green head in the blue sub-buckets in part (a). Part (b) also explains the values of ${\operatorname{CSPdepth}}({`r'},j)$ in part (a). Indeed, we can check that $|\mathcal{S}_G(w_1,l^\star-1)|=3$ and $|\mathcal{S}_G(w_2,l^\star-1)|=|\mathcal{S}_G(w_3,l^\star-1)|=2$. Similarly, we can check that $|\cup_{j=1}^r \mathcal{S}_G(w_j,1)|= |\{ v_6, v_7, v_8 \} | =3$, which corresponds to the value of $\mathrm{CSPdepth}({`b'},2)$ in part (a). Note that only coin flips in the blue sub-buckets can correspond to edges in the ESP, as in the coupling we only simulate the ESP until round $l^\star-1$.

Figure 6

Figure 6. (a) A small example graph with $V'$, $F_1$, and $F_2$. (b) The ‘game plan’ corresponding to the graph in (a). The jth blue layer ($j\ge0$) shows the potential pseudo-candidate sets we might encounter in step j. Arrows exiting blue nodes point to the potential of queries $F_j$ (green nodes on the jth level). The red arrow marks the query we picked. Arrows exiting green nodes correspond to the potential observations provided by Player 2 in the actual game. Each scenario ends when the potential candidate set has exactly one element. Tables 2 and 3 show which sets $\mathcal{T}'_{j,\tilde{v}}$ and $R_{j,\tilde{v}}$ correspond to each step of this ‘game plan’.

Figure 7

Table 2. The pseudo-candidate sets corresponding to each $\tilde{v}$ and j from the example in Figure 6.

Figure 8

Table 3. The query sets corresponding to each $\tilde{v}$ and j from the example in Figure 6.