Machine Learning in International Trade Research - Evaluating the Impact of Trade Agreements

Lead Research Organisation: University of Surrey
Department Name: Economics

Abstract

International trade is of vital importance for modern economies, and governments around the world try to shape their countries' exports and imports through numerous interventions. Given the problems facing trade negotiations through the World Trade Organization (WTO), countries have increasingly turned to preferential trade agreements (PTAs) involving only one or a small number of partners. At the same time, attention has shifted from reductions of import tariffs to the role of non-tariff barriers such as differences in regulations and technical standards. Accordingly, modern PTAs contain a host of provisions besides tariff reductions, in areas as diverse as services trade, competition policy or public procurement.

A key question in international trade research is how to estimate the effects of PTAs and their individual provisions on trade flows. We argue that methods from the machine learning literature can help address this challenge, and that such methods are often superior to existing approaches. We use the term 'machine learning' to refer to algorithms used for statistical prediction that are trained on subsets of the available data to make forecasts of quantifiable outcomes (here: trade flows). While such algorithms have started to be applied in economic research, they have not been used for the analysis of PTAs nor in international economics more generally.

First, machine learning can help evaluate the suitability of existing methods for estimating PTA effects. Such methods evaluate PTAs by comparing the trade flows observed after the implementation of an agreement to a so-called counterfactual outcome that shows what would have happened to trade flows in the absence of a PTA. This counterfactual is invariably based on a specific statistical model. Currently, by far the most common model is the so-called gravity equation. The estimated effect does of course depend on how well the gravity equation predicts counterfactual trade flows. We will use machine learning to develop a more flexible forecast to which we can compare the gravity equation's predictive power.

Machine learning can also help improve existing methods for PTA evaluation. Implicitly, approaches based on the gravity equation construct a counterfactual by using an average of the changes in trade flows between countries not involved in a PTA. Similar approaches have been applied in a range of contexts besides international trade. Recent methodological advances have shown how these approaches can be improved by applying machine learning to select more complex combinations of control units (here: countries not participating in a PTA) than simple averages. Despite their potential, these techniques have not been applied in international trade research, and we propose to adapt them to this context.

Finally, machine learning can be used to determine the relative importance of individual PTA provisions. The key challenge existing research has faced is that many PTAs contain similar provisions, making it difficult to estimate their effect on trade flows separately. Thus, researchers usually aggregate provisions in some way, for example by combining them into broad groups. This limits the relevance to policymakers who need to know if they should include a given individual provision in a PTA. This problem is reminiscent of the issue of 'feature selection' in machine learning where algorithms must decide which of many potentially relevant variables to include for forecasting purposes. We plan to use a subgroup of these methods that allow to identify the subset of variables (here: provisions) with the largest effect and to accurately estimate their impact.

Overall, the proposed research will deepen our understanding of how PTAs impact trade flows. This, and the empirical techniques we plan to develop, will help researchers and policymakers involved in the design and evaluation of PTAs and ultimately contribute to a better, more evidence-based trade policy.

Planned Impact

Apart from academic users, our research will benefit policymakers from a range of institutions. These include UK government departments such as the Department for International Trade (DIT) and the Department for Exiting the European Union (DExEU); international organisations such as the WTO, OECD, IMF and the World Bank; central banks such as the Bank of England; and industry organisations such as the Confederation of British Industry or the British Chambers of Commerce.

All these user groups monitor and assess trade policy and often carry out their own evaluations of trade agreements. Our proposed work will either improve existing methods for doing so or - in the context of individual trade agreement provisions - make sophisticated evaluations possible in the first place. The results of our research related to existing trade agreements, as well as the statistical techniques and related software packages we plan to develop, will help policymakers' decision finding process and ultimately contribute to a better, more evidence-based trade policy. Given that the United Kingdom may soon have to take charge of its own trade policy after Brexit and is currently (re)negotiating a substantial number of trade agreements, we believe that this is more important than ever.

As explained in more detail in the Pathways to Impact document, we will reach our target user groups through a variety of approaches, including policy briefings, publications targeted at non-academic audiences, conferences and invited presentations, and a project conference. We will also provide custom-made packages for standard statistical software to help users implement the techniques we plan to develop. Finally, the third part of the project (measuring the impact of trade agreement provisions) will be supported by the World Bank as explained in the Case for Support. This will enhance the impact of our research, both directly because the World Bank is a potential user itself as well as indirectly through the Bank's network of stakeholders interested in the effects of trade agreement provisions.

Publications

10 25 50
 
Description Modern trade agreements use a wide range of provisions to increase trade flows between the trading partners. However, economic analysis to estimate the trade flow impact of different provisions has been hampered by the fact that the number of provisions used in modern trade agreements is very large, making it difficult to disentangle their individual effects. In our research, we have developed statistical techniques to solve this problem, by combining insights from the machine learning literature with the latest techniques from the international trade literature. Our findings show that provisions related to technical barriers to trade, antidumping, trade facilitation, subsidies, and competition policy are associated with the largest trade-enhancing effects.
Exploitation Route We have created a software package for the widely used software E (penppml). This allows other users to implement our statistical techniques to various datasets. For example, civil servants at The Department for International Trade have used our software package to estimate the impact of trade agreement provisions on flows of foreign direct investment.
Sectors Government, Democracy and Justice,Manufacturing, including Industrial Biotechology

URL https://cepr.org/voxeu/columns/using-machine-learning-assess-impact-deep-trade-agreements
 
Description The statistical software package (penppml), which we have developed to allow other users to apply our statistical techniques in different contexts, has been used by civil servants at the UK's Department for International Trade to study the impact of trade agreement provisions on various international trade and financial flows. For example, we are aware of one case where penppml has been used to estimate the impact of trade agreement provisions on flows of foreign direct investment (FDI) and another case where work is underway to estimate the impact of trade agreements on trade in pharmaceuticals and medical devices.
First Year Of Impact 2021
Sector Government, Democracy and Justice
Impact Types Economic,Policy & public services

 
Description World Bank collaboration 
Organisation World Bank Group
Country United States 
Sector Public 
PI Contribution In collaboration with a team of researchers from the World Bank, we have developed a new method to identify the provisions used in trade agreements that are associated with the strongest increase in bilateral trade flows; The results of this research have been published as World Bank policy research working paper 9629 and have also been presented at the World Bank Conference on Deep Trade Agreements in October 2020, as well as a trade professionals presentation at the UK Department of International trade in March 2021.
Collaborator Contribution The role of our World Bank collaborators (Michele Ruta and Nadia Rocha) has been the provision of the necessary data on trade agreements provisions, as well as help with preparing and interpreting the data and results from our research project. The World Bank has also given us the opportunity to present our findings at a Conference on Deep Trade Agreements and to publish our findings as a World Bank policy research working paper.
Impact 1) presentation at the World Bank Conference on Deep Trade Agreements in October 2020. 2) publication of World Bank policy research working paper 9629 3) presentation at a trade professionals event hosted by the UK Department of International Trade (DIT)in March 2021
Start Year 2020
 
Description collaboration with DIT civil servant 
Organisation Department for International Trade
Country United Kingdom 
Sector Public 
PI Contribution This was a follow-up from my presentation in DIT's trade professional seminar series in March 2021. 1 of DIT's civil servants got in touch after the presentation to enquire about the possibility of using the methods we have developed in our research for his own work on free trade agreements. This is an ongoing collaboration which we are hoping to develop further over the next months.
Collaborator Contribution see above
Impact No outcomes yet, collaboration only started recently.
Start Year 2021
 
Title penppml 
Description This is an R-package that allows users to implement the statistical methods developed in Breinlich, Corradi, Santos Silva and Zylkin (2021, World Bank Policy Research Working paper 9629) 
Type Of Technology Webtool/Application 
Year Produced 2021 
Open Source License? Yes  
Impact We have given a short training session to civil servants in the UK department for intrnational trade and according to the latest information we have, they are planning to use this package for their ongoing work on the effects of free trade agreements on international trade. 
URL https://github.com/tomzylkin/penppml
 
Description DIT gravity modelling group 
Form Of Engagement Activity A talk or presentation
Part Of Official Scheme? No
Geographic Reach National
Primary Audience Policymakers/politicians
Results and Impact Online presentation on 1 September 2022 of research funded by our ESRC grant to an audience of civil servants from the department of international trade (DIT), as part of DIT regularly meeting gravity modelling group. About 30-40 civil servants attended the presentation on Teams and had the opportunity to ask questions.
Year(s) Of Engagement Activity 2022
 
Description DIT trade professionals presentation March 2021 
Form Of Engagement Activity A talk or presentation
Part Of Official Scheme? No
Geographic Reach National
Primary Audience Professional Practitioners
Results and Impact This was a presentation I gave as part of the trade professionals seminar series organised by The Department for International Trade (DIT). The title of the presentation was "Using Machine Learning to Measure the Impact of Trade Agreement Provisions" and the presentation gave a non-technical summary of the results of our research project on identifying the trade agreement provisions associated with the strongest increase in international trade flows. The audience consisted mainly of UK civil servants working for DIT.
Year(s) Of Engagement Activity 2021
URL https://eur02.safelinks.protection.outlook.com/ap/t-59584e83/?url=https%3A%2F%2Fteams.microsoft.com%...
 
Description ETSG presentation 
Form Of Engagement Activity A talk or presentation
Part Of Official Scheme? No
Geographic Reach International
Primary Audience Professional Practitioners
Results and Impact I presented findings from our research project at the European Trade Study Group's (ETSG's) annual conference. The presentation took place remotely via zoom. The ETSG conference is often attended by policy makers and practitioners working at international economic institutions such as the WTO who might find the methods developed in our research useful for their own work. Hence, an ETSG conference is a good opportunity to disseminate our findings to both academic and non-academic audiences.
Year(s) Of Engagement Activity 2021
URL https://www.etsg.org/conferences/
 
Description Meeting with Brodie Evans (DIT) 
Form Of Engagement Activity A talk or presentation
Part Of Official Scheme? No
Geographic Reach National
Primary Audience Policymakers/politicians
Results and Impact This was a zoom call with Brodie Evans from the UK's department for International trade (DIT), who was interested in applying the penppml tool developed as part of this research grant to his work on trade in trade in pharmaceuticals and medical devices. Our postdoc, Nicolas Apfel, gave a quick introduction to penppml and we then answered a few of the questions Brodie had regarding penppml and how to interpret the results it produces. Brodie stated that he will need to prepare a suitable dataset by merging his existing trade data with the World Bank's deep trade agreements provision database. He promised to get in touch once this is done and he needs further help with how to apply penppml to these new data.
Year(s) Of Engagement Activity 2022
 
Description RES conference 2022 presentation 
Form Of Engagement Activity A talk or presentation
Part Of Official Scheme? No
Geographic Reach National
Primary Audience Professional Practitioners
Results and Impact presentation of a research paper funded by this grant at the Royal Economic Society conference 2022.
Year(s) Of Engagement Activity 2022
URL https://virtual.oxfordabstracts.com/#/event/2363/submission/88
 
Description Southern Economic Association meetings presentation 
Form Of Engagement Activity A talk or presentation
Part Of Official Scheme? No
Geographic Reach International
Primary Audience Other audiences
Results and Impact This was an online presentation at the US Southern ecomic association 2021 conference. It was mainly attended by university researchers in the area of international economics.
Year(s) Of Engagement Activity 2021
URL https://www.southerneconomic.org/session-details/?conferenceId=7&eventId=3471
 
Description Training session with DIT officials, 8/9/2021 
Form Of Engagement Activity Participation in an activity, workshop or similar
Part Of Official Scheme? No
Geographic Reach National
Primary Audience Policymakers/politicians
Results and Impact This was a training session held via zoom to explain the functionality of a statistical tool we developed as part of this research project (implemented as an R-package). The training session was attended by a number of civil servants from the UK Department for International trade (DIT) who plan to use this tool for their work.
Year(s) Of Engagement Activity 2021
 
Description VfSP presentation Nov. 2021 
Form Of Engagement Activity A talk or presentation
Part Of Official Scheme? No
Geographic Reach International
Primary Audience Other audiences
Results and Impact I presented results from our research project (those from World Bank Policy Research Working Paper 9629) at the annual meeting of the trade section of the German economic society (VfSP). The presentation was attended by around twenty people, mainly other academics from Germany and other German-speaking countries.
Year(s) Of Engagement Activity 2021
 
Description trade agreement inquiry submission 
Form Of Engagement Activity A press release, press conference or response to a media enquiry/interview
Part Of Official Scheme? No
Geographic Reach National
Primary Audience Policymakers/politicians
Results and Impact The research grant team, let by the PI, submitted written evidence to the UK House of Common's "UK trade negotiations inquiry". The submission was based on the findings of the research financed by our ESRC grant. The evidence has been accepted by the inquire and published on the inquiry website.
Year(s) Of Engagement Activity 2022
URL https://committees.parliament.uk/work/186/uk-trade-negotiations/publications/
 
Description virtual meeting with DIT officials19/8/2021 
Form Of Engagement Activity A formal working group, expert panel or dialogue
Part Of Official Scheme? No
Geographic Reach National
Primary Audience Policymakers/politicians
Results and Impact We briefed two civil servants from the department for international trade (DIT) about the progress of our research, methods from which they are interested in using for their own work. The discussion also included a brief presentation of a softward package (for R) which we have been developing and which should help DIT to use our methods.
Year(s) Of Engagement Activity 2021