Cost Functions in Economic Complexity
Alessandro Bellina, Paolo Buttà, Vito D. P. Servedio
TL;DR
This work reframes the Economic Complexity Index (ECI) and Economic Fitness and Complexity (EFC) as cost-minimization problems, revealing that ECI minimizes a Laplacian-based energy and EFC minimizes a strictly convex potential (in transformed variables $Z_i=-\log V_i$) with regularization $\delta$, thereby linking economic complexity to spectral graph theory and optimal transport. It proves global convergence for regular graphs and local convergence for general graphs, establishes the uniqueness of the EFC solution via convexity, and introduces a gradient-descent reformulation that accelerates computation. The authors validate the framework on synthetic and real networks (including Zachary’s karate club and UN COMTRADE data), showing distinct energy landscapes: ECI energy is smooth along the spectrum while EFC energy highlights structurally fragile links, informing potential attack or pruning strategies and offering a unified, interpretable view of network organization and resilience. The results advance theoretical foundations, enable faster algorithms (including Sinkhorn-type methods), and generalize economic complexity analyses to arbitrary graphs and broader network contexts, with implications for infrastructure, ecology, and regional development.
Abstract
Economic complexity algorithms aim to uncover the hidden capabilities that drive economic systems. Here, we present a fundamental reinterpretation of two of these algorithms, the Economic Complexity Index (ECI) and the Economic Fitness and Complexity (EFC), by reformulating them as optimization problems that minimize specific cost functions. We show that ECI computation is equivalent to finding eigenvectors of the network's transition matrix by minimizing the quadratic form associated with the network's Laplacian. For EFC, we derive a novel cost function that exploits the algorithm's intrinsic logarithmic structure and clarifies the role of the regularization parameter in its non-homogeneous version. Additionally, we establish the existence and uniqueness of its solution, providing theoretical foundations for its application. This optimization-based reformulation bridges economic complexity and established frameworks in spectral theory, network science, and optimization. The theoretical insights translate into practical computational advantages: we introduce a conservative, gradient-based update rule that substantially accelerates algorithmic convergence, with potential implications for a broader class of algorithms, including the Sinkhorn-Knopp method. Finally, we apply the energetic framework to a real-world trade network, demonstrating how link-wise energy provides a direct way to identify structurally relevant and vulnerable regions of the export matrix, thus complementing and enriching standard economic complexity analyses. Beyond advancing our theoretical understanding of economic complexity indicators, this work opens new pathways for algorithmic improvements and extends applicability to general network structures beyond traditional bipartite economic networks.
