การเปรียบเทียบประสิทธิภาพแบบจำลอง Temporal Fusion Transformer ในการพยากรณ์ราคาแบบหลายช่วงเวลาและการประเมินความเสี่ยงโลหะเงินสำหรับผู้ประกอบการนำเข้าในประเทศไทย

ผู้แต่ง

  • นที สุวรรณเวทิน นักวิจัยอิสระ, กรุงเทพมหานคร ประเทศไทย

คำสำคัญ:

เทมพอรัลฟิวชันทรานส์ฟอร์เมอร์, การพยากรณ์แบบหลายช่วงเวลา, การประเมินความเสี่ยง, โลหะเงิน, วิศวกรรมการเงิน

บทคัดย่อ

 งานวิจัยนี้มีวัตถุประสงค์เพื่อพัฒนาและเปรียบเทียบประสิทธิภาพของแบบจำลอง Temporal Fusion Transformer (TFT) ในการพยากรณ์ราคาแบบหลายช่วงเวลา (Multi-horizon Forecasting) และการประเมินความเสี่ยงโลหะเงินสำหรับผู้ประกอบการนำเข้าในประเทศไทย โดยใช้ชุดข้อมูลอนุกรมเวลาความถี่รายวันรวมทั้งสิ้น 2,450 ข้อมูล ครอบคลุมระยะเวลาตั้งแต่ปี พ.ศ. 2558 ถึง 2568 กำหนดสัดส่วนการแบ่งข้อมูลสำหรับการฝึกฝน การตรวจสอบ และการทดสอบไว้ที่ 80:10:10 ตามลำดับ ครอบคลุมช่วงเวลาการพยากรณ์ล่วงหน้าในระยะ 1 วัน, 7 วัน และ 30 วัน เพื่อประเมินความแม่นยำทั้งในระยะสั้นและระยะปานกลาง

ผลการวิจัยพบว่าแบบจำลอง TFT มีประสิทธิภาพเหนือกว่าแบบจำลองมาตรฐานอย่างมีนัยสำคัญ โดยในการพยากรณ์ระยะ 1 วัน แบบจำลอง TFT ให้ค่า RMSE เท่ากับ 0.1673 และ MAPE เท่ากับ 0.5014% ซึ่งแสดงความแม่นยำที่สูงกว่าแบบจำลอง LSTM (RMSE = 1.12) และ GARCH (RMSE = 1.85) อย่างชัดเจน นอกจากนี้ กลไกการพยากรณ์แบบควอนไทล์ (Quantile Forecasting) ของ TFT ยังสามารถประมาณการค่าความเสี่ยง Value-at-Risk (VaR) ที่ระดับความเชื่อมั่นร้อยละ 95 และ 99 ได้อย่างมีประสิทธิภาพและสอดคล้องกับผลการทดสอบย้อนหลัง (Backtesting) ตามมาตรฐาน Kupiec Test

ข้อค้นพบที่สำคัญระบุว่า อัตราแลกเปลี่ยน USD/THB เป็นปัจจัยที่มีอิทธิพลต่อความแม่นยำในการพยากรณ์สูงสุด (ร้อยละ 42) ผลลัพธ์จากงานวิจัยนี้จึงสามารถใช้เป็นเครื่องมือสนับสนุนการตัดสินใจเชิงกลยุทธ์สำหรับผู้ประกอบการในการวางแผนป้องกันความเสี่ยง (Hedging) และการบริหารต้นทุนนำเข้าภายใต้สภาวะตลาดที่มีความผันผวนสูงได้อย่างเป็นรูปธรรม

เอกสารอ้างอิง

Aparicio, F., Morales, A. J., & Guerrero, R. (2022). Precious metals and macroeconomic factors: A deep learning approach for multi-step ahead forecasting. Resources Policy, 78, 102812. https://doi.org/10.1016/j.resourpol.2022.102812

Arratia, A., & Lopez-Barrado, A. (2021). Evaluation of value-at-risk models using deep learning: Evidence from precious metal markets. Journal of Risk and Financial Management, 14(11), 541. https://doi.org/10.3390/jrfm14110541

Baur, D. G., & McDermott, T. K. (2010). Is gold a safe haven? International evidence. Journal of Banking & Finance, 34(8), 1886-1898. https://doi.org/10.1016/j.jbankfin.2009.12.008

Buehler, H., Gonon, L., Teichmann, J., & Wood, B. (2019). Deep hedging. Quantitative Finance, 19(8), 1271-1291. https://doi.org/10.1080/14697688.2019.1571683

Chadsuthi, S. (2021). Forecasting gold prices in Thailand using ARIMA and machine learning models. Journal of Science and Technology, 29(4), 645-658.

Chen, W., Zhang, H., & Mehlawat, M. K. (2022). Deep learning-based value-at-risk forecasting for commodity markets. International Review of Financial Analysis, 81, 102087. https://doi.org/10.1016/j.irfa.2022.102087

Engle, R. F. (1982). Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica, 50(4), 987-1007. https://doi.org/10.2307/1912773

Hamid, S. A., & Al-Ghazali, M. (2022). Attention mechanisms in transformer-based models for commodity price forecasting. Expert Systems with Applications, 191, 116245. https://doi.org/10.1016/j.eswa.2021.116245

Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735-1780. https://doi.org/10.1162/neco.1997.9.8.1735

Jareño, F., de la O González, M., & Tolentino, M. (2021). Precious metals and the US dollar index: A dynamic relationship analysis. Resources Policy, 70, 101905. https://doi.org/10.1016/j.resourpol.2020.101905

Lim, B., Arık, S. Ö., Loeff, N., & Pfister, T. (2021). Temporal fusion transformers for interpretable multi-horizon time series forecasting. International Journal of Forecasting, 37(4), 1748-1764. https://doi.org/10.1016/j.ijforecast.2021.03.012

Park, J., Lee, K., & Kim, H. (2024). Risk management in commodity markets using attention-based deep learning models. Journal of Commodity Markets, 33, 100389. https://doi.org/10.1016/j.jcomm.2023.100389

Smith, T., & Johnson, L. (2023). The shifting correlation between gold and silver in the post-pandemic era. Financial Markets and Portfolio Management, 37(2), 145-168. https://doi.org/10.1007/s11408-023-00421-w

Tiwari, A. K., Abakah, E. J. A., & Gabauer, D. (2023). Exchange rate volatility and its impact on commodity prices in emerging markets. Economic Modelling, 118, 106093. https://doi.org/10.1016/j.econmod.2022.106093

Wu, N., Green, B., Ben, X., & O'Banion, S. (2020). Deep transformer models for time series forecasting: The influenza prevalence case. arXiv. https://doi.org/10.48550/arXiv.2001.08317

ดาวน์โหลด

เผยแพร่แล้ว

2026-04-17

รูปแบบการอ้างอิง

สุวรรณเวทิน น. (2026). การเปรียบเทียบประสิทธิภาพแบบจำลอง Temporal Fusion Transformer ในการพยากรณ์ราคาแบบหลายช่วงเวลาและการประเมินความเสี่ยงโลหะเงินสำหรับผู้ประกอบการนำเข้าในประเทศไทย. วารสารบริหารธุรกิจ มหาวิทยาลัยสยาม, 27(48), 133–147. สืบค้น จาก https://so07.tci-thaijo.org/index.php/sujba/article/view/10309

ฉบับ

ประเภทบทความ

บทความวิจัย