Submitted:
13 May 2026
Posted:
15 May 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Algorithm
| Algorithm 1 number_of_subhistories() |
Require:
|
| Algorithm 2 round_for_inverse_curve() |
Require:
|
| Algorithm 3 sampling_frequency_selection() |
|
3. Validation and Benchmarks
4. Relevance to Optics and Photonics
5. Conclusions and Applications
Funding
Acknowledgments
Appendix A. Auxiliary Materials for Validation


| N | Count | Speedup factor (mean±std) |
Memory ratio (mean) |
Pure time () |
Numba time () |
Pure mem (kB) |
Numba mem (kB) |
| 1 | 140 | 6.48 | 26.18 | 5.61 | 6.98 | 1.08 | |
| 2 | 26 | 6.60 | 29.03 | 5.74 | 7.27 | 1.10 | |
| 3 | 32 | 6.49 | 29.86 | 5.65 | 7.30 | 1.12 | |
| 4 | 6 | 6.37 | 30.64 | 5.70 | 7.32 | 1.15 | |
| 5 | 14 | 6.27 | 32.10 | 5.74 | 7.34 | 1.17 | |
| 6 | 20 | 6.18 | 32.45 | 5.76 | 7.39 | 1.20 | |
| 7 | 11 | 6.06 | 33.15 | 5.78 | 7.39 | 1.22 | |
| 8 | 3 | 5.97 | 34.08 | 5.91 | 7.41 | 1.24 | |
| 9 | 2 | 5.88 | 34.52 | 5.82 | 7.44 | 1.27 | |
| 10 | 1 | 5.79 | 35.98 | 5.89 | 7.46 | 1.29 | |
| 11 | 12 | 5.70 | 36.38 | 5.91 | 7.48 | 1.31 | |
| 12 | 3 | 5.62 | 37.55 | 5.89 | 7.51 | 1.34 | |
| 13 | 7 | 5.54 | 38.23 | 5.92 | 7.53 | 1.36 | |
| 14 | 6 | 5.46 | 39.04 | 5.95 | 7.55 | 1.38 | |
| 16 | 2 | 5.32 | 40.89 | 6.03 | 7.60 | 1.43 | |
| 17 | 3 | 5.25 | 41.32 | 6.01 | 7.62 | 1.45 | |
| 18 | 6 | 5.18 | 42.52 | 6.09 | 7.65 | 1.48 | |
| 19 | 1 | 5.11 | 43.33 | 6.14 | 7.67 | 1.50 | |
| 22 | 1 | 4.93 | 45.95 | 6.15 | 7.74 | 1.57 | |
| 23 | 2 | 4.87 | 46.21 | 6.31 | 7.77 | 1.59 | |
| 24 | 1 | 4.82 | 80.24 | 10.61 | 7.79 | 1.62 | |
| 25 | 2 | 4.76 | 48.72 | 6.34 | 7.81 | 1.64 | |
| 26 | 1 | 4.71 | 49.27 | 6.26 | 7.84 | 1.66 | |
| 27 | 4 | 4.66 | 49.29 | 6.37 | 7.86 | 1.69 | |
| 28 | 9 | 4.61 | 51.05 | 6.47 | 7.88 | 1.71 | |
| 30 | 12 | 4.51 | 52.44 | 6.48 | 7.93 | 1.76 | |
| 31 | 8 | 4.46 | 53.25 | 6.52 | 7.95 | 1.78 | |
| 38 | 1 | 4.17 | 58.81 | 6.71 | 8.12 | 1.95 | |
| 46 | 1 | 3.89 | 65.85 | 6.87 | 8.30 | 2.13 | |
| 47 | 1 | 3.86 | 65.93 | 6.90 | 8.33 | 2.16 | |
| 50 | 1 | 3.77 | 69.42 | 7.11 | 8.40 | 2.23 | |
| 53 | 1 | 3.69 | 71.55 | 7.12 | 8.47 | 2.30 | |
| 55 | 5 | 3.63 | 74.01 | 7.25 | 8.52 | 2.34 | |
| 57 | 1 | 3.58 | 74.04 | 7.16 | 8.56 | 2.39 | |
| 60 | 12 | 3.51 | 77.21 | 7.46 | 8.63 | 2.46 | |
| 62 | 2 | 3.46 | 79.23 | 7.36 | 8.68 | 2.51 | |
| 63 | 5 | 3.44 | 79.96 | 7.45 | 8.70 | 2.53 | |
| 78 | 1 | 3.14 | 93.75 | 7.99 | 9.05 | 2.88 | |
| 96 | 1 | 2.88 | 111.52 | 8.87 | 9.52 | 3.30 | |
| 102 | 1 | 2.80 | 115.24 | 8.80 | 9.66 | 3.45 | |
| 104 | 1 | 2.78 | 116.89 | 9.04 | 9.71 | 3.49 | |
| 108 | 1 | 2.73 | 120.86 | 9.05 | 9.80 | 3.59 | |
| 112 | 1 | 2.69 | 125.01 | 9.14 | 9.90 | 3.68 | |
| 118 | 1 | 2.63 | 128.56 | 9.37 | 10.04 | 3.82 | |
| 132 | 1 | 2.50 | 139.91 | 9.81 | 10.37 | 4.15 | |
| 136 | 1 | 2.47 | 145.02 | 10.00 | 10.46 | 4.24 | |
| 137 | 1 | 2.45 | 140.53 | 9.75 | 10.44 | 4.27 | |
| 139 | 1 | 2.43 | 144.25 | 9.74 | 10.48 | 4.31 | |
| 140 | 4 | 2.42 | 144.96 | 9.81 | 10.51 | 4.34 | |
| 166 | 1 | 2.26 | 169.71 | 10.86 | 11.16 | 4.95 | |
| 176 | 1 | 2.20 | 176.53 | 11.19 | 11.40 | 5.18 | |
| 212 | 1 | 2.03 | 206.86 | 12.34 | 12.24 | 6.02 | |
| 256 | 1 | 1.88 | 248.35 | 14.29 | 13.27 | 7.05 | |
| 276 | 4 | 1.82 | 262.30 | 14.93 | 13.70 | 7.52 | |
| 300 | 8 | 1.76 | 282.15 | 16.02 | 14.26 | 8.09 |
References
- Lawrence, M.J.; Willke, B.; Husman, M.E.; Gustafson, E.K.; Byer, R.L. Dynamic response of a Fabry–Perot interferometer. J. Opt. Soc. Am. B 1999, 16, 523. [Google Scholar] [CrossRef]
- Bhawal, B. Real-time simulation of interferometric gravitational wave detectors involving moving mirrors. J. Opt. Soc. Am. A 1998, 15, 120. [Google Scholar] [CrossRef]
- Beausoleil, R.G.; Sigg, D. Spatiotemporal model of the LIGO interferometer. J. Opt. Soc. Am. A 1999, 16, 2990. [Google Scholar] [CrossRef]
- Yong Lee, J.; Won Hahn, H.W.L. Time Domain Study on Cavity Ring-Down Signals from a Fabry-Pérot Cavity under Pulsed Laser Excitations. Jpn. J. Appl. Phys. 1999, 38, 6287. [Google Scholar] [CrossRef]
- Bhawal, B. LIGO end-to-end simulation program. AIP Conf. Proceedings 2000, 523, 469–470. [Google Scholar] [CrossRef]
- Caron, B. SIESTA, a time domain, general purpose simulation program for the VIRGO experiment. Astropart. Phys. 1999, 10, 369–386. [Google Scholar] [CrossRef]
- Rakhmanov, M. Dynamics of Laser Interferometric Gravitational Wave Detectors. PhD thesis, California Institute of Technology, Pasadena, California, 2000. Available online: https://resolver.caltech.edu/CaltechETD:etd-05242004-154845.
- Svizzeretto, A. Optical cavity locking in non linear regime: A Reinforcement Learning strategy for future applications in Gravitational Wave Detectors. Master’s thesis, Università di Perugia, Perugia, 2024. [Google Scholar]
- Svizzeretto, A.; Bawaj, M. Partial Observability and Domain Randomization in RL-Based Strategy for Optical Cavity Locking Optimization. In Proceedings of the Proceedings of Fifth MODE Workshop on Differentiable Programming for Experiment Design — PoS(MODE2025). Sissa Medialab, 2026, MODE2025; p. 035. [CrossRef]
- Bawaj, M.; Svizzeretto, A. Applying reinforcement learning to optical cavity locking tasks: considerations on actor-critic architectures and real-time hardware implementation. arXiv 2026, arXiv:2509.14884. [Google Scholar]
- Hassen, S.Z.S.; Petersen, I.R. Frequency Locking of an Optical Cavity Using a Time-Varying Kalman Filtering Approach. IEEE Trans. Control Syst. Technol. 2014, 22, 1143–1150. [Google Scholar] [CrossRef]
- Zhao, W.; Queralta, J.P.; Westerlund, T. Sim-to-Real Transfer in Deep Reinforcement Learning for Robotics: a Survey. In Proceedings of the 2020 IEEE Symposium Series on Computational Intelligence (SSCI); 2020; pp. 737–744. [Google Scholar] [CrossRef]
- Black, E.D. An introduction to Pound–Drever–Hall laser frequency stabilization. Am. J. Phys. 2001, 69, 79–87. [Google Scholar] [CrossRef]
- Barsotti, L. The control of the Virgo interferometer for gravitational wave detection. PhD thesis, Università degli Studi di Pisa, Pisa, 2006. Available online: https://gwic.ligo.org/assets/docs/theses/Barsotti_Thesis.pdf.
- Swinkels, B.; Ruggi, P. Lock acquisition of the Advanced Virgo arm-cavities with reduced force, 2012. Available online: https://tds.virgo-gw.eu/ql/?c=8821.
- Acernese, F.; Alshourbagy, M.; Amico, P.; Aoudia, S.; Antonucci, F. Measurement of the optical parameters of the Virgo interferometer. Appl. Opt. 2007, 46, 3466. [Google Scholar] [CrossRef] [PubMed]
- Acernese, F.; Agathos, M.; Ain, A.; Albanesi, S.; Allocca, A.; Amato, A.; Andrade, T.; Andres, N.; Andrés-Carcasona, M.; Andrić, T.; et al. Virgo detector characterization and data quality: results from the O3 run. Class. Quantum Gravity 2023, 40, 185006. [Google Scholar] [CrossRef]
- Capocasa, E. Optical and noise studies for Advanced Virgo and filter cavities for quantum noise reduction in gravitational-wave interferometric detectors. PhD thesis, Université Paris Diderot, Paris. Available online: https://theses.hal.science/tel-03141038/file/capocasa_thesis_2017.pdf.
- Little, B.; Chu, S.; Haus, H.; Foresi, J.; Laine, J.P. Microring resonator channel dropping filters. J. Light. Technol. 1997, 15, 998–1005. [Google Scholar] [CrossRef]
- Dorigo, T.; Giammanco, A.; Vischia, P.; Aehle, M.; Bawaj, M.; Boldyrev, A.; de Castro Manzano, P.; Derkach, D.; Donini, J.; Edelen, A.; et al. Toward the end-to-end optimization of particle physics instruments with differentiable programming. Rev. Phys. 2023, 10, 100085. [Google Scholar] [CrossRef]
- Punturo, M.; Abernathy, M.; Acernese, F.; Allen, B.; Andersson, N.; Arun, K.; Barone, F.; Barr, B.; Barsuglia, M.; Beker, M.; et al. The third generation of gravitational wave observatories and their science reach. Class. Quantum Gravity 2010, 27, 084007. [Google Scholar] [CrossRef]
- Hild, S.; Abernathy, M.; Acernese, F.; Amaro-Seoane, P.; Andersson, N.; Arun, K.; Barone, F.; Barr, B.; Barsuglia, M.; Beker, M.; et al. Sensitivity studies for third-generation gravitational wave observatories. Class. Quantum Gravity 2011, 28, 094013. [Google Scholar] [CrossRef]



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. |
© 2026 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/).