Improving Visible Light Positioning Accuracy Using Particle Swarm Optimization (PSO) for Deep Learning Hyperparameter Updating in Received Signal Strength (RSS)-Based Convolutional Neural Network (CNN)
Abstract
1. Introduction
2. Algorithms of RSS Data Pre-Processing, CNN Model, PSO, and Proof-of-Concept Experiment
2.1. RSS Data Acquisition and Pre-Processing
2.2. Model Design and Training
2.3. Hyperparameter Optimization via PSO
3. Results and Discussion
3.1. Evaluation of LR, ANN, and CNN Models with and Without Pre-Processing
3.2. Performance Enhancement Through PSO-Based Hyperparameter Tuning
3.3. Robustness Analysis Across Spatial Planes and Model Architectures
3.4. CDF-Based Performance Comparison
3.5. Loss Curve Analysis
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Haas, H.; Elmirghani, J.; White, I. Optical wireless communication. Phil. Trans. R. Soc. 2020, 378, 2169. [Google Scholar] [CrossRef] [PubMed]
- Komine, T.; Nakagawa, M. Fundamental analysis for visible-light communication system using LED lights. IEEE Trans. Consum. Electron. 2004, 50, 100–107. [Google Scholar] [CrossRef]
- O’Brien, D.C.; Zeng, L.; Le-Minh, H.; Faulkner, G.; Walewski, J.W.; Randel, S. Visible light communications: Challenges and possibilities. In Proceedings of the 2008 IEEE 19th International Symposium on Personal, Indoor and Mobile Radio Communications, Cannes, France, 15–18 September 2008; pp. 1–5. [Google Scholar] [CrossRef]
- Weng, H.; Wang, W.; Chen, Z.; Zhu, B.; Li, F. A Review of Indoor Optical Wireless Communication. Photonics 2024, 11, 722. [Google Scholar] [CrossRef]
- Chi, N.; Zhou, Y.; Wei, Y.; Hu, F. Visible light communication in 6G: Advances, challenges, and prospects. IEEE Veh. Technol. Mag. 2020, 15, 93–102. [Google Scholar] [CrossRef]
- Chow, C.W. Recent advances and future perspectives in optical wireless communication, free space optical communication and sensing for 6G. J. Light. Technol. 2024, 42, 3972–3980. [Google Scholar] [CrossRef]
- Jungnickel, V.; Vucic, J.; Langer, K. High-speed optical wireless communications. In Proceedings of the Optical Fiber Communication Conference, San Francisco, CA, USA, 9–13 March 2014; Th1F.5. [Google Scholar] [CrossRef]
- Uysal, M.; Nouri, H. Optical wireless communications—An emerging technology. In Proceedings of the 2014 16th International Conference on Transparent Optical Networks (ICTON), Graz, Austria, 6–10 July 2014; pp. 1–7. [Google Scholar] [CrossRef]
- Koonen, T. Indoor optical wireless systems: Technology, trends, and applications. J. Light. Technol. 2018, 36, 1459–1467. [Google Scholar] [CrossRef]
- Ciaramella, E.; Cossu, G.; Gilli, L. VCSEL-based optical wireless transmission: New research prospects. In Proceedings of the 2024 Optical Fiber Communications Conference and Exhibition (OFC), San Diego, CA, USA, 24–28 March 2024; p. M3F.2. [Google Scholar]
- Wang, K.; Nirmalathas, A.; Lim, C.; Skafidas, E. High-speed optical wireless communication system for indoor applications. IEEE Photon. Technol. Lett. 2011, 23, 519–521. [Google Scholar] [CrossRef]
- Manie, Y.C.; Yao, C.K.; Yeh, T.Y.; Teng, Y.C.; Peng, P.C. Laser-based optical wireless communications for internet of things (IoT) application. IEEE Internet Things J. 2022, 9, 24466–24476. [Google Scholar] [CrossRef]
- Ying, C.L.; Lu, H.H.; Li, C.Y.; Cheng, C.J.; Peng, P.C.; Ho, W.J. 20-Gbps optical LiFi transport system. Opt. Lett. 2015, 40, 3276–3279. [Google Scholar] [CrossRef]
- Haas, H.; Yin, L.; Wang, Y.; Chen, C. What is LiFi? J. Lightw. Technol. 2016, 34, 1533–1544. [Google Scholar] [CrossRef]
- Geng, Z.; Khan, F.N.; Guan, X.; Dong, Y. Advances in visible light communication technologies and applications. Photonics 2022, 9, 893. [Google Scholar] [CrossRef]
- He, C.; Chen, C. Advanced Technologies in Optical Wireless Communications. Photonics 2025, 12, 759. [Google Scholar] [CrossRef]
- Mietzner, J.; Harlakin, A.; Hoeher, P.A.; Fast, T.; Liedtke, C.; Heinze, R.; Greuel, R. Joint Light Planning and Error-Rate Prediction for Dual-Use Lighting/Visible Light Communication. IEEE Photonics J. 2022, 14, 1–13. [Google Scholar] [CrossRef]
- Minh, H.L.; O’Brien, D.; Faulkner, G.; Zeng, L.; Lee, K.; Jung, D. 100-Mb/s NRZ visible light communications using a postequalized white LED. IEEE Photonics Technol. Lett. 2009, 21, 1063–1065. [Google Scholar] [CrossRef]
- Vucic, J.; Kottke, C.; Narrator, S.; Langer, K.-D.; Walewski, J.W. 513 Mbit/s visible light communications link based on DMT-modulation of a white LED. J. Light. Technol. 2010, 28, 3512–3518. [Google Scholar] [CrossRef]
- Lan, H.-Y.; Tseng, I.-C.; Lin, Y.-H.; Lin, G.-R.; Huang, D.-W.; Wu, C.-H. High-speed integrated micro-LED array for visible light communication. Opt. Lett. 2020, 45, 2203–2206. [Google Scholar] [CrossRef]
- Shen, C.; Alkhazragi, O.; Sun, X.; Guo, Y.; Ng, T.K.; Ooi, B.S. Laser based Visible Light Communications and Underwater Wireless Optical Communications: A Device Perspective. In Proceedings of the Novel In-Plane Semiconductor Lasers XVIII, San Francisco, CA, USA, 4–7 February 2019. [Google Scholar] [CrossRef]
- Schrenk, B. VLC over high-flux LEDs using simple baseband signaling: Spectral stitching vs. beam combining. In Proceedings of the 2025 Optical Fiber Communications Conference and Exhibition (OFC), San Francisco, CA, USA, 30 March–3 April 2025; p. M2J.5. [Google Scholar]
- Lu, H.H.; Lin, Y.P.; Wu, P.Y.; Chen, C.Y.; Chen, M.C.; Jhang, T.W. A multiple-input-multiple-output visible light communication system based on VCSELs and spatial light modulators. Opt. Exp. 2014, 22, 3468–3474. [Google Scholar] [CrossRef]
- Chang, C.H.; Li, C.Y.; Lu, H.H.; Lin, C.Y.; Chen, J.H.; Wan, Z.W.; Cheng, C.J. A 100-Gb/s multiple-input multiple-output visible laser light communication system. J. Light. Technol. 2014, 32, 4723–4729. [Google Scholar] [CrossRef]
- Armstrong, J.; Sekercioglu, Y.A.; Neild, A. Visible light positioning: A roadmap for international standardization. IEEE Commun. Mag. 2013, 51, 68–73. [Google Scholar] [CrossRef]
- Yang, H.; Zhong, W.-D.; Chen, C.; Alphones, A.; Du, P. QoS-driven optimized design-based integrated visible light communication and positioning for indoor IoT networks. IEEE Internet Things J. 2020, 7, 269–283. [Google Scholar] [CrossRef]
- Rahman, A.B.M.M.; Li, T.; Wang, Y. Recent advances in indoor localization via visible lights: A survey. Sensors 2020, 20, 1382. [Google Scholar] [CrossRef]
- Bastiaens, S.; Alijani, M.; Joseph, W.; Plets, D. Visible Light Positioning as a Next-Generation Indoor Positioning Technology: A Tutorial. IEEE Commun. Surv. Tutor. 2024, 26, 2867–2913. [Google Scholar] [CrossRef]
- Xie, C.; Guan, W.; Wu, Y.; Fang, L.; Cai, Y. The LED-ID detection and recognition method based on visible light positioning using proximity method. IEEE Photon. J. 2018, 10, 7902116. [Google Scholar] [CrossRef]
- Wang, T.Q.; Sekercioglu, Y.A.; Neild, A.; Armstrong, J. Position accuracy of time-of-arrival based ranging using visible light with application in indoor localization systems. J. Lightw. Technol. 2013, 31, 3302–3308. [Google Scholar] [CrossRef]
- Hong, C.Y.; Wu, Y.C.; Liu, Y.; Chow, C.W.; Yeh, C.H.; Hsu, K.L.; Lin, D.C.; Liao, X.L.; Lin, K.H.; Chen, Y.Y. Angle-of-arrival (AOA) visible light positioning (VLIP) system using solar cells with third-order regression and ridge regression algorithms. IEEE Photon. J. 2020, 12, 7902605. [Google Scholar] [CrossRef]
- Zhu, B.; Zhu, Z.; Wang, Y.; Cheng, J. Optimal Optical Omnidirectional Angle-of-Arrival Estimator With Complementary Photodiodes. J. Light. Technol. 2019, 37, 2932–2945. [Google Scholar] [CrossRef]
- Du, P.F.; Zhang, S.; Chen, C.; Alphones, A.; Zhong, W.D. Demonstration of a low-complexity indoor visible light positioning system using an enhanced TDOA scheme. IEEE Photon. J. 2018, 10, 7905110. [Google Scholar] [CrossRef]
- Kim, H.S.; Kim, D.R.; Yang, S.H.; Son, Y.H.; Han, S.K. An indoor visible light communication positioning system using a RF carrier allocation technique. J. Lightw. Technol. 2013, 31, 134–144. [Google Scholar] [CrossRef]
- Hsu, C.W.; Wu, J.T.; Wang, H.Y.; Chow, C.W.; Lee, C.H.; Chu, M.T.; Yeh, C.H. Visible light positioning and lighting based on identity positioning and RF carrier allocation technique using a solar cell receiver. IEEE Photon. J. 2016, 8, 7905507. [Google Scholar] [CrossRef]
- Chuang, Y.C.; Li, Z.Q.; Hsu, C.W.; Liu, Y.; Chow, C.W. Visible light communication and positioning using positioning cells and Machine Learning algorithms. Opt. Exp. 2019, 27, 16377–16383. [Google Scholar] [CrossRef] [PubMed]
- Wu, J.; Xu, R.; Huang, R.; Hong, X. Data-Efficient Training of Gaussian Process Regression Models for Indoor Visible Light Positioning. Sensors 2024, 24, 8027. [Google Scholar] [CrossRef]
- Chaudhary, N.; Younus, O.I.; Alves, L.N.; Ghassemlooy, Z.; Zvanovec, S. The Usage of ANN for Regression Analysis in Visible Light Positioning Systems. Sensors 2022, 22, 2879. [Google Scholar] [CrossRef] [PubMed]
- Liu, Z.; Yu, C. Multi-User Visible Light Communication and Positioning System Based on Dual-Domain Multiplexing Scheme. Photonics 2023, 10, 306. [Google Scholar] [CrossRef]
- Sun, W.; Chen, J.; Yu, C. Indoor receiving signal strength based visible light positioning enabled with equivalent virtual lamps. Appl. Opt. 2024, 62, 4583–4590. [Google Scholar] [CrossRef]
- Huang, H.; Yang, A.; Feng, L.; Ni, G.; Guo, P. Artificial neural-network-based visible light positioning algorithm with a diffuse optical channel. Chin. Opt. Lett. 2017, 15, 050601. [Google Scholar] [CrossRef][Green Version]
- Saboundji, A.H.; Meziane, S.; Dahmani, M.; Meche, A.; Keche, M. Accurate visible light positioning system using neural network. In Proceedings of the 7th International Conference on Image and Signal Processing and their Applications (ISPA), Mostaganem, Algeria, 8–9 May 2022; pp. 1–5. [Google Scholar] [CrossRef]
- Yu, Y.; Zhao, D.; Chen, J.; Fu, K.; Yu, S.; Gao, L. LSTM-KAN: Revolutionizing Indoor Visible Light Localization with Robust Sequence Learning. Big Data Min. Anal. 2025, 8, 1245–1260. [Google Scholar] [CrossRef]
- Chen, H.; Han, W.; Wang, J.; Lu, H.; Chen, D.; Jin, J.; Feng, L. High accuracy indoor visible light positioning using a long short term memory-fully connected network based algorithm. Opt. Express 2021, 29, 41109–41120. [Google Scholar] [CrossRef]
- Shu, Y.H.; Chang, Y.H.; Lin, Y.Z.; Chow, C.W. Real-Time Indoor Visible Light Positioning (VLP) Using Long Short Term Memory Neural Network (LSTM-NN) with Principal Component Analysis (PCA). Sensors 2024, 24, 5424. [Google Scholar] [CrossRef]
- Hsu, L.S.; Tsai, D.C.; Chow, C.W.; Liu, Y.; Chang, Y.H.; Lin, Y.Z.; Yeh, C.H.; Wang, Y.C.; Chen, Y.Y. Using data pre-processing and convolutional neural network (CNN) to mitigate light deficient regions in visible light positioning (VLP) systems. J. Lightw. Technol. 2022, 40, 5894–5900. [Google Scholar] [CrossRef]
- Ostertagová, E. Modelling using polynomial regression. Procedia Eng. 2012, 48, 500–506. [Google Scholar] [CrossRef]
- Yang, W.; Qin, L.; Hu, X.; Zhao, D. Indoor visible-light 3D positioning system based on GRU neural network. Photonics 2023, 10, 633. [Google Scholar] [CrossRef]
- Abdalmajeed, A.M.M.; Mahmoud, M.; El-Fikky, A.E.A.; Fayed, H.A.; Aly, M.H. Improved indoor visible light positioning system using machine learning. Opt. and Quant. Electron. 2023, 55, 209. [Google Scholar] [CrossRef]
- Shiomi, K.; Sato, T.; Kita, E. Comparison of particle swarm optimization algorithms in hyperparameter optimization problem of multi layered perceptron. Comput. Assist. Methods Eng. Sci. 2025, 32, 3–24. [Google Scholar] [CrossRef]
- Alibrahim, H.; Ludwig, S.A. Hyperparameter optimization: Comparing genetic algorithm against grid search and Bayesian optimization. In Proceedings of the 2021 IEEE Congress on Evolutionary Computation (CEC), Kraków, Poland, 28 June–1 July 2021; pp. 1551–1559. [Google Scholar] [CrossRef]
- Ali, Y.A.; Awwad, E.M.; Al-Razgan, M.; Maarouf, A. Hyperparameter search for machine learning algorithms for optimizing the computational complexity. Processes 2023, 11, 349. [Google Scholar] [CrossRef]
- Hailu, T.G.; Guo, X.; Si, H. Indoor positioning systems as critical infrastructure: An assessment for enhanced location-based services. Sensors 2025, 25, 4914. [Google Scholar] [CrossRef] [PubMed]
- Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the ICNN’95—International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; pp. 1942–1948. [Google Scholar] [CrossRef]
- Wang, Z.; Liang, Z.; Li, X.; Li, H. Indoor Visible Light Positioning Based on Improved Particle Swarm Optimization Method with Min Max Algorithm. IEEE Access 2022, 10, 130068–130077. [Google Scholar] [CrossRef]






| Hyperparameter | Value |
|---|---|
| Dropout rate | {0.1, 0.4} |
| Learning rate | {1 × 10−4, 5 × 10−3} |
| Batch size | {16, 32, 64} |
| Optimizer | {Adam, SGD} |
| Planes (cm) | LR (cm) | LR + Pre. (cm) | LR Improvement (%) | ANN (cm) | ANN + Pre. (cm) | ANN Improvement (%) | CNN (cm) | CNN + Pre. (cm) | CNN Improvement (%) |
|---|---|---|---|---|---|---|---|---|---|
| 200 | 11.33 ± 5.77 | 8.79 ± 5.59 | 22.42% | 9.86 ± 7.29 | 6.36 ± 5.17 | 35.50% | 9.83 ± 6.87 | 5.72 ± 4.24 | 41.81% |
| 225 | 8.52 ± 4.47 | 8.10 ± 4.09 | 4.93% | 7.36 ± 3.95 | 5.75 ± 4.20 | 21.88% | 8.99 ± 7.36 | 5.46 ± 3.99 | 39.27% |
| 250 | 6.03 ± 3.71 | 5.55 ± 2.90 | 7.96% | 6.33 ± 3.64 | 5.37 ± 3.74 | 15.17% | 5.97 ± 3.05 | 4.85 ± 3.07 | 18.76% |
| (a) | |||
| Planes (cm) | ANN + Pre. (cm) | ANN + Pre + PSO (cm) | ANN Accuracy Gain (%) |
| 200 | 6.36 ± 5.17 | 6.05 ± 4.08 | 4.87 |
| 225 | 5.75 ± 4.20 | 4.62 ± 3.10 | 19.65 |
| 250 | 5.37± 3.74 | 4.09 ± 2.61 | 23.84 |
| (b) | |||
| Planes (cm) | CNN + Pre. (cm) | CNN + Pre. + PSO (cm) | CNN Accuracy Gain (%) |
| 200 | 5.72 ± 4.24 | 4.93 ± 4.22 | 13.81 |
| 225 | 5.46 ± 3.99 | 4.53 ± 3.22 | 17.03 |
| 250 | 4.85 ± 3.07 | 3.87 ± 2.55 | 20.21 |
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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chang, C.-M.; Lin, Y.-Z.; Chow, C.-W. Improving Visible Light Positioning Accuracy Using Particle Swarm Optimization (PSO) for Deep Learning Hyperparameter Updating in Received Signal Strength (RSS)-Based Convolutional Neural Network (CNN). Sensors 2025, 25, 7256. https://doi.org/10.3390/s25237256
Chang C-M, Lin Y-Z, Chow C-W. Improving Visible Light Positioning Accuracy Using Particle Swarm Optimization (PSO) for Deep Learning Hyperparameter Updating in Received Signal Strength (RSS)-Based Convolutional Neural Network (CNN). Sensors. 2025; 25(23):7256. https://doi.org/10.3390/s25237256
Chicago/Turabian StyleChang, Chun-Ming, Yuan-Zeng Lin, and Chi-Wai Chow. 2025. "Improving Visible Light Positioning Accuracy Using Particle Swarm Optimization (PSO) for Deep Learning Hyperparameter Updating in Received Signal Strength (RSS)-Based Convolutional Neural Network (CNN)" Sensors 25, no. 23: 7256. https://doi.org/10.3390/s25237256
APA StyleChang, C.-M., Lin, Y.-Z., & Chow, C.-W. (2025). Improving Visible Light Positioning Accuracy Using Particle Swarm Optimization (PSO) for Deep Learning Hyperparameter Updating in Received Signal Strength (RSS)-Based Convolutional Neural Network (CNN). Sensors, 25(23), 7256. https://doi.org/10.3390/s25237256

