Proceedings

Hybrid-Adaptive Thread Tuning to Mitigate Simulation Execution Bottlenecks in High-Performance Reinforcement Learning Inference

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 365-373.

https://doi.org/10.24963/ijcai.2026/42

Abstract

In simulation-in-the-loop decision-making systems, reinforcement learning (RL) inference is often constrained by simulator-side execution overhead, where workloads are highly dynamic and sensitive to runtime thread configurations. Existing multithreaded strategies struggle to match thread resources before or during execution, causing resource contention, scheduling overhead, and reduced throughput. Through empirical analysis, we identify the ratio of task execution time to scheduling time as the key factor determining the optimal thread count. Building on this insight, we propose AutoThread, a hybrid adaptive thread-tuning method for mitigating simulation bottlenecks in RL inference. AutoThread employs a Physics-Informed Neural Operator (PINO) as a thread-count predictor and incorporates a finite-source M/M/1 queueing model to constrain and guide prediction, enabling fast and accurate estimation under dynamic workloads. It further performs load-aware online fine-tuning to compensate for prediction errors and refine resource allocation. Experiments show that AutoThread improves average speedup by 18.4% over static strategies, achieves average throughput of 1.7× and 1.8× that of XGBoost and Reinforcer, respectively, and reduces execution time by up to 83.8% compared with state-of-the-art methods. Our code and dataset are publicly available at https://github.com/suchenjm/AutoThread.

  1. [Akash et al., 2021] Lakindu Akash, Duneesha Fernando, Malith Jayasinghe, Chamath Keppitiyagama, and Kishan- than Thangarajah. Machine learning based thread pool tuning via program analysis. In 2021 IEEE 23rd Int Conf on High Performance Computing & Communica- tions; 7th Int Conf on Data Science & Systems; 19th Int Conf on Smart City; 7th Int Conf on Dependabil- ity in Sensor, Cloud & Big Data Systems & Applica- tion (HPCC/DSS/SmartCity/DependSys), pages 648-653. IEEE, 2021.
  2. [Albalawi, 2025] Nasser S Albalawi. Dynamic schedul- ing strategies for cloud-based load balancing in parallel and distributed systems. Journal of Cloud Computing, 14(1):33, 2025.
  3. [Anagnostopoulos et al., 2024] Sokratis J Anagnostopou- los, Juan Diego Toscano, Nikolaos Stergiopulos, and George Em Karniadakis. Residual-based attention in physics-informed neural networks. Computer Methods in Applied Mechanics and Engineering, 421:116805, 2024.
  4. [Bahadur et al., 2025] Faisal Bahadur, Zulfiqar Ahmad, and Abdulmohsen Algarni. Poolrunner: An extensible perfor- mance testing simulation tool for thread-pool middleware. IEEE Access, 2025.
  5. [Belsare et al., 2022] Sahil Belsare, Emily Diaz Badilla, and Mohammad Dehghanimohammadabadi. Reinforcement learning with discrete event simulation: the premise, re- ality, and promise. In 2022 Winter Simulation Conference (WSC), pages 2724-2735. IEEE, 2022.
  6. [Carothers et al., 2002] Christopher D Carothers, David Bauer, and Shawn Pearce. Ross: A high-performance, low-memory, modular time warp system. Journal of par- allel and distributed computing, 62(11):1648-1669, 2002.
  7. [Chao et al., 2025] Zhiteng Chao, Feng Gu, Junying Huang, Wenjie Li, Jing Ye, Huawei Li, and Xiaowei Li. Memory- efficient and adaptive heterogeneous framework for gate- level fault simulation. ACM Transactions on Design Au- tomation of Electronic Systems, 30(5):1-27, 2025.
  8. [Costa et al., 2019] Nilushan Costa, Malith Jayasinghe, Ajantha Atukorale, Supun Abeysinghe, Srinath Perera, and Isuru Perera. Adapt-t: An adaptive algorithm for auto- tuning worker thread pool size in application servers. In 2019 IEEE Symposium on Computers and Communica- tions (ISCC), pages 1-6. IEEE, 2019.
  9. [Eldeeb and Alves, 2025] Eslam Eldeeb and Hirley Alves. Offline and distributional reinforcement learning for wire- less communications. arXiv preprint arXiv:2504.03804, 2025.
  10. [Feriani and Hossain, 2021] Amal Feriani and Ekram Hos- sain. Single and multi-agent deep reinforcement learning for ai-enabled wireless networks: A tutorial. IEEE Com- munications Surveys & Tutorials, 23(2):1226-1252, 2021. [FlightAware, 2025] FlightAware. Flightaware -flight tracker / flight status. https://uk.flightaware.com/, 2025. Accessed: 2025-10-25. Link
  11. [Hu et al., 2024] Kai Hu, Mingyang Li, Zhiqiang Song, Keer Xu, Qingfeng Xia, Ning Sun, Peng Zhou, and Min Xia. A review of research on reinforcement learning algorithms for multi-agents. Neurocomputing, 599:128068, 2024.
  12. [Jancauskas et al., 2019] Vytautas Jancauskas, Tomasz Pi- ontek, Piotr Kopta, and Bartosz Bosak. Predicting queue wait time probabilities for multi-scale comput- ing. Philosophical Transactions of the Royal Society A, 377(2142):20180151, 2019.
  13. [Li et al., 2025] Cuixia Li, Junhai Wang, Jiahao Shi, Liqiang Liu, and Shuyan Zhang. Adwtune: an adaptive dynamic workload tuning system with deep reinforcement learning. Complex & Intelligent Systems, 11(4):192, 2025.
  14. [Lin et al., 2025] Haoran Lin, Xianzhi Yu, Kang Zhao, Han Bao, Zongyuan Zhan, Ting Hu, Wulong Liu, Zekun Yin, Xin Li, and Weiguo Liu. Hap: Hybrid adaptive parallelism for efficient mixture-of-experts inference. arXiv preprint arXiv:2508.19373, 2025.
  15. [Luan et al., 2022] Guangqiang Luan, Pu Pang, Quan Chen, Shuai Xue, Zhuo Song, and Minyi Guo. Online thread auto-tuning for performance improvement and resource saving. IEEE Transactions on Parallel and Distributed Systems, 33(12):3746-3759, 2022.
  16. [Luo et al., 2025] Xiaoxuan Luo, Weiwei Lin, Jiachun Li, Fan Chen, Haocheng Zhong, and Keqin Li. An extensi- ble thread throttling method for multiple openmp parallel programs. ACM Trans. Embed. Comput. Syst., September 2025.
  17. [Montesano et al., 2024] Federica Montesano, Romolo Marotta, and Francesco Quaglia. Spatial/temporal locality-based load-sharing in speculative discrete event simulation on multi-core machines. ACM Transactions on Modeling and Computer Simulation, 35(1):1-31, 2024.
  18. [Morgado et al., 2025] Ângelo Morgado, Kaoru Ota, Mi- anxiong Dong, and Nuno Pombo. Evaluating end-to- end autonomous driving architectures: a proximal policy optimization approach in simulated environments. Au- tonomous Intelligent Systems, 5(1):14, 2025.
  19. [Pusukuri et al., 2011] Kishore Kumar Pusukuri, Rajiv Gupta, and Laxmi N Bhuyan. Thread reinforcer: Dy- namically determining number of threads via os level monitoring. In 2011 IEEE International Symposium on Workload Characterization (IISWC), pages 116-125. IEEE, 2011.
  20. [Riboldi et al., 2025] Carlo ED Riboldi, Marco Tomasoni, et al. Formation flight of fixed-wing uavs: Dynamic mod- eling, guidance design, and testing in realistic scenarios. Aerospace, 12(3):1-49, 2025.
  21. [Risco-Martín et al., 2022] José L Risco-Martín, Kevin Henares, Saurabh Mittal, Luis F Almendras, and Katzalin Olcoz. A unified cloud-enabled discrete event parallel and distributed simulation architecture. Simulation Modelling Practice and Theory, 118:102539, 2022.
  22. [Samadi et al., 2024] Mohammad Samadi, Sara Royuela, Luis Miguel Pinho, Tiago Carvalho, and Eduardo Quiñones. Time-predictable task-to-thread mapping in multi-core processors. Journal of Systems Architecture, 148:103068, 2024.
  23. [Stetsenko and Dyfuchyna, 2019] Inna V Stetsenko and Oleksandra Dyfuchyna. Thread pool parameters tuning us- ing simulation. In International Conference on Computer Science, Engineering and Education Applications, pages 78-89. Springer, 2019.
  24. [Wu et al., 2022] Zhibin Wu, Qinyue Zhou, Yucheng Dong, Jiuping Xu, Abdulrahman H Altalhi, and Francisco Her- rera. Mixed opinion dynamics based on degroot model and hegselmann-krause model in social networks. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 53(1):296-308, 2022.
  25. [Xu et al., 2012] Cheng-Zhong Xu, Jia Rao, and Xiangping Bu. Url: A unified reinforcement learning approach for autonomic cloud management. Journal of Parallel and Distributed Computing, 72(2):95-105, 2012.
  26. [Zhang et al., 2021] Chi Zhang, Sanmukh Rao Kuppanna- gari, and Viktor K Prasanna. Parallel actors and learners: A framework for generating scalable rl implementations. In 2021 IEEE 28th International Conference on High Per- formance Computing, Data, and Analytics (HiPC), pages 1-10. IEEE, 2021.
  27. [Zhu et al., 2017] Feng Zhu, Yiping Yao, Wenjie Tang, and Jun Tang. A hierarchical composite framework of paral- lel discrete event simulation for modelling complex adap- tive systems. Simulation Modelling Practice and Theory, 77:141-156, 2017.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards