Multi-player Multi-armed Bandits for Stable Allocation in Heterogeneous Ad-Hoc Networks
Sumit J Darak, Manjesh K. Hanawal

TL;DR
This paper introduces a decentralized multi-armed bandit algorithm for stable, collision-free spectrum allocation in ultra-dense, heterogeneous ad-hoc networks, addressing challenges of unknown channel qualities and dynamic user entry and exit.
Contribution
It proposes a novel low-complexity, epoch-less distributed algorithm for stable orthogonal allocation in both static and dynamic networks, with proven convergence.
Findings
Algorithm achieves stable orthogonal allocation in finite time.
Validated through extensive simulations showing effectiveness.
Handles heterogeneity and dynamics without inter-user communication.
Abstract
Next generation networks are expected to be ultradense and aim to explore spectrum sharing paradigm that allows users to communicate in licensed, shared as well as unlicensed spectrum. Such ultra-dense networks will incur significant signaling load at base stations leading to a negative effect on spectrum and energy efficiency. To minimize signaling overhead, an adhoc approach is being considered for users communicating in the unlicensed and shared spectrums. For such users, decisions need to be completely decentralized as: 1) No communication between users and signaling from the base station is possible which necessitates independent channel selection at each user. A collision occurs when multiple users transmit simultaneously on the same channel, 2) Channel qualities may be heterogeneous, i.e., they are not same across all users, and moreover, are unknown, and 3) The network could be…
| Algorithms | Channel Model | Network Model | Radio Model | Channel | Additional | ||||
| Allocation | Assumptions | ||||||||
| , MCTopM [9, 10, 11, 12, 13] | Homogeneous | Static | Narrowband | Optimal |
|
||||
| MC, MEGA, SCF, TSN/TDN [14, 6, 7, 8] | Homogeneous | Static and Dynamic | Narrowband | Optimal |
|
||||
| dE3 [15] | Heterogeneous | Static | Narrowband | Optimal |
|
||||
| M-ETC and ESER [16, 17] | Heterogeneous | Static and Dynamic | Narrowband | Optimal |
|
||||
| CSM_MAB [5] | Heterogeneous | Static | Wideband | Stable | |||||
| This work | Heterogeneous | Static and Dynamic | Narrowband | Stable |
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.
Multi-player Multi-armed Bandits for Stable Allocation in Heterogeneous Ad-Hoc Networks
Sumit J. Darak and Manjesh K. Hanawal Sumit J. Darak is with the Electronics and Communications Department, IIIT Delhi, India.Manjesh K. Hanawal is with Industrial Engineering and Operations Research Department, IIT Bombay, India.
Abstract
Next generation networks are expected to be ultra-dense and aim to explore spectrum sharing paradigm that allows users to communicate in licensed, shared as well as unlicensed spectrum. Such ultra-dense networks will incur significant signaling load at base stations leading to a negative effect on spectrum and energy efficiency. To minimize signaling overhead, an ad-hoc approach is being considered for users communicating in the unlicensed and shared spectrums. For such users, decisions need to be completely decentralized as: 1) No communication between users and signaling from the base station is possible which necessitates independent channel selection at each user. A collision occurs when multiple users transmit simultaneously on the same channel, 2) Channel qualities may be heterogeneous, i.e., they are not same across all users, and moreover, are unknown, and 3) The network could be dynamic where users can enter or leave anytime. We develop a multi-armed bandit based distributed algorithm for static networks and extend it for the dynamic networks. The algorithms aim to achieve stable orthogonal allocation (SOC) in finite time and meet the above three constraints with two novel characteristics: 1) Low complexity narrowband radio compared to wideband radio in existing works, and 2) Epoch-less approach for dynamic networks. We establish convergence of our algorithms to SOC and validate via extensive simulation experiments.
Index Terms:
Multi-player multi-armed bandit, ad-hoc networks, dynamic networks, distributed learning.
I Introduction
Next generation wireless networks such as 5G aim to offer the wide range of new services such as enhanced local broadband, high-speed multimedia, mission-critical control, private networks such as Industrial IoT and enterprise [1] via spectrum sharing. Such networks with diverse service requirements are expected to greatly enhance user experience [1]. Recently, 3GPP proposed a new radio (NR) based heterogeneous networks consisting of base stations of various sizes. Compared to existing networks, NRs can operate not only in licensed spectrum but also in the shared (2.3GHz/ 3.5GHz) as well as unlicensed spectrums (2.4GHz/ 5-7GHz/ 57-71GHz). Such network opens up many interesting challenges such as resource allocation, dynamic and context-aware network adaptation, and in-depth knowledge discovery in the complex environment for which machine learning and artificial intelligence frameworks offer novel solutions [1, 2, 3, 4].
The next generation networks are envisioned to work on the principle of separate signaling (large base station) and data infrastructure (small base stations) which allows adaptation of data network to the current traffic situation while maintaining the coverage. These networks will be ultra-dense with very high peak rate but relatively lower expected traffic per network node [1]. This makes signaling (control communications) component to be a substantial part of the network traffic leading to a negative effect on the energy and spectrum efficiency. Further, separate signaling and data infrastructures put a significant signaling load on the large base stations, especially in ultra-dense networks. To reduce this, the ad-hoc network approach is being considered for users utilizing unlicensed and shared spectrum [1, 2, 3, 4]. This not only reduces the signaling load at base stations but also allows the higher number of users per base station (dense networks). However, the channel selection needs to be done independently at each user since the ad-hoc network does not support any direct communication/coordination between users. In addition, channel statistics may not be known which requires it to be learned and further channel statistics may differ across the users. In this paper, we explore multi-player multi-armed bandit (MPMAB) framework which enables learning and coordination tasks at each user thereby improving the spectrum and energy efficiency of the ad-hoc networks.
MPMAB is a variant of the stochastic multi-armed bandits (MAB) where all players/users aim to maximize the total throughput in a distributed fashion by selecting a set of common arms/channels. Due to hardware and power constraints of battery operated users, we assume that a user can either sense or transmit but cannot do both simultaneously. Furthermore, a user can sense or transmit only over a single channel in each time slot. Such radio terminals are referred to as narrowband radios. In ad-hoc networks, the users cannot communicate/coordinate with each other and may not know the number of other users in the network. If two or more users transmit on the same channel simultaneously, they experience ‘collision’ and the packet needs to be transmitted again. Such collisions results in throughput loss and also do not provide any information about the channel status. In addition to unknown statistics, channels are heterogeneous where the average throughput on a channel may not be the same for all users. Later, we consider the dynamic networks where users may enter or leave without prior agreements. Even though all users employ the same algorithm, new users need to learn to coordinate without any prior knowledge of the status of the other users in the network. Such task poses a real challenge in the ad-hoc networks and is the focus of this paper.
We develop distributed algorithms for static and dynamic ad-hoc networks that enable users to reach a stable orthogonal configuration (SOC). Under SOC no two users would simultaneously improve their throughput if they swap their channels. Reaching an SOC quickly is critical as it allows the users to transmit on one of their preferred channels without incurring a significant number of collisions. Our contributions can be summarized as follows:
- •
For a static ad-hoc network with an unknown number of users and heterogeneous channels, we develop the dSOC_SN algorithm which converges in finite time to a SOC with high probability. The convergence rate is of order , where is a problem dependent constant and is the confidence parameter.
- •
For a dynamic ad-hoc network with heterogeneous channels and unknown number of users, we develop the dSOC_DN algorithm. We give a high probability upper bound on the time to reach a SOC after a user leaves or enters into the network. The dSOC_DN algorithm is the first algorithm for the dynamic heterogeneous networks and is based on the novel epoch-less approach (without restarting the algorithm).
- •
We validate the performance of both dSOC_SN and dSOC_DN algorithms through extensive simulations. They outperform the state-of-the-art algorithm in [5] for heterogeneous ad-hoc networks.
- •
Our algorithms need low complexity single antenna narrowband radio compared to wideband radios in existing works such as [5]. Unlike [6, 7, 8], the dSOC_DN algorithm does not require global clock synchronization for new users thereby further reducing the algorithm and radio complexity. These advantages make our algorithms suitable for decentralized and battery operated networks.
The paper is organized as follows. The related work and network model are discussed in Section II and Section III, respectively. The proposed algorithms and their analysis are presented in Section IV and Section V for static and dynamic networks, respectively. The simulation results are presented in Section VI and Section VII concludes the paper.
II Related Work
Various works dealing with the coordination in the multi-user ad-hoc networks have been discussed in the literature. In this section, we focus on works employing the multi-armed bandit (MAB) based approach for channel selection The MAB approach provides a standard framework for learning in uncertain environments [18, 19] and is applied extensively in the study of centralized as well as ad hoc networks. In this paper, we focus on the multi-player extension of MAB framework where multiple players play the same set of arms. Here the algorithms are augmented with the distributed signaling schemes that aim to achieve optimal sum reward for the players without requiring a central coordinator or a control channel. We use the and to denote the number of users and channels, respectively.
[11] is one of the first distributed algorithms for a static homogeneous ad-hoc network with known number of users. It combines the well known upper confidence bound (UCB) with rank based randomization approach to orthogonalize users in the best channels. Though offers asymptotic logarithmic regret (throughput loss), it incurs a large number of collisions in the process. Subsequent algorithms in [9, 10, 12, 13] are based on , and offer further improvement in performance by reducing the number of collisions. MCTopM algorithm in [12] achieves faster orthogonalization with a better back-off mechanism on collisions. Recent works in [13, 20] consider a restricted feedback setup where the users cannot observe collisions and manage to develop algorithms with logarithm regret. The works in [7, 8] consider distributed channel assignment in ad-hoc networks where users opportunistically transmit on licensed channels. The major drawbacks of these algorithms [9, 10, 11, 12, 13, 20, 7, 8] are that they need prior knowledge of , require network to be static and homogeneous. Such assumptions are unrealistic in ad-hoc networks and they do not extend to the cases when any of these assumptions do not hold.
Recently, attempts are made to study both static and dynamic netwroks in homogeneous setting [14, 6, 21, 22] have been proposed to overcome these drawbacks. The MEGA algorithm [14] uses the classical -greedy MAB algorithm and ALOHA based collision avoidance mechanism. Though collision frequency reduces in MEGA as the game proceeds, it may not go to zero as shown in [6]. To overcome this [6] develops MC algorithm that incurs collisions due to random hopping (RH) in the initial learning phase and guarantees collision-free access over optimum channels subsequently. Though MC performs better than MEGA, its performance in the learning phase is poor – MC forces a large number of collisions to get a good estimate of . TSN and TDN algorithms in [21] overcome these issues by using ‘Trekking’ approach where users orthogonalize on top arms without estimating .
The algorithms in [15, 16, 17, 5, 23] work for the heterogeneous channels. They force collisions to exchange information between the users. Specifically, the players collide with others in a specific pattern to convey their estimate of rewards or preference of channels. The dE3 algorithm in [15] employs Bertsekas auction algorithm which requires the users to exchange bids to win the channel of their preference via collisions. ESER [16] and M-ETC [17] algorithms allow users to exchanges the mean values they observe with others via collisions. These algorithms achieve near-logarithmic regret (logarithm when the optimal allocation is unique). However the main drawback of dE3, M-ETC, ESER is that they require frequent exchange of information between the users resulting in significant throughput loss due to signal overheads. Coordinated Stable Marriage MAB (CSM_MAB) algorithm in [5] overcomes the need for frequent communications by aiming to achieve stable allocation rather than optimal allocation. However, it requires that all users to simultaneously sense all channels (wideband sensing) which is, as discussed later in this section, computationally complex and expensive and hence may not be suitable for low cost, battery operated user terminals. Our goal in this work is to achieve stable allocation as in [5] in a heterogeneous network with minimum signaling overhead and using simpler narrowband radios that are well suited for ad-hoc networks with power constraints.
Our contributions in this work is to design distributed algorithms for heterogeneous channels for both static and dynamic network scenario. Furthermore, in our work each user can sense and transmit over only one channel in each time slot (narrowband sensing) which is more realistic and computationally efficient than wideband sensing in [5]. Our novel block structure makes the protocol simple, easy to implement and achieves performance better than that achieved by CSM_MAB using wideband sensing [5]. It also ensures the stability of the network when as discussed in Section V-E and also overcomes the need of global clock synchronization which is a significant advantage for the dynamic networks.
II-A Radio Models
One of the major aspects of the distributed algorithm is the capability of a radio terminal. Existing distributed algorithms consider various types of radio architectures which not only impact the learning period but also the complexity and performance of the distributed algorithm. These architectures offer a trade-off between sensing/transmission capability and implementation complexity. For instance, [5] considers sophisticated radio terminals with two independent analog signal processing (ASP) blocks each consisting of an antenna, matching units, amplifiers, analog-to-digital or digital-to-analog converters, etc. One ASP block is used for narrowband (single channel) transmission while second ASP block can sense all channels simultaneously, i.e. wideband sensing. Such wideband sensing makes an estimation of trivial and simplifies coordination since users can differentiate between users on different channels. However, the wideband channel sensing needs high-speed ADCs making ASP as well as subsequent digital baseband processing complex and power hungry, and hence not suitable for battery operated radio terminals [24]. The non-contiguous wideband channel sensing is even more challenging. Another architecture consisting of two narrow-band ASP blocks which allow simultaneous transmission and sensing over different channels have been considered in [15]. In this paper, we consider the architecture which has the lowest complexity among the three. It consists of a single narrowband ASP chain which allows either transmission or sensing over a single channel in a given time slot. Such architecture can detect the presence of another user on their channel either by experiencing collision or sensing but cannot estimate the number of collided or sensed users. Furthermore, the architecture cannot sense multiple channels simultaneously making the orthogonalization and establishing coordination extremely challenging than in [15, 5]. In Table I, we compare existing distributed algorithms with respect to various parameters.
III Network Model
Consider an ad-hoc network consisting of users competing for channels in an unlicensed spectrum. We assume the communication is time slotted, and the users are clock synchronized with respect to the beginning of each time slot as in [14, 6, 7, 8, 15, 5, 11, 9, 10, 22]. In each time slot, each user can transmit only once over any one of the channels. When two or more users transmit simultaneously on a channel, a collision occurs and all the users involved in the collision need to re-transmit the lost packet. The users are not aware of how many other users are present ( is unknown) and no central coordinator exists to facilitate their channel selections.
Another major characteristic of our network is that the channels are heterogeneous, i.e., the expected reward/throughput on a channel depends not only on the channel but also on the user selecting it. Such model is more practical than homogeneous channels in [6, 7, 8] as it considers location-dependent channel conditions. Let denote the expected reward for user on channel on a collision-free transmission. These mean values are unknown to the users and user can only observe , i.e., all observations are local and a user does not know the expected reward offered by the channels to other users. The reward observed by a user on a channel under collision-free transmissions is assumed to be independently and identically distributed. The same setup is also considered in [15, 5].
The performance of a distributed algorithm is compared in terms of expected rewards/throughput. The maximum reward is achieved when all users are on orthogonal channels and channel allocation guarantees maximization of the sum of rewards over all users. Formally, let denotes an orthogonal allocation of the users to the channels and denotes all such possible allocations. Then, the maximum expected reward is given by
[TABLE]
To achieve each user need to know the expected reward of all channels for all users. This requires all the users to share their observation with all other users in the networks which either need direct communication between users or sophisticated signaling scheme. Instead, we focus on achieving a stable orthogonal allocation configuration (SOC) [5] where no two users can simultaneously agree to swap their channels without one of them getting a ‘less preferred’ channel than its current one.
To explain SOC, we first define the rank of a user which corresponds to the number of channels whose expected reward is higher than the current channel the user has selected. For the -th player, its value in the round is given by,
[TABLE]
where indicates the channel selected by user in time slot using policy . The total rank of the network (also called network potential) is given by
[TABLE]
An assignment is said to be SOC if a swap of channels between any pair of users or switch to the vacant channel do not strictly decrease network potential. For a network in SOC, the user will have no incentive to request any other user for a swap of their channels, hence channel switches/swaps will not occur. Our aim is to design distributed algorithms that converge to a SOC as quickly possible. We note that there could exist multiple SOCs.
IV Static Network: Algorithm and Analysis
In this section, we consider the static network where all users simultaneously enter into the network at the beginning () and remain active until the end. We describe an algorithm named distributed Stable Orthogonal Configuration for Static Network () and analyze its performance.
IV-A dSOC_SN Algorithm
The algorithm comprises of two phases: 1) Random hopping (RH), and 2) Sequential master and channel switching (SMCS). The pseudo code is given in Algorithm 1, where indicates the number of channels. The same algorithm is run independently at each user. For the th user indicates the channel on which user gets locked in the RH phase.
IV-A1 Random Hopping (RH) Phase
The RH phase allows users to orthogonalize on different channels. This phase is an adaption of the RH phase in [7] where licensed spectrum is considered as opposed to unlicensed spectrum here. The pseudo code of the RH phase is given in Subroutine . In RH phase, each user selects a channel drawn uniformly at random (line ) in each time slot. Once the user observes a collision-free transmission on a channel, user locks on that channel and we refer to it as the reserved channel of the player. The duration of the RH phase is fixed and is set equal to (See Lemma 1). Each player can can lock on its reserved channel at any slot within RH phase, and once locked, she plays her reserved channels in the rest RH phase. If user does not get reserved channel within slots, she has to leave the network.
IV-A2 Sequential Master and Channel Switching (SMCS) Phase
All users enter into the SMCS phase at time and continue in that phase till the end. In this phase, the users maintain a list of their preferred channels, i.e., the channels that are better than their current one, and taking turns, request other users who are currently on one of their preferred channels to switch their channel with them. If a preferred channel happens to be unoccupied, it is simply taken, otherwise, the user gets it only if the other user accepts the switch request. The other user accepts the request only if the channel she will be shifting to is also one of her preferred channels, otherwise, she rejects the request. If the switch request is rejected, the user tries her next preferred channel. To allow such negotiations, we divide the time slots into blocks which further consists of sub-blocks. The SMCS phase involves two tasks: 1) Statistic learning to rank the channels as per their throughput, and 2) Channel switching. We first discuss the novel signaling scheme which allows users to switch their channel without direct communication followed by MAB algorithm based statistic learning.
IV-B Signaling for Channel Switching
The SMCS phase consists of a sequence of one hot switching (OHS) blocks each of time slots that repeat one after another. Each OHS block consists of master blocks (MB) and each master block is made up of time slots. Fig. 1 gives the structure of the OHS and master blocks. The duration of each OHS block is slots.
Each user uses the channels they get at the end of the RH phase as their reserved channel and attempts to get a channel that is currently being ranked higher than her current reserved channel by its own MAB algorithm (discussed in next sub-section). This is achieved by allowing each user to become a master in a specific MB. At any time, only one user is allowed to be a master while all other users continue to transmit on their respective reserved channels and are referred to as non-masters. When a user becomes a master, she requests other users for a switch of channels that are better than her current channel. If she gets a better channel, she continues to transmit on it till she becomes the master again. If she moves to a new channel, it becomes her reserved channel, otherwise, the current channel will be her reserved channel.
In the MB, the user on the channel becomes the master and gets a chance to move to a better channel by sending switching requests on channels that are better than her current channels. This is felicitated by a signaling scheme defined as follows: The MB block consists of sub-blocks (SB) of two slots each (See Fig. 1(c)). The first slot in each SB is referred to as channel transmit (CT) and the second as channel switch (CS). In the th SB, master selects her th preferred channel111[math]-th preferred channel corresponds to her current reserved channel and transmits. If a no collision is incurred in the CT slot, then it implies that no user is present on that channel and the master switches to it and makes it her reserved channel (scenario ). If a collision is observed in a CT slot, it implies that another user is present on that channel and the master transmits on the same channel in the next CS slot. If the master does not encounter a collision in the CS slot after the collision in previous CT slot, it implies the current user on that channel is not willing to exchange her channel and rejected master’s request to switch channels (scenario ). If the master encounters a collision in the CS slot, it implies that the user on the current channel accepts master’s request for channel switch (scenario ), in which case the master switches to the requested channel and makes it her new reserved channel. These and other possible scenarios are given in Fig 2. If the master gets a new channel no more switches are requested in the current MB, otherwise the process is repeated in the next SB for the next preferred channel.
IV-C Learning the Channel Statistics
As discussed in Section III, users are not aware of the expected reward/throughput they receive on each channel and need to learn and index (or rank) them. We employ the multi-armed bandit (MAB) approach based learning algorithm to find the index for each channel. Various indexing methods based on Upper Confidence Bound (UCB), Bayes-UCB algorithm, Thompson Sampling (TS) can be used [kaufmann]. In this paper, we focus on indexing based on UCB and its analysis. However, our algorithm can work with other indexing methods as well. The UCB algorithm is based on exploration-exploitation trade-off and its indexing is based on the optimistic estimates of mean rewards. For the user, the channels are indexed based on the UCB scores given as [18, 19],
[TABLE]
where is the total reward received by user on channel when it was chosen for time slots. The UCB algorithm is asymptotically optimal in the sense that it selects the sub-optimal channels an exponentially smaller number of times compared to the optimal channel.
IV-D Duration of Master Block
Note that the block structure allows the users to identify the reserved channel of the master in each MB which helps them to decide whether to accept or reject a request to switch. Specifically, if a user receives a switch request in the -th MB, then she knows that she will move to -th channel on accepting the request.
Since there are channels, a master can switch to any one of the () channels which means the duration of MB can be set at most slots. However, we force the master to transmit on its reserved channel in the first SB and thereafter follows its preference list in the rest of the () SB. Hence, the duration of MB is slots. As we will see later in Section V, this block structure allows new users to synchronize with the existing users in the dynamic networks easily.
IV-E Pseudo Code
The pseudo-code of the SMCS phase is summarized in Subroutines . indicates the reserved channel of the user and it is the channel on which the user had recently locked. For example, when user enters in the SMCS phase. After entering into the SMCS phase, the user can either be in master or non-master mode based on the index of the reserved channel (lines : Subroutine ). In the master mode (Subroutine ), master identifies the index of the SB. As mentioned before, in the first SB of each MB, the master transmits on its reserved channel (line : Subroutine ). In the rest of the SB blocks, master selects the channel based on the preference list obtained using the UCB algorithm (line : Subroutine ). As discussed before, master moves to non-master mode in one of the three scenarios: 1) No collision in CT slot (lines : Subroutine ), 2) 1) Collisions in CT and subsequent CS slots (lines : Subroutine ), and 3) End of the MB block (lines : Subroutine ).
The pseudo-code for channel selection in non-master mode is given in Subroutine . If the non-master faces collision in the CT slot, it checks whether the reserved channel of the master (i.e.,the channel with index MB) is better than her current channel. If yes, non-master accepts the switch request by transmitting in the subsequent CS slot, updates and moves to the new reserved channel (lines : Subroutine ). Otherwise, she remains silent in the CS slot indicating switch reject (line : Subroutine ). If there is no collision in the CT slot, non-master transmits on the reserved channel in the CS slot (line : Subroutine ).
IV-F Analysis
We analyze the performance of the algorithm and show that it leads to a stable orthogonal configuration (SOC). Our main result is the following theorem.
Theorem 1
Consider a network with channels and users with channel rewards characterized by for all and . For any , set as in Eq. 5. Then, there exists such that for all , the probability of the network being in an SOC is at least .
We prove the result using the following lemma. Its proof is given in the appendix.
Lemma 1
Let . If RH sub-phase is run for number of time slots, then all the users will orthogonalize with probability at least where
[TABLE]
The lemma guarantees that the users are orthogonalized with probability at least at the end of the RH sub-phase. We next prove the theorem conditioned upon this event. The proof is an adaptation of the proof of Thm in [5] to our specific block structure.
Outline of Proof of Thm. 1: Note that the block structure is designed such that even if user’s request to swap on a channel is rejected, she still gets to observe a reward/throughput sample from that channel (in CS slot). Thus the master gets to explore the channels in a master block as if she is the only user in the network. Also, each user gets to observe many samples of each channel due to the inherent exploration component in the UCB Index given in Eq. 4. Then, following the same arguments as in the proof of Lemma in [5], if all channels are sampled at least number of times by time , then all the users will have a correct ranking of the channels (with respect to the true means) with probability at least . Thus, any channel switch thereafter results in both users moving to their better channels leading to decrease in network potential. The value of is given by
[TABLE]
where
[TABLE]
However, for the specific block structures designed for coordination, each user may not get an informative reward sample in each time slot. A master in a MB will get at least samples, while a non-master will get at least samples. Hence over an OHS block consisting of slots, each user will get at least informative samples. Also, the minimum number of samples given in Eq. (6) should be satisfied for all channels. Hence, the condition on the smallest such that Eq. (6) holds across all channels is given by
[TABLE]
Again using [5][Lemma 1], we can show that the smallest , denoted , satisfying Eq. (6) is finite and satisfies
[TABLE]
Thus, for all every channel switch results in both users switching to better channels and the network potential decreases.
Further, note that the maximum value of the network potential is at most . In each OHS each player gets a chance to switch channel by becoming a master. Hence it takes at most OHS slots to reach stable allocation after . As potential decreases in a channel switch happens provided the users have correct ranking of the channels in that round. Hence the probability that the network is in SOC within (each user got attempts to switch) slots after initial slots is at least
[TABLE]
c For any , let and denote the events that network is in SOC and not in SOC, respectively. We have
[TABLE]
Then, for any
[TABLE]
Setting and solving we get
[TABLE]
Then, for all the network will be in a SOC with probability at least . Taking into account the initial rounds of random hopping in which orthogonalization happens with probability at least , we conclude that for all , the network will in SOC with probability at least . This completes the proof. ∎
V Dynamic Network: Algorithm and Analysis
In this section, we consider dynamic networks where users can enter or leave the network anytime without prior agreement. Very few algorithms can be extended for dynamic ad-hoc networks and they assume global synchronization which means new users have complete knowledge about the status of the network. For example, in [6, 8, 15], algorithms exploit the full knowledge of network state and restarts at regular intervals to account for the dynamic users. However, requiring complete knowledge of the network state is restrictive as non-active users need to continuously sense the network without utilizing the energy efficient sleep mode. We remove such restriction by allowing users to identify the parameters of the block on their own. Our block structure is designed in such a way that the new users can figure out the current state of the network themselves within a few rounds.
V-A dSOC_DN Algorithm
When a new user enters into the network, she does not have any knowledge about the current MB and the slot type (CT/CS). Her first task then is to synchronize with the network to identify parameters such as index of the MB and know which slot is CT and CS. In an ad-hoc network where there is neither a central controller nor control channel between users, synchronization is a difficult task unless existing users help or guide the new users. To achieve synchronization among the users without the need of global clock and horizon synchronizations, we develop the dSOC_DN algorithm with appropriate modifications to the dSOC_SN algorithm. The pseudo-code of the dSOC_DN algorithm is given in Algorithm . It consists of two phases: 1) Synchronization phase, and 2) SMCS phase. The synchronization phase enables users to identify block parameters such as and its reserved channel, while the SMCS phase is identical to that in the dSOC_SN algorithm with two modifications discussed below to aid the synchronization.
V-B Modified SMCS Phase
Recall that in the dSOC_SN algorithm all active users transmit on their reserved channels in the first sub-block of each MB. In the modified SMCS phase, only the master is allowed to transmit on the reserved channel while other users remain silent in the first sub-block of each MB. The first sub-block of each MB is referred to as synchronization sub-block (SSB) as it will help new users to synchronize in the network. For illustration, if a new user observes that no transmission happen for two consecutive time slots on an occupied channel, then she knows that the first slot where no transmission happened is the CT slot. Thereafter, slots alternate between CS and CT. The second modification prohibits the users to leave the network when they are in the non-master mode. Specifically, when a user has to leave she will do so only at the start of the MB where she is supposed to be the master. Without such restriction, the new user will not have sufficient information to identify the block parameters using SSB and she will have to frequently switch to other channels whenever the existing user leaves the network at arbitrary times.
Note that the leaving user has to delay its departure by at most one OHS duration, i.e., is slots, which is a vanishing portion of the horizon size and hence this assumption is not overly restrictive. This restriction applies only to the leaving users and the new users can enter any time. Existing algorithms also put such restriction on entering and leaving users. For instance, [6] does not allow the users to enter and leave during the learning period which is significantly large of the order . Similarly, [8] does not allow players to leave during learning period of duration approximately .
V-C Synchronization Phase
A new user starts with the synchronization phase after entering into the network. In this phase, the new user randomly selects a channel in each slot until it finds a channel that is occupied by another user. Once the new user finds an occupied channel, it stays on that to find the network status. Such channel is used by the new user to find network state and it is referred to as ’piggyback channel’ while the user on the piggyback channel is referred to as ’piggyback user’. We say that a new user has entered into the piggyback phase once she finds an occupied channel. In piggyback phase, the user senses the same channel continuously till it observes no transmission for two consecutive time slots immediately followed by at least one transmission. After identifying such time slots (i.e., SSB), a user can easily differentiate between CT/CS time slots. However, a new user cannot know the index of the MB block, , without which it cannot enter into the SMCS phase.
In order to find , a new user has to sense the piggyback channel until one of the two events happen: 1) Piggyback user becomes master, or 2) Piggyback user leaves the network. When a piggyback user becomes master, a new user can sense transmissions instead of silent SSB. Similarly, when a piggyback user leaves the network, a new user will sense silent slots for at least time slots. In each case, is same as the index of the piggyback channel. Note that both these events can happen only once in the OHS block and since the duration of OHS block is time slots, a new user must sense the piggyback channel for time slots in the piggyback phase. After that, the new user is guaranteed to have estimated and can enter into the SMCS phase.
After synchronization and before entering into the SMCS phase, the new user needs to have its own reserved channel. It is identified by sequentially sensing the channels until she finds a vacant channel which is not occupied by any of the active users. Note that new user cannot take the reserved channel of the current master and this can be easily avoided as she has complete knowledge of block parameters.
The pseudo code of the proposed synchronization phase is given in Subroutine 5. When a new user enters into the network, she selects the channel uniformly randomly (line 5) and senses it. The user enters into the piggyback phase if the channel is sensed as occupied (line 6). When the user senses the channel as vacant for two consecutive time slots, the user is said to be synchronized () (line 9). Thereafter, user senses the channel for at most time slots to identify the (line 12) and enters into the SMCS phase after identifying the reserved channel (line 13).
Next, we demonstrate the switching from synchronization to SMCS phase using a suitable example. For illustration, we highlight the channel selection of various users during certain interval of the horizon, say to . As shown in Fig. 3, -axis represents time, -axis represents the channel index and a number inside the circle indicates a particular action. The index of the MB is shown using red colored dark circles and OHS regions are indicated with the different colors. For instance, action 3 shows the boundary between OHS blocks. The Fig. 3 begins with fifth MB of OHS block and comprised of one complete OHS block followed by four MBs of the next OHS block. There are three users (U1, U2, and U3) in the beginning and their channel selections are indicated using different lines. Action 1 indicates entry of new user, U4, at . After entering into the network, U4 selects channel 5, 7 and 3 uniformly random and senses it. Once she senses the channel 3 as occupied, she enters into the piggyback phase. The duration of the piggyback phase is indicated using a yellow shaded region (action 2). As soon as U3 becomes a master, U4 completes its piggyback phase (action 4), identifies the channel 2 as its reserved channel and enters into the SMCS phase. You can also observe the channel swapping or switching between master and non-masters at different instants in Fig. 3. For example, action 5 indicates exit of U1 when she is master while action 6 indicates the channel switching between U3 and U4. Similarly, in the last MB, U2 switches to the channel vacated by U1. In this way, proposed algorithms allow the network to reach SOC within a finite time after every entry or exit of a user.
V-D Analysis
Next, we analyze the performance of the algorithm and show that it leads to a stable orthogonal configuration in finite time after entry or exit of users. Our main result is the following theorem.
Theorem 2
Consider a network with channels and users with channel rewards characterized by for all and . For the network in SOC, if and are the number of users enter or leave the network, respectively, then after number of time slots from the recent entry or exit event, the network will be back in SOC with probability where .
We prove the result using the following lemmas. Their proofs are given in the appendix.
Lemma 2
*In a network consisting of channels and users, the new user will need at most number of time slots to complete the synchronization phase, identify the reserved channel and enter into the SMCS phase. *
Lemma 3
For a network in SOC and , when new user begins its SMCS phase, the network will be in SOC again with probability after number of time slots assuming no user enters or leaves the network during this period where
[TABLE]
where
[TABLE]
[TABLE]
Lemma 4
For a network in SOC and , when one of the users leaves the network, the network will be in SOC again in at most number of time slots provided that no new user enters or leave the network.
Outline of Proof of Thm. 2: The time required for the network to be in SOC depends on the duration of three events: 1) Time required for a new user to enter into the SMCS phase, (Lemma 2), 2) Time required for a new user to learn the channel statistics and minimize the network potential, (based on Lemma 3)), 3) Time required for the network to reach SOC after an exit of the user, i.e. time slots (Lemma 4).
To find , we do following modifications in Lemma 3 and Theorem 1. We replace with where since new user has to learn the qualities of channels where is the number of users left the network. Similarly, we replace with such that as there are new users and maximum possible decrease in potential can be . Here, indicates the probability that the network is in SOC within time slots after initial time slots from the slot -th user enters into the network. Based on these modifications, we get
[TABLE]
Then, in time slots after recent entry or exit, the network will be in a SOC with probability at least . This completes the proof. ∎
V-E More Users than Channels
When the number of users is more than the number of channels, i.e., , there can be two possible options in ad-hoc networks: 1) Allow all users to enter into the network using virtual channels, and 2) Restrict some users from entering the network (or in dynamic networks, users can attempt to enter into the network after certain intervals). Existing algorithms such as [6, 14, 12, 10, 5, 23, 13, 11] fail when . Virtual channels are used in [22] which requires a central controller to include () virtual channels for collision-free sequential hopping. Furthermore, as shown in [8, 7], it is not an efficient algorithm when .
The dSOC_SN algorithm handles scenario by offering the second option in the RH phase. When a user gets locked on the channel in the RH phase, it enters into the SMCS phase after time slots, i.e. at the end of RH phase, and those who do not lock on a channel can leave the network in at most time slots. By the end of the RH phase, () users will experience continuous collisions within the RH phase which is an indication that all the channels are utilized and hence they can leave the network.
In dynamic networks, users can re-enter the network after a certain interval which depends on the rate at which users enter or leave the network. In each case, a new user needs to complete the synchronization phase and identify the reserved channel before entering into the SMCS phase. The new user cannot find the reserved channel when . Thus, in (See Lemma 2) time slots after identifying the , new user can realize the unavailability of the reserved channel and leaves the network. As long as users remain active in the network for a short duration, new users can enter the network whenever channels are available. In this way, our algorithms handle the case of without compromising on the stability of the network.
VI Experimental Results
To demonstrate the effectiveness of the proposed algorithms, we present the simulation results for comparison with respect to parameters such as: 1) Network potential, 2) Average and total reward/throughput, 3) Number of channel switching, and 4) Number of collisions. Initially, we consider and . Each numerical result presented here is obtained after averaging over 100 independent experiments and the horizon size is 100000 time slots. The channel statistics are unknown, heterogeneous and chosen randomly in each experiment.
VI-A Static Network
For static networks, the performance of the dSOC_SN algorithm is compared with the state-of-the-art Coordinated Stable Marriage Multi-Armed Bandit (CSM-MAB) algorithm in [5]. Note that CSM_MAB needs wideband sensing receiver consisting of two parallel ASP blocks and computationally intensive digital baseband processing algorithms compared to a single antenna and ASP-based narrowband radio for the proposed algorithms. For benchmarking, we use an allocation obtained by the Hungarian-algorithm (bipartite matching algorithm) with known channel statistics matrix . In this allocation, the players are orthogonalized and achieve optimal reward without incurring any collisions. We also consider heuristic dSOC_SN, referred to as dSOC_SN_H, which differs from dSOC_SN in two ways: 1) The size of the MB is reduced to time slots instead of time slots, and 2) Master avoids the particular channel for certain interval whenever switch request for that channel gets rejected. If the switch request gets rejected for time, the channel will be skipped for subsequent OHS blocks and the count, , is reset to zero whenever the master changes her reserved channel. The first modification restricts the number of channels available for switching from to . The second modification minimizes the switching requests to channels which are on the preferred list but have been occupied by other users and they are not willing to switch to the master’s reserved channel. Both these modifications offer a higher number of channel switching opportunities (due to reduced duration of OHS block) resulting in faster orthogonalization and hence, higher reward.
We first begin with the network potential which is an indication of the time required to reach SOC. The plots showing the variation of network potential with respect to time are shown in Fig. 4 (a) and Fig. 4 (c) for and , respectively. The decrease in the potential with time followed by constant potential shows that the corresponding algorithm allows a network to reach SOC. However, proposed algorithms consistently offer a faster decrease in potential and lower average potential than the CSM_MAB algorithm as highlighted in Fig. 4 (a) and Fig. 4 (c). Next, we consider the average reward at different instants of the horizon. The average reward is the total reward of all user at a given time slot averaged over 100 independent experiments. As shown in Fig. 4 (b) and Fig. 4 (d), proposed algorithms offer a higher reward (and hence, throughput) than the CSM_MAB algorithm. Significantly higher reward in the beginning () also indicates early orthogonalization to reach SOC which is a useful characteristic in the short horizon scenario such as dynamic networks. Constant potential and reward plots also indicate that the learning of channel statistics is accurate and proposed algorithms allow users to have sufficient samples of each channel thereby reducing switching to sub-optimal channels. These observations are consistent with Theorem 1.
One of the reasons behind the superior performance of the proposed algorithms is that they allow a higher number of channel switching opportunities as demonstrated in Fig. 5a. Also, the difference between proposed and CSM_MAB algorithm increases with the increase in . This is because the proposed algorithms allow each user to become master once in every OHS block while the CSM_MAB algorithm makes user compete for grabbing the channel switching opportunities. When multiple users compete, no one gets the opportunities leading to poor performance in spite of using complex radios with the wideband sensing capability. Among the dSOC_SN and dSOC_SN_H algorithms, dSOC_SN_H offers a higher number of channel switching opportunistic in a given horizon due to reduced duration of the OHS phase.
Next, we consider a large size ad-hoc network with channels and ranging from 5 (sparse network) to 50 (dense network). In Fig. 5b, we compare the average reward of all users for different values of . As expected, the reward increases with the increase in for all three algorithms. It can be observed that the proposed algorithms offer higher reward than the CSM_MAB algorithm for all and the difference increases with the increase in due to the same reasons discussed above.
Next, we analyze the difference between the dSOC_SN and dSOC_SN_H algorithms based on the number of collisions faced by each user throughput the horizon. Each collision leads to re-transmission of the lost packed leading to wastage of spectrum, time and power. Thus, they should be as small as possible. As shown in Fig. 5c, though dSOC_SN_H offers a higher reward, it also leads to a higher number of collisions. The dSOC_SN algorithm offers approximately half the number of collisions than dSOC_SN_H due to longer OHS phase which means fewer switching opportunities as shown in Fig. 5a. However, the number of collisions per user is less than 450 for a horizon size of 100000 which corresponds to very small collision probability of 0.005. Thus, proposed algorithms do not incur a large number of collisions even though our signaling scheme for channel switching is based on collision.
For homogeneous channel scenario, we have considered channels with statistics as and users. Corresponding average reward per user plots are shown in Fig. 6. As seen, the proposed dSOC_SN algorithm offers better performance than the CSM_MAB algorithm in [18]. For comparison, we have also compared other well-known algorithms specifically designed for the homogeneous setting (they will not work in the heterogeneous setting). Among them, MCToPM algorithm in [8] needs prior knowledge of and hence, for a fair comparison, we assume . Other algorithms such as MC [12] and TSN [13] algorithms do not need but they need to a lower bound on the sub-optimality gap . As shown in Fig. 6, the difference between the performance of the dSOC_SN and other algorithms is very small even though the dSOC_SN algorithm does not need knowledge of and and it works for homogeneous as well as heterogeneous channels.
VI-B Dynamic Network
For dynamic networks, we consider three scenarios depicting the various combinations of the time interval at which the users enter or leave the network. We mark the time of entry and exit of the user with a green and black dashed lines, respectively. We set = 10 and each result shown here is the average of the values obtained over 100 independent experiments with independently chosen channel statistics.
In the first scenario shown in Fig. 7 (a) and (b), there is one user in the network at the beginning. New users enter into the network at and . Also, a single user leaves the network at and the leaving user is chosen at random from the set of existing users. As expected, the reward of both algorithms is identical due to the fewer number of users which makes it easy to reach SOC. Note that network potential changes drastically whenever new user enters or leaves the network. This is because, after every entry or exit event, the network may not be in SOC and needs finite time to come back to SOC.
Next, we consider a more challenging scenario with three users in the beginning. Thereafter, at every 10000 time slots, we alternate between user exiting and entering the network with leaving user chosen randomly. It can be observed from Fig. 7 (c) and (d) that the proposed algorithm offers significantly higher reward than the CSM_MAB_DN algorithm (extended version of the CSM_MAB algorithm using our synchronization scheme). This is expected as the proposed algorithm has shown to outperform CSM_MAB for a short-horizon scenario in static networks. Also, the average network potential of the proposed algorithm is lower indicating faster orthogonalization to SOC and a higher number of channel switching opportunities. Note that the network potential increases whenever a new user enters into the network and then decreases with time as network converges to SOC. However, when a user leaves the network, network potential decreases first and it may increase or decrease later depending on the channels vacated by leaving users. For instance, network potential may increase if the channel vacated by the user is sub-optimal for one or more existing users and the users do not have sufficient samples of that channel. In such case, the UCB forces users to explore that channel thereby leading to an increase in the network potential. However, after learning the channel statistics, the network comes back to SOC again.
We consider the third scenario with more number of users. In the beginning, there are five users and new users enter the network at whereas a user leaves the network at . As shown in Fig. 7 (d) and (f), the proposed algorithm offers a higher reward and lower network potential than CSM_MAB_DN algorithm. From all three scenarios, we can observe that the difference between the performance of the two algorithm increases with the increase in the number of users, .
VII Conclusions
In this paper, we presented distributed algorithms to achieve stable orthogonal configuration (SOC) in static as well as dynamic ad-hoc networks. We provided a detailed analysis of the proposed algorithms and validated their performance through simulated experiments for small as well as large size ad-hoc networks. The two novel contributions of the proposed algorithms are: 1) Need of low complexity narrowband radio terminals compared to wideband radios in existing works, and 2) works for dynamic networks where users can enter and leave the system freely. In addition, the proposed algorithms allow new users to synchronize in the network independently without the need for a central controller or continuous sensing when the user is non-active. This feature might be useful for non-active users allowing them to use energy saving sleep mode thereby increasing the lifetime of battery operated radio.
In the future, we would like to extend the proposed algorithms for guaranteeing optimal orthogonal configuration to achieve higher throughput in addition to SOC. Other interesting scenarios include non-stationary channel statistics, and delayed feedback. For applications such as wireless sensor networks, it is preferable to have terminals without sensing hardware. The design of a distributed algorithm for such terminals is an extremely challenging and open research problem. From the numerical experiments, it appears that if each user’s preference list is based on its optimistic value of the current estimates, then the total reward when the network stabilizes is not far from the optimal reward. Another interesting direction is then to characterize the sub-optimality of the total reward from the resulting SoC compared to the optimal reward.
Proof of Lemma 1
We want to compute such that all users are on non-overlapping channels with high probability within . If denotes the collision probability of a user when all the users are randomly hopping at any time slot , and if none of the other users are on the non-overlapping channel (worst-case) then the probability that a user will find a non-overlapping channel within is given by:
[TABLE]
We want this probability to be at least for each user. Hence we set
[TABLE]
We next give a uniform upper bound on . Note that in any round some users may be locked (call them locked users) while others selecting the channel uniformly at random (call them RH users). Fix a time slot and let denote the number of RH users. A user will not incur a collision in round , if it selects one of the channels not used by the locked user (they are in number) and further this channel is not selected by any of the RH users. Let denote the event that an (unlocked) user selects one of the channels on which no locked user is present and denote that event that the user sees no collision from an RH user. We have
[TABLE]
Substituting the bound on in Eq. (10) and using the union bound we see that within rounds all the users will orthogonalize with probability at least . ∎
Proof of Lemma 2
We want to compute such that new user enters into the SMCS phase and it is the sum of duration of three events: 1) Time required to enter the piggyback phase (), 2) Time required to identify the CT/CS slots, index of the MB and beginning of the OHS block, () and 3) Time required to identify the reserved channel, ().
When new user enters into the network, she sequentially senses the channel and enters into the piggyback phase if it is occupied. The worst case corresponds to the network with a single active user and it takes at most time slots for new user to find the occupied channel. Thus, .
After entering into the piggyback phase, the new user can identify all parameters immediately whenever old user leaves the network. This is because user can leave only when she is master. Else, the new user needs to sense the channel for at least time slots. This is because the old user will be silent in the first SB of each MB when she is not a master and MB duration is slots. Thus, the duration between consecutive silent SSB is at most slots. This is due to fact that user transmits in SSB when he is master and he can be master only once in OHS block. Thus new user can sense consecutive transmissions over slots before the old user becomes master and further consecutive transmissions over slots when old user’s reserved channel is the most preferred channel. Thus, the new user has to wait for one more SB (i.e. SSB for subsequent MB) to identify all block parameters i.e. total slots. However, in the worse case, the user may have to wait for SBs till old user becomes master and hence, she needs to sense the same channel for at most slots. Then, .
Next, new user needs to identify the reserved channel before entering into the SMCS phase. As discussed before, the new user sequentially senses the channels and locks on the vacant channel. The worst case corresponds to () active users and master switches to the vacant channel. In this case, the new user needs to sense all channels except reserved channel of a master for at most time slots before realizing the master switch and then occupying the master’s previous reserved channel in the next time slot. Thus, . Then,
[TABLE]
This completes the proof. ∎
Proof of Lemma 3
The proof of Lemma 3 is based on Theorem 1. When a new user enters into the network, she has to learn the statistics of () channels which are left unoccupied by existing users. Thus, using Theorem 1, we have
[TABLE]
Thus, for all every switch to one of the () channels results in decrease in the network potential with probability (). Thereafter, new user needs only one opportunity to become master and switch to the most preferred channel among () vacant channels. Using the Theorem 1, we have where . ∎
Proof of Lemma 4
When one of the users leaves the network, each of the remaining users needs at least opportunities to become master and check the feasibility of channel swap or switch to the channel vacated by leaving user. Since the network was in SOC, Theorem 1 guarantees that all users have the sufficient number of samples of each channel and every swap or switch guarantees the decrease of network potential with high probability. Thus, the network will be in SOC again after () OHS blocks, i.e. time slots. Since is unknown and , the maximum number of slots required by the network to reach SOC is . ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] S. Parkvall, E. Dahlman, A. Furuskär, and M. Frenne, “NR: The new 5G radio access technology,” IEEE Communication Standards Magazine , vol. 1, no. 4, pp. 24–30, 2017.
- 2[2] M. Ozger, F. Alagoz, and O. B. Akan, “Clustering in multi-channel cognitive radio ad hoc and sensor networks,” IEEE Communication Magazine , vol. 56, no. 4, pp. 156–162, 2018.
- 3[3] A. A. et. al., “Channel clustering and qos level identification scheme for multi-channel cognitive radio networks,” IEEE Communication Magazine , vol. 56, no. 4, pp. 164–171, 2018.
- 4[4] X. Hong, J. Wang, C.-X. Wang, and J. Shi, “Cognitive radio in 5g: A perspective on energy-spectral efficiency trade-off,” IEEE Communication Magazine , vol. 52, no. 7, 2014.
- 5[5] O. Avner and S. Mannor, “Multi-user lax communications: A multi-armed bandit approach,” in IEEE International Conference on Computer Communications (INFOCOM) , San Francisco, CA, USA, 2016.
- 6[6] J. Rosenski, O. Shami, and L. Szlak, “Multi-player bandits – a musical chairs approach,” in Proceedings of International Conference on Machine Learning (ICML) , New York, USA, 2016.
- 7[7] R. Kumar, A. Yadav, S. J. Darak, and M. K. Hanawal, “Trekking based distributed algorithm for opportunistic spectrum access in infrastructureless network,” in 16th International Symposium on Modeling and Optimization in Mobile, Ad Hoc, and Wireless Networks (Wi Opt) , 2018.
- 8[8] H. Joshi, R. Kumar, A. Yadav, and S. J. Darak, “Distributed algorithm for dynamic spectrum access in infrastructure-less cognitive radio network,” in IEEE Wireless Communications and Networking Conference(WCNC) , 2018.
