Communications & Networks Connect

Communications & Networks Connect

Print ISSN: 3006-4813Online ISSN: 3105-1421
Research ArticleOpen Access

Sum Rate Optimization for IRS-Assisted VLC Systems with Time Delay Considerations Using Deep Q-Learning

James Watt School of Engineering, University of Glasgow, UK

*Author to whom correspondence should be addressed.

Communications & Networks Connect· 2026· Volume 3· ID 2026.0013DOI 10.69709/CNC.2026.133301

Article History

ReceivedSeptember 23, 2025
AcceptedJune 30, 2026
Available OnlineJuly 1, 2026
Download256 views90 downloads

Abstract

VVisible light communication (VLC) is a promising solution for high-speed indoor wireless connectivity, offering advantages such as license-free spectrum and enhanced physical-layer security. However, VLC performance is highly dependent on line-of-sight (LoS) conditions and is vulnerable to signal degradation caused by device orientation and dynamic obstructions. To address these challenges, this paper proposes a deep Q-Learning (DQL) framework for resource optimization in intelligent reflecting surface (IRS)-assisted VLC systems. A realistic system model is developed that incorporates both LoS and non-line-of-sight (NLoS) components, while explicitly modeling frequency-domain effects due to IRS-induced time delay. The optimization problem jointly considers IRS element allocation and user-LED association, aiming to maximize the system sum rate under practical constraints such as quality of service and IRS-induced time delay. A DQL algorithm is designed to learn efficient allocation strategies in high-dimensional dynamic environments. Simulation results show that the achievable rate obtained using the proposed DQL approach closely matches that predicted by the analytical model. Furthermore, the results highlight the critical impact of accounting for time delay and user orientation when designing IRS-assisted VLC systems. The findings support the viability of learning-based, delay-aware optimization for next-generation intelligent indoor VLC networks.

1. Introduction

Visible light communication (VLC) has emerged as a compelling alternative to conventional radio frequency (RF) technologies, offering benefits such as high bandwidth availability, license-free spectrum, improved physical layer security, and immunity to electromagnetic interference [1]. These advantages make VLC particularly attractive for dense indoor environments [2]. However, VLC systems remain highly dependent on the availability of a clear line-of-sight (LoS) between the transmitter and the receiver, which can be compromised by user mobility, random device orientation, and dynamic obstacles [3]. These impairments result in severe degradation of link quality and overall system performance.

To address these limitations, intelligent reflecting surfaces (IRS) have recently been introduced in VLC systems as a promising solution to improve channel robustness [4]. An IRS consists of a large number of passive optical elements capable of dynamically reflecting incident light towards desired directions, thereby enabling the creation of non-line-of-sight (NLoS) paths when LoS links are blocked. By optimizing the IRS configuration, the effective channel between the VLC access point and the user can be improved even under adverse indoor conditions. Several studies have investigated IRS-assisted VLC architectures, focusing on beam steering and static element allocation to maximize the achievable data rate [5-8].

Despite recent advances, one critical aspect that remains underexplored is the impact of IRS-induced time delay. In IRS-assisted VLC systems, reflected signals may travel significantly longer paths than direct LoS components, resulting in dispersion that leads to frequency-selective fading. If not properly modeled, these effects can degrade system performance [9]. Recent work has emphasized the importance of incorporating delay effects into frequency-domain channel models for IRS-VLC systems [10], showing that reflection-induced delays are non-negligible and must be considered in system design. In recent years, Q-learning, a key method within reinforcement learning (RL), has attracted substantial attention in wireless communications due to its capacity to iteratively derive optimal action policies via Q-tables that encode state-action values. Its simplicity and effectiveness have led to successful implementations in several wireless network applications [11-13]. Deep reinforcement learning (DRL) has been increasingly adopted in IRS-assisted wireless systems, particularly to tackle non-convex optimization challenges. For example, Huang et al. [14] presented a DRL-based relay selection strategy in IRS-assisted cooperative networks, aiming to enhance throughput. Similarly, a multi-agent DRL approach was explored in [15], where the objective was to implement a buffer-aided relay selection mechanism within a secure cooperative IRS-enabled network.

1.1. Related Work

Further expanding on DRL’s applicability, the authors of [16] proposed an integrated machine learning framework combining LSTM-ARIMA position prediction and a dueling double deep Q-network (D3QN) algorithm to jointly optimize robot trajectories, RIS phase shifts, and power allocation in RIS-NOMA aided multi-robot indoor networks. The authors in [17] investigated mobile IRS elements mounted on autonomous robots in NOMA networks and employed federated learning approaches to optimize resource allocation and reflection configuration. In [18], the authors applied a recurrent neural network to dynamically optimize IRS placement in NLoS VLC environments, demonstrating significant SNR improvements using angle diversity receivers and adaptive learning strategies. A complementary effort in [19] leveraged a genetic algorithm-based solution to jointly optimize IRS placement and signal resource allocation in a NOMA-based VLC system, aiming to enhance link robustness. In addition, a DRL-based method was formulated in [20] to maximize secrecy capacity in IRS-assisted VLC environments, emphasizing physical-layer security. Lastly, the work in [21] introduced two iterative optimization techniques, the frozen variable method and a minorization-maximization algorithm, to incrementally improve spectral efficiency in multi-user VLC systems supported by IRS deployment. Finally, in line with the growing interest in the use of DRL for resource optimization in IRS-assisted VLC, the authors in [22] proposed a two-stage framework that jointly addresses user fairness and spectral efficiency. The proposed method begins with a Maximum Possible Fairness algorithm designed to balance resource allocation among users, followed by a DQL stage aimed at maximizing the overall spectral efficiency of the system. It is noted that applying DQL to jointly optimize IRS allocation and user-LED association under realistic VLC channel conditions, including time-delay effects, remains unexplored.

Recent research has also explored the joint optimization of LED transmission and IRS configuration in VLC systems. Liu et al. [23] investigated the maximization of the sum rate for NOMA-based VLC with intelligent optical reflecting surfaces, proposing joint optimization of IRS reflection coefficients and power allocation. Sun et al. [24] provided a comprehensive overview of optical IRS for VLC, introducing the association model for LED-IRS configurations and discussing beam alignment techniques. Liu et al. [25] proposed a robust layout optimization scheme using the non-dominated sorting genetic algorithm-II to jointly optimize access point positions and IRS array directions for blockage resistance. Zhao et al. [26] analyzed secrecy performance in IRS-aided VLC systems, optimizing LED-IRS element associations for physical layer security. An et al. [27] proposed a joint resource allocation framework for IRS-assisted VLC systems, optimizing optical IRS arrangement and power allocation to maximize energy efficiency. Cang et al. [28] investigated joint deployment and resource management for VLC-enabled RIS-assisted unmanned aerial vehicle (UAV) networks. However, these works assume flat-frequency channels and do not consider the time-delay effects introduced by differential propagation paths through IRS elements, which cause frequency-selective fading that significantly impacts achievable data rates.

Time dispersion and multipath propagation have been extensively studied in conventional VLC systems. Miramirkhani and Uysal [29] presented comprehensive indoor VLC channel models reporting root mean square (RMS) delay spreads of 10 -15 ns that cause inter-symbol interference (ISI) at high data rates. Tong et al. [30] investigated VLC channel characteristics in industrial IoT scenarios, modeling delay spread with distance-dependent statistical distributions and proposing link adaptation methods for multipath interference mitigation. Sejan et al. [31] provided a comprehensive survey on MIMO VLC, addressing ISI mitigation through spatial diversity and adaptive modulation techniques. To combat frequency-selective fading, T. Deepa et al. [32] proposed precoding matrix techniques for optical OFDM systems, while Zenhom et al. [33] evaluated various O-OFDM approaches for VLC systems, including DCO-OFDM, ACO-OFDM, and LACO-OFDM, proposing a Vandermonde-Like Matrix precoding technique to reduce the peak-to-average power ratio without degrading BER performance. Di Zheng et al. [34] introduced DCO-OTFS modulation to exploit delay-Doppler domain sparsity, achieving a 7 dB improvement over conventional OFDM in time-varying VLC channels. Farahneh H. et al. [35] analyzed adaptive OFDM in vehicular VLC networks with realistic multipath effects. While these works provide valuable insights into delay modeling and mitigation, they do not consider IRS-assisted scenarios where multiple reflected paths with distinct delays create complex frequency-selective channel responses.

From the above literature review, we identify a critical research gap: existing works have addressed joint LED-IRS optimization without considering time-delay effects, while others have addressed delay modeling in conventional VLC without IRS assistance. To the best of our knowledge, no prior work has jointly addressed IRS element allocation, LED-user association, and time-delay-induced frequency-selective fading within a unified optimization framework. Furthermore, learning-based approaches that can adapt to the complex, non-convex optimization landscape created by differential time delays remain unexplored. This paper bridges this gap by proposing a DQL framework that jointly optimizes IRS element allocation and LED-user association under a delay-aware, frequency-selective VLC channel model. A detailed numerical comparison against additional heuristic/RL baselines under the same delay-sensitive model is left for future work.

2. Motivation and Contributions

Against the given background, the motivations and contributions of this work are as follows:

  1. We develop a theoretical framework to characterize the impact of IRS-induced time delay on the achievable rate using frequency-domain analysis and validate the proposed DQL-based optimization through extensive simulations.

  2. We formulate a joint optimization problem (IRS allocation and LED association) that maximizes the system sum rate subject to per-user quality-of-service (QoS) constraints, taking into account IRS-induced time delay.

  3. We develop a DQL-based algorithm to solve the joint optimization problem, enabling efficient IRS and user association learning.

The remainder of this paper is structured as follows: Section 3 describes the VLC system model, including channel formulation with LoS and IRS-assisted NLoS paths as well as time delay effects. Section 4 derives a closed-form expression for the sum rate using frequency-domain analysis. Section 5 presents the joint optimization problem for IRS element allocation and user association under QoS constraints. Section 6 introduces a DQL-based framework to solve the optimization problem efficiently in high-dimensional environments. Section 7 provides simulation results and discussion, highlighting the impact of time delay and device orientation. Finally, Section 8 concludes the paper and outlines potential directions for future research.

3. System Model

This work considers the downlink transmission in an IRS-assisted VLC system based on direct current optical frequency division multiplexing (DCO-OFDM). As shown in Figure 1, the system consists of L LEDs mounted on the ceiling and K randomly distributed users equipped with photodetectors (PDs) within the room. In addition, there are N irs reflecting elements fixed on a wall of the room with a separation distance D between the elements. In IRS-assisted VLC, the transmitted signal reaches the receiver via two paths: LoS and NLoS, which are discussed in detail in the following subsections.

Figure 1: System model with an IRS installed on a wall.
Figure 1: System model with an IRS installed on a wall.

3.1. LoS Channel

The LoS channel gain between LED l and user k, denoted as G LoS , k , l , follows the Lambertian model [5]:

G LoS , k , l = { ( m + 1 ) A 2 π d k , l 2 cos m ( ϕ k , l ) cos ( ψ k , l ) 𝔾 f 𝔾 c , 0 ≤ ψ k , l ≤ Ψ FoV , 0 , otherwise , )
(1)

where A is the physical area of the PD, d k , l is the distance between the LED l and the user k, ϕ k , l and ψ k , l are the angles of irradiance and incidence respectively, Ψ FoV is the receiver field-of-view (FoV), 𝔾 f is the optical filter gain, and 𝔾 c is the optical concentrator gain defined as:

𝔾 c = { ξ 2 sin 2 Ψ FoV , 0 ≤ ψ k , l ≤ Ψ FoV , 0 , otherwise , )
(2)

where ξ is the refractive index. The Lambertian order m is:

m = − 1 log 2 (cos,(, Φ 1 / 2 ,)) ,
(3)

where Φ 1 / 2 is the semi-angle at half the power of the LED.

3.2. IRS-Assisted NLoS Channel

The NLoS signal reflected via the IRS is modeled by considering a set of passive elements N irs . Each IRS element reflects light from the LED l toward the user k by adjusting its orientation. The NLoS channel gain from LED l to user k through the IRS element n, denoted G IRS , k , n , l , is given by [5]:

G IRS , k , n , l = { ρ ( m + 1 ) A 2 π ( d n , l + d k , n ) 2 cos m ( ϕ n , l ) cos ( ψ k , n ) 𝔾 f 𝔾 c , 0 ≤ ψ k , n ≤ Ψ FoV , 0 , otherwise , )
(4)

where ρ is the reflectivity of the IRS element, d n , l is the distance from LED l to IRS element n, d k , n is the distance from IRS element n to user k, and ϕ n , l , ψ k , n are the respective angles of irradiance and incidence. This work accounts for the time delay in light propagation for both LoS and NLoS paths. The overall channel impulse response (CIR) between user k and LED l is [9]:

h k , l ( t ) = G LoS , k , l δ ( t − τ k , l ) + ∑ n = 1 N irs G IRS , k , n , l δ ( t − τ k , n , l ) ,
(5)

where δ ( · ) denotes the Dirac delta function, τ k , l = d k , l / c is the LoS propagation delay, τ k , n , l = ( d n , l + d k , n ) / c is the IRS-reflected propagation delay via element n, and c is the speed of light. The channel frequency response (CFR), obtained as the Fourier transform of the CIR, is given by  [9]:

H k , l ( f ) = G LoS , k , l e − j 2 π f τ k , l + ∑ n = 1 N irs G IRS , k , n , l e − j 2 π f τ k , n , l .
(6)

The signal-to-noise ratio (SNR) at frequency f is [9]:

γ k , l ( f ) = 2 T s E k ( f ) P opt 2 | H k , l ( f ) | 2 R pd 2 Γ κ 2 N 0 ,
(7)

where T s is the duration of the symbol, E k ( f ) is the power allocated to the user k at frequency f, P opt is the optical power, R pd is the PD responsivity, Γ is the SNR gap, κ is the modulation scaling factor, and N 0 is the noise power spectral density. To investigate the effect of IRS-induced time delay across the frequency band, we expand the channel power response | H k , l ( f ) | 2 as [9]:

| H k , l ( f ) | 2 = G LoS , k , l 2 + 2 G LoS , k , l ∑ i = 1 N irs G i cos (2,π,f,(, τ i ,−, τ k , l ,)) + ∑ i = 1 N irs G i 2 + ∑ i = 1 N irs ∑ u < i 2 G i G u cos (2,π,f,(, τ u ,−, τ i ,)) ,
(8)

For notational compactness in (8), we write G i ≡ G IRS , k , i , l , G u ≡ G IRS , k , u , l , τ i ≡ τ k , i , l , and τ u ≡ τ k , u , l , where τ k , i , l = ( d i , l + d k , i ) / c and τ k , u , l = ( d u , l + d k , u ) / c are the propagation delays via IRS elements i and u respectively. Here G IRS , k , i , l and G IRS , k , u , l are as defined in (4). The LoS delay τ k , l = d k , l / c is written explicitly in (8) without shorthand to avoid ambiguity. The full user- and LED-indexed notation is restored in Section 4. The four terms in (8) have the following physical interpretations: The first term G LoS , k , l 2 is the direct LoS channel power. The second term captures the cross-gain between the LoS component and each IRS-reflected path, which gives rise to constructive or destructive interference depending on the differential delay Δ τ = τ k , i , l − τ k , l . Note that (8) represents the full channel power response prior to IRS element assignment, summing contributions from all N irs elements irrespective of user assignment. The user-specific rate expressions derived in Section 4 employ the binary indicator s ^ i , k , defined in (10), to select only those IRS elements assigned to user k.

4. Theoretical Analysis of Achievable Rate

To analyze the impact of IRS-induced time delay in a frequency-selective VLC channel, we derive an expression for the achievable rate using DCO-OFDM under intensity modulation and direct detection (IM/DD). The rate for user k served by LED l is given by:

R k , l = ∫ 0 1 2 T s log 2 (1,+, 2 T s E ( f ) P opt 2 R pd 2 | H k , l ( f ) | 2 Γ κ 2 𝒩 ) d f ,
(9)

where H k , l ( f ) denotes the channel frequency response that includes both LoS and IRS-assisted NLoS components. We assume that the IRS element allocation is represented by an integer vector s = [ s 1 , s 2 , … , s N irs ] ⊤ , where each s i ∈ { 1 , 2 , … , K } indicates the user index to which the i-th IRS element is assigned. To incorporate this user-specific IRS mapping into the rate expression for user k, we define the binary indicator:

s ^ i , k = { 1 , if s i = k , 0 , otherwise , )
(10)

where s ^ i , k = 1 if and only if the IRS element i is assigned to the user k, and zero otherwise. Note that by construction, ∑ k = 1 K s ^ i , k = 1 for all i, since each IRS element is assigned to exactly one user. By incorporating this binary selector into the channel model, the rate expression R k , l for the user k becomes:

R k , l = ∫ 0 1 2 T s log 2 ( 1 + Λ ( G LoS , k , l 2 + ∑ i = 1 N irs s ^ i , k G i , k 2 + 2 G LoS , k , l ∑ i = 1 N irs s ^ i , k G i , k cos (2,π,f,(, τ i ,−, τ LoS ,)) + ∑ i = 1 N irs ∑ u < i 2 s ^ i , k s ^ u , k G i , k G u , k cos (2,π,f,(, τ u ,−, τ i ,)) ) ) d f ,
(11)

where:

Λ = 2 T s P opt 2 R pd 2 Γ κ 2 N 0 .

Here, the first term G LoS , k , l 2 represents the direct LoS channel power. The second term ∑ i s ^ i , k G i , k 2 captures the power of IRS-reflected paths assigned to user k. The third term represents the constructive/destructive cross-gain between the LoS and IRS-reflected components. The fourth term, with both selectors s ^ i , k and s ^ u , k , represents inter-element interference between pairs of IRS elements both assigned to user k; elements assigned to different users do not contribute to this term.

To separate the frequency-independent and frequency-dependent contributions, we apply the logarithmic identity:

log 2 ( 1 + A + B ( f ) ) = log 2 ( 1 + A ) + log 2 (1,+, B ( f ) 1 + A ) ,
(12)

where A = Λ ( G LoS , k , l 2 ,+, ∑ i = 1 N irs , s ^ i , k ,, G i , k 2 ) collects all frequency-independent channel gain terms, and B ( f ) = Λ N k ( f ) contains the frequency-dependent interference terms defined in (14). Applying (12) to Equation (11) yields:

R k , l = 1 2 T s log 2 (1,+,Λ,( G LoS , k , l 2 + ∑ i = 1 N irs s ^ i , k G i , k 2 )) + ∫ 0 1 2 T s log 2 (1,+, Λ N k ( f ) D k ) d f ,
(13)

where:

N k ( f ) = 2 G LoS , k , l ∑ i = 1 N irs s ^ i , k G i , k cos (2,π,f,(, τ i ,−, τ LoS ,)) + ∑ i = 1 N irs ∑ u < i 2 s ^ i , k s ^ u , k G i , k G u , k cos (2,π,f,(, τ u ,−, τ i ,)) ,
(14)
D k = 1 + Λ ( G LoS , k , l 2 ,+, ∑ i = 1 N irs , s ^ i , k ,, G i , k 2 ) .
(15)
  1. Approximation Strategy:

To simplify the integral in (13), we apply a cosine approximation. For small arguments, cos ( x ) ≈ 1 − x 2 2 . However, to avoid inaccuracies for larger delays, we use a more balanced bound:

cos ( x ) ≈ sin ( x ) x , 0 ≤ x ≤ π .

Applying this approximation to N k ( f ) in (14):

N k ( f ) ≈ 2 G LoS , k , l ∑ i = 1 N irs s ^ i , k G i , k (1,−, sin (2πf( τ i − τ LoS )) 2 π f ( τ i − τ LoS ) ) + ∑ i = 1 N irs ∑ u < i 2 s ^ i , k s ^ u , k G i , k G u , k (1,−, sin (2πf( τ u − τ i )) 2 π f ( τ u − τ i ) ) .
(16)

Substituting (16) into the second integral term of (13) and evaluating:

R k , l , 2 ≈ Λ D k ln 2 ( G LoS , k , l T s , ∑ i = 1 N irs , s ^ i , k ,, G i , k ) (1,−, sin ( π ( τ i − τ LoS ) T s ) π ( τ i − τ LoS ) T s ) + 1 T s ∑ i = 1 N irs ∑ u < i s ^ i , k s ^ u , k G i , k G u , k ((1− sin ( π ( τ u − τ i ) T s ) π ( τ u − τ i ) T s )) .
(17)

To account for approximation inaccuracies inherent in the cosine bound, a correction factor C is introduced. The final achievable rate approximation for user k served by LED l is:

R k , l , approx ≈ 1 2 T s log 2 (1,+,Λ,( G LoS , k , l 2 + ∑ i = 1 N irs s ^ i , k G i , k 2 )) + C · Λ D k ln 2 ( G LoS , k , l T s , ∑ i = 1 N irs , s ^ i , k ,, G i , k ) ( sin ( π ( τ i − τ LoS ) T s ) π ( τ i − τ LoS ) T s ) + 1 T s ∑ i = 1 N irs ∑ u < i s ^ i , k s ^ u , k G i , k G u , k (( sin ( π ( τ u − τ i ) T s ) π ( τ u − τ i ) T s )) .
(18)

This approximation provides analytical insight into how IRS-induced propagation delays affect the achievable rate in VLC systems operating under DCO-OFDM. The binary selectors s ^ i , k and s ^ u , k ensure that only IRS elements assigned to user k contribute to the rate computation, maintaining full consistency with the integer allocation vector s defined in constraint (20c).

5. Problem Formulation

The objective of this work is to jointly optimize IRS element allocation and user-LED association in an IRS-assisted VLC system while accounting for the time delays introduced by IRS reflections. Unlike most previous work, our formulation explicitly incorporates IRS-induced time delays into the system model, enabling more realistic and accurate performance optimization via DQL. The aim is to maximize the total system sum rate subject to minimum QoS requirements for all users.

5.1. Optimization Objective

The total system sum rate is defined as:

R sum = ∑ k = 1 K ∑ l = 1 L a k , l R k , l ,
(19)

where a k , l ∈ { 0 , 1 } is the binary association variable indicating whether the user k is assigned to LED l, and R k , l is the achievable rate as defined in Equation (18). The optimization problem is formulated as:

P : max a , s R sum
(20a)
s . t . R k ≥ R min , ∀ k ∈ { 1 , … , K } ,
(20b)
s i ∈ { 1 , … , K } , ∀ i ∈ { 1 , … , N irs } ,
(20c)
∑ l = 1 L a k , l = 1 , ∀ k ∈ { 1 , … , K } .
(20d)

Here, R sum represents the total achievable sum rate of the system. The constraint (20b) ensures that each user meets the minimum data rate requirement R min . The constraint (20c) ensures that each IRS element i is assigned to exactly one user via the allocation vector s . The corresponding binary selector s ^ i , k , defined in (10), satisfies ∑ k = 1 K s ^ i , k = 1 for all i by construction and is used throughout the rate expressions to activate only the IRS elements belonging to user k. The constraint (20d) ensures that each user is served by exactly one LED.

6. Proposed Deep Q Learning-Based Solution

The objective in (20a) to (20d) is to maximize the total sum rate R sum using two discrete decision variables: the LED-to-user association a and the IRS element-to-user assignment s . Direct search is not practical when the system grows; therefore, we use a DQL to learn a policy that updates a and s to increase R sum through repeated interaction with the environment, as summarized in Algorithm 1.

We model the problem as a Markov decision process (MDP) that is consistent with (20a) to (20d). The MDP observation o t contains the current LED-user association, the IRS assignment, and the side information needed to evaluate the rates, such as user positions and channel summaries. The MDP action α t is a single edit to the configuration, either reassigning an IRS element to a different user, or changing the LED of one user. Feasibility is enforced by construction: each user keeps exactly one serving LED, each IRS element is owned by exactly one user, and the QoS constraint R k ≥ R min is handled by masking actions that would produce a next observation with any user below the threshold; if masking would remove all candidates, we keep the top actions by the predicted Q value to preserve exploration.

The reward is aligned exactly with the objective,

r t = R sum ( o t + 1 ) = ∑ k = 1 K ∑ l = 1 L a k , l R k , l ,

where R k , l is computed by using the delay-aware rate model defined earlier. No penalty terms are used; therefore, the agent learns to maximize the same function as in (20a).

The action-value function is approximated by a neural network Q θ ( o , α ) . We train it with a replay buffer and a target network. The temporal difference loss is:

ℒ ( θ ) = 𝔼 [ ( r t +γ max α ′ Q θ − ( o t + 1 , α ′ ) − Q θ ( o t , α t ) ) 2 ] ,

where γ is the discount factor and θ − denotes the parameters of the target network. Exploration follows a ϵ -greedy schedule that decays over time.

Algorithm 1 Deep Q Network (DQN) to maximize R sum
  • 1:

    Initialize online network Q θ and target network Q θ −

  • 2:

    Initialize replay buffer 𝒟

  • 3:

    Initialize best record ( a ⋆ , s ⋆ , R sum ⋆ )

  • 4:

    for episode e = 1 to E do

  • 5:

          Sample a feasible ( a , s ) and set initial observation o 0

  • 6:

       for step t = 0 to T max − 1  do

  • 7:

          Build the valid action set by masking actions that break (20b) to (20d)

  • 8:

          With probability ϵ pick a random valid action, otherwise pick α t = arg max α ∈ 𝒜 valid Q θ ( o t , α )

  • 9:

          Apply α t to update ( a , s ) and obtain o t + 1

  • 10:

        Set reward r t = R sum ( o t + 1 )

  • 11:

        Store ( o t , α t , r t , o t + 1 ) in 𝒟

  • 12:

        Sample a minibatch from 𝒟 and update θ by minimizing ℒ ( θ )

  • 13:

        Every C steps set θ − ← θ

  • 14:

        If r t > R sum ⋆ then update ( a ⋆ , s ⋆ , R sum ⋆ )

  • 15:

        Set o t ← o t + 1

  • 16:

     end for

  • 17:

    end for

  • 18:

    Return  ( a ⋆ , s ⋆ )

Table 1 specifies only the essentials of the function approximator; the input dimension follows the chosen observation encoding, and the output dimension follows the valid action set at each state. With these choices, the agent edits one part of the configuration at a time; feasibility is preserved at every step, and the learning signal equals the target objective; hence, the policy converges to configurations that give high R sum under the constraints in (20b) to (20d). Training is performed offline for E = 3000 episodes, and the learning curve in Figure 2 shows that the smoothed reward stabilizes after ∼ 1500 episodes. In our MATLAB implementation, this offline training required approximately 4 h.

Table 1:

DQN network setup.

Item Setting
Network type Fully connected feed forward
Hidden layers 3
Neurons per hidden layer [512, 256, 128]
Activation ReLU
Output One Q value per valid action
Figure 2: Reward progression during DQL training for a 
            
              
                
                  30
                  ×
                  30
                
              
            
           IRS. The smoothed curve reflects policy stabilization over time.
Figure 2: Reward progression during DQL training for a 30 × 30 IRS. The smoothed curve reflects policy stabilization over time.

7. Simulation and Discussion

This section presents simulation results to evaluate the effectiveness of the proposed DQL framework for IRS-assisted VLC systems under realistic conditions, including IRS-induced time delay and user orientation variability. Our DQL-based method achieves performance trends similar to existing RL-based approaches [9,36], with added robustness under delay modeling and more complex IRS-user association dynamics. The simulation parameters are listed in Table 2. Users are randomly deployed within a 5 × 5 × 3 m3 room. User device orientations are randomly sampled from a distribution representing realistic handheld usage. No dynamic blockages are explicitly modeled. The IRS is mounted on a vertical wall and assists communication by reflecting optical signals to users lacking a direct LoS path.

Table 2:

Simulation Parameters

Parameter Value
Room Dimensions 5 m × 5 m × 3 m
Number of LEDs (L) 4
Number of Users (K) 3
IRS Grid Size ( N irs ) 30 × 30
IRS Reflectivity ( ρ ) 1
Noise PSD ( N 0 ) 10 − 21 A 2 / Hz
PD Area (A) 1 cm 2
PD Responsivity ( R pd ) 0.5 A / W
Bandwidth (W) 20 MHz
Symbol Duration ( T s ) 1 ns
Learning Rate ( α ) 0.001
Discount Factor ( γ ) 0.9
Exploration Rate ( ϵ ) Decays from 1 to 0.01
Replay Buffer Size 10 4 transitions

Figure 2 illustrates the evolution of the system sum rate during DQL training for a 30 × 30 IRS configuration. In the early training stages, the agent explores suboptimal configurations due to random action selection. Over time, it learns effective IRS-user and LED-user assignments. The smoothed reward curve demonstrates stable convergence beyond 1500 episodes.

Figure 3 illustrates the accuracy of the derived analytical approximation for the achievable sum rate by comparing it to the result obtained via numerical integration of the full expression. In both cases, the system configuration (IRS-user and LED-user assignments) is determined using the proposed DQL algorithm. The close alignment between the two curves confirms that the analytical approximation closely matches the true rate computation, validating its use for performance evaluation and algorithm training.

Figure 3: Validation of the derived sum rate approximation against numerical integration. Both results are computed using DQL-optimized configurations, but use different rate evaluation methods.
Figure 3: Validation of the derived sum rate approximation against numerical integration. Both results are computed using DQL-optimized configurations, but use different rate evaluation methods.

Figure 4 highlights the importance of incorporating IRS-induced time delay into the system model. For each IRS size (10 × 10, 15 × 15, and 30 × 30 elements), two scenarios are compared: one models delay, and one assumes ideal synchrony. The results show that ignoring time delay leads to lower achievable rates. The performance gap increases with IRS size, as delay spread becomes more significant with longer reflected paths.

Figure 4: Impact of IRS-induced time delay on sum rate performance across different IRS sizes.
Figure 4: Impact of IRS-induced time delay on sum rate performance across different IRS sizes.

Figure 5 illustrates the impact of user device orientation on system performance under delay-aware modeling. Two scenarios are evaluated: fixed vs. random orientations across multiple IRS sizes ( 10 × 10 , 15 × 15 , and 30 × 30 ). While both benefit from DQL-based optimization, fixed orientation achieves significantly higher rates due to improved alignment between users and IRS-reflected paths.

Figure 5: Sum rate comparison under fixed vs. random orientation, with time delay modeled and IRS configuration optimized via DQL.
Figure 5: Sum rate comparison under fixed vs. random orientation, with time delay modeled and IRS configuration optimized via DQL.

The results demonstrate that fixed orientation consistently outperforms random orientation, as predictable alignment enables the DQL agent to allocate IRS elements more effectively. The performance gap becomes more pronounced as the number of IRS elements increases, reflecting the growing sensitivity of larger IRS configurations to spatial misalignment caused by random device orientation, particularly in the presence of IRS-induced time delays. While both fixed and random orientation scenarios benefit from the proposed DQL optimization and delay-aware modeling, random orientation introduces greater variability in the channel response, which limits the achievable sum rate relative to fixed setups. Nevertheless, the results highlight the robustness of the DQL framework, which maintains strong performance even under the challenges posed by random user orientation. This underscores the importance of incorporating orientation dynamics into VLC system models and the need for adaptive learning-based control strategies capable of operating effectively under spatial uncertainty. The above analysis confirms the significance of user orientation in practical VLC systems and the need for learning-based adaptive IRS control that can tolerate spatial uncertainty while incorporating realistic delay effects.

7.1. Performance Under Different Channel Conditions

To evaluate robustness under practical propagation conditions, we compare three cases: (i) LoS-only, (ii) NLoS-only, and (iii) LoS+NLoS. Figure 6 shows the sum rate versus optical transmit power for 10 × 10 elements. The combined LoS+NLoS case achieves the highest throughput across the full power range due to the additional IRS-reflected component. Importantly, the NLoS-only case maintains competitive performance relative to LoS-only, indicating that the IRS can help sustain connectivity under complete LoS blockage. Overall, these results demonstrate that the proposed DQL-based optimization remains effective across different channel conditions and is particularly beneficial in environments with intermittent or obstructed LoS.

Figure 6: Sum rate versus optical power for 
            
              
                
                  
                    N
                    irs
                  
                  =
                  100
                
              
            
           under the blockage conditions.
Figure 6: Sum rate versus optical power for N irs = 100 under the blockage conditions.

8. Conclusions

This paper presented a DQL framework for joint optimization of IRS element allocation and user–LED association in IRS-assisted VLC systems. Unlike prior works, the proposed approach incorporates a frequency-selective channel model that includes IRS-induced time delays, which are important for realistic system-level modeling. A closed-form analytical approximation of the achievable rate under DCO-OFDM and IM/DD transmission was derived, capturing delay spread effects in the frequency domain. To address the resulting combinatorial optimization problem, a discrete-action DQL agent was employed to learn efficient IRS and LED configurations in dynamic indoor environments. Simulation results demonstrated that the analytical approximation closely matches the true achievable rate computed via numerical integration, supporting its use for system evaluation and training. Furthermore, incorporating IRS-induced delay into the system model improved performance compared to models that ignore such effects, especially for larger IRS arrays where delay spread becomes more significant. The results also highlighted the impact of user orientation, showing that fixed orientations yield higher performance than random ones.

Author Contributions

Conceptualization, A.R.H. and H.A.; Methodology, A.R.H. and R.I.; Software, A.R.H.; Validation, A.R.H. and H.A.; Formal Analysis, A.R.H.; Investigation, A.R.H.; Resources, M.A.I. and H.A.; Data Curation, A.R.H.; Writing—Original Draft Preparation, A.R.H.; Writing—Review & Editing, A.Z., M.A.I. and H.A.; Visualization, A.R.H.; Supervision, A.Z., M.A.I. and H.A.; Project Administration, H.A. and M.A.I. All authors have read and agreed to the published version of the manuscript.

Availability of Data and Materials

The simulation data supporting the findings of this study are available from the corresponding author upon reasonable request. Simulations were conducted using MATLAB (MathWorks, licensed through the University of Glasgow).

Conflicts of Interest

The authors declare no conflicts of interest regarding this manuscript.

Funding

No external funding was received for this research.

Acknowledgments

The authors thank the James Watt School of Engineering, University of Glasgow, for providing the computational resources used in this work.

AI Declaration

No AI-based tools were used during the preparation, language editing, or readability enhancement of this manuscript.

References

  • [1] H. Haas, E. Sarbazi, H. Marshoud, and J. Fakidis, "Chapter 11—Visible-light communications and light fidelity", in Optical Fiber Telecommunications VII, A. E. Willner, Ed., Cambridge, MA, USA: Academic Press, 2020, pp. 443–493. [CrossRef]
  • [2] F. Miramirkhani, M. Karbalayghareh, E. Zeydan, and R. Mitra, "Enabling 5G indoor services for residential environment using VLC technology," Phys. Commun., vol. 53, p. 101679, 2022. [CrossRef]
  • [3] V. Rodoplu, K. Hocaoğlu, A. Adar, R. O. Çikmazel, and A. Saylam, "Characterization of line-of-sight link availability in indoor visible light communication networks based on the behavior of human users," IEEE Access, vol. 8, pp. 39336–39348, 2020. [CrossRef]
  • [4] H. Abumarshoud, L. Mohjazi, O. A. Dobre, M. Di Renzo, M. A. Imran, and H. Haas, "LiFi through reconfigurable intelligent surfaces: A new frontier for 6G?" IEEE Veh. Technol. Mag., vol. 17, no. 1, pp. 37–46, Mar. 2022. [CrossRef]
  • [5] M. Najafi, B. Schmauss, and R. Schober, "Intelligent reflecting surfaces for free space optical communication systems," IEEE Trans. Commun., vol. 69, no. 9, pp. 6134–6151, Sep. 2021. [CrossRef]
  • [6] A. M. Abdelhady, A. K. S. Salem, O. Amin, B. Shihada, and M.-S. Alouini, "Visible light communications via intelligent reflecting surfaces: Metasurfaces vs mirror arrays," IEEE Open J. Commun. Soc., vol. 2, pp. 1–20, 2021. [CrossRef]
  • [7] M. Shehab, R. Ganti, and S. Vishwanath, "Intelligent reflecting surface assisted VLC systems: Modeling and optimization," IEEE Trans. Commun., vol. 70, no. 4, pp. 2491–2505, Apr. 2022.
  • [8] L. Liu, X. Wang, and X. Gao, "Reconfigurable intelligent surface aided VLC networks: Beamforming and user association," in Proc. IEEE GLOBECOM, Dec. 2021, pp. 1–6.
  • [9] R. Iqbal, M. Biagi, A. Zoha, M. A. Imran, and H. Abumarshoud, "Leveraging IRS-induced time delay for enhanced physical layer security in VLC systems," IEEE Wirel. Commun. Lett., vol. 13, no. 11, pp. 3147–3151, Nov. 2024. [CrossRef]
  • [10] C. Chen, S. Huang, H. Abumarshoud, I. Tavakkolnia, M. Safari, and H. Haas, "Frequency-domain channel characteristics of intelligent reflecting surface assisted visible light communication," J. Light. Technol., vol. 41, no. 24, pp. 7355–7369, Dec. 2023. [CrossRef]
  • [11] N. C. Luong et al., "Applications of deep reinforcement learning in communications and networking: A survey," IEEE Commun. Surv. Tuts., vol. 21, no. 4, pp. 3133–3174, 2019. [CrossRef]
  • [12] X. Kong et al., "Deep reinforcement learning-based energy-efficient edge computing for Internet of Vehicles," IEEE Trans. Ind. Informat., vol. 18, no. 9, pp. 6308–6316, Sep. 2022. [CrossRef]
  • [13] H. Sharma, I. Budhiraja, N. Kumar, and R. K. Tekchandani, "Secrecy rate maximization for THz-enabled femto edge users using deep reinforcement learning in 6G," in Proc. IEEE INFOCOM Conf. Comput. Commun. Workshops (INFOCOM WKSHPS), New York, NY, USA, May 2–5, 2022, pp. 1–6. [CrossRef]
  • [14] C. Huang, G. Chen, Y. Gong, M. Wen, and J. A. Chambers, "Deep reinforcement learning-based relay selection in intelligent reflecting surface assisted cooperative networks," IEEE Wirel. Commun. Lett., vol. 10, no. 5, pp. 1036–1040, May 2021. [CrossRef]
  • [15] C. Huang, G. Chen, and K.-K. Wong, "Multi-agent reinforcement learning-based buffer-aided relay selection in IRS-assisted secure cooperative networks," IEEE Trans. Inf. Forensics Secur., vol. 16, pp. 4101–4112, 2021. [CrossRef]
  • [16] X. Gao, X. Mu, W. Yi, and Y. Liu, "Intelligent trajectory design for RIS-NOMA aided multi-robot communications," IEEE Trans. Wirel. Commun., vol. 22, no. 11, pp. 7648–7662, Nov. 2023. [CrossRef]
  • [17] R. Zhong, X. Liu, Y. Liu, Y. Chen, and Z. Han, "Mobile reconfigurable intelligent surfaces for NOMA networks: Federated learning approaches," IEEE Trans. Wirel. Commun., vol. 21, no. 11, pp. 10020–10034, Nov. 2022. [CrossRef]
  • [18] M. R. Cañizares, C. Azurdia-Meza, P. Palacios Játiva, D. Zabala-Blanco, and I. Sánchez, "Intelligent Reflective Surface-Assisted Visible Light Communication with Angle Diversity Receivers and RNN: Optimizing Non-Line-of-Sight Indoor Environments," Appl. Sci., vol. 15, no. 3, 2025, Art. no. 1617. [CrossRef]
  • [19] H. Abumarshoud, B. Selim, M. Tatipamula, and H. Haas, "Intelligent reflecting surfaces for enhanced NOMA-based visible light communications," in Proc. IEEE Int. Conf. Commun. (ICC), Seoul, Republic of Korea, May 16–20, 2022, pp. 571–576. [CrossRef]
  • [20] D. A. Saifaldeen, B. S. Ciftler, M. M. Abdallah, and K. A. Qaraqe, "DRL-based IRS-assisted secure visible light communications," IEEE Photon. J., vol. 14, no. 6, pp. 1–9, Dec. 2022. [CrossRef]
  • [21] S. Sun, F. Yang, J. Song, and Z. Han, "Joint resource management for intelligent reflecting surface-aided visible light communications," IEEE Trans. Wirel. Commun., vol. 21, no. 8, pp. 6508–6522, Aug. 2022. [CrossRef]
  • [22] A. A. Hammadi, L. Bariah, S. Muhaidat, M. Al-Qutayri, P. C. Sofotasios, and M. Debbah, "Deep Q-learning-based resource management in IRS-assisted VLC systems," IEEE Trans. Mach. Learn. Commun. Netw., vol. 2, pp. 34–48, 2024. [CrossRef]
  • [23] Z. Liu, F. Yang, S. Sun, J. Song, and Z. Han, "Sum rate maximization for NOMA-based VLC with optical intelligent reflecting surface," IEEE Wirel. Commun. Lett., vol. 12, no. 5, pp. 848–852, May 2023. [CrossRef]
  • [24] S. Sun, F. Yang, J. Song, and Z. Han, "Optical IRS for visible light communication: Modeling, design, and open issues," arXiv, 2024. [CrossRef]
  • [25] C. Liu, J. Wang, L. Feng, H. Chen, and Z. Xue, "Robust layout optimization for intelligent reflecting surfaces-based visible light communication systems," Appl. Opt., vol. 63, no. 8, pp. 2020–2029, Mar. 2024. [CrossRef] [PubMed]
  • [26] J. Zhao et al., "Secrecy outage probability of IRS-aided VLC systems with power splitting," Electron. Lett., vol. 60, no. 21, p. e70084, Nov. 2024. [CrossRef]
  • [27] N. An, F. Yang, L. Cheng, J. Song, and Z. Han, "IRS-assisted aggregated VLC-RF system: Resource allocation for energy efficiency maximization," IEEE Trans. Wirel. Commun., vol. 23, no. 10, pp. 12578–12593, Oct. 2024. [CrossRef]
  • [28] Y. Cang, M. Chen, J. Zhao, Z. Yang, Y. Hu, C. Huang, and K.-K. Wong, "Joint deployment and resource management for VLC-enabled RISs-assisted UAV networks," IEEE Trans. Wirel. Commun., vol. 22, no. 2, pp. 746–760, Feb. 2023. [CrossRef]
  • [29] F. Miramirkhani and M. Uysal, "Channel modelling for indoor visible light communications," Philos. Trans. R. Soc. A, vol. 378, no. 2169, p. 20190187, Mar. 2020. [CrossRef] [PubMed]
  • [30] Y. Tong et al., "Channel characteristics and link adaption for visible light communication in an industrial scenario," Sensors, vol. 23, no. 7, 2023, Art. no. 3442. [CrossRef] [PubMed]
  • [31] M. A. S. Sejan et al., "A comprehensive survey on MIMO visible light communication: Current research, machine learning and future trends," Sensors, vol. 23, no. 2, Jan. 2023, Art. no. 739. [CrossRef] [PubMed]
  • [32] T. Deepa et al., "Performance analysis of novel precoding matrix techniques for optical OFDM-based visible light communication systems," Opt. Laser Technol., vol. 154, p. 108293, 2022. [CrossRef]
  • [33] Y. A. Zenhom, E. K. I. Hamad, M. Alghassab, and M. M. Elnabawy, "Optical-OFDM VLC system: Peak-to-average power ratio enhancement and performance evaluation," Sensors, vol. 24, no. 10, May 2024, Art. no. 2965. [CrossRef] [PubMed]
  • [34] D. Zheng et al., "DCO-OTFS based full-duplex relay-assisted visible light communication," Opt. Express, vol. 29, pp. 41323–41332, 2021. [CrossRef]
  • [35] H. Farahneh et al., "Performance analysis of adaptive OFDM modulation scheme in VLC vehicular communication network in realistic noise environment," EURASIP J. Wirel. Commun. Netw., vol. 2018, p. 243, 2018. [CrossRef]
  • [36] A. R. Hussen, R. Iqbal, A. Zoha, M. A. Imran, and H. Abumarshoud, "Sum rate maximisation for IRS-assisted VLC using reinforcement learning," in Proc. IEEE Middle East Conf. Commun. Netw. (MECOM), Abu Dhabi, United Arab Emirates, Nov. 17–20, 2024, pp. 464–469. [CrossRef]

Disclaimer/Publisher’s Note

The views expressed in this article are those of the author(s) and do not necessarily reflect the views of the publisher or editors. The publisher and editors assume no responsibility for any injury or damage resulting from the use of information contained herein.

This is not the final version of the article. Changes may occur when the manuscript is published in its final format.

Copyright