Reliability-Latency Performance of Frameless ALOHA with and without Feedback
Francisco L\'azaro, \v{C}edomir Stefanovi\'c, Petar Popovski

TL;DR
This paper analyzes the reliability and latency of frameless ALOHA, providing exact and approximate methods for performance evaluation, and demonstrates that feedback significantly enhances its performance.
Contribution
It introduces a finite length analysis of frameless ALOHA, develops continuous approximations for key parameters, and proposes a feedback scheme to improve reliability.
Findings
Feedback substantially improves frameless ALOHA performance
Continuous approximations enable low-complexity error rate estimation
Finite length analysis provides exact performance insights for moderate user numbers
Abstract
This paper presents a finite length analysis of multi-slot type frameless ALOHA based on a dynamic programming approach. The analysis is exact, but its evaluation is only feasible for moderate number of users due to the computational complexity. The analysis is then extended to derive continuous approximations of its key parameters, which, apart from providing an insight into the decoding process, make it possible to estimate the packet error rate with very low computational complexity. Finally, a feedback scheme is presented in which the slot access scheme is dynamically adapted according to the approximate analysis in order to minimize the packet error rate. The results indicate that the introduction of feedback can substantially improve the performance of frameless ALOHA
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.
AP access point RA random access LT Luby Transform BP belief propagation i.i.d. independent and identically distributed IoT Internet of things MTC machine type communication PER packet error rate SIC successive interference cancellation URLLC ultra-reliable low latency communication PMF probability mass function
Reliability-Latency Performance of Frameless ALOHA with and without Feedback
Francisco Lázaro1, Čedomir Stefanović2, Petar Popovski2 This work has been presented in part at ITG SCC, Hamburg, Germany, February 2017 [1], and IEEE Globecom, Singapore, December 2017 [2].This work of Petar Popovski has been in part supported by the Danish Council for Independent Research (Grant Nr. 8022-00284B SEMIOTIC).This work has been accepted for publication in IEEE Transactions on Communications.©2020 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting /republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works 1Institute of Communications and Navigation of DLR (German Aerospace Center),
Wessling, Germany. Email: [email protected]
2Department of Electronic Systems, Aalborg University
Aalborg, Denmark. Email: {cs,petarp}@es.aau.dk
Abstract
This paper presents a finite length analysis of multi-slot type frameless ALOHA based on a dynamic programming approach. The analysis is exact, but its evaluation is only feasible for moderate number of users due to the computational complexity. The analysis is then extended to derive continuous approximations of its key parameters, which, apart from providing an insight into the decoding process, make it possible to estimate the packet error rate with very low computational complexity. Finally, a feedback scheme is presented in which the slot access scheme is dynamically adapted according to the approximate analysis in order to minimize the packet error rate. The results indicate that the introduction of feedback can substantially improve the performance of frameless ALOHA.
I Introduction
Random access protocols find applications in scenarios where there is a number of users sharing a common transmission medium and there exists uncertainty regarding which users are active. They can be used both in the initial phase of grant-based access, where the active users contend with metadata in order to reserve the uplink resources for the subsequent data transmissions, or in grant-free access, where the active users contend directly with packets containing data. The former approach forms the basis of mobile cellular access, e.g., [3]. However, the latter approach has been gaining research momentum recently, e.g., [4], due its lower signaling overhead which makes it suitable for systems such as Internet of things (IoT), where the amount of exchanged data is small but the number of contending users may be large [5].
The first and still widely used random access protocols are ALOHA and slotted ALOHA [6]. Assuming a collision channel model, these two protocols offer low peak throughput ( and , respectively) and high packet error rate (PER) even for low channel load. However, it has been shown how the introduction of successive interference cancellation (SIC) at the receiver can lead to higher performance by leveraging on coding-theoretic tools [7, 8]. In practice, this implies storing and processing the receiver waveform and leads to higher receiver complexity. The results presented in [8] inspired a strand of works that applied various concepts from codes-on-graphs to design SIC-enabled slotted ALOHA schemes [9, 10, 11, 12, 13, 14], which are usually referred to by using the umbrella term of coded slotted ALOHA.
Frameless ALOHA [11, 15] is a version of SIC-enabled slotted ALOHA that exploits ideas originating from the rateless-coding framework [16]. In its original version, frameless ALOHA is characterized by a contention period that consists of a number of slots that is not defined a priori, and by a slot access probability for the users to independently transmit their packets in a slot. An asymptotic optimization of the slot access probability that maximizes the expected throughput was performed in [11], while a similar optimization in a cooperative, multi-base station scenario was recently considered in [17]. In [18], an evolution of frameless ALOHA was proposed which makes use of feedback, ZigZag decoding, and a dynamical variation of the slot access probability to improve performance. A joint assessment of the optimal slot access probability and the contention termination criteria in non-asymptotic, i.e., finite-length scenarios were assessed by means of simulations in [15].
The finite-length performance of frame-based coded slotted ALOHA schemes has been studied in [19, 14, 20, 21, 22]. Here we remark that, due to the fact that in such schemes every user selects a random set of slots in a frame in which to transmit, interdependencies among slots are introduced; thus, the finite-length analytical model is in essence intractable, and one has to resort to approximations. The error floor of coded slotted ALOHA over the collision channel in the finite length regime was studied in [19]. A frame asynchronous coded slotted ALOHA scheme was analyzed in [14, 20]. The scaling laws of coded slotted ALOHA were derived in [21]. In [22], the performance of several advanced random access protocols was compared over the collision channel and over the additive white Gaussian noise channel.
The focus of this paper on finite-length analysis of frameless ALOHA and of its reliability-latency performance with and without feedback. In particular, the considered feedback takes the form of an update of the slot access probability of frameless ALOHA, which is the default degree of freedom that can be used to optimize performance. This feedback induces multiple slot types in the contention, which substantially expands the design space, but also poses some challenges in terms of modeling and analytical performance optimization. The analysis presented in the paper characterizes statistically the reliability of muli-slot type frameless ALOHA for a predefined latency target, which in our context translates to a fixed number of slots in the contention period. The motivation of this approach stems from the fact that mission-critical services typically feature a given latency budget, which is also reflected in the proverbial reliability requirement of under the latency of 1 ms in the context of 5G ultra-reliable low-latency service category [23].111We also remark that extending indefinitely the contention period in frameless ALOHA will always be beneficial in terms of reliability; this is a general feature of the rateless-coding framework. However, a practical design target always involves limited latency, which in this case maps to limited number of overhead slots. The feedback scheme proposed in this paper exploits the flexibility that frameless ALOHA offers with respect to the frame-based schemes. Specifically, the considered scheme assesses the reliability at predefined intermediate checkpoint within a contention period and uses feedback to drive the contention process towards maximizing the number of decoded users, and thereby the reliability, given the latency target. In particular, the feedback sent by the access point to the users consists of an update on the slot access probability that should be subsequently used. This feedback induces a multi-slot type contention, since a new slot type is created whenever the slot access probability is changed. The proposed scheme adapts to the reliability-latency performance observed at multiple points, which allows for a finer control of the contention process. This paradigm change is a clear indicator of an enlarged design space compared to the frame-based designs that focus on just a single time instant, placed at the end of the latency budget. Finally, we show that the proposed feedback scheme outperforms frame-based schemes.
This paper builds on preliminary results from [1] and [2]. In [1] an exact finite-length analysis of frameless ALOHA was presented for the case in which all slots are statistically identical. This analysis was then extended in [2] to multiple slot types, sketching how the analysis could be changed to accommodate this extension without actually providing a full proof. The contributions in this paper are the following. We present in detail an exact, self-contained finite-length analysis of multi-slot type frameless ALOHA. Due to computational complexity, the analysis is only feasible for moderate number of users. This has been the motivation to extend the analysis towards deriving continuous approximations of the expected ripple size (the number of slots containing only one transmission) and its standard deviation. Based on these approximations, we propose a method to estimate the PER with very low complexity. Finally, we exploit this estimation of the packet error rate to propose a feedback based scheme in which the slot access probability of frameless ALOHA is adapted dynamically.222Note that, although the paper ultimately proposes the approximate method in order to deal with the computational complexity, the nature of the approximation is substantially different from the approximations employed in [19, 14, 20, 21, 22]. Specifically, in our case, the exact model and analysis of the problem are at hand, as shown in the paper, and one can, in principle, exactly assess the quality of the approximation. In case of the methods employed in [19, 14, 20, 21, 22], the analysis is from the very beginning approximate due to the interdependencies among slot selections by the users. We investigate the performance of the dynamic version of the scheme and show that it achieves a rather favorable performance, which progressively improves with the number of feedback opportunities at the expense of an increased computational burden.
The remainder of the paper is organized as follows. Section II provides a brief overview of frameless ALOHA and describes the system model. Section III presents the finite-length analysis, which can be used to obtain the exact probability mass function of the number of unresolved users for a given duration of the contention period. In Section IV, a low complexity approximate analysis of the frameless ALOHA decoder is presented, which is then used to estimate the packet error rate. Section V shows how it is possible to largely improve the performance of frameless ALOHA by introducing feedback and applying the analysis derived in this paper. Finally, Section VI concludes the paper.
II Background and System Model
II-A Background: Frameless ALOHA
Frameless ALOHA [11] can be regarded as a variant of slotted ALOHA with SIC that is inspired by rateless codes [16]. The time in frameless ALOHA is divided into equal-length slots and slots are organized into contention periods, whose length is a-priori not known. In order to transmit a packet, users must first wait until a new contention period starts. Next, in each slot of the contention period, every contending user transmits a replica of its packet with a predefined slot-access probability. This happens independently from the transmission in other slots and independently of the actions of any other contending user. Furthermore, the assumption is made that each packet replica contains information about the slots in which the other replicas of the same packet are placed. This could be accomplished by, e.g., enriching the packet header with the seed of a random number generator and the transmit decisions are determined by the output of this generator. Hence, when a packet replica is decoded, it provides information about the timing of all other replicas. The access point (AP) is required to store the waveform of the whole contention period and processes slots sequentially, leveraging SIC to remove the interference caused by replicas of decoded packets. Since every packet contains a pointer to the location of all its replicas, when a packet is successfully decoded, the receiver can determine the location of all its replicas and remove them from the received waveform. This reduces the interference in those slots containing replicas of the decoded packets and it may enable the receiver to decode more packets within those slots. This process is repeated until no more packets can be decoded.
This SIC process is not exclusive to frameless ALOHA, but common to all SIC-enabled slotted ALOHA schemes. The peculiarity of frameless ALOHA is the fact that the contention period (also known as frame) duration need not be a priori defined. The AP can trigger the SIC process after the reception of every slot, and decide whether to end the contention period and start a new one, or alternatively to let the contention period continue. This decision is made according to a predefined criterion, e.g., whether the target throughput has been reached and/or a predefined fraction of users have been resolved [15]. The start or termination of a contention period can be signaled to users by means of a beacon signal transmitted by the access point [15]. An example of contention period in frameless ALOHA is depicted in Fig. 1.
II-B System Model
We denote by the number of users contending for access to a single access point. The duration of the contention period in slots is denoted by ; note that is not a-priori fixed. Furthermore, we shall assume that different slot types exists. In particular, we assume that, out of the total slots, exactly are of type . Slots of type , are characterized by a slot access probability , given by , which is equal for all users. Hence, in a slot of type , every contending user will be active (send a packet) with probability , independently from its transmission in others slots, and from the actions of the other users. It is easy to verify that is the mean number of users that transmitted in a slot of type , and, thus, equal to the expected number of transmissions contained in the slot.
A collision channel model will be assumed. Hence, singleton slots, i.e., slots containing a single transmission, are decodable with probability , and collision slots, i.e., slots containing two or more transmissions, are not decodable with probability . Perfect interference cancellation will be assumed, i.e., the removal of replicas from the slots leaves no residual transmission power.333This assumption is reasonable for practical interference cancellation methods and moderate to high signal-to-noise ratios [8].
In order to model the successive interference cancellation process at the receiver, we introduce the following definitions:
Definition 1** (Initial slot degree).**
The initial slot degree is the number of transmissions originally occurring in the slot.
Definition 2** (Reduced slot degree).**
The reduced slot degree is the current number of unresolved transmissions in the slot, over the iterations of the reception algorithm.
Definition 3** (Ripple).**
The ripple is the set of slots of reduced degree 1, and it is denoted by .
The cardinality of the ripple, is denoted by and its associated random variable as .
Definition 4** (-th cloud).**
The -th cloud, , is the set of slots of type with reduced degree .
The cardinality of the -th cloud, , is denoted by and the corresponding random variable as .
Upon reception, the reduced degree of a slot is equal to its initial degree, since all users that are active in the slot are unresolved. During the decoding process, the reduced degree of a slot is decreased by whenever one of the unresolved users which are active in the slot is decoded and its interference is cancelled. Whenever the reduced degree of a slot in the -th cloud becomes , the slot leaves the -th cloud and enters the ripple. Note, however, that when the reduced degree of a slot decreases from, say, to , then the slot remains in the -th cloud. Similarly, when the only unresolved user in a slot belonging to the ripple is resolved, the reduced degree of the slot becomes [math] and the slot leaves the ripple. The slots of reduced degree [math] are not of further use in the analysis, and are thus not considered explicitly. The transition of slots between the clouds and ripple is depicted in Fig. 2.
In order to keep track of the temporal variation of the ripple and cloud sizes as the SIC process progresses, we introduce a subscript , which corresponds to the number of unresolved users. Thus, initially we have , and every time a user is resolved, is decreased by 1 until we have decoded all users, when . Thus, the ripple when users are unresolved is denoted by , its cardinality by and the random variable associated to it by . Similarly, when users are unresolved, , and denote the -th cloud, its cardinality and the associated random variable, respectively.
Let us consider the example in Fig. 1, and assume that there are two slot types. Further, let us assume that slot 1 and 3 are of type 1, whereas slot 2 and 4 are of type 2. Initially slots 1 and 2 have degree , hence they belong to the -st cloud and -nd cloud , respectively. Similarly, slot 4 is initially in the ripple, , since it has a degree of one. In the first decoding step, the only active user in slot 4, user 2, gets resolved and the replica transmitted by user 2 in slot 1 is cancelled. As a consequence, slot 4 leaves the ripple, while slot 1 leaves the -st cloud and enters the ripple. Hence, the -st cloud becomes empty. In the next step, user 1 is resolved, slot 1 leaves the ripple, and slot 2 leaves the -nd cloud and enters the ripple. Thus, the -nd cloud becomes empty. Finally, user 3 is resolved, and slot 2 leaves the ripple. In this case, all 3 users could be resolved.
Finally, we denote the slot degree distribution of slot type by , , where is the probability that a slot of type has initial degree . It is straightforward to verify that , , is given by
[TABLE]
Hence, the probability that a slot of type initially contains no transmission at all is , the probability that it initially belongs to the ripple is , and the probability that it initially belongs to the -th cloud is .
III Finite-Length Analysis
For the sake of convenience and without loss of accuracy, we shall assume that the receiver works iteratively. If the ripple is empty, the receiver simply stops. Otherwise, it carries out the following steps:
- •
Selects at random one of the slots in the ripple;
- •
Resolves the user that was active in that slot (i.e., decodes its packet);
- •
Cancels the interference contributed by the resolved user from all other slots in which its packet replicas were transmitted. This may cause some slots to leave the cloud and enter the ripple. Furthermore, some slots from the ripple may become degree zero and leave the ripple. These last slots correspond to the slots in the ripple in which the resolved user was active.
Thus, in each iteration, the reception algorithm either fails, or exactly one user gets resolved. These assumptions are made to ease the analysis and have no impact on the performance.
Following the approach in [24, 25, 1], the iterative reception of frameless ALOHA with different slot types is represented as a finite state machine with state
[TABLE]
i.e., the state comprises the cardinalities from the first to -th cloud and the ripple at the reception step in which users are unresolved. Each iteration of the reception algorithm corresponds to a state transition. The following proposition establishes a recursion that can be used to determine the state distribution.
Theorem 1**.**
Given that the decoder is in state , where users are unresolved, and (i.e., the ripple is not empty), the probability of the receiver transitioning to state , where users are unresolved, is given by
[TABLE]
with
[TABLE]
[TABLE]
and
[TABLE]
for , .
Proof:
See Appendix A. ∎
Recall that out of the slots in the contention period, exactly belong to slot type . We focus on slots of type , of which there are . The initial state distribution corresponds to a multinomial with experiments (slots) and three possible outcomes for each experiment: the slot being in the cloud, the ripple or having degree 0, with respective probabilities , and . Denoting by the random variable associated to the number of slots of type of reduced degree 1 when all users are still undecoded, we have
[TABLE]
for all non-negative such that .
If we observe that, when all users are still undecoded, the total number of degree one slots is given by
[TABLE]
we can obtain from (5) the initial state distribution of the receiver.
By applying recursively Theorem 1 and initializing as described the finite state machine, one obtains the state probabilities.
Let us denote by the probability that exactly users remain unresolved after a contention period of slots. Obviously, the event that exactly users remain unresolved corresponds to the event that the user resolution ends at stage . The probability of this event is simply the probability that the ripple is empty when users are still unresolved. Formally we have
[TABLE]
where the summations is taken over all possible values of , .
Thus, by applying Theorem 1 and then using (7), one obtains the probability mass function (PMF) of the number of unresolved users, given number of users and the duration of the contention period444Note that implicitly depends on the initial state distribution that is obtained through (5), while (5) depends on the number of slots of a given type , , and thereby on the total number of slots . .
The expected packet error rate , i.e., the probability that a user is not resolved, can also be derived from Theorem 1. In particular, we have
[TABLE]
Hence, the expected throughput is simply the ratio of the expected number of resolved users over the number of slots in the contention period. i.e.,
[TABLE]
As an example, in Fig. 3 we show the PMF of the number of undecoded users , i.e., for , when and , for frameless ALOHA with (i) a single slot type with mean initial slot degree , and (ii) two slot types, with slots of the first type, slots of the second type, with mean initial degrees and , respectively.555Recall that slot access probability of a type is . The figure shows analytical results according to Theorem 1 and the outcome of Monte Carlo simulations. It can be observed that the match is tight down to simulation error (100,000 contention periods were simulated). In this particular example, we can observe how has a bimodal distribution. Thus, there are two points in the decoding process in which the ripple has a higher probability of becoming empty. For the example in Fig. 3, the expected packet error rates for the contention with one and two slot classes correspond to and , respectively.
IV Approximation Using Differential Equations
The analysis presented in Section III can provide the exact probability mass function of the number of unresolved users, however, its evaluation is feasible only for a moderate number of users and a small number of slot classes. In some situations, such as when running a computer search to optimize a parameter, it is preferable to have an approximate analysis which can be efficiently evaluated.
Having this in mind, in this section we derive continuous approximations of the first and second moment of the ripple and clouds. These approximations are easy to evaluate and can be used to obtain an insight in the decoding process. Furthermore, we show how these approximations can be used to estimate the packet error rate.
IV-A State generating Functions
Our starting point to derive approximations of the distribution of the ripple and clouds is writing down the state generating function of the frameless ALOHA decoder, which is simply the probability generating function666The probability generating function is a representation of the probability mass function using power series. of the random variable associated to the state of the frameless ALOHA decoder.
Following the works in [24, 26, 27], which analyze the iterative LT decoding process, let us define the state generating function of the frameless ALOHA decoder as
[TABLE]
where represents the set of all valid decoder states,
[TABLE]
The following theorem establishes a recursion for the state generating function.
Theorem 2**.**
Consider a contention period with slots of different types and contending users, which in a slot of type are active with probability . For , we have
[TABLE]
where is given by
[TABLE]
and initial condition given by
[TABLE]
Proof:
See Appendix B. ∎
Theorem 2 can be used to derive the probability of decoding failure in a similar way as done for the LT decoder in [26]. In particular, we have that the probability that the decoder fails when exactly users are undecoded is , where is the all one vector. This corresponds to the probability that the ripple is empty. Hence, the probability that exactly users remain unresolved after a contention period of slots, , corresponds to:
[TABLE]
IV-B First Moment
Denote by and the expected number of slots in the -th cloud and the ripple, respectively. We have
[TABLE]
and
[TABLE]
where we recall that is the set of valid decoder states given in (11).
It is possible to express and as the first-order derivatives of the state generating function (12) in Theorem 2, evaluated at , where is the all one vector. In particular, we have
[TABLE]
and
[TABLE]
Let us first focus on . From (18) we have
[TABLE]
In [28] it was shown that, for , the drift term (20) is , leading to
[TABLE]
In a similar way, the expression for can be obtained differentiating both sides of the recursion in (12) with respect to and evaluating the expression at ,
[TABLE]
We again make use of a result in [28], where it was shown that for the residual term
[TABLE]
can be approximated as .
Recall that in frameless ALOHA, due to the contention mechanism, in a slot of type , users are active with a probability . This induces a binomial slot degree distribution given by eq. (1). If for a fixed contention period length, we look at the contention graph of frameless ALOHA from the perspective of slots, this is equivalent to saying that slots choose their neighbours uniformly at random and without replacement (a user can not be active multiple times in a slot).
Following [24], [27] the frameless ALOHA decoder can be approximated by introducing the assumption that slots nodes choose their neighbors with replacement in the bipartite graph representation of the contention process, i.e., the same user node can be chosen several times in the same slot. If a slot node has an odd number of edges connected to a user node, the user node will be active in that slot. If the number of edges is even , the user is not active in that slot. This approximation results in a slight decrease of the slot access probability . Nevertheless, intuitively the approximation becomes tighter as the number of users increases, since it becomes less and less likely that a slot chooses several times the same user.
Under the replacement assumption, the expression of becomes:
[TABLE]
where
[TABLE]
[TABLE]
and is the generator polynomial of the slot degree distribution of slots of type ,
[TABLE]
From (21) and (24) we obtain the following difference equation for the -th cloud
[TABLE]
Similarly, from (22) and (24) we obtain
[TABLE]
Let us now define the expected normalized size of the clouds and ripple respectively as
[TABLE]
and
[TABLE]
Making use of these definitions, and assuming , we can divide both sides of (25) by to obtain
[TABLE]
and the same can be done for (26) leading to
[TABLE]
As shown in [28], it is possible to approximate respectively by , which are the solutions to the following differential equations
[TABLE]
and
[TABLE]
These approximations are tight during almost all the decoding process except for the last few users that are decoded. In particular, it was shown in [28] that as long as is a constant fraction of , we have
[TABLE]
and
[TABLE]
Thus, the approximations become tighter for increasing .
Finally, the expression for and are obtained by solving the differential equations (29) and (30), giving rise to the following solutions [27]
[TABLE]
[TABLE]
where the values of the parameters and are determined by the initial conditions to the differential equations. In particular, for the clouds we have
[TABLE]
Hence, by imposing , we obtain
[TABLE]
For the ripple we have
[TABLE]
Thus, imposing yields
[TABLE]
IV-C Second Moment
In the following, we shall focus on the variance of the ripple, . By definition, we have
[TABLE]
Experimentally, we made the observation that the distribution of the ripple is approximately binomial (see Fig. 6). Under the assumption that is binomially distributed with parameters and , a continuous approximation of the variance of the normalized ripple is given by
[TABLE]
IV-D Numerical Results
Fig. 4 shows the expected normalized ripple and clouds sizes, as well as the normalized standard deviation of the ripple and their continuous approximation. The setting considered is users, slot types, slots, and . We can observe how the continuous approximation is very close to the actual expected normalized ripple size . There exists also a tight match between the normalized clouds and and their continuous approximations and . We can also observe how the match between and is tight.
Fig. 5 shows the absolute approximation error for , , and as a function of for a setting with slot types, and , . In particular, every subfigure shows the error at 4 different decoding instants (). All curves in the figure were obtained applying Theorem 1. We can observe how in all cases the approximation error decreases as the number of users increases. The approximation error for the expected ripple and cloud sizes decreases approximately as , which is in line with the error terms in (31) and (32). It is also remarkable how the approximation error for the ripple variance also decreases as the number of users increases, although this approximation was heuristically derived.
IV-E Approximation to the PER
We shall now see how the continuous approximations derived in this section can be used in order to estimate the expected packet error rate, , i.e., the probability that a user is not resolved. In particular, we shall make use of the continuous approximations of the expected ripple and of its standard deviation .
Fig. 6 shows the distribution of the ripple for users, , and at 4 different instants during the decoding process. In particular, the figure shows the probability mass function of the ripple cardinality when users are undecoded conditioned to the decoding process not failing for . That is,
[TABLE]
Moreover, the figure also shows the probability density function of Gaussian random variables with mean and standard deviation . We make several observations in relation to this figure. The first is that the ripple cardinality has a bell shaped distribution across the whole decoding process, which resembles a Gaussian distribution. The second is that a Gaussian curve with mean and standard deviation is reasonably close to the actual distribution of the ripple. In particular, we can observe how the Gaussian approximation is tight at the beginning and the end of the decoding process, but it is not as tight in the middle of the decoding process, owing to the aforementioned overestimation of the standard deviation of the ripple size. We would also like to remark that, while random variable is discrete, we are approximating it by a continuous (Gaussian) random variable.
Based on this observation, we can approximate the probability that exactly users remain unresolved after the end of the contention period, , as
[TABLE]
for and
[TABLE]
for , where is the tail distribution function of the standard normal distribution. The first term in (37) corresponds to the probability that a Gaussian distribution with mean and standard deviation takes a negative value. Hence, this first term corresponds to the probability that our estimation of the ripple is negative. The second term in (37) implies we are conditioning to the decoding process in the previous decoding stages ( down to ) being successful. An alternative way of interpreting this is that, according to our definition of , we have and by introducing the second term we are enforcing . Thus, we can approximate the expected packet error rate as
[TABLE]
Fig. 7 show the packet error rate as well as its approximation as a function of , for users, slot types, , and . The packet error rate has been obtained using (8) and applying Theorem 1, which is exact, whereas the results for have been obtained using (39). We can observe how the approximation of the packet error rate is tight. The fact that the estimation of the packet error rate is tight despite the fact that the standard deviation of the ripple is overestimated in the middle of the decoding process can be attributed to the fact that the dominating error event is that decoding stops at the end of the decoding process (when almost all users have been recovered). As we saw in Fig. 6, the estimate of the standard deviation of the ripple in this regime (at the end of the decoding process) is tight.
V Dynamic Feedback
In this section show how the approximation of the analysis presented in this paper can be used together with feedback in order to improve the performance of frameless ALOHA.777The idea of using feedback in frameless ALOHA to adapt the slot access probability has also been explored in [18], where the slot access probability is adapted after every slot in order to keep the expected number of unresolved active users per slot constant. However, the setting considered in [18] is different to the one considered in this paper, since it assumes that collisions of size two can be detected and resolved by employing ZigZag decoding. We assume that a perfect and zero-delay feedback channel exists from the access point to the terminals. This channel is used to notify users of the value of the slot access probability which has to be used in upcoming slots. We also assume that the contention period is divided into subperiods of duration slots, as depicted in Fig. 8. All slots belonging to the same subperiod are of the same type, i.e., they are characterized by the same slot access probability. At the end of the -th subperiod (after slots have elapsed), the AP runs the decoding algorithm to decode as many users as possible (until the ripple is empty). At this stage, denote by the number of users which are yet unresolved, and by the decoder state, with
[TABLE]
where is the number of slots in the -th cloud. Next, based on the number of unresolved users , the decoder state , and using as latency target a contention period duration of slots, the decoder computes the slot access probability to be used in the next subperiod, , and signals its to the users.
In particular, in order to determine the value of to be used, the AP assumes that the remaining slots up to will be of class . Thus, it sets . The AP now needs to determine the initial state of the frameless ALOHA decoder, given , and . The first step is determining the slot degree distribution of the slots of class , , taking into account that out of users have already been decoded. Let us denote by the random variable associated to the number of users which are active in a slot and by its realization. Let us also denote by the random variable associated to the number of unresolved users which are active in a slot and by its realization. We have
[TABLE]
Finally, the initial state distribution of the frameless ALOHA decoder, , is given by
[TABLE]
for , , …, , and for all non-negative such that , with . Otherwise, we have
[TABLE]
Hence, we initialize the , …, according to the decoder state at the AP (which is deterministically known), and and are initialized according to a multinomial distribution, similarly as in (5).
Thus, is obtained formally as
[TABLE]
where we have stressed that is a function of , , , and . Note that depends implicitly on through (40), and that is obtained by using Theorem 1. Hence, it is in principle possible to run a computer search to find the value of which minimizes the packet error rate. However, running such a search is computationally complex because it would require evaluating Theorem 1 multiple times888If we let be a constant, the number of unresolved users be a constant fraction of and the number of slot classes be a constant, we have that the number of possible decoder states when users are unresolved is . Furthermore, from a given decoder state when users are unresolved, the number to states that the decoder can transit to is also . This is a clear indicator that the complexity of the analysis does not scale well with the number of users.. Instead, we propose minimizing the approximation of the packet error rate derived in Section IV-E. This approach is suboptimal given the fact that we are minimizing an approximation of , but it makes the search for much faster. Thus, we obtain as
[TABLE]
where we remark again that that depends implicitly on through (40).
Fig. 9 shows the packet error rate as a function of the duration of the contention period in slots , for a system with users. Five curves are shown. The first one shows the performance of a static setting with , which is the value that minimizes for . This first curve was obtained from (8) after applying the finite length analysis in Theorem 1 for the particular case with only one slot type. The figure also shows the performance of a dynamic frameless ALOHA scheme in which is changed dynamically every slots in order to minimize at . In particular, four different values of are considered, , , and slots. The corresponding curves were obtained by means of simulations: for every value of , the simulation run until unsuccessful contention periods had been collected (a contention period is successful only if all users are correctly decoded). Finally, the figure shows also the performance of an IRSA scheme with degree distribution , taken from [8]. We can observe how the introduction of dynamic feedback decreases considerably the packet error rate. Furthermore, as one would expect, the performance of the dynamic scheme improves as decreases, that is, as the number of feedback messages increases. The curve for is particularly interesting, since one can observe how improves after every feedback and then it degrades as time elapses; the effect is clearly visible around . In the simulated setting, it seems that sending feedback every slots may represent a good trade-off in terms of performance vs number of feedback messages sent. Finally, if we compare the performance of IRSA to that of frameless ALOHA, we can observe that, for the latency target of , IRSA outperforms static frameless ALOHA, as well as dynamic frameless ALOHA with , which only uses one feedback message. However, if we allow for more feedback messages, dynamic frameless ALOHA outperforms IRSA. For example, dynamic frameless ALOHA with outperforms IRSA by more than two orders of magnitude.
The results in Fig. 9 indicate how the introduction of feedback can greatly improve the performance of frameless ALOHA. Additional improvements of the performance could be achieved by assuming a more capable receiver, such as one that can distinguish collisions of size 2 [18] or a receiver which can decode collisions of size [29].
VI Conclusions
In this paper we have presented a finite length analysis of multi-slot type frameless ALOHA. The analysis is exact, but its evaluation is computationally expensive and only feasible for moderate number of users. The analysis has been extended to derive continuous approximations of the expected ripple size and its standard deviation. The approximations have been proven to be tight and have also been compared with simulation results. It has also been shown how these approximations can be used to accurately estimate the packet error rate in frameless ALOHA, making it possible to analyze the performance of frameless ALOHA for large contention periods. Finally, it has been shown how the performance of frameless ALOHA can be substantially improved by introducing feedback and adapting the slot access probability dynamically using the approximate analysis.
Appendix A Proof of Theorem 1
Let us start by remarking that, given the fact that every users decides whether to transmit or not in a slot independently from other users, all users are independent and statistically identical. Furthermore, all slots are mutually independent. Thus, if we look at the decoder when users are unresolved, the set of unresolved users is obtained by selecting users at random among the total of users. In particular, the proof analyzes the variation of the clouds and ripple sizes in the transition from to unresolved users. Since we assume , in the transition from to unresolved users, exactly 1 user is resolved. All the edges coming out from the resolved user are erased from the decoding graph. As a consequence, some slots might leave the cloud and enter the ripple if their reduced degree becomes one, and other slots will leave the ripple if their reduced degree decreases from 1 to 0.
Let us first focus of the number of slots leaving and entering in the transition, denoted by and with associated random variable given by . Due to the nature of frameless ALOHA, in the decoding graph the neighbor users of a slot are selected uniformly at random and without replacement999In fact, it is users who choose their neighbor slots uniformly at random and without replacement.. Thus, random variable is binomially distributed with parameters and , being the probability of a generic slot of type leaving to enter ,
[TABLE]
We shall first focus on the numerator of (44) and we shall condition it to the slot having degree , . This corresponds to the probability that one of the edges of slot is connected to the user being resolved at the transition, one edge is connected to one of the unresolved users after the transition and the remaining edges are connected to the resolved users before the transition. In other words, slot must have reduced degree before the transition and reduced degree after the transition. It is easy to see how this probability, conditioned to , corresponds to
[TABLE]
for . In the complementary case, , it is obvious that the slot cannot enter the ripple. Thus, for we have
[TABLE]
Let us now concentrate on the denominator of (44), that corresponds to the probability that a slot is in the -th cloud when users are still unresolved. This is equivalent to the probability of slot not being in the ripple or having reduced degree zero (all edges connected to resolved users). Hence, we have
[TABLE]
where the first summation on the right hand side corresponds to the probability of a slot being the ripple, and the second summation corresponds to the probability of a slot having reduced degree zero. Inserting (45) and (46) in (44), the expression of in (4) is obtained, and the variation in size of the clouds is determined, i.e., the PMFs of the random variables are obtained.
We focus next on the variation in size of the ripple in the transition from to unresolved users. In this transition, some slots enter the ripple (in total slots), but there are also slots leaving the ripple. Let us denote by the number of slots leaving the ripple in the transition from to unresolved users, and let us refer to the associated random variable as . Assuming that the ripple is not empty101010If the ripple is empty, , no slots can leave the ripple. Moreover, decoding stops, so there is no transition., the decoder will select uniformly at random one slot from the ripple, that we denote as . The only neighbour of , will get resolved and all slots in the ripple that are connected to will leave the ripple in the transition. Hence, slot will leave the ripple, and, additionally, the remaining slots in the ripple will leave the ripple independently with probability , which is the probability that they have as neighbour. Thus, the probability mass function of is given by
[TABLE]
Note that, by definition, we have that and . Hence, the probability of transiting from state to state , with given by
[TABLE]
corresponds to
[TABLE]
The proof is finalized by observing that the joint distribution in (48), due to independence of , , and , is obtained as the product of the PMFs of the individual random variables, which yields (3).
Appendix B Proof of Theorem 2
We provide a proof only for the case of slot types. The proof follows closely [26, Theorem 1]. By definition, the state generating function of the frameless ALOHA decoder when users are undecoded can be written as
[TABLE]
Our objective is expressing as a function of . For this purpose, we must consider the contribution of all previous states to the future state . In the remainder of the proof, we shall drop the subscript for the sake of readability. As done in the proof of Theorem 1, we denote by the number of slots leaving in the transition from to undecoded slots. Furthermore, we denote by the number of slots leaving the ripple in the transition. Obviously, we have
[TABLE]
Thus, we can rewrite (49) as follows
[TABLE]
By grouping different terms together, we obtain
[TABLE]
We now take out the term from the summation. In case that , and cannot be both zero at the same time. Thus, we have
[TABLE]
By using in (57) the results of the following two finite sums
[TABLE]
[TABLE]
after some manipulation, we obtain
[TABLE]
which yields (12).
In order to complete the proof, we need to provide a proof for (15), which specifies the initial condition of the recursive expression given in (12). By definition, is simply the probability that before decoding starts () we have exactly slots in the first cloud, slots in the second cloud and slots in the ripple. Let us decompose as , , with and , where and represent the number of slots of type 1 and type 2 in the ripple, respectively. We have
[TABLE]
with
[TABLE]
where we remark that though and can take value [math], they cannot do so at the same time, since otherwise decoding would not be able to start.
From (5), we have that
[TABLE]
If we replace this expression into the right hand side of (66), compute the summation over the set of all valid states given in (69), and make use of the multinomial Theorem, one obtains (15). This completes the proof for . The proof for generic uses the same reasoning and follows exactly the same steps.
Appendix C Initial Conditions for Dynamic Feedback
Let us first consider the clouds, . For
[TABLE]
thus, we have
[TABLE]
For we have
[TABLE]
which yields
[TABLE]
For the ripple we have
[TABLE]
hence, imposing yields
[TABLE]
Acknowledgments
The authors would like to thank Gianluigi Liva for pointing out the possibility of applying the analysis tools of LT codes to frameless ALOHA.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] F. Lázaro and C. Stefanovic, “Finite-length analysis of frameless ALOHA,” in Proc. 11th International ITG Conf. on Sys., Commun. and Coding , Hamburg, Germany, Feb. 2017.
- 2[2] C. Stefanovic, F. Lázaro, and P. Popovski, “Frameless ALOHA with reliability-latency guarantees,” in Proc. of IEEE Global Commun. Conf. , Singapore, Dec. 2017, pp. 1–6.
- 3[3] 3GPP, “3GPP TS 36.321 V 15.4.0: Medium access control protocol specification; (Release 14),” Tech. Rep., Jan. 2019.
- 4[4] 3GPP, “Discussion on the reliability enhancement for grant-free transmission,” Tech. Rep., Aug. 2018.
- 5[5] A. Laya, L. Alonso, and J. Alonso-Zarate, “Is the random access channel of LTE and LTE-A suitable for M 2M communications? A survey of alternatives,” IEEE Commun. Surv. Tut. , vol. 16, no. 1, pp. 4–16, First Quarter 2014.
- 6[6] L. G. Roberts, “ALOHA packet system with and without slots and capture,” ACM SIGCOMM Comput. Commun. Rev. , vol. 5, no. 2, pp. 28–42, Apr. 1975.
- 7[7] E. Cassini, R. D. Gaudenzi, and O. del Rio Herrero, “Contention resolution diversity slotted ALOHA (CRDSA): An enhanced random access scheme for satellite access packet networks,” IEEE Trans. Wireless Commun. , vol. 6, no. 4, pp. 1408–1419, Apr. 2007.
- 8[8] G. Liva, “Graph-based analysis and optimization of contention resolution diversity slotted ALOHA,” IEEE Trans. Commun. , vol. 59, no. 2, pp. 477–487, Feb. 2011.
