Adaptive Hyperparameter Optimization for Time-Series Forecasting Models: A Reinforcement Learning Approach
Keywords:
Time-series forecasting, hyperparameter optimization, reinforcement learning, proximal policy optimization, neural architecture configuration, adaptive searchAbstract
Deep neural networks have become the dominant backbone for multivariate time-series forecasting, yet their prediction quality remains tightly coupled to a hand-specified hyperparameter configuration. Conventional tuning practices rely on grid search, random sampling, or Bayesian surrogates that treat the forecasting model as a static black box and cannot reuse the structure discovered during earlier evaluations. This study formulates hyperparameter tuning for recurrent and Transformer forecasters as a finite-horizon Markov decision process and solves it with a proximal policy optimization (PPO) agent that proposes mixed discrete-continuous configurations, observes validation performance and search history, and receives a shaped reward built from normalized forecast error and search-efficiency cost. The agent operates on three target architectures, namely LSTM, GRU, and an Informer-style Transformer, and shares a single policy across them. Experiments on ETT-h1, ECL, and Weather benchmarks with horizons of 96, 192, 336, and 720 steps show that the proposed tuner reduces the mean test MAE by 6.7%, 7.5%, and 8.5% relative to Bayesian optimization on the three datasets while consuming 33% fewer evaluated configurations. Ablation experiments isolate the contribution of improvement shaping, history features, the efficiency penalty, and the PPO actor-critic update, and a sensitivity analysis maps the joint response of learning rate and hidden dimension. The method provides a reusable, self-improving tuning loop that adapts its search policy to the target dataset rather than restarting a surrogate from scratch.
References
- Ma, Yifei; Qiu, Tianyu; Liu, Zhiwei; Zhou, Die; Huang, Zhihong; Cheng, Xuemei; Yang, Jinlin; Li, Jing; Tian, Xinlong; Zhang, Hui. (2026). Concentration‐Gradient Solid‐State Sulfur Cathode Enabling Improved Energy Storage Under High Sulfur Loadings. Advanced Functional Materials, 36(39): e30425. https://doi.org/10.1002/adfm.202530425
- Lyu, M., Sun, Y., Lin, E., Li, H., Chen, R., Zhao, F., & Zeng, Y. (2026, June). Reinforcement fine-tuning of flow-matching policies for vision-language-action models. In 2026 IEEE International Conference on Robotics and Automation (ICRA) (pp. 9242-9249). IEEE.
- Ye, Z., Gong, Z., Liao, N., Hu, X., Wang, D., Chen, H., ... & Yan, J. (2026). CrossEarth-SAR: A SAR-Centric and Billion-Scale Geospatial Foundation Model for Domain Generalizable Semantic Segmentation. arXiv preprint arXiv:2603.12008.
- C. Wan, Y. Luo, W. Wu, N. D. Hatziargyriou and S. Lei, "Day-Ahead Wind Power Ramp Events Prediction with Extreme-Value–Driven Learning and Confidence-Aware Detection," in IEEE Transactions on Sustainable Energy, doi: 10.1109/TSTE.2026.3669605.
- Pathak, A., Anwer, T., Verma, A., Alhujaily, M., Alahmari, M. A., Alshahrani, S., Alam, N., Nomier, Y., & Alam, M. F. (2026). Integrating precision medicine and artificial intelligence to prevent cardiotoxicity in cardiovascular drug therapy. Precision medication, 3(1), 100078.
- You, L., Luo, Y., Cheng, Q., Shen, L., & Ge, J. (2025). High-suitcordance intelligent fibers for panvascular disease monitoring-intervention. Advanced Fiber Materials, 7(4), 1042–1072.
- Quan, Q., Gao, Y., & Wang, Q. (2025). The impact of teacher emotional support on students' engagement in AI-mediated English learning environments: The mediating role of resilience and self-efficacy. Acta Psychologica, 260, 105766.
- Hu, C., Zhang, J., Wang, S., Shi, J., Deng, F., Lu, M., & Gao, J. (2026, August). Zero-shot component recognition for transmission lines in industrial park microgrids based on permutation-attention transformer and lightweight VLM. In International Conference on Image Processing, Machine Learning, and Pattern Recognition (IPMLPR 2026) (Vol. 14304, pp. 152-158). SPIE.
- Zhang, J., Tan, H., Wang, S., & Zhang, M. (2026, September). A Biostatistically Validated Multimodal AI Framework for Population-Level Cardiovascular Risk Prediction and Stratification. In 2026 IEEE World Skills Conference on Universal Data Analytics and Sciences (WorldSUAS) (pp. 1-8). IEEE.
- Shi, J., Zhang, H., Gao, Z., & Zhang, M. (2026, September). A Scalable Cloud-Native Architecture for Automated Financial Anomaly Detection and Forecasting. In 2026 IEEE World Skills Conference on Universal Data Analytics and Sciences (WorldSUAS) (pp. 1-8). IEEE.
- Xu, Y., Sun, Y., Zhai, B., Li, M., Liang, W., Li, Y., & Du, S. (2025, April). Zero-shot video moment retrieval via off-the-shelf multimodal large language models. In Proceedings of the AAAI Conference on Artificial Intelligence (Vol. 39, No. 9, pp. 8978-8986).
- Yang, J., Li, Q., Yu, H., Wang, X., Wang, C., Ma, B., ... & Li, X. (2026). Invisible Image Watermark Attacks: A Survey.
- Su, J., Cai, C., Zhu, F., He, C., Xu, X., Guan, D., & Si, C. (2024, September). Momentum auxiliary network for supervised local learning. In European Conference on Computer Vision (pp. 276-292). Cham: Springer Nature Switzerland.
- Zhou, Y., Ye, W., Liu, Y., Dong, Z., & Yao, J. (2026). Style Over Substance: Content-Invariant Wrappers Flip LLM Safety-Judge Verdicts. arXiv preprint arXiv:2609.08236.
- Tan, Y., Cheng, X., Qin, Y., Li, Z., & Zhang, J. (2026). Towards Stable Self-Supervised Object Representations in Unconstrained Egocentric Video. arXiv preprint arXiv:2603.13912.
- Ma, Q. (2026). Learning physics by asking: Revisable beliefs for reconstructed 3D assets. In NeurIPS 2026 Workshop on Developmental Perspectives on AI.
- Liang, J., Yang, H., Zhao, X., Yu, Z., Xu, G., Wang, W., & Yang, K. (2026). Democratic recommendation with user and item representatives produced by graph condensation. IEEE Transactions on Knowledge and Data Engineering.
- Xu, Z., Zhang, X., Xu, Y., Huang, Q., Chen, S., Yao, T., Ding, S., & Zhang, J. (2026). GenShield: Unified detection and artifact correction for AI-generated images [Preprint]. arXiv.
- Yang, X., Li, Q., Fang, L., Wang, H., Li, X., Gao, Z., & Yu, M. (2026, May). Transfer Learning Methods Fusing Visual Features and Cross-Lingual NLP with Knowledge Graph Enhancement. In 2026 6th Asia-Pacific Conference on Communications Technology and Computer Science (ACCTCS) (pp. 330-338). Guilin Normal College.
- Huang, X., Gao, Z., Tan, H., & Wang, S. (2026, June). Monocular-Binocular Fusion Target Ranging Algorithm Based on Computer Vision. In 2026 IEEE 2nd International Conference on Electronics, Energy Systems and Power Engineering (EESPE) (pp. 1494-1501). IEEE.
- Huang, Q., Xu, Z., Zhang, X., & Zhang, J. (2025). UniShield: An Adaptive Multi-Agent Framework for Unified Forgery Image Detection and Localization. arXiv preprint arXiv:2510.03161.
- Dong, J., Wang, T., Li, L., Huang, P., & Zeng, G. (2022). Efficient frame synchronization using a weak coherent state for continuous-variable quantum key distribution. Physical Review A, 105(5), 052407.
- Lv, Z., Wang, Q., Gao, W., & Zhou, L. (2026). Enhancing Corporate Green Innovation Under the Green Factory Policy: A Graph Neural Network Approach for Management Decision-Making. Journal of Organizational and End User Computing (JOEUC), 38(1), 1-33.
- Yan, Z., & Lyu, T. (2026). Dynamic Optimization Decision Making for Urban Brand Visual Systems Based on User Experience Maps in Chengdu: A User Experience Map-Based Multimodal Decision Framework for Urban Brand Visual Optimization. Journal of Organizational and End User Computing (JOEUC), 38(1), 1-57.
- Zhao, X., Zhang, H., Zhou, J., & Shi, J. (2026, June). A Comparative Study of Online Public Opinion Mining Based on TextCNN and LSTM. In 2026 IEEE 2nd International Conference on Electronics, Energy Systems and Power Engineering (EESPE) (pp. 1456-1465). IEEE.
- Feng, B., Gao, Z., Zhang, H., & Shi, J. (2026, June). Application of Binary Particle Swarm Optimization in Node Planning for Power Information Edge Computing. In 2026 International Conference on Computer Intelligence and Software Engineering (CICSE) (pp. 10-16). IEEE.
- Feng, B., Zhang, Q., Zhang, Z., & Tan, H. (2026, June). Method for Distributed Data Security Sharing and Recovery of Electric Power Information System. In 2026 International Conference on Computer Intelligence and Software Engineering (CICSE) (pp. 28-34). IEEE.
- Huang, T., Huang, C., Li, S., & Lyu, T. (2026). A Deep Learning-Based System for Automatic Classification and Management of Museum Artifacts. Journal of Organizational and End User Computing (JOEUC), 38(1), 1-26.
- Dong, J., Shen, Z., Luo, H., Lyu, T., & Gao, W. (2026). Graph attention and text semantics improve personalized recommendation. Scientific Reports.
- Zhang, D., Sang, C., & Lyu, T. (2026). Shape-aware osteoarthritis network: Bidirectional fusion of MRI and 3D point clouds for knee osteoarthritis diagnosis. Information Fusion, 104198.
- Lv, Z., Wang, Q., Lyu, T., & Dong, J. (2026). A Deep Learning-Based Model for User Emotion Recognition and Behavior Guidance Design: EMoGuideNet-An Emotion-Aware Multimodal Framework for Enhancing Intelligent User Interaction. Journal of Organizational and End User Computing (JOEUC), 38(1), 1-30.
- Lyu, M., Guo, J., Gao, W., & Lyu, T. (2026). Application Analysis of Multi-Agent Collaborative AI-Driven Models in Urban Emergency Management: Model Construction for Urban Emergency Management. Journal of Organizational and End User Computing (JOEUC), 38(1), 1-26.
- Jia, Z., Huang, C., Zhu, Y., Fei, H., Duan, X., Yuan, Z., ... & Zhou, J. (2025). Secret Lies in Color: Enhancing AI-Generated Images Detection with Color Distribution Analysis. In Proceedings of the Computer Vision and Pattern Recognition Conference (pp. 13445-13454).
- Huang, C., Jia, Z., Fei, H., Zhu, Y., Yuan, Z., Zhang, J., & Zhou, J. (2025, October). ArtFRD: A Fisher-Rao Mixture Metric for Generative Model Aesthetic Evaluation. In Proceedings of the 33rd ACM International Conference on Multimedia (pp. 6654-6662).
- Zuo H, Lim KH, Huang H, et al. Cognitive function and eye movement patterns during reading tasks in older adults. Alzheimer's Dement. 2026; 18:e70464. https://doi.org/10.1002/dad2.70464
- Chen, B., Zuo, H., Liao, Y., & Li, Z. (2024, December). A Data-Driven Analysis of Mental Health Status and Early Warning System for Vocational College Students. In 2024 5th International Conference on Information Science and Education (ICISE-IE) (pp. 312-315). IEEE.
- Li, L., Wang, T., Li, X., Huang, P., Guo, Y., Lu, L., ... & Zeng, G. (2023). Continuous-variable quantum key distribution with on-chip light sources. Photonics Research, 11(4), 504-516.
- Y. Wang, C. Wan and Y. Luo, "WeaGAN++: An Efficient Weather-Aware Graph Attention Network for Traffic Prediction," in IEEE Internet of Things Journal, vol. 13, no. 10, pp. 21197-21212, 15 May15, 2026, doi: 10.1109/JIOT.2026.3665116.
- Su, J., Zhu, F., Shi, H., Han, T., Qiu, Y., Luo, J., ... & Gao, J. (2025). MAN++: Scaling Momentum Auxiliary Network for Supervised Local Learning in Vision Tasks. arXiv preprint arXiv:2507.16279.
- Cao, N., Zhang, W., Leng, N., Guo, Y., Yu, Z., He, Q., & Tang, H. (2026, February). Research on the Input-Output Efficiency Model of Robotic Process Automation (RPA) in Financial Supply Chains. In Proceedings of the 2nd International Conference on Digital Management and Information Technology (pp. 180-185).
- Zhang, S., Tan, H., Wang, S., Zhu, J., Meng, X., & Gao, Z. (2026, June). A CNN-RNN Hybrid Network Model for Atrial Fibrillation Risk Prediction Based on Cohort Follow-up Data. In 2026 IEEE 2nd International Conference on Electronics, Energy Systems and Power Engineering (EESPE) (pp. 1787-1797). IEEE.
- Li, C., Guo, L., Zhang, H., Tang, L., Shi, J., & Zhou, J. (2026). Related-Party Transaction Fraud Detection with Data-Governance-Enhanced Graph Neural Networks. Available at SSRN 6610498.
- Wu, J., & Zuo, H. (2024, November). Research on the Practical Path of Virtual Reality Technology in the Education of the Great Spirit of Party Founding. In 2024 5th International Conference on Modern Education and Information Management (ICMEIM 2024) (pp. 288-295). Atlantis Press.
- Hao, L., Naik, V., & Schulzrinne, H. (2022, May). DBAC: Directory-based access control for geographically distributed IoT systems. In IEEE INFOCOM 2022-IEEE Conference on Computer Communications (pp. 360-369). IEEE.
- Wang, T., Huang, P., Li, L., Zhou, Y., & Zeng, G. (2024). High key rate continuous-variable quantum key distribution using telecom optical components. New Journal of Physics, 26(2), 023002.
- Yu, C., Wu, H., Ding, J., Deng, B., & Xiong, H. (2025, September). Unified Survey Modeling to Limit Negative User Experiences in Recommendation Systems. In Proceedings of the Nineteenth ACM Conference on Recommender Systems (pp. 1104-1107).
- Liu, T., He, J., Zhou, R., Song, J., Liu, H., & Liang, Y. (2025). Revolutionizing clinical decision making through deep learning and topic modeling for pathway optimization. Scientific Reports, 15(1), Article 28787. https://doi.org/10.1038/s41598-025-12679-z
- Zhang, Z., Dai, J., Zhen, Z., & Zhang, M. (2026, September). College Student Psychological Stress via Stable Feature Selection and Explainable Ensemble Learning. In 2026 IEEE World Skills Conference on Universal Data Analytics and Sciences (WorldSUAS) (pp. 1-5). IEEE.
- Zhang, J., Wang, S., Zhang, Q., & Zhang, M. (2026, September). A Lightweight Distributed Multimodal AI Framework for Community Influenza Risk Monitoring. In 2026 IEEE World Skills Conference on Universal Data Analytics and Sciences (WorldSUAS) (pp. 1-7). IEEE.
- Zhang, Z., Dai, J., Zhen, Z., & Zhang, M. (2026, September). Interpretable Stress Detection in Social Media Text: A Comparison of Linear Models and Distilled Transformers. In 2026 IEEE World Skills Conference on Universal Data Analytics and Sciences (WorldSUAS) (pp. 1-7). IEEE.