Submitted:
13 October 2025
Posted:
14 October 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Motivation and Challenges
1.2. Contribution
- Proposed an attention-based Deep Learning model for predicting 3D RIS beams and user locations.
- Compared transformer model with LSTM and GRU models, evaluating performance using RMSE and MAE. The proposed model achieves competitive results.
- Demonstrated that transformer model requires fewer parameters and learns faster than LSTM and GRU, ensuring greater efficiency.
2. Related Work
3. System Model and Problem Formulation
3.1. System and Channel Model
3.2. Problem Formulation
4. Solution Approach
5. Experimental Analysis and Discussion
5.1. Experimental Settings
5.2. Result Analysis
- The Transformer might not be the best fit for data with strong temporal patterns, where LSTM/GRU models excel.
- For data with short-term patterns, LSTM/GRU models perform better, while the Transformer is more suited for long-term dependencies.
- Transformer models are larger and more complex, requiring more data to perform effectively. Only 10,000 data points were used in this study.
6. Conclusion
References
- Chen, Z.; Han, C.; Wu, Y.; Li, L.; Huang, C.; Zhang, Z.; Wang, G.; Tong, W. Terahertz wireless communications for 2030 and beyond: A cutting-edge frontier. IEEE Communications Magazine 2021, 59, 66–72. [Google Scholar] [CrossRef]
- Sarieddeen, H.; Saeed, N.; Al-Naffouri, T.Y.; Alouini, M.S. Next generation terahertz communications: A rendezvous of sensing, imaging, and localization. IEEE Communications Magazine 2020, 58, 69–75. [Google Scholar] [CrossRef]
- Akyildiz, I.F.; Jornet, J.M.; Han, C. Terahertz band: Next frontier for wireless communications. Physical communication 2014, 12, 16–32. [Google Scholar] [CrossRef]
- Huq, K.M.S.; Busari, S.A.; Rodriguez, J.; Frascolla, V.; Bazzi, W.; Sicker, D.C. Terahertz-enabled wireless system for beyond-5G ultra-fast networks: A brief survey. IEEE network 2019, 33, 89–95. [Google Scholar] [CrossRef]
- Castro, C.; Elschner, R.; Merkle, T.; Schubert, C.; Freund, R. Experimental demonstrations of high-capacity THz-wireless transmission systems for beyond 5G. IEEE Communications Magazine 2020, 58, 41–47. [Google Scholar] [CrossRef]
- Kokkoniemi, J.; Lehtomäki, J.; Juntti, M. A discussion on molecular absorption noise in the terahertz band. Nano communication networks 2016, 8, 35–45. [Google Scholar] [CrossRef]
- Basar, E.; Di Renzo, M.; De Rosny, J.; Debbah, M.; Alouini, M.S.; Zhang, R. Wireless communications through reconfigurable intelligent surfaces. IEEE access 2019, 7, 116753–116773. [Google Scholar] [CrossRef]
- Abuzainab, N.; Alrabeiah, M.; Alkhateeb, A.; Sagduyu, Y.E. Deep learning for THz drones with flying intelligent surfaces: Beam and handoff prediction. In Proceedings of the 2021 IEEE International Conference on Communications Workshops (ICC Workshops). IEEE, 2021, pp. 1–6.
- Chen, Y.; Yan, L.; Han, C. Millidegree-level direction-of-arrival (DoA) estimation and tracking for terahertz wireless communications. In Proceedings of the 2020 17th Annual IEEE International Conference on Sensing, Communication, and Networking (SECON). IEEE, 2020, pp. 1–9.
- Charan, G.; Hredzak, A.; Stoddard, C.; Berrey, B.; Seth, M.; Nunez, H.; Alkhateeb, A. Towards Real-World 6G Drone Communication: Position and Camera Aided Beam Prediction. In Proceedings of the GLOBECOM 2022 - 2022 IEEE Global Communications Conference, 2022, pp. 2951–2956. [CrossRef]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.u.; Polosukhin, I. Attention is all you need. Advances in Neural Information Processing Systems 2017, 30. [Google Scholar]
- Adhikary, A.; Raha, A.D.; Qiao, Y.; Munir, M.S.; Kim, K.T.; Hong, C.S. Transformer-based Communication Resource Allocation for Holographic Beamforming: A Distributed Artificial Intelligence Framework. In Proceedings of the 2023 24st Asia-Pacific Network Operations and Management Symposium (APNOMS), 2023, pp. 243–246.
- Kim, K.; Tun, Y.K.; Munir, M.S.; Saad, W.; Hong, C.S. Deep Reinforcement Learning for Channel Estimation in RIS-Aided Wireless Networks. IEEE Communications Letters 2023, 27, 2053–2057. [Google Scholar] [CrossRef]
- Va, V.; Choi, J.; Shimizu, T.; Bansal, G.; Heath, R.W. Inverse multipath fingerprinting for millimeter wave V2I beam alignment. IEEE Transactions on Vehicular Technology 2017, 67, 4042–4058. [Google Scholar] [CrossRef]
- Alkhateeb, A. DeepMIMO: A Generic Deep Learning Dataset for Millimeter Wave and Massive MIMO Applications. In Proceedings of the Proc. of Information Theory and Applications Workshop (ITA), San Diego, CA, Feb 2019; pp. 1–8.



| Parameter | Value |
|---|---|
| First, Last User Row | 1, 496 [8] |
| BS Antenna Quantity | 64, 1, 1 [8] |
| RIS Antenna Quantity | 256, 1, 1 [8] |
| Space Between Antennas | 0.5 [8] |
| Center Frequency [GHz] | 200 [8] |
| Bandwidth [GHz] | 1 [8] |
| OFDM Subcarriers | 512 [8] |
| Sampling Factor (OFDM) | 1 [8] |
| OFDM Range | 1 [8] |
| Path Count | 1 [8] |
| Parameter | Value |
|---|---|
| Head Size | 4 |
| Number of Heads | 4 |
| Feed Forward Dimension | 16 |
| Number of Transformer Blocks | 2 |
| MLP Units | 32 |
| MLP Dropout | 0.3 |
| Dropout | 0.3 |
| Batch Size | 32 |
| Optimizer | Adam (LR=0.001) |
| Loss Function | Mean Squared Error |
| Evaluation Metric | Root Mean Squared Error |
| Epochs | 200 |
| Model | MAE | MSE | RMSE |
|---|---|---|---|
| LSTM | 22.94199 | 1887.49869 | 43.44535 |
| GRU | 22.95527 | 1887.95526 | 43.45061 |
| Proposed Model | 32.21674 | 2609.64263 | 51.08466 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).