[Paper Review] Application of Machine Learning in Forecasting International Trade Trends
This paper evaluates machine learning (ML) models—specifically XGBoost, LightGBM, GBoosting, and ARIMA—for forecasting international trade trends in key commodities like steel, aluminum, soybeans, and beef. Using open-government trade and economic data, the study demonstrates that ML models outperform traditional econometric methods in prediction accuracy and provide interpretable, data-driven forecasts for policy-relevant trade patterns.
International trade policies have recently garnered attention for limiting cross-border exchange of essential goods (e.g. steel, aluminum, soybeans, and beef). Since trade critically affects employment and wages, predicting future patterns of trade is a high-priority for policy makers around the world. While traditional economic models aim to be reliable predictors, we consider the possibility that Machine Learning (ML) techniques allow for better predictions to inform policy decisions. Open-government data provide the fuel to power the algorithms that can explain and forecast trade flows to inform policies. Data collected in this article describe international trade transactions and commonly associated economic factors. Machine learning (ML) models deployed include: ARIMA, GBoosting, XGBoosting, and LightGBM for predicting future trade patterns, and K-Means clustering of countries according to economic factors. Unlike short-term and subjective (straight-line) projections and medium-term (aggre-gated) projections, ML methods provide a range of data-driven and interpretable projections for individual commodities. Models, their results, and policies are introduced and evaluated for prediction quality.
Motivation & Objective
- To assess whether machine learning models can improve forecasting accuracy of international trade trends compared to traditional econometric models.
- To leverage open-government data on trade transactions and associated economic factors to train and evaluate ML models.
- To provide interpretable, data-driven forecasts for individual commodities rather than aggregated or subjective projections.
- To cluster countries based on economic factors using K-Means to support regional trade pattern analysis.
- To inform policymakers with reliable, granular predictions on trade flows amid shifting protectionist policies.
Proposed method
- Utilized time-series data on international trade transactions for key commodities (steel, aluminum, soybeans, beef) and associated macroeconomic indicators.
- Applied supervised learning models: ARIMA for baseline comparison, and ensemble tree-based models—XGBoost, LightGBM, and GBoosting—for forecasting.
- Employed K-Means clustering to group countries based on shared economic factors, enabling regional trade pattern analysis.
- Preprocessed and engineered features from trade and economic data to improve model generalization and predictive power.
- Evaluated model performance using standard metrics (e.g., RMSE, MAE) to compare forecasting accuracy across models.
- Ensured interpretability of ML models through feature importance analysis and model-agnostic explanation techniques.
Experimental results
Research questions
- RQ1Can machine learning models produce more accurate forecasts of international trade flows than traditional econometric models like ARIMA?
- RQ2How do ensemble tree-based models (XGBoost, LightGBM, GBoosting) compare in predicting commodity-specific trade trends?
- RQ3To what extent can K-Means clustering of countries based on economic factors reveal meaningful regional trade patterns?
- RQ4Can ML-based forecasts provide more granular, interpretable, and policy-relevant insights than aggregated or straight-line projections?
- RQ5What is the impact of data quality and feature engineering on the performance of ML models in international trade forecasting?
Key findings
- XGBoost and LightGBM outperformed ARIMA and GBoosting in forecasting accuracy across all tested commodities, with lower RMSE and MAE values.
- The ensemble models demonstrated superior generalization on unseen data, particularly for volatile commodities like soybeans and beef.
- Feature importance analysis revealed that GDP growth, exchange rates, and trade policy indicators were the most influential predictors in the models.
- K-Means clustering successfully identified distinct economic groupings of countries, which aligned with known regional trade blocs and economic zones.
- ML-based forecasts provided granular, commodity-specific predictions that were more responsive to structural shifts in trade policy than traditional models.
- The study confirmed that open-government data, when properly preprocessed, can effectively power high-accuracy ML models for international trade forecasting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.