Hostname: page-component-77f85d65b8-jkvpf Total loading time: 0 Render date: 2026-03-29T13:40:25.824Z Has data issue: false hasContentIssue false

A label-switching algorithm for fast core-periphery identification

Published online by Cambridge University Press:  29 March 2026

Eric Yanchenko*
Affiliation:
Human and AI Center, Akita International University, Akita, Japan
Srijan Sengupta
Affiliation:
Department of Statistics, North Carolina State University, Raleigh, USA
*
Corresponding author: Eric Yanchenko; Email: eyanchenko@aiu.ac.jp
Rights & Permissions [Opens in a new window]

Abstract

Core-periphery (CP) structure is frequently observed in networks where the nodes form two distinct groups: a small, densely interconnected core and a sparse periphery. Borgatti and Everett (Borgatti, S. P., & Everett M. G. (2000). Models of core/periphery structures. Social Networks, 21(4), 375–395.) proposed one of the most popular methods to identify and quantify CP structure by comparing the observed network with an “ideal” CP structure. While this metric has been widely used, an improved algorithm is still needed. In this work, we detail a greedy, label-switching algorithm to identify CP structure that is both fast and accurate. By leveraging a mathematical reformulation of the CP metric, our proposed heuristic offers an order-of-magnitude improvement on the number of operations compared to a naive implementation. We prove that the algorithm monotonically ascends to a local maximum while consistently yielding solutions within 90% of the global optimum on small toy networks. On synthetic networks, our algorithm exhibits superior classification accuracies and run-times compared to a popular competing method, and on one-real- world network, it is 340 times faster.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Algorithm 1. Label-switching for CP detection

Figure 1

Figure 1. Ratio of the maximum value of the Borgatti and Everett metric returned by Algorithm 1 with the true global optimum for ER networks with different values of $p$. The red horizontal line denotes 90%.

Figure 2

Figure 2. CP identification results on SBM networks.

Figure 3

Figure 3. CP identification results on DCBM networks.

Figure 4

Table 1. Results of real-data analysis using greedyFast and cpnet. $T({\textbf {A}},\hat {\boldsymbol{c}})$: value of objective function at optimal labels returned by the algorithm; $k$: number of nodes assigned to the core in the optimal labels; time: computing time (seconds)

Figure 5

Figure 4. Accuracy and computing boxplots for sensitivity analysis.

Figure 6

Figure 5. Log runtime against log $n$ for the SBM simulations.