An attention-enhanced TimesNet time series model for predicting the commodity price

IF 6.8 2区 工程技术 Q1 ENGINEERING, MULTIDISCIPLINARY
Xuesen Cai
{"title":"An attention-enhanced TimesNet time series model for predicting the commodity price","authors":"Xuesen Cai","doi":"10.1016/j.aej.2025.09.018","DOIUrl":null,"url":null,"abstract":"<div><div>Commodity price prediction is a critical task in economic management, financial investment, and market regulation. Traditional prediction models, such as ARIMA and GARCH, often encounter limitations in capturing the complex nonlinear dynamics and time-dependent nature of price fluctuations. In this study, we present an enhanced TimesNet model that integrates self-attention mechanisms with two-dimensional time–frequency transformations. This combination improves the model’s ability to effectively capture both long-term trends and short-term cyclical fluctuations in commodity prices. The model was evaluated using data from a wide range of agricultural commodities, including potatoes, cucumbers, soybeans, corn, wheat, rapeseed, eggs, bananas, apples, oil, and watermelons. Experimental results demonstrate that the improved model significantly outperforms existing models. Specifically, with a sequence length of 512, the model achieves an average absolute error (MAE) of 0.129, compared to 0.134 for the original TimesNet model. These results confirm the enhanced model’s superior capacity for capturing long-term dependencies and cyclical fluctuations. The proposed TimesNet model, by combining self-attention and 2D time–frequency transformations, offers a robust, accurate, and computationally efficient solution for commodity price prediction, making it highly applicable to real-world agricultural markets.</div></div>","PeriodicalId":7484,"journal":{"name":"alexandria engineering journal","volume":"130 ","pages":"Pages 447-458"},"PeriodicalIF":6.8000,"publicationDate":"2025-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"alexandria engineering journal","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1110016825009822","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Commodity price prediction is a critical task in economic management, financial investment, and market regulation. Traditional prediction models, such as ARIMA and GARCH, often encounter limitations in capturing the complex nonlinear dynamics and time-dependent nature of price fluctuations. In this study, we present an enhanced TimesNet model that integrates self-attention mechanisms with two-dimensional time–frequency transformations. This combination improves the model’s ability to effectively capture both long-term trends and short-term cyclical fluctuations in commodity prices. The model was evaluated using data from a wide range of agricultural commodities, including potatoes, cucumbers, soybeans, corn, wheat, rapeseed, eggs, bananas, apples, oil, and watermelons. Experimental results demonstrate that the improved model significantly outperforms existing models. Specifically, with a sequence length of 512, the model achieves an average absolute error (MAE) of 0.129, compared to 0.134 for the original TimesNet model. These results confirm the enhanced model’s superior capacity for capturing long-term dependencies and cyclical fluctuations. The proposed TimesNet model, by combining self-attention and 2D time–frequency transformations, offers a robust, accurate, and computationally efficient solution for commodity price prediction, making it highly applicable to real-world agricultural markets.
一种用于预测商品价格的注意力增强TimesNet时间序列模型
商品价格预测是经济管理、金融投资和市场调控中的一项重要任务。传统的预测模型,如ARIMA和GARCH,在捕捉价格波动的复杂非线性动态和随时间变化的性质方面经常遇到限制。在这项研究中,我们提出了一个增强的时间网络模型,该模型将自注意机制与二维时频变换相结合。这种组合提高了模型有效捕捉商品价格长期趋势和短期周期性波动的能力。该模型的评估使用了广泛的农产品数据,包括土豆、黄瓜、大豆、玉米、小麦、油菜籽、鸡蛋、香蕉、苹果、油和西瓜。实验结果表明,改进后的模型明显优于现有模型。具体来说,当序列长度为512时,该模型的平均绝对误差(MAE)为0.129,而原始TimesNet模型的平均绝对误差为0.134。这些结果证实了增强模型在捕捉长期依赖关系和周期性波动方面的优越能力。提出的TimesNet模型结合了自关注和二维时频变换,为商品价格预测提供了一个鲁棒、准确和计算效率高的解决方案,使其高度适用于现实世界的农业市场。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
alexandria engineering journal
alexandria engineering journal Engineering-General Engineering
CiteScore
11.20
自引率
4.40%
发文量
1015
审稿时长
43 days
期刊介绍: Alexandria Engineering Journal is an international journal devoted to publishing high quality papers in the field of engineering and applied science. Alexandria Engineering Journal is cited in the Engineering Information Services (EIS) and the Chemical Abstracts (CA). The papers published in Alexandria Engineering Journal are grouped into five sections, according to the following classification: • Mechanical, Production, Marine and Textile Engineering • Electrical Engineering, Computer Science and Nuclear Engineering • Civil and Architecture Engineering • Chemical Engineering and Applied Sciences • Environmental Engineering
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信