Modelling Global Trade with Optimal Transport

Thomas Gaskin, Guven Demirel, Marie-Therese Wolfram, Andrew Duncan
9/10/2024
math.OCcs.LGstat.ML

No official code found. Best implementation: ThGaskin/NeuralABM (34 stars, last commit 2026-02-12).

Abstract

Global trade is shaped by a complex mix of factors beyond supply and demand, including tangible variables like transport costs and tariffs, as well as less quantifiable influences such as political and economic relations. Traditionally, economists model trade using gravity models, which rely on explicit covariates that might struggle to capture these subtler drivers of trade. In this work, we employ optimal transport and a deep neural network to learn a time-dependent cost function from data, without imposing a specific functional form. This approach consistently outperforms traditional gravity models in accuracy and has similar performance to three-way gravity models, while providing natural uncertainty quantification. Applying our framework to global food and agricultural trade, we show that the Global South suffered disproportionately from the war in Ukraine's impact on wheat markets. We also analyse the effects of free-trade agreements and trade disputes with China, as well as Brexit's impact on British trade with Europe, uncovering hidden patterns that trade volumes alone cannot reveal.

View on arXivView PDF

Code Implementations(1)

ThGaskin/NeuralABMCommunity100%

Neural parameter calibration for multi-agent models. Uses neural networks to estimate marginal densities on parameters and networks

3414Shell, PythonJun 8, 20228 months ago
machine-learningmulti-agent-systemsprobability-and-statistics

Similar Papers

Cite this paper

@article{gaskin2024modelling,
  title  = {Modelling Global Trade with Optimal Transport},
  author = {Thomas Gaskin and Guven Demirel and Marie-Therese Wolfram and Andrew Duncan},
  year   = {2024},
  eprint = {2409.06554},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.06554v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.06554.svg)](https://codeofpaper.com/paper/2409.06554)

Discussion