IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i8p1300-d1635477.html
   My bibliography  Save this article

NSLS: A Neighbor Similarity and Label Selection-Based Algorithm for Community Detection

Author

Listed:
  • Shihu Liu

    (School of Mathematics and Computer Science, Yunnan Minzu University, Kunming 650504, China
    Fujian Provincial Key Laboratory of Data-Intensive Computing, Quanzhou Normal University, Quanzhou 362000, China)

  • Hui Chen

    (School of Mathematics and Computer Science, Yunnan Minzu University, Kunming 650504, China)

  • Shuang Li

    (School of Mathematics and Computer Science, Yunnan Minzu University, Kunming 650504, China)

  • Xiyang Yang

    (Fujian Provincial Key Laboratory of Data-Intensive Computing, Quanzhou Normal University, Quanzhou 362000, China
    School of Mathematics and Computer Science, Quanzhou Normal University, Quanzhou 362000, China)

Abstract

Community detection is still regarded as one of the most applicable methods for discovering latent information in complex networks. Recently, many similarity-based community detection algorithms have been widely applied to the analysis of complex networks. However, these approaches may also have some limitations, such as relying solely on simple similarity measures, which makes it difficult to differentiate the tightness of the relation between nodes. Aiming at this issue, this paper proposes a community detection algorithm based on neighbor similarity and label selection (NSLS). Initially, the algorithm assigns labels to each node using a new local similarity measure, thereby quickly forming a preliminary community structure. Subsequently, a similarity parameter is introduced to calculate the similarity between nodes and communities, and the nodes are reassigned to more appropriate communities. Finally, dense communities are obtained by a fast-merge method. Experiments on real-world networks show that the proposed method is accurate, compared with recent and classical community detection algorithms.

Suggested Citation

  • Shihu Liu & Hui Chen & Shuang Li & Xiyang Yang, 2025. "NSLS: A Neighbor Similarity and Label Selection-Based Algorithm for Community Detection," Mathematics, MDPI, vol. 13(8), pages 1-24, April.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:8:p:1300-:d:1635477
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/8/1300/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/8/1300/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Laassem, Brahim & Idarrou, Ali & Boujlaleb, Loubna & Iggane, M’bark, 2022. "Label propagation algorithm for community detection based on Coulomb’s law," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 593(C).
    2. Swarup Chattopadhyay & Tanmay Basu & Asit K. Das & Kuntal Ghosh & Late C. A. Murthy, 2021. "Towards effective discovery of natural communities in complex networks and implications in e-commerce," Electronic Commerce Research, Springer, vol. 21(4), pages 917-954, December.
    3. Li, Huxiong & Nasab, Samaneh Salehi & Roghani, Hamid & Roghani, Parya & Gheisari, Mehdi & Fernández-Campusano, Christian & Abbasi, Aaqif Afzaal & Wu, Zongda, 2024. "LMFLS: A new fast local multi-factor node scoring and label selection-based algorithm for community detection," Chaos, Solitons & Fractals, Elsevier, vol. 185(C).
    4. Saoud, Bilal & Moussaoui, Abdelouahab, 2018. "Node similarity and modularity for finding communities in networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 492(C), pages 1958-1966.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Li, Huxiong & Nasab, Samaneh Salehi & Roghani, Hamid & Roghani, Parya & Gheisari, Mehdi & Fernández-Campusano, Christian & Abbasi, Aaqif Afzaal & Wu, Zongda, 2024. "LMFLS: A new fast local multi-factor node scoring and label selection-based algorithm for community detection," Chaos, Solitons & Fractals, Elsevier, vol. 185(C).
    2. Hesamipour, Sajjad & Balafar, Mohammad Ali, 2019. "A new method for detecting communities and their centers using the Adamic/Adar Index and game theory," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 535(C).
    3. Yu, Guihai & Jiao, Yang & Dehmer, Matthias & Emmert-Streib, Frank, 2024. "Community detection in directed networks based on network embeddings," Chaos, Solitons & Fractals, Elsevier, vol. 189(P1).
    4. Chen, Chunchun & Zhu, Wenjie & Peng, Bo, 2022. "Differentiated graph regularized non-negative matrix factorization for semi-supervised community detection," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 604(C).
    5. Zhang, Weitong & Zhang, Rui & Shang, Ronghua & Li, Juanfei & Jiao, Licheng, 2019. "Application of natural computation inspired method in community detection," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 515(C), pages 130-150.
    6. Wu, Liuyi & Dong, Lijun & Wang, Yi & Zhang, Feng & Lee, Victor E. & Kang, Xiaojun & Liang, Qingzhong, 2018. "Uniform-scale assessment of role minimization in bipartite networks and its application to access control," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 507(C), pages 381-397.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:8:p:1300-:d:1635477. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.