Expected reliability of communication protocols
Andr\'e K\"undgen, Janina Patno

TL;DR
This paper analyzes the expected reliability of communication protocols in unreliable networks, focusing on finite protocols' performance as edge failure probability varies, and discusses the complexity of finding optimal protocols.
Contribution
It characterizes properties of maximum expected reliability protocols for different network conditions and highlights the challenges and open problems in optimizing such protocols.
Findings
Maximum reliability protocols vary with edge failure probability p.
No single protocol is optimal for all values of p in some networks.
Identifies challenges in designing optimal protocols for unreliable networks.
Abstract
We consider the problem of sending a message from a sender to a receiver through an unreliable network by specifying in a protocol what each vertex is supposed to do if it receives the message from one of its neighbors. A protocol for routing a message in such a graph is finite if it never floods with an infinite number of copies of the message. The expected reliability of a given protocol is the probability that a message sent from reaches when the edges of the network fail independently with probability . We discuss, for given networks, the properties of finite protocols with maximum expected reliability in the case when is close to 0 or 1, and we describe networks for which no one protocol is optimal for all values of . In general, finding an optimal protocol for a given network and fixed probability is challenging and many open problems remain.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Expected reliability of communication protocols
André Kündgen
Department of Mathematics, California State University San Marcos, San Marcos, CA 92096
and
Janina Patno
Abstract.
We consider the problem of sending a message from a sender to a receiver through an unreliable network by specifying in a protocol what each vertex is supposed to do if it receives the message from one of its neighbors. A protocol for routing a message in such a graph is finite if it never floods with an infinite number of copies of the message. The expected reliability of a given protocol is the probability that a message sent from reaches when the edges of the network fail independently with probability .
We discuss, for given networks, the properties of finite protocols with maximum expected reliability in the case when is close to 0 or 1, and we describe networks for which no one protocol is optimal for all values of . In general, finding an optimal protocol for a given network and fixed probability is challenging and many open problems remain.
Key words and phrases:
Network, communication protocol, two-terminal graph, two-terminal reliability polynomial
The first author was supported by ERC Advanced Grant GRACOL, project no. 320812 while visiting Denmark Technical University.
1. Introduction
All graphs in this paper will be undirected, simple (no loops or multiple edges), and have two distinct vertices identified as (the sender) and (the receiver). Our goal is to pass a message from to along the edges of , where we will assume that edges may fail, but vertices do not. We will also assume that vertices are memoryless and have no information about which edges have failed and which are alive, but rather, will pass the message along based on a set of instructions that are given before we know which edges fail. More formally, an instruction is any triple where are different neighbors of and the idea is that if receives a message from , then it passes it on to . (We require that , since there is no point in sending a message back where it came from. Also observe that and are different instructions, whereas for edges we have as usual.) A protocol is a set of instructions. For a protocol of a graph we now try to send a message from to by sending one copy of the message from to everyone of its neighbors, and whenever an intermediate vertex receives the message, it passes it on as described by .
There are several considerations of what makes a good protocol. A very basic one is that we do not want to flood the receiver, that is, we do not want to receive infinitely many copies of the message. This is what would usually happen if no edge fails and every intermediate vertex simply sends the message to every neighbor each time it receives it. This basic consideration is studied in [3]. Another consideration is that we would like our protocol to have a certain robustness, that is the failure of only few edges does not interrupt communication. This concept was suggested to the first author by Lovász and is studied in [6]. A second approach suggested by Lovász [6] is to study the probability that a message sent from will reach when the edges of only survive with some probability . This approach was first studied in the Master’s thesis of the second author [8]. In this paper we build on the ideas from [3, 6, 8] to investigate the probabilistic setting.
2. The basic model
To study this communication model we need a few basic definitions that are consistent with those used in [3, 6, 8, 10]. A -walk of length in a graph is a sequence of vertices such that , and are adjacent for all with . We say that an instruction is contained in this walk if there is an index such that . A trail is a walk such that if for , then . Thus, each edge can be used at most twice in a trail: once as and once as . (This is a slightly nonstandard use of this term.) A walk (trail) is if the endpoints, and , of the walk (trail) are the same. A path is a walk such that are distinct vertices of . For a protocol , an -walk is an -walk such that every instruction it contains is in . The concepts of -trail and -path are defined similarly.
Using this notation it is now easy to see that receives the message exactly once for every -walk whose edges do not fail. To have a good protocol we generally want there to be many -walks, but we also do not want to flood the receiver with infinitely many messages when no edge fails. Thus we call a protocol finite if there are only finitely many -walks. To characterize such protocols we call an instruction (strongly) essential for if it is contained in an -walk (an -path). If every instruction of is (strongly) essential, then we call a (strongly) essential protocol. One of the key lemmas of [3] is that a protocol is finite if and only if it does not contain an essential circuit, that is a closed trail such that every instruction it contains (including ) is essential for .
The simplest protocol is the Complete Forwarding Protocol (CFP) is contained in some -path. By definition is strongly essential. Observe that there can be instructions that are contained in an -walk, but not in an -path and such instructions would not be in .
Example 1**.**
The graph in Figure 1 has Complete Forwarding Protocol
Observe that , even though there is an -walk . Every essential circuit must contain the edges of a cycle, but not or . It is easy to see that is the only essential circuit of up to the choice of the starting point.
The graph shows that the CFP need not be finite. In fact the main result of [3] is a characterization of the graphs for which the CFP is finite in terms of 10 forbidden minors, one of which is . Any protocol with is called a Partial Forwarding Protocol (PFP). An SPFP is a strongly essential PFP, that is a protocol in which every instruction is contained in an -path. Our first lemma will imply that in general it suffices to study SPFP’s.
Lemma 1**.**
If is a protocol for a graph , then there is a PFP with the following properties:
- (a)
The edge-set of every -walk contains an -path. 2. (b)
The edge-set of every -walk contains an -path. 3. (c)
Every instruction in is contained in an -path (and thus strongly essential). 4. (d)
If is finite, then is finite.
Proof.
Observe that every -walk contains an -path such that for every we can find indices with , and . Moreover, there are only finitely many -paths in , so we can let the paths obtained in this way be , and be some -walk that contains in this way. Let is contained in some . is a PFP, and since every is an -path, (a) and (c) clearly hold.
To prove (d), suppose is not finite and there is an essential circuit for . Every instruction in this circuit must be contained in some . Now by construction the -walk contains a subwalk that includes only instructions that are essential for , and such that , and . Thus if in we replace every vertex by the corresponding walk , then we obtain an essential circuit for . Thus is not finite.
To prove (b) consider obtained from by repeating the same procedure, that is . By (c) for it follows that , so that every -path is an -path. Thus (a) holds for instead of , and (c) and (d) follow similarly with instead of . If does not satisfy (b), then we get that one of the paths in the construction of from is not an -path, so that has an instruction that is not in , that is . Repeating this procedure we get a strictly increasing sequence of protocols that satisfy (a,c,d). Since there are only finitely many instructions, this process terminates in a protocol satisfying all four conditions, which will be our . ∎
3. The probabilistic model
Suppose every edge of fails with probability and survives with probability , where is usually fixed in (0,1), but for the purpose of this section need not be constant on . We define the (expected) reliability of a protocol for , denoted by or simply if and are clear from the context, to be the probability that a message sent from under protocol reaches . Note that this is defined, whether is finite or not. More formally
Definition 1**.**
Let be any protocol for , and . Then and are the probability that the edges of some -walk (respectively -path) do not fail if every edge fails independently with probability . Moreover, is finite.
Note that and the former is usually easier to determine, but equality need not hold. Observe also that is well-defined since there are only finitely many protocols , but that for different choices of this maximum might be achieved for different protocols . Also note that the well studied (two terminal)-reliability (see [2, 4, 5, 7, 9, 11]) is the probability that are in the same component of . This is identical to the probability that some -path survives in , that is . Lemma 1 immediately implies the following.
Proposition 1**.**
For every protocol there is a SPFP such that for every . if and only if every -path is an -path. Moreover if is finite, then is finite.
Proof.
For given let be as in Lemma 1. By (c) is an SPFP and by (d) is finite when is finite. Now if we let be the event that the edges of the -path survive, be the event that an -walk from to survives, and be the event that an -walk from to survives, then by (a) and the fact that every -path is an -walk. Moreover the second containment is equality by (b). Thus , as desired.
If every -path is an -path, then . Since every -path is an -walk, it now follows that and the desired equality holds. Now suppose that some -path is not an -path. Let be the event that only the edges in survive, but all other edges fail. Clearly and since every edge has . Moreover, does not contain an -walk, since otherwise we would get the contradiction that either is an -path, or that the -walk contains an instruction of the form . Thus , and we get that . ∎
Definition 2**.**
We call a finite SPFP optimal for if for every finite protocol we have , and is the probability that some -path survives.
Proposition 1 immediately implies that for every there is an optimal SPFP and
[TABLE]
For an (optimal) SPFP we can compute by Inclusion-Exclusion once we know all -paths . Thus is a polynomial in if is constant. Moreover, since there are only finitely PFP’s it follows that is piecewise polynomial in if every edge has the same probability .
4. Series-parallel replacements
In this section we present a method for building large graphs whose reliability can be computed easily.
Given graphs , with senders and receivers respectively, we can obtain a graph with sender and receiver by series operation, written , by setting , , and identifying with a new vertex . We obtain by parallel operation, written , by identifying and . Any graph that can be built from using only these operations is called series-parallel.
Proposition 2**.**
Let be a series-parallel graph, the CFP in and be the CFP in if we interchange and . If , then every walk such that for all with is a path. Specifically if is nontrivial, then it is not closed.
Proof.
The first statement immediately implies the second, and so it suffices to prove the former.
Using the recursive definition of it is easy to show that there is an injection such that is increasing along every -path. Thus is strictly increasing along every instruction in , and strictly decreasing along every instruction in . Suppose is such a walk. Since has no loops we may assume that and . If , then it follows that and thus . Continuing along it follows that is strictly increasing along and thus all must be distinct. If , then it follows similarly that is strictly decreasing along . ∎
Proposition 2 implies that the CFP for a series-parallel graph is finite (as it has no essential circuit), and thus . Moreover, it is easy to compute when is series parallel, since in general and . Our next result generalizes these equations and exploits the fact that need not be constant.
Definition 3**.**
Let , be graphs with specified vertices . If is an edge in , then let the be the graph obtained from by identifying in with in . (See Figure 2 for an example.) We call the expansion of at by . If is a probability distribution on , then the implied distribution on is given by for , and , where is the restriction of to .
If is an instruction in , then the corresponding set of instructions in is given by (when ), (when ) and (when ,) where denotes the set of neighbors of in . If is a set of instructions in , then we let .
Let denote the CFP on with and let be any protocol for . If there are some -paths in containing in which directly precedes and some in which directly precedes , then we define . If no -path in contains we let . If in every -path in that contains we have that immediately precedes ( immediately precedes ), then we let and respectively. In any case satisfies the hypothesis of Proposition 2 when is series-parallel. With this notation we will define the extension of to by .
Proposition 3**.**
Let be a series-parallel graph, and be the expansion of some graph at some edge by . If is a given probability distribution and is its implied distribution on , then the following hold:
- (a)
For every protocol for : . 2. (b)
. 3. (c)
If are protocols for , then iff . 4. (d)
For every protocol for : is a finite SPFP for if and only if is a finite SPFP for . 5. (e)
* with equality if is in no essential circuit for the CFP of .*
Proof.
Let be the set of -paths in . For every path in let be the following family of paths in : If is not on , then . If , then and if , then .
Let be any protocol for . If is an -path, then it follows that is a family of -paths. Similarly if some member of is an -path, then is an -path. So the sets form a partition of the family of -paths. If is the event that all edges of the -path survive in and is the event that the edges of some path in survive in , then it is not hard to see that for every collection of indices , . Thus by inclusion-exclusion it follows that (a) holds:
[TABLE]
Let be the CFP on and be the CFP on . Since every -path in is in for some -path in , it follows that . Thus , and (b) holds.
If , then and , so that . If , then and thus , so that (c) follows.
is a PFP for iff is a PFP for follows by combining (c) and . Let . Then is strongly essential for iff is contained in some -path iff every is contained in some member of for some -path iff every is in an -path iff every is strongly essential for . Furthermore every element of is trivially strongly essential for by definition. Thus is an SPFP iff is an SPFP.
It remains to consider finiteness, where we may now assume that every instruction in and is essential. Replacing every occurence of the edge in an essential circuit for in with a path from or as appropriate it is easy to see that we obtain an essentail circuit for in . So suppose contains an essential circuit for . Then Proposition 2 implies that cannot be entirely contained in (and thus only contain instructions from ), and that if enters at one of , then it must leave it at the other. Thus if we remove all vertices in from the sequence , then we get a closed walk in . Moreover, by construction of it follows that every instruction contained in is in , so that must be an essential circuit in and (d) is proven.
For (e) it follows so far that
[TABLE]
For equality it remains to show that for every finite SPFP for there is a finite SPFP for with . For a given , consider . We first show that , since then is trivial. So let be given. Since is an SPFP there is a -path containing . For this path in there must be a path in with . Now for every instruction contained in we have that has an instruction in and thus . Hence is an -path, and thus is an -path. Specifically , as desired.
It remains to show that is a finite SPFP. is a PFP since . If , then there is with . As in the previous argument, is in some -path , and there is an -path with . Since is in and we have that is an instruction in (the -path) . Thus is an SPFP. Finally, suppose that is not finite, that is it contains an essential circuit in . Since by assumption does not use then every instruction in is also in , so that is an essential circuit in , a contradiction. ∎
5. Discrepancies
In general we are more interested in finding an optimal protocol for , than the actual value of . Since can be very close to it makes sense to study the difference between these parameters.
Definition 4**.**
Let be the CFP on . For a set of instructions , we define its discrepancy as . The minimum discrepancy of is defined as is finite.
Thus is the probability that some -walk remains, but that every such -path contains an instruction in . Observe that if , then it follows directly that , that is is monotone in . The following result is easy to see, but a proof is Lemma 3.3.5 of [8] with the notation for being .
Lemma 2**.**
Let and . If are the -paths that use at least one instruction from , and is the event that the edges in all survive, but every -trail not using an instruction from has a failed edge, then .
The following example will give an indication on how the minimum discrepancy of a graph can be determined, and we will use this result in the proof of Theorem 3. The discrepancies of all 10 forbidden minors for to be finite are computed in Chapter 4 of [8] for the case when is constant on .
Example 2**.**
Let be the graph from Example 1 and let . Let be the probability distribution on given by assigning probability to every edge, except that receives probability and receives probability . Let and . Let be the event that the 6 edges in survive and all others fail. Define for similarly.
To find the minimum discrepancy of , consider the instruction 432. Observe that is finite, since this instruction is used in the only essential circuit . The only -path using 432 is . With the notation from Lemma 2 we get that since every contains an -path not containing 432. Thus by Lemma 2, . A similar argument with shows that .
Thus . To see that equality holds, consider for other sets such that is finite. Observe first that if contains no instruction contained in or , then every instruction contained in is in and is essential for , so that is not finite. Moreover, if contains one of or , then it follows by monotonicity that as desired.
Suppose now that contains an instruction contained in other than 432. We again have , but in every case there is also a different -path containing . Thus . A similar argument shows that if has an instruction contained in other than 531, then .
It follows that . Specifically, if , then .
Combining this example with Proposition 3 and the observation that neither of is in an essential circuit we obtain the following proposition which we will use in Section 7.
Proposition 4**.**
Let be series-parallel graphs and be the graph obtained from by identifying in with , and identifying in with 1 and 2 respectively as shown in Figure 2. If is fixed and , then .
Proof.
. ∎
6. Crossings of protocol reliability functions
It is natural ask if for given graphs , it must be the case that for all or for all . We will adapt an idea of Kelmans [5] to show that this need not be the case in a very strong sense. Following his approach we let , and we say that the profile of a function is if it has exactly zeroes in with and has multiplicity . In this language our original question is whether the profile of must be empty. The following lemma now gives a simple negative answer for our question.
Lemma 3**.**
If and for , then has profile (1) with zero the unique root of in (0,1).
Proof.
Since and are series-parallel, it follows that
[TABLE]
The profile of this function is the profile of , which has a unique root of multiplicity 1 in (0,1), since and is positive on . ∎
The main idea to show that our original question has a negative answer in a much stronger sense is
Theorem 1** (Kelmans [5], 4.1).**
If and , then .
Observe that if are all series-parallel in this statement, then so are and , and we also get . We can view this pair as a natural composition of the pairs and . Thus if we compose the pair from Lemma 3 with itself times we get a pair of graphs with profile () for , where the unique root has multiplicity . Since for all it follows moreover that . So if we take such pairs for and compose them with each other we get a pair with profile and is the multiplicity of the root . Relabeling the subscripts now we have proved the following.
Theorem 2**.**
For every -tuple of positive integers there are series-parallel graphs such that has profile .
7. Piecewise polynomial optimal reliability functions
As we observed in Section 3 can be achieved by different protocols for different , so that may be piecewise polynomial. For us a breakpoint of order in a piecewise polynomial function will be a such that is differentiable times at , but not times, where 0 times differentiable means continuous at . Equivalently there are different polynomials and such that for and for , and has a zero of order at . Observe that has a breakpoint (of order ) at if and only if has a zero of odd order at .
Theorem 3**.**
For every -tuple of positive odd integers there is a graph so that is a piecewise polynomial with exactly breakpoints in (0,1) such that has order .
Proof.
Let be the series parallel graphs with profile for obtained from Theorem 2. Expanding at , by , as in Proposition 4 we obtain a graph with where . This function has a breakpoint of order if and only if has a zero of multiplicity , where is odd. ∎
Remark 1**.**
Every breakpoint is an algebraic number, so not every number in (0,1) is a breakpoint of some , but by using suitable graphs of the form for in Theorem 3 it should be possible to prove that the set of breakpoints is dense in (0,1).
The next theorem gives infinitely many small intervals that do not contain breakpoints for .
Theorem 4**.**
For any rational , has no breakpoint with .
Proof.
Let and . It is sufficient to show that if are finite protocols with , then the polynomial has no zero with . Observe that for every protocol we can write where is the number of sets on edges that contain an -walk. Thus and it follows that for some with
[TABLE]
where we used the substitutions and . Observe that so that is rational with denominator and we have that unless . Thus
[TABLE]
If the degree of is , then is a polynomial with leading coefficient , so by Cauchy’s bound ([1] p122) every zero of satisfies and thus the nonzero roots of are bounded below by . ∎
8. Reliable protocols for probabilities near zero
Determining for all values of appears to be a difficult problem, however there is something we can say for close to zero. There must be a protocol and an such that for all , and we call this the optimal protocol near zero. Near zero a good protocol will have many short -paths. Consider is contained in some -path of length and let denote the distance between and in .
Theorem 5**.**
If and is the number of -paths of length , then and for all , where .
Proof.
Observe that if we let , and has edges, then for every protocol we can let where is the number of sets on edges that contains an -walk. Observe that for all and , since every -walk contains an -path. The optimal protocol near zero must have as large as possible (as is the dominant term), and subject to that it must have as large as possible (and so on.) Since every -walk on a set of at most edges must contain an -path of length at most we conclude that if the latter is a finite protocol. If this the case, then we see that for we have (as every -path of length is now an -walk) and since every set of edges containing an -walk must either be an -path of length or an -path of length and one additional edge. Thus
[TABLE]
The bound of follows from Theorem 4 with . It remains to see that is finite. This will follow if we can show that for all we have since the distance from the vertices in an essential circuit to would have to increase for every two steps along the circuit, but eventually we will repeat a vertex as we continue along the circuit. So suppose that and let be a path of length at most that contains the instruction . The length of the segment of is at least and so if we replace this segment by a shortest -path, then we get an -walk of length at most , a contradiction. ∎
9. Reliable protocols for probabilities near one
As we observed previously, for every protocol we can let where is the number of sets on edges that contains an -walk. The optimal protocol near one must have as large as possible (as is the dominant term), and subject to that it must have as large as possible (and so on.) If is the number of edge-sets of size that is contained in some edge-cut that disconnects from , then clearly . It is the main result of [6] that if the size of a smallest edge-cut separating and is , then there is a finite protocol such that there is an -walk in unless at least edges fail or the edges of a minimum cut separating and fail. So if we let be the optimal finite protocol near one then for we get when , and , where simply counts the number of edge-cuts of minimum size that separate from . It now follows that
[TABLE]
This proves the following counterpart to Theorem 5 for the optimal protocol for probabilities near one.
Theorem 6**.**
* for .*
To improve on this result in general would require a better understanding of the notion of robustness studied in [6]. A protocol is called -robust if it is finite, and for every set of at most -edges that does not disconnect from , there is an -walk in . In a -robust protocol we have for all , and the optimum protocol near one must have maximum robustness. Thus studying the properties of can be viewed as a refinement of the approach in [6].
10. Open problems
Computing exactly is likely to be a very hard problem in general, since Provan and Ball [9] showed that even computing is #P-hard.
The most interesting open question is clearly to characterize the graphs for which is a polynomial. In [8] it is shown that the 10 minor-minimal graphs for which all have the property that is polynomial, so such a characterization could be quite difficult to obtain. One point of inquiry could be to find all graphs for which where is a single instruction.
Can we give a polynomial time procedure for determining exactly for a fixed , or near 0 or near 1?
Acknowledgements
The first author thanks Johan Rosenkilde for a helpful discussion that led to Theorem 4.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] A. L. Cauchy , Œuvres complètes. Series 2. Volume 9 , Cambridge Library Collection, Cambridge University Press, Cambridge, 2009. Reprint of the 1891 original.
- 2[2] C. J. Colbourn , The combinatorics of network reliability , International Series of Monographs on Computer Science, The Clarendon Press, Oxford University Press, New York, 1987.
- 3[3] F. E. Fich, A. Kündgen, M. J. Pelsmajer, and R. Ramamurthi , Graph minors and reliable single message transmission , SIAM J. Discrete Math., 19 (2005), pp. 815–847.
- 4[4] C. Graves and D. Milan , Reliability polynomials having arbitrarily many inflection points , Networks, 64 (2014), pp. 1–5.
- 5[5] A. K. Kelmans , Crossing properties of graph reliability functions , J. Graph Theory, 35 (2000), pp. 206–221.
- 6[6] A. Kündgen, M. J. Pelsmajer, and R. Ramamurthi , k 𝑘 k -robust single-message transmission , SIAM J. Discrete Math., 24 (2010), pp. 301–321.
- 7[7] E. F. Moore and C. E. Shannon , Reliable circuits using less reliable relays. I, II , J. Franklin Inst., 262 (1956), pp. 191–208, 281–297.
- 8[8] J. S. P. Patno , Communication Networks , M.Sc. thesis, California State University San Marcos, 2011.
