key: cord-0201384-5eov4epf authors: Alves, Luiz G. A.; Mangioni, Giuseppe; Rodrigues, Francisco A.; Panzarasa, Pietro; Moreno, Yamir title: The rise and fall of countries in the global value chains date: 2021-12-11 journal: nan DOI: nan sha: 25e8e1c91128fba79c19f157d75d08332ce4bf75 doc_id: 201384 cord_uid: 5eov4epf Countries participate in global value chains by engaging in backward and forward transactions connecting multiple geographically dispersed production stages. Inspired by network theory, we model global trade as a multilayer network and study its power structure by investigating the tendency of eigenvector centrality to concentrate on a small fraction of countries, a phenomenon called localization transition. We show that the market underwent a significant structural variation in 2007 just before the global financial crisis. That year witnessed an abrupt repositioning of countries in the global value chains, and in particular a remarkable reversal of leading role between the two major economies, the US and China. We uncover the hierarchical structure of the multilayer network based on countries' time series of eigenvector centralities, and show that trade tends to concentrate between countries with different power dynamics, yet in geographical proximity. We further investigate the contribution of individual industries to countries' economic dominance, and show that also within industry variations in countries' market positioning took place in 2007. Moreover, we shed light on the crucial role that domestic trade played in the geopolitical landscape leading China to overtake the US and cement its status as leading economy of the global value chains. Our study shows how the 2008 crisis can offer insights to policy makers and governments on how to turn early structural signals of upcoming exogenous shocks into opportunities for redesigning countries' global roles in a changing geopolitical landscape. One of the defining features of modern production systems is the organization of value chains into distinct stages that are geographically spread out across the entire globe and to which countries contribute in complex and non-linear ways. Spatially disaggregated production systems result in a worldwide trade network in which companies of multiple countries from different production sectors exchange intermediary products along a multi-stage, non-linear and geographically boundless production trajectory ending with products and services directed at the final demand [1] . In this network, strategic access to scarce resources plays a critical role in shaping international relationships between countries and across industries, and in enabling countries to secure and maintain economic prominence globally and over time [2] . The study of how products and services flow within countries and from exporters to importers is therefore crucial to better understand how countries can secure prominent roles in the global value chains. Recent years have witnessed a growing number of network studies concerned with the worldwide trade sys- * lgaalves@northwestern.edu † p.panzarasa@qmul.ac.uk ‡ yamir.moreno@gmail.com tem [3] [4] [5] [6] [7] [8] [9] [10] [11] . Using simplex networks to represent countries as nodes and transactions as directed links from exporters to importers, it has been suggested that the worldwide trade network exhibits a community structure [12, 13] , a heavy-tailed degree distribution [5] , and small-world properties [11] . By extending the simplex representation to bipartite networks, in which nodes in one class can only connect to nodes in another class [14] , researchers have focused on early signals of economic downturns [15] , the competitiveness of countries [16] , and the complexity of products [9] . In spite of these recent advances [17] , a number of scholars have highlighted the limitations of simplex network representations and projected networks, and in particular have emphasized how these network paradigms can poorly capture the dynamics of complex systems [18, 19] . In contexts where the system has multiple layers interconnected with each other -such as, for example, the case of transportation systems where fluxes of individuals traveling by bus, train, and airplane can be seen as belonging to different layers of the same interconnected network -the multi-layer network has been shown to provide a more adequate representation [19] [20] [21] . This is also the case of the international trade network, in which the structure unfolds within and across industries, and the countries are involved in multiple stages of production along the global value chains [22] . In the multi-layer representation, industries refer to the layers of the network, arXiv:2112.05870v1 [physics.soc-ph] 11 Dec 2021 the countries are the nodes that populate every layer, and connections can be drawn from one country to another in the same industry (within-layer connections), or between different industries (cross-layer connections) [22, 23] . Over recent years, researchers have adopted a multilayer perspective to better capture the structure and dynamics of international trade [6, [22] [23] [24] [25] [26] . Applications of multi-layer networks to trade include the analysis of layer-specific local constraints on international trade [24] , the study of the emergence and unfolding of cascading failures [25] , the study of countries' influence based on betweenness centrality measures [26] , the analysis of the nested structural organization of the worldwide trade [23] , and the assessment of the impact of technological innovations on industrial products [6] , to name only a few. However, despite the increasing popularity of network approaches to global trade, relatively little attention has been paid to the formalization of countries' economic dominance from a multi-layer perspective. Traditionally, scholars and policy-makers interested in comparative assessments of countries' global roles and competitive advantage have relied on macro-economic measures of market power based on countries' overall share of world trade [27] . These traditional aggregate measures, however, suffer from shortcomings, mainly because aggregate trade flows, on which dominance is predicated, cannot account for the increasingly widespread internationalization of production processes [3, 28, 29] . Countries' economic dominance of global trade is intrinsically rooted in the international fragmentation of production and the resulting structural intricacies that characterize the global value chains. Production processes are typically disaggregated into various stages stretching across multiple countries so as to exploit the comparative advantages of locations. For example, production might involve intermediary stages and assembly spots located in countries that hold only a negligible share of the market of the final product. Countries may receive inputs from multiple suppliers and, in turn, contribute to the production process at multiple stages located in various other countries. Thus, the internationalization of production makes it difficult to assess countries' role in global trade simply by using traditional aggregate values such as gross imports or exports. By contrast, a country's economic dominance of global trade should be a function of the share of value the country brings to each production stage of the underlying global value chains and of the share of benefits obtained from the exchange of intermediate and final products [30, 31] . That is, economic dominance is a multi-layer property that should quantify the salience of a country for the entire production network, and thus explicitly depend on the centrality of the other countries located at other production stages and with which the focal country is connected. Here, we take a step in this direction, and investigate the dynamics of dominance in the worldwide multi-layer trade network using data from the World Input-Output Database (WIOD) [32] . The WIOD is an information-rich data set including details about trade among 56 industries and 43 countries accounting for more than 85% of the overall global GDP in the period from 2000 to 2014. Drawing on this data set, we take a micro perspective and investigate the dynamics of economic dominance of individual buyers and sellers in the worldwide trade multi-layer network. We show that the ranking of buyers and sellers varied over time in a non-trivial way, resulting in an abrupt and remarkable reversal of leading roles precisely before the 2008 financial crisis. Using hierarchical clustering analysis, we uncover common patterns of variation in economic dominance, and use these patterns to partition countries into meaningful groups characterized by similar power dynamics. We then shift focus from individual countries and take a macro perspective. First, we identify a localization effect in the system using the inverse participation ratio, and examine whether variations in localization can be associated with the occurrence of exogenous shocks. Second, we shed light on the contributions of individual industries on countries' global dominance, and uncover the localization effect within each industry by computing the corresponding inverse participation ratio. Finally, we explore the role that domestic trade played in amplifying the system's power concentration and facilitating variations in the geo-political landscape before the 2008 crisis. Our analysis begins with the construction of the multilayer network using the WIOD data set (Fig 1) . The WIOD is an information-rich data set that includes details about trade among 56 industries and 43 countries, from 2000 to 2014. Unlike other data sets (e.g., COMTRADE), the WIOD has information about connections between different industries and different countries. Moreover, the data set enables the construction of a weighted directed multi-layer network, where each industry is represented as a layer and every layer is populated by the 43 countries of the data set, which are connected when they trade with one another [22, 23] . In particular, within-layer connections refer to the exchange of products and services among countries within the same industry, whereas cross-layer connections refer to economic transactions among countries in different industries (see Fig 1 and Materials and Methods). In graph theory, a common measure for assessing the importance of nodes in a network is the eigenvector centrality [14, 33, 34] . The idea underpinning this measure is that a node is important to the extent that it is connected to other important nodes, and thus belongs to a chain FIG. 1. The worldwide trade multi-layer network. A) Schematic representation of the multi-layer network. Each node represents a country and each layer an economic industry. The edges represent economic transactions starting from sellers and pointing to the buyers. The widths of edges are proportional to the USD value of the goods or services exchanged between the connected countries. B) The worldwide trade network in 2000. For illustrative purposes, we show: (i) the aggregated cross-layer structure of the network, where edges refer to connections among countries from different industries; and (ii) an example of within-layer structure, where edges refer to connections between countries within the construction industry. The size of each node is proportional to the in-strength of the node, s in , whereas the color intensity of each node is proportional to the out-strength of the node, s out . See Tables S1 and S2 for the labels of the nodes. in which importance is transmitted from one node to another along various connections [33] . Research has shown that under commonly occurring conditions (e.g., in networks with heavy-tail distributions) the eigenvector centrality undergoes a localization transition as a result of which most of the weight of the centrality will concentrate on a small number of nodes in the network, while the vast majority of the remaining nodes will be assigned only a vanishing fraction [35] [36] [37] . This phenomenon, typically referred to as "localization effect", has been extensively studied in the case of simplex complex networks [38] , and more recently it has been investigated in multi-layer networks [35] [36] [37] . Traditionally the literature has regarded the localization effect as a drawback of the eigenvector centrality, which in turn has motivated the proposal of alternative centrality measures better able to assess the relative importance of peripheral nodes that would otherwise remain indistinguishable. Here, we take a different perspective: we shift focus from the ranking of peripheral nodes to the emergence of power structures in which a minority of nodes take on a leading role. In particular, we explore how the localization process in the multi-layer trade network can unmask important structural changes in global trade associated with the emergence of few dominant players. We also assess how these changes can result in transformations of power hierarchies in the global value chains, and ultimately affect the relative economic dominance of the leading global suppliers and destination markets. First, we define the economic dominance of a country from a network-based perspective. More generally, a country can be seen as a global leader when it exerts control over the whole range of transactions occurring along the international global value chains. This implies that a country's global dominance should be a function of the dominance of all its trading partners at the local levels of the upstream, midstream, and downstream stages of production within and across all industries. Moreover, countries can be global leaders as both buyers and sellers. On the one hand, a country is a leading global buyer to the extent that it represents a major destination market of intermediary and finished products sold by countries that, in turn, are key destination markets of products originating from other key destination markets, and so forth. On the other, a country is a leading global supplier to the extent that it controls the sales of intermediary and finished products to countries that, in turn, are key suppliers of products to other key suppliers, and so forth. We measure the economic dominance of buyers and sellers using a suitable adaptation of eigenvector centrality to the multi-layer network. The centrality of nodes can be measured through the tensorial formulation of the multi-layer network by calculating the spectral properties of the graph. Specifically, the corresponding formalization of the multi-layer network in the tensorial notation is rank-4 tensor M jβ iα , which encodes a directed, weighted connection between node i from layer α to any other node j in any layer β [36, 37, 39] . Thus, we can compute the centrality of buying nodes in a given layer by calculating the leading eigentensor associated with the most positive eigenvalue [36] . To also account for sellers, we can use the left leading eigentensor when calculating the centrality (or, equivalently, we can calculate the leading eigentensor associated with the most positive eigenvalue of the transposed supra-matrix). Thus, the node centrality can be obtained solving the following equation [39] : where Θ iα gives the eigenvector centrality of each node i in each layer α when accounting for the whole interconnected multi-layer structure. The centrality of each node in the whole multi-layer network is given by aggregating over the layers the centrality of each node in each layer. Formally, this is equivalent to multiplying Θ iα by a rank-1 tensor (u α ) with all components equal to 1 [35, 36] , namely Solving the equation above for buyers and sellers in the multi-layer network in the year 2000, the eigenvector centrality ranks the US as the dominant country both as a buyer and as a seller. The least dominant countries in 2000 are Estonia and Bulgaria, appearing at the bottom of the rankings of buyers and sellers, respectively. The values of eigenvector centrality in the multi-layer network for this year is shown in Fig. 2A (buyers) and Fig. 2B (sellers). The rankings of buyers and sellers show some similarity, as indicated by the Kendall-τ correlation coefficient (0.82; p−value < 10 −14 ). Countries that are prominent destination markets tend to be also prominent suppliers. The majority of countries change ranks only by a position or two, with the noticeable exception of Luxembourg that occupies position number 17 in the ranking of buyers and position number 36 in the ranking of sellers. We now focus on the dynamics of dominance in the worldwide trade multi-layer network. We computed the eigenvector centrality for each year in the period from 2000 to 2014, for both buyers (Fig. 2C ) and sellers (Fig. 2D) . Interestingly, our results suggest that an abrupt reversal of economic dominance between the US and China took place precisely just before the 2008 global financial crisis. Findings also clearly indicate that many other countries changed their global roles during the crisis, and new winners and losers emerged in a reshaped geo-political landscape. In particular, in addition to the US and China, (Fig. 2C and Fig. 2D highlight, respectively, the three buyers and the three suppliers that experienced the largest positive and negative variations in eigenvector centrality between 2007 and 2008. For example, in 2008, like China, Japan emerged as a prominent economy in global production, whereas Canada followed the same trajectory as the US, permanently losing the role occupied before the crisis as the world's second most prominent trading nation. To further understand the emergence and evolution of groups of trading countries, we investigate the hierarchical structure of countries based on dynamics of economic dominance. By computing the Pearson's correlation distance matrix (see Materials and Methods and Fig.S1 ) and using the Ward linkage criteria [40, 41] , we constructed a dendrogram that hierarchically clusters similar time series of eigenvector centrality. This clustering procedure recursively merges pair of clusters that minimally increase within-cluster variance. We determined the number of significant clusters by cutting the dendrogram at the threshold distance that maximizes the silhouette score [42, 43] . Fig. 3 shows the obtained clusters of buyers (A) and sellers (B) and the corresponding average trends of eigenvector centrality (see also the matrix plot of the correlation distance among all pairs of time series in Fig. S1 ). To check for robustness, we also computed the modular structure of the network using a hierarchical (nested) stochastic block model, and obtained a substantial overlap with the partitioning based on the hierarchical cluster analysis (see Fig. S2 ). Findings suggest that destination markets and suppliers can be grouped according to similar patterns of variation in the role they occupied in the economic system over time. In particular, Fig. 3A shows that buyers are grouped into six economic blocks, the largest of which (by number of members) contains 19 countries (including Brazil, Russia, India, China). This block accounted for 20% of all purchases in 2000 and overtook all the other blocks by 2007, reaching ≈ 50% of all purchases in 2014 (see Fig. S3A ). All the other blocks reduced their share of global purchases over time. The second largest block includes 10 countries (9 European countries and Japan), and accounted for 20% of all purchases in 2014. The third block, including 8 countries (five European countries and the three North American countries, namely, Canada, the US, and Mexico), boasted the largest share of all purchases in 2000 (approximately 36%), but played a weaker role in 2014 (24% of global purchases). The other two clusters include three countries each (all from Europe, representing about 5% of all trades, in 2014); the remaining cluster is composed of a single buyer (the Netherlands), and accounts for about 1% of all purchases during the period. Like buyers, sellers can be hierarchically grouped into clusters characterized by similar variations of economic dominance. In particular, as shown by Fig. 3B , sellers are partitioned into four economic blocks, the largest of which includes 22 countries (19 from Europe and the other three from North America, namely, Canada, the US, and Mexico). This block accounted for 56% and 40% of all global sales, respectively in 2000 and 2014 (Fig. S3C ). The second largest economic block, which includes 9 countries (six Asian countries, Australia, Brazil, and Bulgaria), overtook the largest block only in 2013, with 43% of all sales in 2014. The third economic block includes 8 countries (six European countries and two Asian countries) and accounted for less than 2% of all sales in 2014. Although the last economic block is the smallest by number of countries (only four European countries), it accounted for 15% of all sales in 2014. We now shed some light on the drivers of such partitioning. First, it is interesting to examine the extent to which the grouping of countries based on patterns of variation in economic role overlaps with a more traditional partitioning based on the idea that countries are more likely to trade within than between groups [44] . While Fig. S3B ,D seems to suggest that over the years the total purchase taking place within blocks represents a fraction that varies from 65% (for the smallest blocks) to 95% (for the largest blocks), this is only true when domestic trade is accounted for. Indeed, as shown in Fig. S4 , when the analysis is restricted only to international trade, the reverse is true. Except for the third largest block of importers (including the US, Canada, and Mexico) and the largest block of exporters (still including the three North American countries), countries tend to trade between rather than within blocks. Thus, the majority of trade occurring within blocks tends to originate from domestic trade, i.e., self-loops within and across layers (see Fig. S5 ). As suggested by Figs. S6 to S11, the economic value of the transactions within blocks does not statistically significantly differ from what would be expected by chance (at the 0.05 significance level), except for the third largest block of importers (including the US, Canada, and Mexico) and the largest block of exporters (still including the three North American countries). Countries with similar power dynamics tend, therefore, to avoid trading with each other, and instead concentrate their transactions with partners belonging to other clusters. Second, the obtained groups have a geographical signature too. As suggested by Table S3 and Table S4 , the mean geographic distance between countries within the same block (computed using the geographical centroids of countries) is always lower (except for the largest block of buyers) than the mean distance separating countries from different blocks. Thus, spatial proximity can be regarded as a fundamental driving force underpinning the formation of clusters of trading countries characterized by comparable dynamics of economic dominance (see also the geographic mapping of countries in Fig. S12 .) To further investigate the dynamics of eigenvector centrality, we compute the inverse participation ratio (IPR) of buyers and sellers. From network theory [37, 45] , we know that where θ i is the eigenvector centrality of node i. An IPR close to zero means that there is negligible localization effect (i.e., no economic dominance), and centrality is homogeneously distributed across the nodes, whereas an IPR close to one reflects a network where the centrality is very localized in very few nodes (i.e., the system is dominated by a minority of countries) [45] . Using Eq. 3, we computed the IPR for the worldwide trade multi-layer network over the period from 2000 to 2014, for buyers ( Fig. 4A ) and sellers (Fig. 4B ). Findings clearly suggest a drop in the localization effect that took place precisely before the 2008 financial crisis. Combined with the observed changes in countries' eigenvec-tor centrality (see Fig. 2 ), the drop in localization indicates a more homogeneous redistribution of economic dominance across trading countries. Notice that, despite the similar shape, the drop in IPR for sellers precedes in time the one for buyers. This may suggest some linkages between global supply and destination markets: earlywarning structural signals of the 2008 crisis started to appear in the sellers' market and then propagated along the global value chains to also affect the structure of the global purchasing market. To assess the statistical significance of the high values of IPR (i.e., to test the hypothesis that the observed values of IPR values could be generated by chance), we used a random-edge assignment to construct an ensemble of synthetic multi-layer networks, with 1, 000 realizations, and with the same topological features as the empirical networks. To produce the null model, we randomly redirected the in-or out-going edges by preserving their weights, thus also preserving the in-or out-degree distributions and the in-or out-strength distributions in the different layers, and then computed the eigenvector centrality (see Material and Methods). So constructed, this null model preserves the in-and out-degree distributions, in-and out-strength distributions, as well as the weight distribution at three levels: (i) globally, in the entire network; (ii) at the level of cross-layer connections; and (iii) locally within each layer. For each synthetic multi-layer network, we computed the IPR values for buyers and sellers to obtain a distribution of values that can then be compared with the results obtained from the empirical multi-layer networks. Assuming a 5% false discovery Contribution of industries to buyers' and sellers' dominance. Contributions of an individual layer α to the inverse participation ratio (IPR(α)). The colored industries are the ones that experienced the largest drop in IPR(α) during the observed period. Notice that most of the industries that experienced a drop in localization did not revert back to the initial localized state. rate, we can reject the hypothesis that the localization effect found in the multi-layer network can be generated by chance using a null model that has the same topological features as the real multi-layer network (see Fig. S13 ). We investigate the contribution of individual industries to the localization effect observed globally in the system [37] . To this end, we computed the contribution of individual layers to the IPR using the following measure: where θ is the eigenvector centrality of node k in layer α. Using this measure, we can uncover the industries that most contributed to the global localization effect, from the perspective of both buyers and sellers. Fig. 4C and Fig. 4D show the curves obtained for purchases and sales, respectively, in each layer α and highlight the industries characterized by a major drop of IPR in the period. The figures suggest that, for both purchases and supplies, the values of IPR(α) dropped just before the 2008 crisis. While many of the industries returned to a highly localized state (IPR≈ 1), other industries remained less localized and more homogeneous by distribution of power. For example, purchases in retail trade (not including motor vehicle and motorcycles) and real estate activities experienced a decay of localization during the crisis but quickly returned to a centralized power structure. By contrast, purchases within the industries of repair and installation of machinery and equipment, wholesale and retail trade and repair of motor vehicles and motorcycles, and household activities lost their market power concentration in 2007. Similar patterns can be found with suppliers. For example, administrative and , and manufacture of machinery and equipment n.e.c. (C28 -green), whereas the purchasing industries with the largest decrease in ranking were electricity, gas, steam and air conditioning supply (D35 -purple), financial service activities, except insurance and pension funding (K64 -orange), and insurance, reinsurance and pension funding, except compulsory social security (K65 -yellow). The top three supplying industries with the largest increase in ranking were air transport (H51 -red), manufacture of furniture, other manufacturing (C31-C32 -blue), and crop and animal production, hunting and related service activities (A01 -green), whereas the three supplying industries with the largest decrease in ranking "other" service activities (R-S -purple), motion picture, video and television program production, sound recording and music publishing activities, programming and broadcasting activities (J59-J60 -orange), and activities auxiliary to financial services and insurance activities (K66 -yellow). D) Global purchases and sales of China. The top three purchasing industries with the largest increase in ranking were manufacture of coke and refined petroleum products (C19 -red), other professional, scientific, and technical activities, and veterinary activities (M74-M75 -blue), and manufacture of motor vehicles, trailers and semi-trailers (C29 -green), whereas the three purchasing industries with the largest decrease in ranking were crop and animal production, hunting and related service activities (A01 -purple), water transport (H50 -orange), wholesale trade, except motor vehicles and motorcycles (G46 -yellow). The top three supplying industries with the largest increase in ranking were crop and animal production, hunting and related service activities (A01 -red), warehousing and support activities for transportation (H52 -blue), other professional, scientific and technical activities, and veterinary activities (M74-M75 -green), whereas the three supplying industries with the largest decrease in ranking were manufacture of paper and paper products (C17 -purple), manufacture of furniture and other manufacturing (C31-C32 -orange), and air transport (H51 0 yellow). The full list of labels for industries can be found in Table S2 . support service activities experienced a decay in localization, but then slowly returned to a more centralized structure. On the other hand, other industries such as the wholesale and retail trade and repair of motor vehicles and motorcycles, activities auxiliary to financial services and insurance activities, and advertising and market research remained less centralized for the rest of the period. We now illustrate how countries experienced variations in economic dominance within individual industries and how individual industries contributed to the rise and fall of countries. To this end, here we focus on the two industries that experienced the largest variation in the power concentration of purchases and supplies (i.e., repair and installation of machinery and equipment, and wholesale and retail trade and repair of motor vehicles and motorcycles, respectively; see To calculate the ranking of countries within individual industries, we computed the eigenvector centrality θ iα for each buyer (seller) i in each industry α given by the eigenvector centralities of the supra-adjacency matrix (Eq. 2). We then computed the ranking of countries, for a given industry α = α * , by sorting θ iα * from the highest to the lowest value. Similarly, we computed the ranking of industries α, for a giving country i = i * , by sorting θ i * α from the highest to the lowest value. The above procedure is then repeated for every year in our data set. Results for the two industries and the two countries are shown in Fig 5. It is worth noting that the countries with a dominant position in these industries (see the five top-ranked countries in Fig 5) A-B or the countries with a negligible role (see the five lowestranked ones in Fig 5A-B) tend to maintain their positions over time. The "market movers" are the countries that typically occupy the middle of the ranking. Fig 5C-D sheds more light on how industries contributed to the power dynamics of the US and China and to the reversal of leading role between the two countries between 2007 and 2008. For example, the US experienced its largest loss of market dominance in the purchase of electricity, gas, steam, financial services and insurance, and in the supply of other service activities, television program production, broadcasting, music publishing and broadcasting activities. By contrast, China became a global leader by strengthening its market position in the purchase of coke, refined petroleum products, scientific and technical activities, and motor vehicles, and in the supply of crop and animal production, warehousing and support activities for transportation. Once again, most of these gains and losses in competitive advantage took place in 2007 before the crisis. So far our study has suggested that localization varies across industries, and some industries are more localized than others. To further understand the sources of localization and the reversal of dominance between countries, we explore the distinct contribution to localization of international trade (i.e., the edges connecting different countries within the same layer or across different layers) and domestic trade (i.e., self-loops within layers and cross-layer connections involving the same country). To this end, we first disaggregated our supra-matrix M into an international trade matrix T and a domestic trade matrix D. The domestic trade matrix includes all diagonals of each layer (i.e., the self-loops connecting a country with itself in the same layer) as well as the diagonals of the non-diagonal matrices that represent the cross-layer connections of a country with itself in different layers. We then simulated different scenarios of trade by multiplying D by a parameter c. This parameter c therefore accounts for the role played by domestic transactions in the network. Thus, c varies from 0, when all the domestic trade is removed from the network, to 1, where the original topology of the multi-layer network remains unchanged. We can formally define a new multi-layer network as the sum of international trade and domestic trade: where c is our control parameter. Next, for each year in the data set we calculated the IPR ofM by using different values of c and, as usual, by distinguishing between the eigenvector centralities of buyers and sellers. Fig. 6 shows the IPR as a function of c. Results clearly indicate an abrupt transition to the localized regime at c ≈ 0.08, thus suggesting that domestic trade was a main driver of localization in the network. The figure also suggests that the salience of domestic trade for localization is time-dependent. Interestingly, Fig S14 shows that the year-dependent critical value of the parameter c, at which the largest variation in IPR occurs, peaks precisely just before the financial crisis, both for buyers ( Fig S14A) and sellers (Fig S14B) . That is, at the time preceding an exogenous shock it takes a higher share of domestic trade to make the global market more heterogeneous and dominated by a minority of countries. This implies that, from the perspective of an individual country, leveraging domestic trade towards increasing or cementing the country's market dominance becomes even more critical during a crisis. Indeed the role played globally by domestic trade in boosting localization is reflected locally at the country's level. As shown by Fig. S15C , unlike the US and other countries, China was the only major economy to witness an uninterrupted surge in domestic trade during and beyond the financial crisis. On the other hand, the way China's international trade varied during the crisis did not differ much from what occurred in the US and Germany (see Fig. S15A,B) . It is therefore the sustained and uninterrupted growth in domestic trade that enabled China to bolster its dominance of global trade, and eventually overtake the US as leading economy of the global value chains. Countries' rising market power and resilience against external shocks have become a prominent public policy issue in recent years. Here we have investigated dynamics of economic dominance using countries' eigenvector centrality in the trade multi-layer network. Our findings have uncovered a localization effect pointing to a concentration of market power on a select minority of buyers and sellers. By examining the evolution of countries' economic dominance, we uncovered two main findings. First, a reverse of market dominance between the two major economies -the US and China -took place precisely before the 2008 financial crisis. At the same time, other countries abruptly changed their global roles, and new winners and losers emerged. Second, at the global level a drop in localization took place before the crisis. In particular, the sellers' global market was the first to exhibit a significant change in power structure in 2007. These changes subsequently reverberated through the network to also affect the buyers' market. By comparing the time series of countries' market dominance over time, we identified a number of common patterns according to which we clustered the countries. We found that similarity in power dynamics does not serve as catalyst for trade. In fact trade tends to concentrate between countries that are geographically close, yet characterized by different trends of economic dominance. Moreover, our multi-layer framework enabled us to identify the distinct contribution of individual industries to localization. While most industries managed to react to the financial crisis by retaining a heterogeneous power structure, some experienced a drop in concentration without being able to revert back to the structure they held before the crisis. This is the case, for example, of the industries of repair and installation of machinery and equipment and wholesale and retails trade and repair of motor vehicles and motorcycles. While policy-makers often focus on the role of exports in boosting a country's economic power in global trade, the role of domestic trade has remained largely overlooked. Our analysis of the relation between domestic trade and localization uncovered two main findings. First, domestic trade was the main driver of heterogeneity in the global power structure. Second, the salience of domestic trade for localization followed a time-dependent pattern: that is, domestic trade became most crucial for inducing power concentration in the system precisely just before and during an economic downturn. Whilst in normal times exports and, more generally, international trade enabled the US to cement its leading role, during the 2008 crisis it turned out to be domestic trade within and across industries that enabled China to overtake the US as the global market leader. Overall, these findings have implications that straddle research and practice. Existing economic theories make divergent predictions on how the emergence of new dominant players impacts on the global political and economic landscape [46] . There is little consensus on whether an increased unbalance in market power is likely to affect economic dynamism, income inequality, and geopolitical stability [47] . The lack of consensus partly reflects the difficulties in measuring economic power, both at the level of a firm and of a country. For example, previous macroeconomic studies have traditionally used aggregate measures such as total exports or imports to gauge the role of countries in global trade [3] . However, recent studies have pointed to the inadequacy of such measures to reflect the intricacies of the underlying global value chains [28, 29] . Here we did not perform a comparative assessment of alternative measures, but focused only on eigenvector centrality applied to the multi-layer network. Interestingly, the localization transition that the network literature has highlighted as a potential drawback of eigenvector centrality turned out to unmask properties of the power structure that would otherwise have remained hidden with other approaches. For example, our study helps to better understand how a global crisis can affect the much-debated trade war between the US and China and shift the balance of power between the two nations. The reversal in leading role that happened in 2007 suggests that exogenous events, like a financial crisis, can be turned into opportunities for global leadership. Eventually it will be the nation that most effectively responds to such events that will gain traction and emerge as a global leader. Recently there have been a number of attempts in the economic literature to cluster countries into meaningful blocks with distinctive preferential trade patterns within specific industries [12, 13] . Here we took a different perspective on partitioning. We clustered countries according to similarity of their time series of eigenvector centrality in the global value chains, and then evaluated the obtained clusters by inferring preferential trade patterns. Our approach allowed us to complement more traditional topological approaches as we uncovered associations between countries' market positioning and preferential trading. Our partitioning suggests that countries with similar power dynamics (and thus belonging to the same block) tend to avoid trading with one another and concentrate transactions with other partners in different power-based blocks. Our study also contributes to the emerging literature on the structural early signals of economic downturns [15] , and more generally on the topological antecedents and consequences of shocks in economic and financial systems [48] . We did not assess any causal relation between structural changes and exogenous events, but simply the association between the timing of a financial shock and the emergence of new winners and losers in the market. All the analysis suggests is that changes in localization can be seen as a topological signal of an upcoming global crisis and at the same time as an opportunity for countries to develop the effective strategies for safeguarding and strengthening their market positions. China serves as a case in point. The onset of the financial crisis in 2008 spurred an abrupt reversal of roles leading China to cement its status as the world's dominant trading nation underpinned by an uninterrupted surge in domestic trade. While the role of countries in global trade has traditionally been gauged mainly based on exports and more generally international trade, this finding may suggest a change in perspective. First, assessment of countries' market dominance needs to account not only of exports and imports but also of domestic trade taking place within the global value chains. Second, the role that domestic trade played in the geopolitical landscape in 2007 has the potential to assist governments, world leaders and policy-makers on how to help countries to strengthen their competitive advantage during critical periods marked by extraordinary and globally unfolding events, such as financial crises or pandemics. All this raises an intriguing possibility: despite the hardships and economic losses countries suffer in the short term, it is possible that shocks to the economy turn out to be strategic inflection points. They can be the start of a sharp decline or the opportunity to rise to new heights. A comparison between the 2008 financial crisis and the current economic downturn induced by the COVID-19 pandemic is inevitable. Like the previous global systemic crisis, COVID-19 is an exogenous shock to the economy, likely to induce structural changes and a repositioning of countries in the global value chains. In an increasingly perilous global economy, the 2008 crisis can certainly offer useful insights to policy-makers and governments on how to redesign effective geo-economic strategies to chart countries' way forward and redefine their global roles. The new emphasis on production reshoring and relocation of supply chains, the current climate crisis, the accelerating technological revolution and the fast-changing geopolitical landscape will likely set the scene for a new balance of power between countries, and the emergence of new winners and losers in a reshaped world order. Data: Our study draws on data from the WIOD (Release 2016) covering 28 EU countries and 15 other major countries in the world within the period from 2000 to 2014. For every year, a World Input-Output Table (WIOT) is provided in current prices, expressed in millions of US dollars (USD). Each table represents economic transactions among the 56 economic activities (industries) in each country. The core of the database is a set of harmonized supply and use tables, as well as data on international trade of goods and services. These two sets of data have been integrated into sets of intercountry WIOT. The full lists of countries and industries are provided in Supplementary Information (Table S1 and Table S2 ). where: is the sum of the weights associated with all transactions originating from country c i within a particular industry α and directed to country c j within the same industry α. Thus, an intra-layer edge between country c i and country c j in industry α is established when there is at least one transaction between a i and a j in α. The element a is the sum of the weights associated with all transactions originating from country c i within a particular industry α and directed towards country i in industry β. Thus, a cross-layer edge between country i in industry α and country j in industry β is established when there is at least one transaction between a i and a j across the corresponding industries. Dendrogram clustering: We constructed the dendrograms using hierarchical clustering based on the correlation distance matrix obtained by calculated over every pair of countries, where θ i (t) is the time series of eigenvector centralities of country i and d is the distance defined in the interval [0, 2]. We further used the Ward's linkage criteria to obtain the dendrogram, as implemented in the Python package Scipy [49] . To determine the number of clusters, we found the threshold distance that maximizes the silhouette score [42] . This coefficient quantifies the consistency of the clustering procedure and is defined by the average value of where a i is the cohesion (the average intra-cluster distance) and b i is the separation (the average nearestcluster distance) for the i-th country. The higher value of the silhouette coefficient represents the best cluster configuration. We used the Python module scikit-learn [50] to compute the silhouette scores and the SciPy [49] package to compute the correlation distance matrix (Fig. S1 ). Null models to assess clusters: To ascertain whether the obtained clusters differ from those obtained with more traditional network partitioning based on the tendency of countries to trade more value within than between blocks, we proceeded as follows. We constructed three null models in which the original simplex trade network maintains its topology (i.e., the in-and out degree distributions) and is otherwise randomized according to three reshuffling procedures. In the first model (Model I), for each buyer (seller), the weighted stub of each incoming (outgoing) edge is connected with the unweighted stub of an outgoing (incoming) edge chosen uniformly at random across the entire network. In this way, buyers (sellers) preserve their in-strength (out-strength) but are randomly assigned different suppliers (destination markets). In the second model (Model II), weights are reshuffled globally across the network, thus randomizing nodes' in-and out-strength. Finally, in the third model (Model III), weights are reshuffled locally across each buyer's (seller's) incoming (outgoing) edges, thus preserving each node's in-strength (out-strength) and randomizing outstrength (in-strength). For each model, 1, 000 network realizations were produced and compared to the original network. Synthetic multi-layer network (null model): Given a multi-layer network M = (G M , C M ), we used random edge assignment to construct 1, 000 synthetic multi-layer network realizations that preserve the in-(out-) degree, in-(out-) strength, and weight distributions of the family of observed directed graphs G M α (within-layer graphs) and C M αβ , α = β (cross-layer graphs). In practice, we randomized the columns (incoming links pointing to buyers) or rows (outgoing links departing from sellers) by blocks of the multi-layer adjacency matrix, where each block includes intra-layer connections (i.e., diagonal matrices given by G M α ), or the inter-layer connections (i.e., offdiagonal matrices given by C M αβ , α = β). Table S1 shows the list of the 43 countries (excluding the "Rest of the World"), and Table S2 the 56 NACE Rev.2 economic activities included in the WIOD. Crop and animal production, hunting and related service activities A02 Forestry and logging A03 Fishing and aquaculture B Mining and quarrying C10-C12 Manufacture of food products, beverages and tobacco products C13-C15 Manufacture of textiles, wearing apparel and leather products C16 Manufacture of wood and of products of wood and cork, except furniture; manufacture of articles of straw and plaiting materials C17 Manufacture of paper and paper products C18 Printing and reproduction of recorded media C19 Manufacture of coke and refined petroleum products C20 Manufacture of chemicals and chemical products C21 Manufacture of basic pharmaceutical products and pharmaceutical preparations C22 Manufacture of rubber and plastic products C23 Manufacture of other non-metallic mineral products C24 Manufacture of basic metals C25 Manufacture of fabricated metal products, except machinery and equipment C26 Manufacture of computer, electronic and optical products C27 Manufacture of electrical equipment C28 Manufacture of machinery and equipment n.e.c. C29 Manufacture of motor vehicles, trailers and semi-trailers C30 Manufacture of other transport equipment C31 C32 Manufacture of furniture; other manufacturing C33 Repair and installation of machinery and equipment D35 Electricity, gas, steam and air conditioning supply E36 Water collection, treatment and supply E37-E39 Sewerage; waste collection, treatment and disposal activities; materials recovery; remediation activities and other waste management services F Construction G45 Wholesale and retail trade and repair of motor vehicles and motorcycles G46 Wholesale trade, except of motor vehicles and motorcycles G47 Retail trade, except of motor vehicles and motorcycles H49 Land transport and transport via pipelines H50 Water transport H51 Air transport H52 Warehousing and support activities for transportation H53 Postal and courier activities I Accommodation and food service activities J58 Publishing activities J59 J60 Motion picture, video and television program production, sound recording and music publishing activities; programming and broadcasting activities J61 Telecommunications J62 J63 Computer programming, consultancy and related activities; information service activities K64 Financial service activities, except insurance and pension funding K65 Insurance, reinsurance and pension funding, except compulsory social security Continued on next page Hierarchical structure of the multi-layer network FIG. S1. Hierarchical structure of the multi-layer network. Matrix plot of the correlation distance among all pairs of time series of eigenvector centrality for buyers (A) and sellers (B). The color of each cells is proportional to the correlation distance between the corresponding time series. The dendrograms associated with this matrix show the hierarchical clustering based on Ward's minimum variance method. The colored squares located below the dendrogram branches indicate the clusters obtained by cutting the dendrogram at the threshold distance that maximizes the silhouette score. The buyers' distance matrix has 6 clusters, whereas the sellers' distance matrix only 4 clusters. In addition to the hierarchical clustering analysis of the time series, we considered the hierarchical (nested) stochastic block model (nested SBM) to find the economic blocks [51] . We computed the modular/block structure of the network obtained from the correlation distance matrix of the time series θ i (t) of eigenvector centralities. In this network, each node is a country and the weights of links are the correlation distances d ij between the time series of countries i and j. To run the nested SBM algorithm, we considered normal priors for the weight distribution and collected the partitions for 10, 000 sweeps of a Metropolis-Hastings acceptance-rejection Markov Chain Monte Carlo [52] with multiple moves to sample hierarchical network partitions, at intervals of 10 sweeps. The block structure obtained with the hierarchical (nested) SBM for buyers and sellers are shown in Fig. S2A and Fig. S2B , respectively. The different colors represent the economic blocks and the adjacency edges are bundled together for a better visualization of the network hierarchical structure. We further estimated the marginal probabilities of node membership using the fraction of times a node is found in a given partition on our sampled partitions data. In Fig. S2 , the pie charts illustrate the marginal probabilities (fractions of occurrence on the sampled data) that a given node belongs to a partition. We next compared the results of the nested SBM with the results obtained with the hierarchical clustering analysis of the time series. To do so, we use the normalized mutual information (NMI) to quantify the overlap between the clusters found with the two approaches. Results suggest a great overlap between the results found with the two approaches. The NMI is ≈ 0.7 for the buyers, and ≈ 0.6 for sellers, thus highlighting the robustness of our findings. FIG. S2. Hierarchical modular structure of the correlation network and marginal probabilities of node membership. In this representation, nodes represent countries, and the pie divisions represent the marginal posterior probability that a node belongs to a given group (the different colors). The probabilities were obtained by collecting the node membership for 10, 000 sweeps of a Metropolis-Hastings acceptance-rejection Markov Chain Monte Carlo with multiple moves to sample hierarchical network partitions, at intervals of 10 sweeps. The edges and their weights are proportional to the correlation distance of the eigenvalue time series θi(t) and θj(t) associated with country i and j. A Modular structure of buyers' correlation network shows a great overlap with the hierarchical cluster analysis (NMI≈ 0.7). B Similarly, the modular structure of sellers' correlation network shows a great overlap with the hierarchical cluster analysis (NMI≈ 0.6). Fraction of purchases and sales by economic block. Fig. S1 . The shaded areas represent the 95% confidence intervals obtained from 1, 000 realizations of the null model. We omitted the economic block no.6 since it only includes one country. Fig. S1 . The shaded areas represent the 95% confidence intervals obtained from 1, 000 realizations of the null model. We omitted the economic block no.6 since it only includes one country. FIG. S10. Null models to assess network clustering: Model III (importers). Within-block fraction of the total imports by members of each economic block as a function of time. In all plots, the color of each line matches the color of the corresponding economic block identified in the hierarchical clustering analysis shown in Fig. S1 . The shaded areas represent the 95% confidence intervals obtained from 1, 000 realizations of the null model. We omitted the economic block no.6 since it only includes one country. FIG. S11. Null models to assess network clustering: Model III (exporters). Within-block fraction of the total exports by members of each economic block as a function of time. In all plots, the color of each line matches the color of the corresponding economic block identified in the hierarchical clustering analysis shown in Fig. S1 . The shaded areas represent the 95% confidence intervals obtained from 1, 000 realizations of the null model. TABLE S3 . Mean geodesic distance between buyers. The first column indicates the economic blocks of buyers. The second column shows the mean geodesic distance (computed using the geographical centroid of countries) between countries within the same economic block. The third column shows the mean distance between each country within a given block and all the other countries not in the block. Notice that since block no.6 includes only one country, the mean distance is 0. Except for the largest cluster (i.e., economic block no.1), for all the other clusters of buyers within-block distances are smaller than between-block distances. TABLE S4 . Mean geodesic distance between sellers. The first column indicates the economic blocks of sellers. The second column shows the mean geodesic distance (computed using the geographical centroid of countries) between countries within the same economic block. The third column shows the mean distance between each country within a given block and all the other countries not in the block. For all clusters of sellers, within-block distances are smaller than between-block distances. IPR computed on real multi-layer networks compared with the IPR obtained from synthetic random multi-layer network realizations. A Ratio IPR/ IPR random for buyers (red circles). B Ratio IPR/ IPR random for sellers (red circles). If localization observed in the real network can be replicated using random synthetic multi-layer networks, the ratio is close to one (black dashed lines). Panels A and B suggest that the values of IPR, respectively for buyers and sellers, are almost three times as large as the average values found on the ensembles of random synthetic multi-layer networks. Panels C and D report the confidence intervals for IPR random , based on 1, 000 realizations, respectively for buyers and sellers. All values of the observed IPR are statistically significantly different from IPR random at the 5% significance level. The box-plot panels show the values from the ensembles of random network realizations for buyers (C) and sellers (D), and also include the values of the IPR observed in the real networks (red circles). Each blue box represents the two innermost quartiles. The whiskers represent the 95% confidence intervals, the red horizontal lines are the medians, and the small black dots are outliers of the ensembles of synthetic random multi-layer networks. A B C FIG. S15. Evolution of countries' international trade and domestic trade. The US has always secured the largest share of imports (A) and exports (B), while Germany has ranked second and in 2007 China overtook other countries reaching the third position. While Japan was characterized by a significant share of global domestic trade, its share of international trade did not rank as high as the other major countries' share. C Domestic trade significantly increased in China during the observation period, whereas countries such the US, Germany, and Japan witnessed a much smaller growth. Dominance and leadership in the international economy: Exploitation, public goods, and free rides Countries' positions in the international global value networks: Centrality and economic performance The heterogeneous dynamics of economic complexity World-trade web: Topological properties, dynamics, and evolution Influence of technological innovations on industrial production: A motif analysis on the multilayer network Fitnessdependent topological properties of the world trade web Structure and response in the world trade network The building blocks of economic complexity Economic networks: The new challenges Topology of the world trade web Identifying the community structure of the international-trade multi-network Existence and significance of communities in the world trade web Randomizing bipartite networks: the case of the world trade web Measuring the intangibles: A metrics for the economic complexity of countries and products Complex networks Structural measures for multiplex networks Multilayer networks in a nutshell Multilayer networks: structure and function The structure and dynamics of multilayer networks Unfolding the complexity of the global value chain: Strength and entropy in the single-layer, multiplex, and multilayer international trade networks The nested structural organization of the worldwide trade multi-layer network Reconstructing the world trade multiplex: The role of intensive and extensive biases Strength of weak layers in cascading failures on multiplex networks: case of the international trade network Shortest paths in multiplex networks Identifying hubs and spokes in global supply chains using redirected trade in value added Measuring upstreamness of production in trade flows Organizing the global value chain An elementary theory of global supply chains Accounting for intermediates: Production sharing and trade in value added An illustrated user guide to the world input-output database: the case of global automotive production Power and centrality: A family of measures Mathematics of networks Eigenvector centrality of nodes in multiplex networks Ranking in interconnected multilayer networks reveals versatile nodes Disease localization in multilayer networks Localization and spreading of diseases in complex networks Mathematical formulation of multilayer networks The Elements of Statistical Learning: Data Mining, Inference, and Prediction Hierarchical grouping to optimize an objective function Silhouettes: A graphical aid to the interpretation and validation of cluster analysis Clustering patterns in efficiency and the coming-of-age of the cryptocurrency market Community detection in graphs Localization and centrality in networks New powers and the distribution of preferences in global trade governance: From deadlock and drift to fragmentation Global market power and its macroeconomic implications Early-warning signals of topological collapse in interbank networks SciPy 1.0: fundamental algorithms for scientific computing in Python Scikit-learn: Machine learning in python Hierarchical block structures and highresolution model selection in large networks Efficient monte carlo and greedy heuristic for the inference of stochastic block models Critical value for localization transition. The critical value is defined as the c = c * where the largest variation of IPR occurs. The gray lines show the variation of c * over time and the black dashed lines show the average value over the period, c * ≈ 0.08. A Critical values for buyers reach their maximum in 2007 and 2008. B Critical values for sellers reach their maximum in