ComGPT: Detecting Local Community Structure with Large Language Models
Authors
AI Summary
Sign in to view the AI-generated summary, key takeaways, and more.
Sign in to viewAbstract
Large Language Models (LLMs), like GPT-3.5-turbo, have demonstrated the ability to understand graph structures and have achieved excellent performance in various graph reasoning tasks, such as node classification. Despite their strong abilities in graph reasoning tasks, they lack specific domain knowledge and have a weaker understanding of community-related graph information, which hinders their capabilities in the community detection task. Moreover, local community detection algorithms based on seed expansion, referred to as seed expansion algorithms, often face several shortcomings, including the seed-dependent problem, community diffusion, and free rider effect. To use LLMs to overcome the above shortcomings, we explore a GPT-guided seed expansion algorithm named ComGPT. ComGPT iteratively selects potential nodes by local modularity from the detected community's neighbors, and subsequently employs LLMs to choose the node from these selected potential nodes to join the detected community. To improve LLMs' understanding of community-related graph information, we propose ComIncident, a graph encoding method that incorporates community knowledge and is designed for the community detection task. Additionally, we design the Node Selection Guide (NSG) prompt to enhance LLMs' understanding of community characteristics. Experimental results demonstrate that ComGPT outperforms the baselines, thereby confirming the effectiveness of the ComIncident and the NSG prompt.
Related Papers
Advancing Minority Stress Detection with Transformers: Insights from the Social Media Datasets
Individuals from sexual and gender minority groups experience disproportionately high rates of poor health outcomes and mental disorders
MASH: A Multiplatform and Multimodal Annotated Dataset for Societal Impact of Hurricane
Natural disasters cause multidimensional threats to human societies, with hurricanes exemplifying one of the most disruptive
FTSCommDetector: Discovering Behavioral Communities through Temporal Synchronization
Why do trillion-dollar tech giants AAPL and MSFT diverge into different response patterns during market disruptions despite identical sector
FairGE: Fairness-Aware Graph Encoding in Incomplete Social Networks
Graph Transformers (GTs) are increasingly applied to social network analysis, yet their deployment is often constrained by fairness concerns. This issue