Transformer-based forecasting for high-frequency natural gas production data
Accurate prediction of natural gas well production data is crucial for effective resource management and innovation, particularly amid the global transition to sustainable energy. Traditional models struggle with high-frequency, high-dimensional datasets generated by digital transformation in the oil and gas industry. This study explores the application of Transformer-based models—Transformer, Informer, Autoformer, and Patch Time Series Transformer (PatchTST)—for forecasting high-frequency natural gas production data. These models utilize self-attention mechanisms to capture long-term dependencies and efficiently process large-scale datasets. Autoformer achieves predictive success through its Seasonal Decomposition Attention mechanism, which effectively extracts trend-seasonality patterns. However, our experiments show that Autoformer exhibits sensitivity to dataset changes, as performance declines when using old parameters compared to retrained models, highlighting its reliance on dataset-specific retraining. Experimental results demonstrate that increasing sampling frequency significantly enhances prediction accuracy, reducing MAPE from 0.556 to 0.239. Additionally, these models consistently track actual production trends across extended forecast horizons. Notably, PatchTST maintains stable performance using either pretrained or retrained parameters, showcasing superior adaptability and generalization. This makes it particularly suitable for real-world applications where frequent retraining may not be feasible. Overall, the findings validate the applicability of Transformer-based models, particularly PatchTST, in dynamic and precise natural gas production forecasting. This study provides valuable insights for advancing adaptive, data-driven resource management strategies. • Transformer-based models effectively forecast high-frequency natural gas production data. • Patch Time Series Transformer model captures long-term dependencies for improved accuracy. • Higher sampling frequencies significantly enhance prediction performance in forecasting. • Patch Time Series Transformer model maintains stability across different datasets, reducing the need for frequent retraining. • The study confirms the applicability of Transformer models in real-world natural gas production forecasting.
Authors
- Jianjun Zhu (ORCID: https://orcid.org/0000-0001-7185-6429)
- S. Ma (ORCID: https://orcid.org/0000-0002-6308-0971)
- Hongwei Zhu (ORCID: https://orcid.org/0000-0001-8620-3842)
- Haibo Wang (ORCID: https://orcid.org/0000-0003-4809-4897)
- Nan Li (ORCID: https://orcid.org/0000-0002-7272-4273)
- Jianli Wang (ORCID: https://orcid.org/0000-0001-9254-1661)
- Tiantian Zhang (ORCID: https://orcid.org/0000-0003-4038-8751)
- H. Wang (ORCID: https://orcid.org/0009-0001-2467-5331)
Institutions
- Petro-Canada (CA)
- China University of Petroleum, Beijing (CN)
- Research Institute of Petroleum Exploration and Development (CN)
- China Academy of Launch Vehicle Technology (CN)
- Southeast University (CN)
- University of Tulsa (US)
Publication Details
- Journal
- Energy and AI
- Published
- 2025-06-24
- DOI
- https://doi.org/10.1016/j.egyai.2025.100535
- Citations
- 2
- Primary Topic
- Reservoir Engineering and Simulation Methods
- Type
- article
- Field-Weighted Citation Impact
- 2.29
Funders
- Innovative Research Group Project of the National Natural Science Foundation of China
- National Natural Science Foundation of China