본문 바로가기
KERD
논문KCI 등재

LLM 기반 시계열 예측 하이퍼파라미터 자동 튜닝 프레임워크: 서울시 대기질 데이터 사례연구

LLM-based Hyperparameter Tuning Framework for Time Series Forecasting: A Case Study on Seoul Air Quality Data

0

조회

0

다운로드

0

인용

0

참고문헌

키워드

주제분류학제간연구

초록

Purpose: This study proposes the LLM-based Hyperparameter Tuning for Time Series (LHTT) framework, an automated time series forecasting system utilizing large language models and validates its effectiveness through Seoul air quality (PM2.5) data analysis. The research aims to automate the entire process from model selection to hyperparameter optimization and result analysis using generative AI. Methods: Five different time series forecasting models (Exponential Smoothing, ARIMA, Prophet, LSTM, Transformer) were implemented and compared using Seoul PM2.5 data from May 1 to May 31, 2025 (18,500 observations from 25 monitoring stations). Gemma3:27B was utilized for automated hyperparameter tuning through iterative feedback loops. Performance evaluation was conducted using MSE, RMSE, MAE, R², and MAPE metrics. Results: Among baseline models, Transformer achieved the best performance with RMSE 4.08, R² 0.79, and MAPE 9.53%. However, after LLM-based tuning, the LSTM model achieved superior performance with RMSE 3.70, R² 0.82, and MAPE 9.71%, representing significant improvement over the baseline models. Statistical models also showed dramatic improvements after LLM tuning, with Exponential Smoothing achieving 87.85% reduction in RMSE. Conclusion: The proposed LHTT framework demonstrates significant potential for improving time series forecasting accuracy while minimizing expert intervention. The automated system successfully generated comprehensive analysis reports and achieved practical prediction accuracy suitable for environmental policy applications, proving the feasibility of end-to-end automation in data science workflows.

Abstract

Purpose: This study proposes the LLM-based Hyperparameter Tuning for Time Series (LHTT) framework, an automated time series forecasting system utilizing large language models and validates its effectiveness through Seoul air quality (PM2.5) data analysis. The research aims to automate the entire process from model selection to hyperparameter optimization and result analysis using generative AI. Methods: Five different time series forecasting models (Exponential Smoothing, ARIMA, Prophet, LSTM, Transformer) were implemented and compared using Seoul PM2.5 data from May 1 to May 31, 2025 (18,500 observations from 25 monitoring stations). Gemma3:27B was utilized for automated hyperparameter tuning through iterative feedback loops. Performance evaluation was conducted using MSE, RMSE, MAE, R², and MAPE metrics. Results: Among baseline models, Transformer achieved the best performance with RMSE 4.08, R² 0.79, and MAPE 9.53%. However, after LLM-based tuning, the LSTM model achieved superior performance with RMSE 3.70, R² 0.82, and MAPE 9.71%, representing significant improvement over the baseline models. Statistical models also showed dramatic improvements after LLM tuning, with Exponential Smoothing achieving 87.85% reduction in RMSE. Conclusion: The proposed LHTT framework demonstrates significant potential for improving time series forecasting accuracy while minimizing expert intervention. The automated system successfully generated comprehensive analysis reports and achieved practical prediction accuracy suitable for environmental policy applications, proving the feasibility of end-to-end automation in data science workflows.

관련 논문AI추천

이 간행물의 다른 논문 (11건)