Manuscript Offprint
arXiv:2610.33945Learning-Accelerated Joint AP/RIS Optimization for Low-Latency Indoor mmWave XR Networks
Ali Elghariani*, Mohammed Elbamby§, and Anis Elgabli¶
*Electrical Engineering Department, King Abdulaziz University, Saudi Arabia
§Telefónica Scientific Research, Barcelona, Spain
¶Industrial and Systems Engineering Department
Interdisciplinary Research Center for Communication Systems and Sensing (IRC-CSS), King Fahd University of Petroleum & Minerals (KFUPM), Saudi Arabia.
Abstract—This paper studies a reconfigurable intelligent surface (RIS)-assisted indoor architecture for extended reality (XR) applications, where multiple access points (APs) simultaneously serve multiple users over a shared frequency channel under a centralized AP controller. We formulate a non-convex sum-rate maximization problem with coupled AP precoders and RIS phase shifts, and develop a centralized alternating optimization (AO) framework for joint design. We rigorously prove that the proposed AO guarantees monotonic improvement of the sum rate that converges to a coordinate-wise stationary point, despite the non-convexity of the resulting subproblems. Although AO provides reliable performance, its iterative nature limits real-time applicability as the system dimension grows. To overcome this limitation, we propose a supervised learning-assisted approach that leverages AO-generated solutions to significantly accelerate convergence. Simulation results demonstrate that the proposed framework achieves near-optimal performance with substantially fewer AO iterations, which makes it well-suited for latency-critical RIS-assisted XR deployments.
Index Terms—RIS, 60GHz, mmWave, beamforming, alternating optimization, blockage, supervised learning.
I. INTRODUCTION
Immersive extended reality (XR) applications such as collaborative gaming, virtual training, and interactive simulation are expected to place stringent demands on future indoor wireless networks [1]. These applications require not only multi-gigabit data rates, but also low and predictable latency to preserve real-time interaction and quality of experience. Millimeter-wave (mmWave) communication, particularly in the 60 GHz band, offers the large bandwidth needed to support such services [2]. However, mmWave indoor links are highly vulnerable to blockage by walls, furniture, and human bodies, which can rapidly interrupt connectivity and degrade system performance.
A particularly challenging XR scenario arises when multiple access points (APs) must simultaneously serve multiple users over the same time-frequency resource in a dense indoor environment. In practice, some users may lose the direct path to their serving APs due to blockage, while still requiring uninterrupted high-rate service. This motivates the need for a network architecture that can restore connectivity through controllable reflected propagation while still supporting parallel multi-user transmission. Reconfigurable Intelligent Surfaces (RISs) provide a promising mechanism for this purpose by creating virtual line-of-sight paths through programmable reflection [3]. Early and recent RIS studies, such as [4], [5], [6] have investigated a variety of optimization techniques in single-cell scenarios. Authors in [7] studied the case of cooperative multi cell scenario in integrated sensing and communications applications. However, to the best of the authors' knowledge, the impact of inter-cell, or equivalently inter-AP, interference in multi-AP RIS-assisted systems remains insufficiently explored.
In this paper, we focus on a unique indoor network architecture that is well suited to XR environments. The architecture consists of multiple APs serving multiple users simultaneously on a single frequency channel, under the control of a centralized AP controller. The specific operating condition of interest is when multiple users experience blockage on their respective direct AP-to-user links, and communication must therefore be sustained through a single RIS deployed in the environment. In this setting, the RIS is not merely used to boost one link or extend the coverage of a single cell. Instead, one common RIS must simultaneously support several blocked users associated with different APs, while shaping the reflected signals so that useful transmission is enhanced and inter-AP interference is controlled.
This architecture leads to an important and largely under-explored design question: can a single RIS be configured to enable simultaneous multi-AP multi-user communication over one frequency while keeping interference manageable and ensuring reliable network performance? Addressing this question requires the RIS to act as a shared spatial coordination device across multiple AP-user pairs. Since the reflected paths generated by one AP may help one user while harming another, the RIS phase configuration must be jointly designed with the AP precoders so that the overall network sum-rate is improved rather than degraded. This joint design becomes even more important in the considered centralized architecture, where all APs are coordinated by one controller and can therefore be optimized together.
Motivated by this problem, we formulate a RIS-assisted sum-rate optimization problem for the above indoor architecture. The optimization jointly designs the transmit precoding of the APs under a zero-forcing (ZF) constraint and the phase shifts of the RIS elements under the assumption that some users' direct links are blocked and hence their communication takes place through the RIS. The problem is inherently non-convex due to the coupling between active beamforming and passive beamforming, and its size grows rapidly with the number of APs, users, and RIS elements. To solve it, we adopt an alternating optimization (AO) framework implemented at the centralized AP controller. In each iteration, the AP precoders and RIS phases are updated in turn, enabling coordinated interference-aware transmission through the shared RIS. Despite the non-convexity of the resulting subproblems, we show that the AO iterates converge to a coordinate-wise locally optimal solution of the discretized problem.
While centralized AO provides a structured way to solve the problem, its practical use in XR systems is challenged by computational latency. Because the optimization dimension becomes large in networks with many APs, users, and RIS elements, repeated AO iterations can be costly in online operation. This creates a gap between optimization quality and real-time deployability. To bridge this gap, we incorporate a learning-based acceleration strategy. Specifically, offline AO solutions are used to train a lightweight model that predicts a high-quality initialization for the joint design variables from the network state. During online operation, this learned initialization places the AO procedure much closer to the final solution, thereby reducing the number of required iterations and accelerating convergence.
The wireless channel is modeled using the Saleh–Valenzuela (SV) model, in which propagation consists of a finite number of dominant clusters, each containing multiple rays with distinct complex gains, delays, and AoA/AoD parameters. This model is particularly suitable for mmWave systems as propagation at such high frequencies is typically sparse, and it captures both large-scale path loss and small-scale fading effects. Further details are in [8], [9].
The AP -RIS channel and RIS-UE channel . Let denote the RIS reflection matrix, where with

Fig. 1. System model for two blocked users assisted by a single RIS.
representing the phase shift of the n-th RIS element. The effective cascaded channel from to via the RIS is given by
where is the precoding vector at with power constraint , and W is the maximum transmit power per AP.
The received signal at can be expressed as
for , , and is the transmitted symbol from to , and is the additive white Gaussian noise.
In this system, we consider a centralized multi-AP architecture in which all APs are coordinated by a common AP controller (APC). The APC is assumed to have access to the channel state information (CSI) of all AP–RIS and RIS–UE links, which can be acquired through uplink pilot transmission and centralized CSI aggregation. Specifically, users transmit pilot sequences during the uplink training phase, each AP locally estimates the associated channels, and the resulting CSI is forwarded to the APC for centralized beamforming and RIS optimization.
III. PROBLEM FORMULATION
For a given RIS configuration, assume that the initial values of can be obtained from random phase-shifts. The cascaded AP–RIS–UE channels between all APs and users are collected into the effective channel matrix
Given , the APC computes the centralized zero-forcing (ZF) precoder as in (2) below. To avoid numerical instability when the effective channel becomes ill-conditioned, the implementation employs the Moore Penrose pseudo inverse or regularized ZF.
The transmit precoder associated with AP j is then extracted and normalized to satisfy the per-AP power constraint as:
Our objective is to jointly optimize the active AP precoders and the passive RIS phase-shift matrix in order to maximize the network sum rate. The resulting optimization problem is formulated as
Problem (4) is non-convex due to the coupled optimization variables and the unit-modulus constraints imposed on the RIS elements. In particular, the AP precoders and RIS phases are strongly coupled through the cascaded effective channels, which makes direct joint optimization intractable.
A. Alternating Optimization Framework
To solve (4), we adopt a centralized alternating optimization (AO) framework that iteratively updates the active AP precoders and passive RIS phase shifts. At each iteration, the algorithm alternates between: i) AP precoder optimization with fixed RIS phases, and ii) RIS phase optimization with fixed AP precoders.
For fixed RIS phases at iteration , , the AP precoders are updated using the ZF solution in (2)–(3), which mitigates inter-user interference through centralized precoding. The updated precoders are accepted only if they yield a non-decreasing sum rate, i.e.,
Next, for fixed precoders , the RIS phase shifts are optimized sequentially using discrete coordinate descent. Specifically, the -th RIS element is updated over the discrete phase set
where L denotes the RIS phase resolution. The phase of the n-th element is selected as
The AO iterations continue until convergence, which is declared when the relative sum-rate improvement satisfies
or when the maximum number of iterations is reached.
The proposed AO framework guarantees monotonic convergence, since each subproblem is solved while fixing the other block of variables and each update yields a non-decreasing objective value.
B. Convergence Analysis
This subsection analyzes the convergence properties of the proposed alternating optimization algorithm, which serves as the core optimization engine in the overall framework. In the complete system, AO is used both as an offline solver to generate supervised learning labels and as an optional online refinement stage after the learned initialization. The convergence behavior of the proposed AO algorithm follows from the monotonicity of the ZF acceptance rule and the discrete coordinate-descent RIS update. The optimization problem is inherently non-convex. However, we prove that the proposed AO algorithm monotonically increases the system sum-rate and converges to a coordinatewise locally optimal point.
Theorem 1 (Finite Monotone Convergence and Coordinate-wise Optimality of the AO Solution). For the discretized RIS phase set F, the proposed AO algorithm generates a non-decreasing sequence of sum-rate values and converges in a finite number of iterations to a coordinate-wise locally optimal solution of the discretized problem.
Proof: At iteration t, the ZF update is accepted only if
For fixed , each RIS phase element is updated by exact search over the finite set . Hence, the RIS update also satisfies
Therefore,
which shows monotonic improvement. Each coordinate update strictly increases or maintains the objective, and the feasible RIS phase configurations belong to the finite discrete set . Hence, the number of distinct achievable objective values is finite. Therefore, the AO process can only perform a finite number of strictly improving updates before reaching a configuration where no single coordinate update can further increase the objective. This point is coordinate-wise locally optimal.
Remark 1 (Practical Stability). Although ZF is a heuristic rather than an exact solution to the continuous precoder subproblem, the acceptance rule ensures monotonic improvement and empirical convergence stability.
The proposed AO algorithm with ZF precoding and discrete coordinate descent RIS phase optimization generates a non-decreasing and bounded sequence of sum-rate values and converges in a finite number of steps to a coordinatewise locally optimal solution of the discretized problem.
C. Learning-Assisted Online Approximation of AO
Although the proposed AO algorithm provides a strong optimization framework and desirable convergence behavior, its iterative nature may lead to non-negligible latency in online operation. This issue is particularly important in XR applications, where channel conditions and user positions may change frequently and the RIS configuration must be updated with stringent delay requirements. To facilitate practical deployability, we propose a learning-assisted online approximation framework that leverages the AO algorithm offline and reduces the online computational burden.
The key idea is to use the AO solution as a source of supervision. Specifically, we generate a dataset offline by sampling many channel realizations and user/AP geometries, and then solving the joint beamforming and RIS optimization problem using the proposed AO algorithm until convergence. The resulting AO outputs serve as target labels for training a supervised learning model. The input features are the real and imaginary parts of the AP–RIS channel matrices and RIS–UE channel vectors , concatenated into a single vector, while the output consists of predicted discrete phase shift indices for each RIS element (via classification) and predicted AP beamforming vectors (via regression).
In the online phase, instead of starting AO from a random RIS configuration, the trained model directly predicts a high-quality solution estimate. This estimate can be used in two modes:
-
Direct inference mode: the model output is used directly as the final configuration when very low latency is required.
-
Hybrid refinement mode: the model output is used as a warm start, followed by a very small number of AO iterations to further improve the objective.
This learning-assisted design is motivated by practical considerations. First, supervised learning is well suited here because the AO algorithm already provides reliable labels, avoiding the need for trial-and-error interaction with the environment. Second, compared with reinforcement learning, the proposed supervised framework is simpler to train, easier to interpret, and more straightforward to deploy. Third, by warm-starting AO from a learned solution rather than a random initialization, the online algorithm can achieve near-converged performance with drastically fewer iterations.
Let denote the trained model with parameters . For an online channel realization , the model outputs
where is decoded from predicted phase shift indices via . The decoded outputs are then either used directly or passed to AO as initialization. The refined online solution after additional AO iterations is expressed as
where in practice.
The objective of the proposed learning-assisted framework is therefore not to replace AO entirely, but rather to approximate its converged solution with negligible online delay and, when needed, recover the remaining performance gap using only lightweight refinement iterations.
Algorithm 1 Offline Training Procedure
Require: Training size , channel generator , AO solver, model
Ensure: Trained model
1: for do
2: Sample channels ; form from real/imag parts
3: Compute AO solution ; extract phase shift indices
4: Store
5: end for
6: Train with cross-entropy loss on and MSE loss on
7: return
Algorithm 2 Online Learning-Assisted AO Refinement
Require: Online channel realization c, trained model , refinement budget
Ensure: Online solution
1: Predict phase shift indices and beamformers:
2: Decode:
3: if then
4:
5: else
6: Initialize AO with
7: for do
8: Iteratively update the active AP precoders and passive RIS phase as in (III-A)
9: end for
10: Set to the refined solution
11: end if
12: return
D. Complexity Analysis
Each AO iteration requires operations for ZF precoding and for RIS phase updates, resulting in an overall complexity of . With the learning-assisted approach, the complexity reduces to where . For large RIS sizes, the phase update stage dominates the runtime, as its complexity scales linearly with both the number of RIS elements and the phase-grid resolution, which motivates the proposed learning-assisted warm start.
IV. SIMULATION AND RESULTS
A. Learning Model Architecture and Training
We consider a multi-layer perceptron model with a shared encoder trunk and two task-specific output heads (Share-dEncoderMLP). The input vector , with , is formed by concatenating the real and imaginary parts of all AP–RIS channel matrices and RIS–UE channel vectors .
The architecture has three stages: (i) separate encoders for the G and h channel features using LayerNorm and BatchNorm respectively, (ii) a shared two-layer trunk with BatchNorm, GELU activations, and dropout, and (iii) two output heads. The -head produces logits, considering each RIS element as an independent L-way classifier over the
TABLE I LEARNING MODEL TRAINING PARAMETERS.
| Parameter | Value |
|---|---|
| Training / val. / test samples | 64 000 / 1 000 / 1 000 |
| Batch size | 256 |
| Max epochs | 400 |
| Learning rate | (cosine ) |
| Weight decay | |
| Loss weights () | (1.0, 0.5) |
| Phase resolution | 16 |
| Dropout | 0.10 |
| Early stopping patience | 60 epochs |
discrete phase set . The W-head outputs 2JM real values encoding the AP beamformers. The composite training loss is
where is cross-entropy on discrete phase shift classification and is MSE on beamformer regression. Training uses AdamW with cosine-annealing schedule and early stopping. Key parameters are listed in Table I. Hidden-layer widths scale with to accommodate different RIS sizes.
B. Numerical Results
In this section, numerical examples are provided to validate the proposed framework. We consider an indoor stage for XR experience of size with a single RIS positioned at (5, 2.5, 2) and with RIS elements. We evaluate two network sizes of APs and users. Each AP employs antennas and is mounted on the walls of the indoor environment, while each user has a single antenna and is uniformly distributed within the area, with height fixed at . The RIS is modeled with non-ideal reflection efficiency . The carrier frequency is with transmission bandwidth [10], and the noise power spectral density is set to . As benchmarks, we compare the proposed scheme against i) TDM, where the RIS is optimized for one user at a time using the same AO procedure with equal time allocation, and ii) random RIS phase configuration without AO optimization. All channels follow the Saleh-Valenzuela model, and reported results are averaged over 1000 independent channel and user-location realizations.
For the learning-assisted framework, the dataset is generated offline using the converged AO solutions under many independent realizations. A supervised learning model is then trained to predict a high-quality initialization for the online phase. During testing, we evaluate three online modes: fully iterative AO from random initialization, direct prediction using the trained model, and hybrid prediction followed by a very small number of AO refinement iterations.
Fig. 2 shows the achievable sum rate of the proposed algorithm at different and with RIS size equal to 128 elements. The figure emphasizes that at transmit power 30 dBm, which corresponds to a relatively high SNR regime, the joint optimization of precoder and RIS phases allows the system to exploit spatial diversity of the RIS in simultaneous communication. In both cases of and , the joint optimization algorithm outperforms the TDM and random cases. Interestingly, as the number of APs and UEs increases from 2 to 4 in the same indoor stage size, the optimized RIS is still able to manage interference and achieve improved sum rate in the 4-AP case over the 2-AP case.
Fig. 3, on the other hand, focuses on studying the effect of different RIS sizes of , and 128 on the sum rate of the proposed algorithm when the transmit power is 30 dBm. It clearly demonstrates that the sum rate increases as the size of the RIS increases from 32 to 128 elements.
Fig. 4 illustrates the achievable sum rate of the joint optimization algorithm at various transmit powers when . It can be seen that the achievable sum rate from all users increases as the transmit power increases, and this improvement becomes more pronounced when the transmit power exceeds 10 dBm.
The convergence behavior of the proposed AO algorithm was empirically evaluated, revealing a median convergence requirement of approximately 10–12 iterations at the 50th percentile when initialized randomly. While this confirms the stability of the iterative solver, it also highlights the practical limitation of AO for online deployment in latency-sensitive XR settings.
To address this issue, Fig. 5 shows the sum-rate CDF for in three modes: AO-only, NN-only (direct model inference without AO refinement), and NN+AO (model prediction followed by AO refinements). The results show that NN-only approximates the AO-only CDF reasonably well, particularly at moderate , which confirms that the learned model captures the essential structure of the AO solution. Moreover, with only a few refinement iterations, NN+AO closely approaches the performance of converged AO across all values and percentiles, demonstrating that the learned warm start provides near-AO performance with significantly lower iterative complexity. We further quantify the iteration savings in Fig. 6. As grows from 16 to 128, AO requires considerably more iterations (from to ), whereas NN+AO converges with much fewer iterations (from to ), while both achieve nearly identical sum-rate. Due to space constraints, latency is reported for one representative case with in which the average online optimization time was 220 ms (AO-only), 0.5 ms (NN-only) and 98 ms (NN+AO), respectively. We have also tested the AO and the learning-assisted algorithms against imperfect CSI by imposing a normalized Gaussian channel estimation error of 0.1 and the sum-rate degradation remains below 1 bps/Hz. These results confirm that the proposed learning-assisted method substantially accelerates convergence, making it well suited for real-time RIS-assisted XR deployments.
V. CONCLUSION
In this work, we formulated a sum-rate maximization problem for a shared single-RIS multi-AP XR architecture and developed an AO-based solution for joint AP precoding and RIS phase design, which achieves monotonic convergence

Fig. 2. Sum-rate comparison at N = 128 and .

Fig. 3. Optimized sum-rate at different N and different J, K.
Sum Rate vs. Transmit Power for Different RIS Sizes

Fig. 4. Sum-rate vs. transmit power with 4 APs × 4 UEs at different N

Fig. 5. Sum-rate CDF for different N values
to a locally optimal solution. To reduce online complexity, we further proposed a supervised learning-assisted initializa-

Fig. 6. Iterations & Sum-rate for different N values.
tion strategy that significantly accelerates convergence while preserving near-optimal performance. The resulting hybrid model-based and learning-driven framework provides a practical solution for lowering online optimization time.
Acknowledgement
This publication is based upon work supported by King Fahd University of Petroleum & Minerals. Author(s) at KFUPM acknowledge the Deanship of Research at King Fahd University of Petroleum & Minerals for the support received under Grant no. IN26019.
REFERENCES
[1] E. M. Ghourab, M. Azab, D. Gračanin, O. Alhussein, M. Al-Qutayri, and S. Muhaidat, “Extended reality-aware wireless communication networks: A systematic literature review,” IEEE Open Journal of the Communications Society, 2025.
[2] A. E. Redondi, C. Innamorati, S. Gallucci, S. Fiocchi, and F. Matera, “A survey on future millimeter-wave communication applications,” IEEE Access, 2024.
[3] S. Hassouna, M. A. Jamshed, J. Rains, J. u. R. Kazim, M. U. Rehman, M. Abualhayja, L. Mohjazi, T. J. Cui, M. A. Imran, and Q. H. Abbasi, "A survey on reconfigurable intelligent surfaces: Wireless communication perspective," IET Communications, vol. 17, no. 5, pp. 497–537, 2023.
[4] M. Iqbal, T. Ashraf, M. Zubair, S. M. Jameel, M. Jazib, and J.-Y. Pan, "A comprehensive survey on reconfigurable intelligent surfaces (ris) and star-ris for next-generation wireless networks," Discover Applied Sciences, vol. 7, no. 11, p. 1253, 2025.
[5] Y. Sun, H. Xu, B. Ning, Z. Cheng, C. Ouyang, and H. Yang, “Sum-rate optimization for ris-aided multiuser communications with movable antennas,” IEEE Wireless Communications Letters, 2024.
[6] Z. Li, O. A. Topal, Ö. T. Demir, E. Björnson, and C. Cavdar, “mmwave coverage extension using reconfigurable intelligent surfaces in indoor dense spaces,” in ICC 2023-IEEE International Conference on Communications. IEEE, 2023, pp. 5805–5810.
[7] X. Yang, Z. Wei, Y. Liu, H. Wu, and Z. Feng, “Ris-assisted cooperative multicell isac systems: A multi-user and multi-target case,” IEEE Transactions on Wireless Communications, vol. 23, no. 8, pp. 8683–8699, 2024.
[8] A. A. Saleh and R. Valenzuela, “A statistical model for indoor multipath propagation,” IEEE Journal on selected areas in communications, vol. 5, no. 2, pp. 128–137, 1987.
[9] R. Li, S. Sun, and M. Tao, “Ergodic achievable rate maximization of ris-assisted millimeter-wave mimo-ofdm communication systems,” IEEE Transactions on Wireless Communications, vol. 22, no. 3, pp. 2171–2184, 2022.
[10] T. Nitsche, C. Cordeiro, A. B. Flores, E. W. Knightly, E. Perahia, and J. C. Widmer, “Ieee 802.11 ad: directional 60 ghz communication for multi-gigabit-per-second wi-fi,” IEEE Communications Magazine, vol. 52, no. 12, pp. 132–141, 2014.