| Issue |
ITM Web Conf.
Volume 78, 2025
International Conference on Computer Science and Electronic Information Technology (CSEIT 2025)
|
|
|---|---|---|
| Article Number | 01023 | |
| Number of page(s) | 8 | |
| Section | Deep Learning and Reinforcement Learning – Theories and Applications | |
| DOI | https://doi.org/10.1051/itmconf/20257801023 | |
| Published online | 08 September 2025 | |
Thompson Sampling vs Ols: Analyzing Tariff Impact on Export Decisions
Economics Department, Pennsylvania State University, State College, PA 16802, United States
This paper, based on the Melitz model, examines how effective trade costs influenced European Union (EU) steel exports to the U.S. between 2008 and 2024. It employs both Ordinary Least Squares (OLS) regression and the Thompson Sampling (TS) algorithm to forecast export volumes, using cumulative regret and its growth rate as key evaluation metrics. Empirical results show that the OLS model achieves a lower initial cumulative regret, with an average of 5.3% deviation from actual exports in the early years. However, over time, the TS algorithm surpasses OLS in adaptability, with the growth rate of cumulative regret declining from 6.7% to 2.1% after 2020, indicating improved long-term prediction accuracy under uncertain conditions. The dynamic updating mechanism of TS allows it to adjust to policy shifts and economic volatility more effectively than static models. These findings suggest that reinforcement learning-based models like TS are better suited for forecasting in rapidly changing trade environments. The study offers valuable insights for firms and policymakers seeking robust tools to anticipate trade flows and develop adaptive export strategies.
© The Authors, published by EDP Sciences, 2025
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.

