Adaptive Coding for Information Freshness in a Twouser Broadcast Erasure Channel
Abstract
In this paper, we investigate the impact of coding on the Age of Information (AoI) in a twouser broadcast symbol erasure channel with feedback. We assume each update consists of symbols and the source is able to broadcast one symbol in each time slot. Due to random channel noise, the intended symbol at each user will be erased according to an independent and identically distributed (i.i.d.) Bernoulli process. A user is able to successfully decode an update if it accumulates sufficient information and successfully decodes the symbols of the update. Assuming prefect feedback information at the source right after the transmission of each symbol, our objective is to design an adaptive coding scheme to achieve small AoI at both users. We propose a novel coding scheme to judiciously combine symbols from different updates together, and analyze the AoI at both users. Compared with a baseline greedy scheme, the proposed adaptive coding scheme improves the AoI at the weak user by orders of magnitude without compromising the AoI at the strong user.
I Introduction
In order to measure the “freshness” of information, a metric Age of Information (AoI) has been introduced recently [1]. A typical model to study AoI includes a source which generates timestamped updates, and a destination which receives the updates transmitted over a network. The AoI of the destination, or simply the age, is the time that has elapsed since the most recent update at the destination was generated at the source. More specifically, at time , if the freshest update at the destination was generated at time , the age is .
Age of information as a “freshness” metric has been studied in queueing systems with a single server [1, 2, 3, 4, 5, 6, 7, 8], and multiple servers [9, 10, 11]. For multihop networks, the optimality properties of a preemptive Last Generated First Served (LGFS) service discipline are established in [12], and explicit age distributions based on a stochastic hybrid system approach are derived in [13]. AoI optimization has been studied in singleuser systems [14, 15, 16], interfering links [17], multipleaccess channels [18, 19] and broadcast channels [20, 21]. AoI in energy harvesting systems has been analyzed in [22, 23, 24, 25, 26].
Recently, coding for AoI optimization has received increasing attention. In [27], two different coding strategies, i.e., rateless codes and maximum distance separable (MDS) codes, are studied for both singleuser and multipleuser systems. They show that if the redundancy is carefully optimized in response to the channel erasure rate, the AoI performance of MDS coding can match that of rateless coding. In [28], the optimal transmission of rateless codes for AoI minimization in a singleuser erasure channel has been characterized. In [29], it proves that when the source alphabet and channel input alphabet have the same size, a LCFS with no buffer policy is optimal. For an energy harvesting erasure channel, [30] shows that rateless coding with saveandtransmit scheme outperforms MDS based schemes. For streaming source coding system, the optimal prefixfree lossless coding scheme that minimizes the average peak AoI is proposed in [31]. The effect of codeword length on the average AoI is analyzed in [32, 33]. In [34], the benefits of network coding in a twouser broadcast packet erasure channel with updates from two streams are studied. It shows that coded randomized policies outperform their uncoded counterparts in terms of age.
In this paper, we consider a twouser broadcast symbol erasure channel. The source continuously broadcasts encoded symbols of status updates to two users. Due to random erasures over the link from the source to each user, the users may not be able to decode the intended update at the same time. Assuming perfect feedback information at the source so it knows exactly which encoded symbols have been delivered to which user(s), our objective is to design an adaptive coding scheme to judiciously generate the encoded symbol each time, so that both users can successfully decode updates from the source timely. Intuitively, there exists a tension between the AoI of the two users. To see this, consider the scenario where the channel between the source and one user (termed as the strong user) is statistically better than the other (termed as the weak user). Assume the source prioritizes one of the users and will immediately switch to a new update once the previous update has been successfully decoded by the user with priority. Depending on whether the strong or weak user has the priority, there exist two different situations: If the strong user has the priority, then, with higher probability, the weak user will not be able to decode the same update when the strong user decodes. Thus, its AoI will keep growing until it eventually decodes one update successfully, leading to a larger AoI. On the other hand, if the weak user has the priority, then, with higher probability, the strong user will decode before the weak user decodes. The source will continue transmitting the same update until the weak one decodes. Compared with the first case, the AoI at the weak user will be lower, at the price of increasing the AoI at the strong user due to waiting. In analogy to the capacity region of broadcast channels, in this status updating setting, all achievable AoI pairs at both users form a region. While a complete characterization of such an AoI region seems too ambitious at this stage, as a first step, we will investigate certain “achievable points” within the AoI region under specific coding and transmission schemes.
Specifically, we will consider two updating schemes: a greedy scheme that always prioritizes the strong user, and another adaptive coding scheme that prioritizes the strong user but also takes the information freshness at the weak user into consideration. We aim to show that, compared with the greedy scheme, the adaptive coding scheme strictly improves the AoI at the weak user without compromising the AoI at the strong user. Such improvement becomes more prominent when the size of updates increases.
Ii System Model
We consider a broadcast symbol erasure channel consisting of one source and two users. The source keeps generating updates of information symbols, and is able to broadcast one encoded symbol to the users in each time slot. Assume the link between the source and user , is noisy and each broadcast symbol can be erased over the link independently according to an i.i.d. Bernoulli process. Let be the broadcast symbol at time slot , and and be the corresponding received symbol at user 1 and user 2, respectively. Then, equals with probability and equals if is erased. Without loss of generality, we assume , i.e., user 1 is the strong user while user 2 is the weak user. We also assume perfect feedback information at the source right after each transmission. Therefore, the source knows which symbols have been received at each user at any time.
Denote the update generated at the source at time as , where is the th information symbol. Let , for . Then, in general, , where is the encoding function at time .
At the end of time slot , user tries to decode an update based on . An update is successfully decoded if the information symbols of the update are successfully decoded. If is decoded at time at user , the instantaneous AoI at user , denoted as , will reset to . If multiple updates are decoded simultaneously, will be reset to the smallest age of the decoded updates.
Let
(1) 
be the expected longterm average AoI at user . Our ultimate goal is to characterize the maximum region over all possible coding schemes. While this is an extremely challenging problem in general, in this paper, we focus on specific coding schemes and characterize the corresponding achievable AoI pairs . Specifically, we aim to show that by adaptively combining symbols from different updates into an encoded symbol, the AoI at the weak user can be significantly improved.
Iii Greedy Scheme
In this section, we introduce a baseline greedy scheme. We assume that the source adopts the infinite incremental redundancy (IIR) strategy in [27]. Under the IIR strategy, each symbol update is encoded by a rateless code, such as a ReedSolomon or a Fountain code. The source keeps broadcasting the encoded symbols of an update to both users. Under the greedy scheme, the source prioritizes the strong user (i.e., user 1) and aims to minimize its time average AoI . Thus, as soon as user 1 successfully decodes an update, the source will switch to a new update and start broadcasting it. We have the following observations.
Theorem 1
Under the greedy scheme, , , where .
The proof of Theorem 1 is omitted due to space limitation.
Iv Adaptive Coding Scheme
Next, we present a novel adaptive coding scheme to strictly improve the greedy scheme. Our intuition is that by adaptively combining information symbols from different updates, the AoI of user 1 won’t be affected while the AoI at user 2 will be significantly reduced.
The adaptive coding and updating scheme works in cycles, where each cycle begins with a phase 1, possibly followed by a phase 2. We use to indicate be the updates that the users intend to decode at current time slot. If , they aim to decode the same update, and the system works in phase 1; otherwise, the system operates in phase 2. Initially, we set at . We also use to track the total number of random linear equations involving that have been received by user . let be the transmission status in time slot . If , it indicates the symbol broadcast at time has been successfully received at user ; otherwise, it is erased. At the end of each time slot, the encoder will update and , based on the received feedback , and decide the coding strategy for .
The coding scheme is elaborated as follows.

Phase : In Phase , the source adopts rateless codes to encode and transmits encoded symbols continuously until user receives encoded symbols and successfully decodes at the end of a time slot . Then, will be reset to . Depending on whether user 2 has decoded at the end of or not, there are two different scenarios.

User 2 has decoded at time . Then, will be reset to . The system enters phase 1 of the next coding cycle at .

User 2 has not decoded yet. The system then enters phase at .
We note that during phase 1, will keep increasing according to until it reaches ; it will then be reset to zero if is changed to a new update.


Phase : During phase 2, the source will broadcast two different types of symbols: 1) the th uncoded information symbol of , denoted as , or 2) a random linear combination of and the symbols of . Denote as the type of symbols broadcast at time . At the beginning of phase 2, . Then, the selection of , as well as the updating of , and , depends on and , and is described as follows.

. First, we note that since the transmitted symbol is from only, will stay the same. We further divide this case into two subcases: 1) . We increase by one, and then compare it with . If it equals , it indicates that update is delivered to user 1. We will then update to the new update generated at next time slot, i.e., , and reset to 0. At same time, if , we will update to , and the system enters phase 1 of the new updating cycle; otherwise, the system stays in phase 2. If , we keep unchanged, and let . 2) . Then, , , will stay the same. If , ; otherwise, .

. For user , if , we will increase by one, and then compare with . We consider the following subcases: 1) . Similar to the case , if , we update and to , and the system enters phase 1 of the new updating cycle; Otherwise, it stays in phase 2 of the current cycle with . If , we update to , reset . 2) . We keep , the same, and let .

The procedure is summarized in Algorithm 1. The adaptive coding scheme has two important features: First, we note that the source transmits three types of symbols: a coded symbol of (which equals ) in phase 1, an uncoded symbol , or a mixture of and in phase 2. Since is already decoded by user 1 at the end of phase 1, once user 1 successfully receives any type of such symbols, it accumulates one more novel equation regarding . Besides, once it successfully accumulates equations of and decodes it, the source will switch to a new update immediately. Thus, the adaptive coding scheme works in a greedy fashion for user 1.
Second, in each updating cycle, user 2 only decodes one update . It leverages the diversity of channel conditions to accumulates novel information regarding in phase 2. Specifically, in phase 2, the source would only broadcast a random mixture of and after user 2 successfully receives and user 1 has not received it yet. Thus, once user 2 receives such an encoded symbol, it can stripe away from the mixture, and obtain another novel equation regarding . By judiciously selecting the broadcast symbols, we ensure that the information received by user 2 does not involve too many unknown variables, avoiding unnecessary decoding delay.
V Analysis of the AoI at both Users
First, we note that under the adaptive coding scheme, the source always broadcasts a new equation involving the update user 1 demands in each time slot. Therefore, the AoI of user 1 evolves exactly the same as under the greedy I scheme. Thus, the longterm average AoI of user 1 remains unchanged, which is equal to .
Next, we will analyze the AoI of user under the adaptive coding scheme. We note that the resulted updating cycles form a renewal process, where each renewal interval begins when both users demand the same updates (i.e., ), and ends when user 1 successfully decodes an update after use 2 decodes . As shown in Fig. 1, we further decompose each renewal interval into three different stages: phase 1, phase 2a, which begins when the system enters phase 2 and ends when user 2 decodes , and phase 2b, the duration user 1 takes to complete the current update after user 2 decodes . We denote the lengths of those stages as , and , respectively. In the following, we will analyze each of them individually, and then obtain an upper bound on .
Va Analysis of
Since follows a negative binomial distribution with parameter , we have
(2) 
VB Analysis of
Let be the number of symbols delivered to user 2 during phase 1. Then, The system will enter phase 2 if .
In order to analyze , we first introduce a Markov chain associated with the coding and updating process in phase 2, as shown in Fig. 2. The Markov chain has two states named “uncoded” and “encoded”, corresponding to the encoding decisions and , respectively. The evolution of the Markov chain depends on the transmission results , similar to the coding scheme in phase 2.
In order to track the number of equations user 2 receives regarding in phase 2, we associate a reward with each transition of the Markov chain. The reward denotes the increment of after each transmission. As depicted in Section IV, will increase by one at the end of time slot if and . This is because is a linear combination of and , and has been successfully received by user 2 previously. Thus, after the successful transmission of , user 2 can strip away from , and obtain a new linear equation about . The transition probabilities and the associated rewards are shown in Fig. 2.
Phase 2a) begins at state “uncoded”, and ends when user 2 accumulates equations regarding and successfully decodes it. Although the Markovian structure admits a closedform stationary distribution, the nonasymptotic analysis of is not straightforward. To make it tractable, we will consider a renewal reward process embedded in the Markov structure, and leverage tools such as stopping time theory to analyze it.
Define a renewal process where each renewal interval corresponds to the duration between two consecutive visits to state “uncoded” under the Markov chain. Let be the lengths of the renewal intervals, and be the total rewards (i.e., total increments of ) over individual renewal intervals. Then, we have the following observations.
Proposition 1
Let be a geometric random variable with parameter , and be i.i.d. Bernoulli random variables with parameter . Then, are i.i.d. random pairs with
where , .
Proof: Under the Markov chain, if or , which happens with probability . Otherwise, the system enters state “encoded” and stays there until user 1 successfully receives an encoded symbol (i.e., ). The total duration the system stays in state “encoded”, denoted as , is thus a geometric random variable with parameter . The reward obtained over is thus equals to the total number of successful transmissions when the system stays in the state “encoded”, which is the summation of i.i.d. Bernoulli random variables with probability .
Proposition 2
is upper bounded by , where is a stopping time determined by .
Proof: Under the original coding and updating process, when the system enters phase 2a, we have . Phase 2a ends as soon as the cumulative number of equations received by user 2 regarding reaches . Thus, will be upper bounded by under each sample path. Since only depends on observed s, it is a stopping time.
We point out that essentially depends on phase 1 through . The upper bound of removes such dependency by relaxing to zero.
Lemma 1
The first and second moments of equal
The proof of Lemma 1 is omitted due to space limitation.
Next, we will derive proper bounds for and . In order to simplify the analysis, we consider capped rewards instead of . Specifically, we let We also define another stopping time as
We have the following observation.
Lemma 2
The capped reward process is an i.i.d. Bernoulli process with parameter . Besides,
Proof: Based on the definitions of and , we have
Since is essentially a negative binomial random variable with parameters and , its first and second moments can thus be easily derived.
Before we proceed to bound the first and second moments of , we introduce the following lemma.
Lemma 3 (Sharp Moment Inequality from [35])
Let be a sequence of independent nonnegative random variables, be a stopping time, and be a copy of independent with . Then,
Lemma 3 enables us to decouple the dependency between and to obtain the corresponding upper bounds as follows.
Lemma 4
Based on the definitions of , , we have
VC Analysis of
Since is the remaining time that user 1 takes to complete current update after user 2 decodes , the remaining symbol user 1 demand is upper bounded by . Therefore, is bounded by the summation of i.i.d. geometric random variables with parameter . and can thus be bounded in the same way as .
VD Bound
As illustrated in Fig. 1, under the adaptive coding scheme, we have
Combining the results on , and , we obtain the following theorem.
Theorem 2
Under the adaptive coding scheme, we have , .
Vi Numerical Results
In this section, we evaluate the proposed coding schemes through simulation. We plot the sample average of AoI over sample paths.
First, we fix , and vary . The corresponding AoI under the greedy scheme and the adaptive coding scheme is depicted in Fig. VI. We note that the AoI at user 1 under the adaptive coding scheme matches that under the greedy scheme. Besides, the average AoI at user increases in in a superlinear fashion under the greedy scheme, while it only increases approximately linearly under the adaptive coding scheme. This indicates that the coding gain is more prominent when the channel qualities of both users differ more.
Next, we fix and and evaluate the sample average AoI with different size of the update . We observe similar results in Fig. VI. We note that the AoI at user 2 increases superlinearly in under the greedy scheme, and only scales linearly in under the adaptive coding scheme, which corroborates the theoretical results in Theorem 1 and Theorem 2.
Vii Discussion and Extension
In this work, we demonstrated the benefits of adaptive coding in a twouser broadcast symbol erasure channel with feedback. The future directions include extending the analysis to other coding schemes and general user broadcast channels.
References
 [1] S. K. Kaul, R. D. Yates, and M. Gruteser, “Realtime status: How often should one update?” in IEEE INFOCOM, Orlando, FL, USA, Mar. 2012, pp. 2731–2735.
 [2] ——, “Status updates through queues,” in Conference on Information Sciences and Systems (CISS), Princeton, NJ, USA, Mar. 2012, pp. 1–6.
 [3] R. D. Yates and S. K. Kaul, “Realtime status updating: Multiple sources,” in IEEE International Symposium on Information Theory (ISIT), Cambridge, MA, USA, Jul. 2012, pp. 2666–2670.
 [4] ——, “The age of information: Realtime status updating by multiple sources,” ArXiv eprints, 2016. [Online]. Available: http://arxiv.org/abs/1608.08622
 [5] N. Pappas, J. Gunnarsson, L. Kratz, M. Kountouris, and V. Angelakis, “Age of information of multiple sources with queue management,” in IEEE International Conference on Communications (ICC), Jun. 2015, pp. 5935–5940.
 [6] E. Najm and R. Nasser, “Age of information: The gamma awakening,” in IEEE International Symposium on Information Theory (ISIT), Barcelona, Spain, Jul. 2016, pp. 2574–2578.
 [7] C. Kam, S. Kompella, G. D. Nguyen, J. E. Wieselthier, and A. Ephremides, “Age of information with a packet deadline,” in IEEE International Symposium on Information Theory (ISIT), Barcelona, Spain, Jul. 2016, pp. 2564–2568.
 [8] K. Chen and L. Huang, “Ageofinformation in the presence of error,” in IEEE International Symposium on Information Theory (ISIT), Barcelona, Spain, Jul. 2016, pp. 2579–2583.
 [9] C. Kam, S. Kompella, and A. Ephremides, “Age of information under random updates,” in IEEE International Symposium on Information Theory (ISIT), Istanbul, Turkey, Jul. 2013, pp. 66–70.
 [10] ——, “Effect of message transmission diversity on status age,” in IEEE International Symposium on Information Theory (ISIT), Honolulu, HI, USA, Jun. 2014, pp. 2411–2415.
 [11] C. Kam, S. Kompella, G. D. Nguyen, and A. Ephremides, “Effect of message transmission path diversity on status age,” vol. 62, no. 3, pp. 1360–1374, Mar. 2016.
 [12] A. M. Bedewy, Y. Sun, and N. B. Shroff, “Optimizing data freshness, throughput, and delay in multiserver informationupdate systems,” in IEEE International Symposium on Information Theory (ISIT), Barcelona, Spain, Jul. 2016, pp. 2569–2573.
 [13] R. D. Yates, “Lazy is timely: Status updates by an energy harvesting source,” in IEEE International Symposium on Information Theory (ISIT), Hong Kong, China, Jun. 2015, pp. 3008–3012.
 [14] Y. Sun, E. UysalBiyikoglu, R. D. Yates, C. E. Koksal, and N. B. Shroff, “Update or wait: How to keep your data fresh,” in IEEE INFOCOM, San Francisco, CA, USA, Apr. 2016, pp. 1–9.
 [15] V. Kavitha, E. Altman, and I. Saha, “Controlling Packet Drops to Improve Freshness of information,” ArXiv eprints, Jul. 2018.
 [16] B. Wang, S. Feng, and J. Yang, “When to preempt? age of information minimization under link capacity constraint,” CoRR, vol. abs/1812.05670, 2018. [Online]. Available: https://arxiv.org/pdf/1812.05670.pdf
 [17] Q. He, D. Yuan, and A. Ephremides, “Optimal link scheduling for age minimization in wireless systems,” vol. PP, no. 99, pp. 1–1, 2017.
 [18] S. K. Kaul and R. D. Yates, “Status updates over unreliable multiaccess channels,” ArXiv eprints, 2017. [Online]. Available: http://arxiv.org/abs/1705.02521
 [19] I. Kadota, A. Sinha, and E. Modiano, “Optimizing age of information in wireless networks with throughput constraints,” in IEEE INFOCOM, Apr. 2018.
 [20] I. Kadota, E. UysalBiyikoglu, R. Singh, and E. Modiano, “Minimizing the age of information in broadcast wireless networks,” in 54th Annual Allerton Conference on Communication, Control, and Computing (Allerton), Sep. 2016, pp. 844–851.
 [21] I. Kadota, A. Sinha, E. UysalBiyikoglu, R. Singh, and E. Modiano, “Scheduling Policies for Minimizing Age of Information in Broadcast Wireless Networks,” ArXiv eprints, Jan. 2018.
 [22] B. T. Bacinoglu, E. T. Ceran, and E. UysalBiyikoglu, “Age of information under energy replenishment constraints,” in Information Theory and Applications Workshop, San Diego, CA, USA, Feb. 2015, pp. 25–31.
 [23] X. Wu, J. Yang, and J. Wu, “Optimal status update for age of information minimization with an energy harvesting source,” IEEE Transactions on Green Communications and Networking, vol. 2, no. 1, pp. 193–204, March 2018.
 [24] A. Arafa, J. Yang, S. Ulukus, and H. V. Poor, “Ageminimal transmission for energy harvesting sensors with finite batteries: Online policies,” CoRR, vol. abs/1806.07271, 2018. [Online]. Available: https://arxiv.org/pdf/1806.07271v1.pdf
 [25] S. Feng and J. Yang, “Age of information minimization for an energy harvesting source with updating erasures: With and without feedback,” CoRR, vol. abs/1808.05141, 2018. [Online]. Available: https://arxiv.org/pdf/1808.05141v1.pdf
 [26] S. Farazi, A. Klein, and D. Brown, “Average age of information for status update systems with an energy harvesting server,” in IEEE INFOCOM  Workshop on Age of Information, Apr. 2018.
 [27] R. D. Yates, E. Najm, E. Soljanin, and J. Zhong, “Timely updates over an erasure channel,” in 2017 IEEE International Symposium on Information Theory (ISIT), Jun. 2017, pp. 316–320.
 [28] S. Feng and J. Yang, “Ageoptimal transmission of rateless codes in an erasure channel,” in IEEE International Conference on Communications (ICC), May 2019.
 [29] E. Najm, E. Telatar, and R. Nasser, “Optimal age over erasure channels,” CoRR, vol. abs/1901.01573, 2019.
 [30] A. Baknina and S. Ulukus, “Coded status updates in an energy harvesting erasure channel,” in Conference on Information Sciences and Systems (CISS), Mar. 2018.
 [31] J. Zhong, R. D. Yates, and E. Soljanin, “Timely Lossless Source Coding for Randomly Arriving Symbols,” ArXiv eprints, Oct. 2018.
 [32] P. Parag, A. Taghavi, and J. Chamberland, “On realtime status updates over symbol erasure channels,” in 2017 IEEE Wireless Communications and Networking Conference (WCNC), March 2017, pp. 1–6.
 [33] H. Sac, T. Bacinoglu, E. UysalBiyikoglu, and G. Durisi, “Ageoptimal channel coding blocklength for an M/G/1 queue with HARQ,” in IEEE 19th International Workshop on Signal Processing Advances in Wireless Communications (SPAWC), June 2018, pp. 1–5.
 [34] X. Chen and S. Saeedi Bidokhti, “Benefits of Coding on Age of Information in Broadcast Networks,” arXiv eprints, p. arXiv:1904.10077, Apr 2019.
 [35] “Sharp inequality for randomly stopped sums of independent nonnegative random variables,” Stochastic Processes and their Applications, vol. 51, no. 1, pp. 63 – 73, 1994.