Next Article in Journal
Quantum Phase Transition in the Coupled-Top Model: From Z2 to U(1) Symmetry Breaking
Previous Article in Journal
Kolmogorov Capacity with Overlap
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automatic Controversy Detection Based on Heterogeneous Signed Attributed Network and Deep Dual-Layer Self-Supervised Community Analysis

1
Key Laboratory of Symbolic Computation and Knowledge Engineering, College of Computer Science and Technology, Jilin University, Changchun 130012, China
2
Institutes of Science and Development, Chinese Academy of Sciences, Beijing 100190, China
*
Author to whom correspondence should be addressed.
Entropy 2025, 27(5), 473; https://doi.org/10.3390/e27050473
Submission received: 8 February 2025 / Revised: 13 April 2025 / Accepted: 25 April 2025 / Published: 27 April 2025
(This article belongs to the Section Complexity)

Abstract

:
In this study, we propose a computational approach that applies text mining and deep learning to conduct controversy detection on social media platforms. Unlike previous research, our method integrates multidimensional and heterogeneous information from social media into a heterogeneous signed attributed network, encompassing various users’ attributes, semantic information, and structural heterogeneity. We introduce a deep dual-layer self-supervised algorithm for community detection and analyze controversy within this network. A novel controversy metric is devised by considering three dimensions of controversy: community distinctions, betweenness centrality, and user representations. A comparison between our method and other classical controversy measures such as Random Walk, Biased Random Walk (BRW), BCC, EC, GMCK, MBLB, and community-based methods reveals that our model consistently produces more stable and accurate controversy scores. Additionally, we calculated the level of controversy and computed p-values for the detected communities on our crawled dataset Weibo, including #Microblog (3792), #Comment (45,741), #Retweet (36,126), and #User (61,327). Overall, our model had a comprehensive and nuanced understanding of controversy on social media platforms. To facilitate its use, we have developed a user-friendly web server.

1. Introduction

With the popularity of social media, individuals now have the freedom to express their opinion and engage in hot events which often spark intense debates, leading to increased polarization and controversy. Controversy is a social phenomenon that unfolds around specific issues, characterized by the public expression and interaction of differing stances. This interaction typically manifests as polarized positions and may be accompanied by sustained debates, criticisms, or even conflicts. We can use controversy analysis to study the opposition and conflicts of different viewpoints in fields such as society, politics, and culture, and reveal the roots and impacts of controversies. Social media provides a window for researchers to analyze controversy: studying controversial hot events on the Internet has a broader impact and enables us to gain a deeper understanding of the social and public perceptions of these hot events, as well as promptly capture public opinion to safeguard it. Researchers have previously analyzed U.S. elections [1]. Democrats and Republicans are considered as two distinct communities for studying controversial phenomena on Twitter. Furthermore, recommendations on social media have a significant influence on users by propagating information [2], which can potentially exacerbate the controversies surrounding hot events in society.
The field of controversy analysis has emerged and gained significant attention, becoming a prominent area of research in recent years. According to the “spiral of silence” theory, individuals will first assess the “opinion climate” they are in before expressing their opinions: if they perceive that their own opinions belong to the mainstream, they tend to voice their views actively; if they believe that their opinions are in the minority, they may choose to remain silent. And analyzing the interaction relationships between different communities is precisely the key to assessing the degree of controversy. Many studies have tried to identify the controversial hot event from large volume of user-generated data [3]. The existing methods of controversy analysis can be summarized into three categories: content-based [4,5], network-based [6,7], and combined models [8,9]. The content-based methods take into consideration content information and utilize natural language processing methods to process the content data. To evaluate the controversial nature of the content, specific words and sentences are assigned scores or labels indicating their level of controversy. In network-based methods, they analyze the relationships and connections between users within a network to identify and understand controversial hot event interactions. By studying the topology of the network, researchers can uncover patterns and structures that indicate the presence of controversies. Numerous studies have revealed the polar structure of controversial events. These findings [10] highlighted the presence of opposing factions or perspectives within controversial hot events and researchers have successfully identified social groups in conflict by using the method of matrix factorization. However, these approaches may have limitations in capturing the nuanced aspects of controversies, as they only focus on conversation interaction, overlooking the content exchanged within the network. To address this limitation, researchers have recognized the value of incorporating content information alongside the network structure analysis. In the combined models, researchers achieve improved results in understanding controversies, as they gain a more comprehensive and multi-dimensional view of the phenomena. GENE [11] generated user networks conditioned on the joint representation of users and entities and predicted early controversy of the hot events. Chunlin Li et al. [9] proposed an opinion community detection model by considering the content similarity and the topology structure.
Automatic controversy analysis poses great challenges. On the one hand, users demonstrate a variety of interactions on social networks, such as commenting, liking, and retweeting content. These interactions foster increased discussion and exchanges, potentially culminating in conflicts and event controversies. Moreover, different topics can have varying effects on controversy: topics attracting high public attention are characterized by rapid and widespread information dissemination. Once distinct opposing camps are formed, an event with high public attention may escalate into a controversy. However, the majority of existing controversy analyses [10] consider only one type of interaction relationship and construct homogeneous networks, which leads to the loss of information. Most importantly, different attributes can trigger different levels of controversy in social networks. For example, users with different genders or social statuses may hold different perspectives on the same event. Previous studies have largely neglected the integration of richer information and the provision of more user attribute details, despite their significance in controversy analysis. In addition, user-generated information often conveys user’s sentiment, which is also an important feature need to be recognized in controversy detection [12]. However, the existing studies mainly focus on the explicit content and relationships within the hot event conversation. They cannot detect the existence of subtle information communication, which greatly limits the understanding of polarity. To overcome the above limitations, the primary objective of this paper is to explore how to better exploit and integrate richer intrinsic text features, topological features, sentiment features, and attributed features for controversy analysis. So, we constructed a novel research framework based on a heterogeneous signed attributed network to investigate the problem of quantifying controversy, which increases the power of information fusion in the task of controversy detection.
In this paper, a framework based on a heterogeneous signed attributed network and deep dual-layer self-supervised community analysis is proposed to fully characterize the relationship network of hot events discussion on social media. Our proposed framework creates a comprehensive and rich representation of the hot events discussions. Moreover, the model offers a comprehensive portrayal of hot events, capturing a wealth of information regarding user interaction relationships, attributes, sentiment, comments, summaries and topics. Due to previous studies proving that controversial events exhibit a community structure [1], we can perform community detection based on the constructed hot event network. Furthermore, we evaluated the level of controversy for a hot event from three perspectives: community connection, communication, and representation. This approach aims to enhance the reliability of the results and derive a final controversy score. The community results were verified to be significant under the evaluation of p-value scores for each community. To the best of our knowledge, it is the first paper to employ heterogeneous signed attributed network to compute controversy. Additionally, we developed an online service platform to facilitate users for the analysis of other hot events, which is available at http://www.csbg-jlu.site/contro/, accessed on 7 February 2025.
Our approach brings some key innovations with respect to previous research on controversy analysis. In summary, we highlight the main contributions as the following four aspects:
  • We propose a novel framework based on a heterogeneous signed attributed network to quantify controversy, which thoroughly and comprehensively integrates all aspects on social networks. We also attempt to explain why an event is controversial or not;
  • Multidimensional semantic, structural and attribute information are incorporated into the heterogeneous signed attributed network;
  • The quantified result integrates three measures from the perspectives of network connectivity, communication, and network representation;
  • An online service platform for controversy analysis of hot events has been developed, providing open data and source code for users’ convenience.

2. Related Work

With the emergence of the Internet and social media, the field of controversy research has entered a new era. Currently, researchers are increasingly focusing on technical tools such as big data analysis, sentiment analysis, and social network analysis to conduct controversy detection. Table 1 summarizes the related work categorized along different dimensions.

2.1. Content-Based Approaches

Content-based approaches only consider text content produced by users in a hot event discussion. Early scholars, primarily sociologists, studied controversies by evaluating user content, conducting various surveys, or analyzing data based on statistical methods [1,13]. This method represents a traditional approach to studying controversies. Cantador [14] applied these techniques to analyze recorded citizen participation in a real e-participatory platform, integrating thematic and geographical metadata. Their focus was on analyzing controversy to better understand the complexities of the proposals and debates raised from citizen participation. With the development of natural language processing (NLP) technology, controversy analysis leverages a range of techniques, including sentiment analysis and topic detection. The most work in this aspect involves extracting and assigning scores for controversial words and phrases, such as political terms, sensitive topics, or emotionally charged language. By examining the occurrence of controversial words and evaluating the similarity of sentences, researchers can gain insights into the level of controversy of a hot event. Ril et al. [4] detected controversial political topics based on semantic analysis of text and proved their usefulness in finding and quantifying controversial topics. Ignatow [15] found topics of news articles and analyzed them based on sentiment analysis models. Choi [16] assigned sentiment scores to articles based on their text content and extracted topics and subtopics.
The rapid development of social media platforms has provided researchers with a vast amount of data resources for analyzing the controversial characteristics of hot events. They enable more people to engage in discussions and debates on controversial hot events. Popescu et al. [17] analyzed and extracted features and patterns from Twitter to identify and discern controversial content. Beelen et al. [18] utilized comments on articles to identify their extent of controversy. They extracted four sets of features, including structural, linguistic, emotional, and content similarity. Random Forest and Support Vector Machine algorithms were employed to predict the controversial level of news.

2.2. Network-Based Approaches

The network-based method focuses on discovering the controversial nature of hot events from the topological relations of the network. It aims to overcome the limitations of a content-based approach that is influenced by cultural context and professional knowledge. Duoqi Song [19] specifically focused on the structural patterns of negative citations, impact assortativity of involved papers and the consequences of receiving negative attention. Previous research [20] has demonstrated the existence of a network structure of adversarial communities for a controversial hot event. And, the controversial extent of the hot event is quantified by evaluating the features of communities, such as Random Walk and betweenness controversy score, which are context-free and easy to use. The accuracy and performance of opinion community detection were improved significantly over network-based models. Numerous studies have proposed methods to analyze conversation graphs on Twitter [16,21]. For instance, Guerra et al. [3] were the first to use network structure to measure controversy by quantifying polarization in the network. Based on the community detection algorithm, the network was divided into two distinct, non-overlapping communities. They showed that the polarized event has a low density of high-degree nodes in the boundary set. Qiu et al. [7] developed an emotional social network model that takes into account the strength of users’ sentiment. The authors divided the network into communities with different sentiments by a simulated annealing algorithm, and assessed controversy based on sentiment differences. To measure a controversial event based on the separated graph network, Garimella et al. [22] built conversation graphs in different ways, including retweet graph, content graph, and hashtag graph. Research by Bail et al. [1] revealed that the exposure of social media users to opposing views can increase political polarization. Moreover, this effect is found to be influenced by the social relationships of the users. Thus, opinion leaders are also an important factor in controversy analysis. Matakos et al. [23] defined a novel polarization index for quantifying polarization in a network, based on the opinions of users under a popular opinion formation model. However, these traditional graph divisions cannot extract higher-level features in the network. Coletto et al. [24] proposed a motif method for finding controversial issues, which conducts its results only based on patterns of network structure.

2.3. Combined Model Approaches

The combined model integrates content and network to measure controversy. Originally, the researchers [8] focused on the specific structure of the conversation tree and predicted early controversy based on the discussion threads, which included comments and retweets. The study demonstrated that higher-quality textual representations for conversation trees could boost predictive performance. Therefore, some deep learning methods are introduced to obtain valuable semantic information in later studies. In particular, word embedding technologies like Word2vec [25] and BERT [26] have demonstrated excellent semantic features for numerous downstream tasks and have made textual features more robust and less brittle. Researchers applied the deep semantic information mined to a combined model for controversy analysis. Moreover, the development of graph neural network (GNN) has greatly contributed to the advancement of controversy analysis, which can fuse semantic features and network structure to infer user polarity. In the case of GNN, various network models are applied to construct social networks to study the controversy of hot events. Samy Benslimane et al. [27] considered controversy detection as a classification task. They adopted state-of-the-art GNN techniques in conjunction with machine learning-based natural language processing to integrate both structural information and discussion contents. Mendoza et al. [11] generated user networks conditioned on the different entities to analyze comments information on multiple relationships. They showed that the improved representation of the network helps detect polarized communities. To better model sentiment information in controversy analysis, some novel network algorithms have emerged. Bonchi et al. [28] made an eigenvector-based method for computing controversy in signed graphs. This approach characterizes sentiment text information as signed edges to construct a signed network. Hohmann et al. [29] proposed a method to quantify ideological polarization using the generalized Euclidean distance, which estimates the difficulty of traversing a network from one opinion to another, taking into account both opinion divergence and community structure. Muñoz et al. [30] proposed an SPIN algorithm which quantifies political polarization in online social networks by analyzing the flow of negative information between and within communities, leveraging network structure and information theory principles. The algorithm proposed by Chang Guo et al. [31] innovatively combines the physical field model with the analysis of multi-scale propagation intensity. While effectively integrating the structural information of heterogeneous networks, it gives particular consideration to the core element of node influence. Yan Zhao et al. [32] combined the semantic graphs generated by multi-source meta-paths and took it as the objective of structural reconstruction to achieve unsupervised community detection.
Table 1. The related work of controversy analysis.
Table 1. The related work of controversy analysis.
TypeMethodNetworkContentSentimentWeb
Content-basedConcept-level sentiment analysis [4]-words and
topic
polarity
lexicons
-
Topic sentiment
analysis [15]
-topic and sentimentsentiment-
polarity index
-
Links to controversial article [16]-article and topic--
Heuristic fine-grained measurement [33]-offensiveness topicsentiment-
Automatic controversy analysis [14]-comment and topic-https://madrid4u.es/planes-en-madrid, accessed on 7 February 2025
Network-basedPolarization index [23]User’s opinion
graph
-computing user opinion
Reconstruct complete conversation [3]Conversation graphs--
Random Walk [22]Content graph--
Observer asymmetric polarization [1]Directed
network of electors
--
Investigating
Opinion Distribution [7]
Emotional
social network
-edge
connection
frequency
Combined modelGeneration named entities [11]Multi-relation
graph
title and comments -
TPC-GCN [12]TPC DTPCtopic post comment--
Opinion community detection [9]User networkuser opinionemotional
tendencies
of the words
-
Early detection
approach [8]
Conversation
thread trees
post--
POST + C-Text Rate Tree [27]User post
network
post--

3. Method

The overall framework of our proposed controversy analysis, as illustrated in Figure 1, primarily consists of six modules as follows: data collection and dataset description, preprocessing, heterogeneous signed attributed network construction, attribute embedding and fusion, community detection, and controversy measures. Subsequently, detailed descriptions of these modules will be provided.

3.1. Data Collection and Dataset Description

We collected data from Weibo (https://weibo.com/, accessed on 7 February 2025), which is a Twitter-like social media platform in China. Netizens actively engage in a diverse array of discussions on Weibo, covering a wide range of hot events that extend beyond national issues to everyday life. Users can also follow other users, actively participate in discussions by commenting on and liking posts, and share interesting content with their followers. Weibo provides a dynamic and interactive social media experience, connecting millions of users and fostering communication, expression, and engagement within the Chinese online community. As a result, multiple social relationships are formed, contributing to a thriving online social ecosystem.
We selected five hot events from Weibo between January 2017 and October 2022, which include the Mathematical Olympiad, the Double reduction policy, heavy rain in Shanxi, the Luding earthquake, and Sexy Tea. We crawled comprehensive discussion information from Weibo, which included original microblogs, comments, retweets, and involved users. The attribute information was also extracted, including user attributes such as their gender, the number of microblogs they have posted, the number of followers, the number of followings, and their account status, as well as microblog attributes such as the number of likes, comments, and retweets as node attributes. To enhance data utilization and sharing, we utilized the DeepL translator to translate the data into English. The background descriptions of the five hot events as follows:
Mathematical Olympiad: During the Two Sessions in 2021, Yuan Yaxiang, a member of the Standing Committee of the National Committee of the Chinese People’s Political Consultative Conference and an academician of the Chinese Academy of Sciences, proposed that ordinary children should not be required to learn Olympiad mathematics. This suggestion sparked widespread debate in society;
Double reduction policy: The “double-reduction” policy, introduced by China’s Ministry of Education in 2021, sparked intense debate. This policy aims to ease the burden of excessive homework and off-campus tutoring on students, promoting a healthier education environment. While many praised it for fostering a more balanced approach to learning, some expressed concerns about potential impacts on academic performance;
Heavy rain in Shanxi: Torrential rain downpours in Shanxi in October 2021 affected the lives of local people. Rescue teams coordinated their efforts to save those trapped people. On social media, people spontaneously organized themselves and actively participated in disaster relief efforts through voluntary participation, donations, and other means. Netizens extended their encouragement to the people of Shanxi province, expressing hopes for their swift recovery from the difficulties they are facing;
Luding earthquake: In 2022, a series of earthquakes struck Luding County in Ganzi Prefecture, Sichuan Province, China, with the most severe being a magnitude 6.8 earthquake on 5th September. The earthquake caused significant casualties and property damage. Following the earthquake, public opinion was highly concerned. On the one hand, people expressed deep sympathy and concern for the destruction and casualties caused by the earthquake, offering condolences and support through various channels. On the other hand, the progress and effectiveness of rescue efforts were also closely watched by the public;
Sexy Tea: In the autumn of 2022, the popular Chinese tea brand Teayan found itself embroiled in a significant controversy when two of its outlets in Nanjing renamed their shop signs to “SexyTea”, deviating from the original name “茶颜悦色” (which translates to “charming tea color” or “pleasing tea appearance”). This unprecedented move triggered a firestorm of debate and criticism online.
The statistics of the dataset are shown in Table 2.

3.2. Preprocessing

This process aims at extracting the different entities and interaction of the discussion for the preparation of graph construction. We collected data on original microblogs, their retweets, and comments, and filtered out records where the sum of retweets and comments was less than 5 to ensure that the selected users had sufficient interaction activity. While identifying existing information such as user nodes, microblog nodes, comment nodes, retweet nodes, and their relationships, we used text mining techniques to extract “topic” and “summary” nodes. During the preprocessing stage, we performed word segmentation, stopword removal, and tokenization. Based on these two models, “topic” and “summary” node type are introduced to represent the focal information of the discussion.
Topic models are widely used to infer the underlying topics from the observed words in the documents. One of the most commonly used topic models is Latent Dirichlet Allocation (LDA) [34], which assumes that documents are distributions over topics, and topics are distributions over words. Here, we use the entire discussion of the event as input corpus and utilize topic modeling to assist in the task of community detection. Precisely, the entire document is treated as an unordered word sequence, and guided by the probability model, we derived distributions of topics and words. We identified the topics and selected feature words with the highest probability for each topic. The topic model is illustrated in Figure 2.
For the method of generating summaries of social media events, we utilized a generative summarization framework. By integrating the original Weibo texts, user comments, and retweeted content, we formed a complete corpus, thus solving the problem of semantic sparsity of a single piece of social media information. In terms of the model, we adopted the end-to-end pre-trained architecture of the Text-to-Text Transfer Transformer (T5) [35]. With the aid of the encoder–decoder structure, we achieved the generation transformation from the integrated corpus to the summary. The system process is illustrated in Figure 3, specifically encompassing the cleaning and alignment of multi-source data, semantic encoding with context, and summary generation.

3.3. Heterogeneous Signed Attributed Network Construction

In this section, we formulate the problem of the heterogeneous information network construction. For better illustration, we split the heterogeneous network into the heterogeneous attributed network and signed network.
Heterogeneous attributed network. The heterogeneous attributed network is denoted as G h = ( V , E , A ) , where:
  • V is a set of nodes, which can be further divided into multiple disjointed sets based on node types, V =   t T V t , where T is the set of node types and V t is the set of nodes of type t . Six node types are introduced in this paper, including user, microblog, comment, retweet, topic, and summary;
  • E is a set of edges, which can also be divided into multiple sets based on edge types, E = r R E r , where R is the set of relationship types and E r is the set of edges of type r . The network includes six heterogeneous relationships and two signed relationships between users. The user–microblog relationship represents that users publish microblogs. The user–comment and user–retweet represent the two behaviors of commenting and retweeting on the microblog. To establish associations between comments and microblog nodes, we introduce the comment–microblog relationship. For topic nodes, a microblog is assigned to a topic when the cumulative probability of its words matching the topic’s distribution exceeds a predefined threshold δ , forming microblog–topic associations. To derive a concise event representation, three core topics are extracted for each event. Furthermore, based on the extracted summary rules, we introduce a virtual document node to merge microblogs, comments, and retweets. The content of these virtual documents serves as input for text summarization, generating summary nodes that encapsulate textual information. Connections are established between summary nodes and their corresponding microblogs. Additionally, to enrich the connection relationships, we utilized the BERT [26] model to obtain vector representations of the summaries, and based on cosine similarity, established summary–summary when the similarity between summary nodes exceeds the threshold ρ ;
  • A is a function that maps each node to its attribute vector, A : V R d , where d is the dimensionality of the attribute space. For user profile, we introduce the individual attributes of users, including their gender, the number of microblogs they have published, the number of followers, the number of followings, and their account status. For the original microblog, we incorporate the number of likes, comments, and retweets as node attributes in addition to the textual information of the microblog. For its comments and retweets, we select the node’s own text messages and the number of likes as node attributes. Furthermore, we directly utilized the summary text as the attribute of the summary node and used the set of words describing the topic as the attribute of the topic.
In addition, a heterogeneous attributed network includes a type mapping function : V T that assigns a type to each node and a relation mapping function ψ : E R that assigns a type to each node.
Signed network. The signed network is a type of social network where the relationships between nodes are characterized not only by their presence but also by the sign of the relationship (positive or negative). Formally, a signed network is denoted as G s = ( V , E , s ) , where:
  • V is a set of nodes, representing the set of users who are involved in the event discussion;
  • E is a set of edges, representing the relationships between pairs of nodes. If e = ( i , j ) is an edge in E , it means that nodes i and j are connected;
  • In a signed network, the edge sign function s : E { 1 , + 1 } is used to represent the emotional relationship between users ( + 1 for a positive relationship and 1 for a negative one). We established signed relationships by analyzing the sentiment of user comments. Here, s i j = + 1 indicates that user i has a positive attitude towards user j , while s i j = 1 indicates a negative attitude.

3.4. Attribute Embedding and Fusion

In this section, we will perform attribute embedding and fusion. To create a comprehensive attributed description of a node, we integrated different attribute information into a unified node feature. For nodes that contain text attribute information, we obtained the vector representation of the nodes using the BERT [26] model. We aimed to facilitate the fusion of text attributes with extracted attributes. Cai Desheng [36] et al. fused demographic attributes (e.g., age, gender, the number of clicks) with textual attributes through concatenation to better understand user preferences and intent, achieving improved product recommendations. It is important to note that this attribute information may be affected by attribute imbalance. Specifically, influential users typically have far more followers than ordinary users. Yet, in the context of a hot event, ordinary users comprise the majority of participants. To solve this problem, we categorized the attributes into ten grades based on their distribution and assigned each attribute to the corresponding grade based on its specific attribute value. In addition, to capture the social relationship of user nodes in the network, the node2vec [37] algorithm was used to obtain the user node vector. For the topic node, it is defined by the words with the highest probability. The traditional methods to represent its features involve concatenating or summing the word2vec. It is difficult to capture word-level granularity with this simple processing way. Taking inspiration from the TextCNN algorithm [38], we stacked the word2vecs of each topic into a word vector matrix by the probability of words. Subsequently, we utilized different convolutional kernels to extract new features. By classifying these features, we can determine the corresponding topics. The results of the feature layer were used as topic features after several rounds of training. This process is as illustrated by the attribute fusion module in Figure 1. As a result, we merged the information from the nodes by concatenating their respective vectors into a unified feature vector.

3.5. Dual-Layer Self-Supervised Community Detection Based on a Heterogeneous Signed Attributed Network

The architecture of the proposed community detection model is shown in Figure 1. It is a dual-layer self-supervised framework, which can assign users to opposing communities. We first used sentiment analysis to construct a signed network based on the raw network. Then, we input multi-representations into the heterogeneous network and signed network, respectively. We incorporated the attention mechanism in the message propagation process to capture both global and local relationships. By applying softmax to the output of the last layer of the heterogeneous network, we can obtain community memberships. Additionally, we designed a dual-layer self-supervised mechanism to train both the signed and heterogeneous networks. In the following subsections, we will introduce community detection in detail.

3.5.1. Signed Network Extraction

Signed networks are complex networks in which edges have positive or negative properties. It is a useful tool to model the sentiment relationships among users, as it allows for the representation of positive and negative edges that indicate trust, like, praise, or distrust, dislike, and blame in real social relationships. We can build edges between users when one user comments or retweets another user’s microblog. The sentiment analysis determines the attributes of the edges; positive sentiment is connected with “ + ” edges, while negative sentiment is connected with “ ” edges. We construct the user signed network-based on this rule. We developed a website that provides sentiment analysis functionality, which was trained using a large amount of data with a BiLSTM model.

3.5.2. Heterogeneous Attributed Network Interaction Layer

As we know, different types of neighboring nodes of one node capture different information in heterogeneous networks. However, GCN is a neural network that operates on a homogeneous graph based on their neighborhood nodes. Our network was heterogeneous, that cannot be directly applied to GCN. To address the problem, we considered aggregating nodes under different types separately, which projects their features into common space with respective transformation matrix:
H ( l + 1 ) = σ τ T A ~ τ   · H τ l   ·   W   τ l  
where   σ is the activation function that considers non-linearity and improves the expressiveness of the model. A ~ τ is an adjacency matrix whose rows represent the nodes in a type and the columns represent the nodes in another type, τ   is the relationship between these two nodes. The node vector representation of type τ at layer 0 corresponds to the original node features, represented as: H τ 0 = X τ . W τ ( l ) is a projection matrix that transforms the features into another space. Since different neighbor nodes can have different effects, based on the above method, we considered the importance of attention mechanisms. In addition, there are multiple relationships in the heterogeneous network, we also considered the type-level attention. First, we introduce the neighborhood attention.
e i j τ = a ( W a h i ,   W b h j )
α i j τ = s o f t m a x ( e i j τ ) = e x p ( e i j τ   ) k N i τ e x p ( e i k τ )
The attention of a neighbor node is applied to each node under τ type by a parameterized matrix. Equation (2) indicates the importance of node j’s feature to node i’s feature. To make coefficients easily comparable among different types of nodes under different types, we used the softmax function to normalize the attention scores. Equation (3) shows the detail of normalization. We represent the embedding of the type τ as h i τ = v A ~ v v τ h v , which is attention’s sum of a neighboring node’s feature.   A ~ v v τ   represents the attention matrix of τ type. In the next step, we calculated the type-level attention based current embedding as follows:
b τ = σ ( μ τ T   ·   h τ   )
β τ = e x p ( b τ   ) τ T e x p ( b τ   )
where μ τ T is an attention vector for the τ type, σ is an activation function. We normalized all   τ types using Equation (5). As shown in Equation (6), the representations of different types are summed according to the attention coefficients. The node representation of attention in a heterogeneous network could be obtained in the following:
h i a t t = τ T β τ   ·   h i τ
To further increase the reliability of the model, we simply concatenated without using type-level attention. Equation (7) shows the concatenation of different representations. The feature space is projected into the initial dimension by Equation (8).
h i c a t = C o n c a t ( h 1 τ   | | h 1 τ | | h T τ   )
h i c a t = h i c a t   ·   W c
h i = s u m ( h i c a t ,   h i a t t )
After the attention mechanism and concatenation process, the embedding of users in heterogeneous network is obtained by Equation (9).

3.5.3. Signed Network Interaction Layer

As illustrated in Figure 4, the balance theory implies “the friend of my friend is my friend” and “the foe of my friend is my foe”. In a signed network, the message passing needs to consider balance and unbalance situations, which is different from heterogeneous network. According to the balance theory, the user nodes are divided into balanced and unbalanced sets as follows:
B i 1 = u j u j   N i + ;   U i 1 = u j u j     N i }   i f   l = 1 B i l + 1 = u j u k B i l   a n d   u j N k +   u j u k   U i l   a n d   u j N k   U i l + 1 = u j u k     U i l   a n d   u j   N k + u j u k B i l   a n d   u j N k   i f   l > 1
where   N   k + represents the positive neighbors of u k , B i l + 1 and   U i l + 1 represent balanced sets and unbalanced sets with length l + 1 , respectively. Next, the neighborhood information is aggregated from different sets.
h i B ( 1 ) = σ ( W B 1 j N i + h j 0 N i +   | |   h i 0 )
h i u ( 1 ) = σ ( W u 1 j N i h j 0 N i   | |   h i 0 )
Equations (11) and (12) directly utilize B i l   and   U i ( l ) to aggregate information, where W U l , W B l are transferred matrix. For the aggregation layers for   l > 1 , we use the following function:
h i B ( l ) = σ ( W B l j N i + h j B l 1 N i +   | |   k N i h k U l 1 N i   | |   h i B ( l 1 ) )
h i U ( l ) = σ ( W U l j N i + h j U l 1 N i +   | |   k N i h k B l 1 N i   | |   h i U ( l 1 ) )
h i s i g n = C o n c a t ( h i B ( l ) | |   h i U ( l )   | |   h i ( l ) )
We utilized Equations (13) and (14) to derive the representation of the user nodes under balanced and unbalanced conditions. Finally, we updated the users’ representation by fusing three information sources: the user self-representation from last layer, information from negative neighbors, and information from positive neighbors. The signed representations of user nodes are obtained using Equation (15).

3.5.4. Self-Supervised Module

After the above dual-layers modules, we obtained the multi-representation of the user node in two different ways. In order to complete the community detection, we need to unify these two modules into a uniform framework. Here, for the i - t h user in the j - t h community, we used the Student’s t-distribution as a kernel to evaluate the similarity between the representation h i from a signed network and the cluster center vector u i as follows:
q i j = ( 1 + | | h i u j | | 2 / v ) v + 1 2 j ( 1 + | | h i u j | | 2 / 2 ) v + 1 2
where h i is the i - t h   user’s representation from signed network. The K-means method is utilized to initialize u j . v   is degrees of freedom. q i j can be considered as the probability of assigning the i - t h user to the j - t h community. According to Q distribution, we optimized the representation by a high confidence assignment, which can improve community cohesiveness. The target distribution is calculated as follows:
p i j = q i j 2 / f j j q i j 2 / f j
L s i g n = K L P | | Q = i j p i j l o g p i j q i j
where f j = i q i j is the soft assignment frequency. Equation (18) indicates that minimizing the KL divergences loss will contribute to learning a better representation for community detection task. P   distribution and Q   distribution are updated to complete the self-supervised learning in turn.
As for the representation in heterogeneous modules, it is possible to transform them to a Z   distribution as the truth labels with a softmax function. We use the   Z distribution to guide the community discovery tasks. As is mentioned before, it is feasible to utilize P distribution to supervise Z distribution, and complete the unification of two modules as follows:
Z = s o f t m a x ( h i a t t · W d )
L d u a l = K L P | | Z = i j p i j l o g p i j z i j
In the community detection, the calculation of the community of each user node depends on nodes that interact with them in heterogeneous networks. After finishing the calculation, all users will be divided into different communities.

3.6. Controversy Measure Integration

We quantified the extent of controversy of the hot event based on the result of community detection. The aim of controversy measure is to capture how separated the two communities are. We utilized three measurement methods as follows: based on community difference, based on betweenness, based on user propagation representation. Details are shown in the following.

3.6.1. Controversy Measure Based on Community Difference

Proportional differences in communities for controversial hot events are small. In order to obtain controversy value, we made an assumption that the controversy value is the largest when two polar communities are equal. The feed forward network consists of an input layer, hidden layer, and an output layer. We introduced a forward neural network to predict the extent of controversy. Qiu Lin et al. [7] manually assigned controversy value in order to construct a training set. They obtained model parameters for controversy measures after a lot of training. Here, we utilized the completed trained feed forward network model for controversy measure.
As the controversy measure module is shown in Figure 1, we took the percentage of communities as input to the network model. We abstracted the input data to another dimensional space in a hidden layer. Finally, the output layer employs the activate function to obtain controversy score:
f x = 1 ,   1 x x ,   0 x < 1 0 ,   o t h e r w i s e
where Equation (21) represents an activate function which maps the result to a real number from zero to one. We assigned the value close to zero when controversy is small, and close to one when the controversy value is large.

3.6.2. Controversy Measure Based on Betweenness Centrality

Betweenness centrality is an important indicator for measuring the information control ability of network nodes. Its value is obtained by calculating the proportion of the shortest paths passing through this node to the shortest paths of all node pairs. The higher the value, the more significant the bridging role of this node in connecting different groups. The function of betweenness centrality b c ( e ) is listed as:
b c e = s t V σ s , t ( e ) σ s , t
where σ s , t is the total number of shortest paths between nodes s , t . σ s , t ( e ) is the number of the shortest paths which include edge e . Structural holes in well-separated communities imply that bridging nodes exhibit high betweenness centrality. Consequently, betweenness centrality values across distinct communities show high similarity. Conversely, strong inter-community connections reduce this similarity, indicating poorer separation. Based on this relationship, we define the betweenness centrality controversy (BCC) metric in Equation (23):
B C C = 1 e d K L  
where d K L denotes the KL divergence about two communities, which is obtained by computing KL divergence of the betweenness centrality. In the BCC function, we can obtain a controversial community measure result, B C C [ 0 ,   1 ] .

3.6.3. Controversy Measure Based on User Propagation Representation

We obtained the user representation from the heterogeneous network and signed network in the last layer and fused them by concatenating operation. The distance of representation can reflect community separated extent. Inspired by the Davies–Bouldin (DB) index, we defined the function Equation (24) to measure the controversy:
E m b e d d i n g = 1 d X + d Y 2 d X Y
where d X represents the average distance of the nodes in the X community, conducting on the sampled nodes from different communities respectively. In addition, the distance d X Y , represents the average distance between community X and community Y . The E C ranges from zero to one which corresponds to extent of the controversy, defined as an embedding controversy measure.
The above three methods for measuring controversy are, respectively, based on community differences, network structures, and user communication representations. In order to achieve a more balanced and comprehensive evaluation of controversy, we carried out an averaging process for these three methods.

4. Results

Firstly, we compared our proposed method with the existing classical methods, including Random Walk [22], Biased Random Walk (BRW) [39], BCC [22], EC [22], GMCK [3], MBLB [40], and community-based [7]. The baseline methods are illustrated as follows:
  • Random Walk Controversy (RWC): This method measures the likelihood of a random user encountering authoritative content from the opposing side in a controversy. It uses random walks on the conversation graph to estimate the probability of staying within the same partition versus crossing to the other side. A higher RWC score indicates a higher degree of controversy;
  • Biased Random Walk (BRW): It assigns a finite initial energy to each node, representing its influence, and depletes this energy as the random walk progresses. By focusing on boundary nodes and considering structural and content attributes, BRW measures the ability of ideas to penetrate opposing communities;
  • Betweenness Centrality Controversy (BCC): This method analyzes the structural differences between controversial and non-controversial graphs by comparing the betweenness centrality of edges in the cut (separating the partitions) and the rest of the graph. A higher BCC score suggests greater separation between the partitions and a higher degree of controversy;
  • Embedding Controversy (EC): This method utilizes low-dimensional embeddings of the conversation graph to measure the separation between the partitions. It calculates the average distance between vertices within and across partitions and uses a measure similar to the Davies–Bouldin index to quantify the level of controversy;
  • GMCK: This is a boundary controversy measure, named after its four creators: Guerra, Meira, Cardie, and Kleinberg. The measure operates on the premise that in a controversial topic, the boundary nodes are more likely to be strongly linked to the internal node of their respective group rather than to other boundary nodes.
  • MBLB: This algorithm detects polarization in networks by propagating labels across nodes to form distinct communities. The polarization score (MBLB) ranges from 0 to 1, where 1 indicates perfect polarization (equal-sized, fully divided communities), and 0 represents no polarization. The score decreases when community sizes are unbalanced, reflecting less extreme polarization.
  • Community-based: Community-based methods calculate controversy by analyzing the structure of the social network constructed from user interactions. They identify communities within the network, where interactions within a community are dense, and interactions between communities are sparse.
The experiments are conducted on the existed controversy detection dataset, including Karate’s Club, US Political Blogs, Gun Control, Brazilian Soccer Teams, NYC teams, University Friendships’ Network [3], and political communication network [41]. The details of the dataset are shown in Table 3.
According to the discussion of controversy thresholds by Shiri Dori-Hacohen et al. [42], we set the threshold for controversy scores at 0.5, defining topics with scores above 0.5 as controversial and those below 0.5 as non-controversial. Table 4 shows the controversy scores on the existing datasets. The text in bold indicates the inconsistencies between the controversy score and the nature of the topic controversy. From the computational results, it can be observed that our calculations align consistently with the controversial nature of the topics. However, the existing baseline algorithms all exhibit discrepancies with the results. This indicates that our method, which takes into account multiple dimensions of attribute feature, possesses greater stability.
In the data we crawled, controversial topics included Mathematical Olympiad, Sexy Tea, and Double Reduction policy, while non-controversial topics included heavy rain in Shanxi and the Luding earthquake. Table 5 displays a comparative analysis of the computational results between existing methods and our proposed method. Bold numbers indicate inconsistencies with the expected results. It can be observed that each method exhibits inconsistencies, but our method consistently yields stable results. The reason behind this lies in the fact that existing methods only consider a specific category or a limited set of features related to controversial issues, whereas our approach integrates the multidimensional features of topics and also takes into account various computational results. Therefore, our proposed method demonstrates strong stability in calculating controversy across different topics. In the following, we further validate and explain the advantages of our proposed model.
In general, the same community views are consistent. Firstly, to verify its significance of the community detection by our model, we computed the p   value of communities by using the hypergeometric distribution function in Equation (25). The p -value ranges from 0 to 1, where less than 0.05 usually means statistical significance where the probability of chance occurrence is small. Next, we needed to calculate the sentiment number including positive, negative, and neutral attitudes from the same community. The results can be obtained in Table 6. We derived the   p -value by Equation (25):
P k , N , M , n = M k N M n k N n
where   N   is the total number of people with dominant emotions, n is the total number of people in all communities,   M is the total number of people in a community, and k is the number of people with dominant emotions in a community.
This study is based on heterogeneous graph network modeling to construct a network of hot events with multiple types of nodes and semantic edges. Through the joint analysis of the network structure and node features using deep clustering, the quantification of the controversial nature of the events is achieved. Different from traditional graph partitioning methods that only focus on topological segmentation, this framework explores implicit semantic associations. The generated controversial communities can guide the retrieval module of the Retrieval-Augmented Generation (RAG) system to locate the key evidence of the controversy, avoiding information overload in the open domain retrieval. By combining the heterogeneous network with deep semantic clustering, this study provides new research ideas for the analysis of event controversies and enhances the ability of the RAG system to conduct targeted analysis in complex scenarios.

5. Web Server

We have developed an online web server platform (http://www.csbg-jlu.site/contro/, accessed on 7 February 2025) in order to facilitate users to compute controversy of more hot events. The guidance of the webserver is shown in Figure 5. The website consists of five modules as follows: overview of the proposed algorithm, controversy detection, sentiment analysis, help, and download. Details of each module are introduced as below.
The algorithm’s overview is presented on the homepage, outlining the overall research framework. The core of the website is controversy prediction, and users can input the related textual content of hot events either through a CSV file format or manually. After analysis, the webpage will visually display the controversy report from multiple dimensions, including sentiment distribution, keywords, hot hashtags, and views from opposing groups. We have included a small demo about Mathematical Olympiad as a reference. Based on the experimental results, we can gain a deeper understanding of the intrinsic reasons behind the controversial hot events through comparative analysis and summarization of different viewpoints. Additionally, the web server can predict the sentiment of a Chinese sentence using the sentiment analysis module, which is a crucial step in building the signed network and computing the sentiment distribution. To facilitate user research, the source code and all datasets used in this paper are available on this web server. Moreover, the help page guides users on relevant operations.

6. Conclusions, Implications, and Future Work

6.1. Conclusions

In this paper, we introduce a novel framework for comprehensively analyzing the controversies of hot events and provide a set of standardized controversial analysis processes by modeling them as heterogeneous signed attributed networks. Different from previous studies that focused on sentence-based evaluations at the micro-level, our approach emphasizes controversy evaluation at the macro-level by integrating heterogeneous information from multiple perspectives, including user attributes, semantic content, and topological structures. The proposed heterogeneous signed attributed network framework innovatively combines symbolic relationships and attribute information to capture the interactions among different entities such as users, comments, and topics. Through the co-training of the heterogeneous subgraph network and the signed subgraph network, the semantics of edges are effectively abstracted while retaining structural and attribute information, thus enabling more accurate community partitioning. The controversy quantification module evaluates the polarization degree of events from three complementary perspectives: community differences, structural betweenness centrality, and user propagation representation. In addition, we have developed an online service platform to facilitate the real-time analysis of controversial events, allowing users to independently explore the community composition, key influencers, and viewpoint distributions.

6.2. Theoretical and Practical Implications

This paper has both theoretical and practical implications. At the theoretical level, it the studies of controversy quantification [22,43]. It is the first study situated at integrating the user information, content information, and information propagation structural information on social networks. Previous research on quantifying controversy used limited content information and mainly focused on homogeneous conversation networks on social media, neglecting the influence of user attributes that induce polarization. These research findings are hard to fully reflect the true nature of the topic’s controversy [3]. Different users differ in their contributions to the controversy of an event. For example, the influence of a key opinion leader (KOL) is greater than that of ordinary users, and their difference may be reflected in the number of fans. Thus, neglecting attribute information can have an impact on the results of controversy analysis. In our research, we encompass various types of nodes (users, microblogs, comments, retweets, topics, and summaries), relationships (user–microblog, user–comment, user–retweet, comment–microblog, microblog–topic, summary–summary), and attributes (user profile, microblog attributes, comment attributes, topic attributes) into a heterogeneous signed network. This mechanism allows for a more nuanced understanding of the complex interactions and information flow within a controversy.
Our research also has various practical implications. On the one hand, controversy analysis assists governments, businesses, and organizations in comprehending public sentiment regarding specific events, products, or policies. This, in turn, enables them to promptly address public sentiment, enhance products or policies, and uphold their reputation. On the other hand, we provide a dataset of highly representative hot events for further analysis by other researchers, and we also developed an online webserver tool that incorporates the source code.

6.3. Future Work and Discussion

Future research can be expanded in three key directions. First, computationally efficient graph network methods need to be explored to address performance bottlenecks in large-scale event analysis. Second, a multimodal data fusion framework should be developed to integrate unstructured data such as images and videos, thereby enhancing model representation capabilities. Additionally, time-series analysis techniques can be introduced to construct dynamic models that reveal the evolutionary patterns of controversial events. RAG technology, as a prominent research direction, enables productivity enhancement by leveraging real-world data. It is also possible to study graph-enhanced RAG [44] to improve the efficiency of identifying controversial points and the interpretability of controversial analysis. These advancements will further refine the controversial event analysis system, providing more precise technical support for fields such as public opinion monitoring and public policy formulation.

Author Contributions

Methodology, Y.L.(Ying Li); Software, X.Z.; Formal analysis, Y.L. (Yu Liang); Writing—original draft, Y.L. (Ying Li); Writing—review & editing, Q.L.; Funding acquisition, Q.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Natural Science Foundation of Jilin Province grant number (20220101117JC).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Bail, C.A.; Argyle, L.P.; Brown, T.W.; Bumpus, J.P.; Chen, H.; Fallin Hunzaker, M.B.; Lee, J.; Mann, M.; Merhout, F.; Volfovsky, A. Exposure to Opposing Views on Social Media Can Increase Political Polarization. Proc. Natl. Acad. Sci. USA 2018, 115, 9216–9221. [Google Scholar] [CrossRef] [PubMed]
  2. Isaac, M.; Shane, S. Facebook’s Russia-Linked Ads Came in Many Disguises. New York Times, 2 October 2017. [Google Scholar]
  3. Guerra, P.; Meira, W., Jr.; Cardie, C.; Kleinberg, R. A Measure of Polarization on Social Media Networks Based on Community Boundaries. In Proceedings of the International AAAI Conference on Web and Social Media, Cambridge, MA, USA, 8–11 July 2013; Volume 7, pp. 215–224. [Google Scholar]
  4. Rill, S.; Reinel, D.; Scheidt, J.; Zicari, R. V PoliTwi: Early Detection of Emerging Political Topics on Twitter and the Impact on Concept-Level Sentiment Analysis. Knowl.-Based Syst. 2014, 69, 24–33. [Google Scholar] [CrossRef]
  5. Dumais, S.T. Latent Semantic Analysis. Annu. Rev. Inf. Sci. Technol. 2004, 38, 189–230. [Google Scholar] [CrossRef]
  6. Garimella, K. Polarization on Social Media; Aalto University: Espoo, Finland, 2018. [Google Scholar]
  7. Qiu, J.; Lin, Z.; Shuai, Q. Investigating the Opinions Distribution in the Controversy on Social Media. Inf. Sci. 2019, 489, 274–288. [Google Scholar] [CrossRef]
  8. Hessel, J.; Lee, L. Something’s Brewing! Early Prediction of Controversy-Causing Posts from Discussion Features. arXiv 2019, arXiv:1904.07372. [Google Scholar]
  9. Li, C.; Bai, J.; Zhang, L.; Tang, H.; Luo, Y. Opinion Community Detection and Opinion Leader Detection Based on Text Information and Network Topology in Cloud Environment. Inf. Sci. 2019, 504, 61–83. [Google Scholar] [CrossRef]
  10. Al Amin, M.T.; Aggarwal, C.; Yao, S.; Abdelzaher, T.; Kaplan, L. Unveiling Polarization in Social Networks: A Matrix Factorization Approach. In Proceedings of the IEEE INFOCOM 2017-IEEE Conference on Computer Communications, Atlanta, GA, USA, 1–4 May 2017; pp. 1–9. [Google Scholar]
  11. Mendoza, M.; Parra, D.; Soto, Á. GENE: Graph Generation Conditioned on Named Entities for Polarity and Controversy Detection in Social Media. Inf. Process. Manag. 2020, 57, 102366. [Google Scholar] [CrossRef]
  12. Zhong, L.; Cao, J.; Sheng, Q.; Guo, J.; Wang, Z. Integrating Semantic and Structural Information with Graph Convolutional Network for Controversy Detection. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online, 5–10 July 2020; pp. 515–526. [Google Scholar]
  13. Bramsona, A.; Grim, P.; Singer, D.J.; Fisher, S.; Berger, W.; Sack, G.; Flocken, C. Disambiguation of Social Polarization Concepts and Measures. J. Math. Sociol. 2016, 40, 80–111. [Google Scholar] [CrossRef]
  14. Cantador, I.; Cortés-Cediel, M.E.; Fernández, M. Exploiting Open Data to Analyze Discussion and Controversy in Online Citizen Participation. Inf. Process. Manag. 2020, 57, 102301. [Google Scholar] [CrossRef]
  15. Ignatow, G.; Evangelopoulos, N.; Zougris, K. Sentiment Analysis of Polarizing Topics in Social Media: News Site Readers’ Comments on the Trayvon Martin Controversy. In Communication and Information Technologies Annual; Emerald Group Publishing: Bingley, UK, 2016; Volume 11, pp. 259–284. [Google Scholar]
  16. Choi, Y.; Jung, Y.; Myaeng, S.-H. Identifying Controversial Issues and Their Sub-Topics in News Articles; Springer: Berlin/Heidelberg, Germany, 2010; Volume 6122. [Google Scholar]
  17. Popescu, A.-M.; Pennacchiotti, M. Detecting Controversial Events from Twitter. In Proceedings of the 19th ACM International Conference on Information and Knowledge Management, Toronto, ON, Canada, 26–30 October 2010; pp. 1873–1876. [Google Scholar]
  18. Beelen, K.; Kanoulas, E.; Van De Velde, B. Detecting Controversies in Online News Media. In Proceedings of the 40th International ACM SIGIR Conference on Research and Development in Information Retrieval, Tokyo, Japan, 7–11 August 2017; pp. 1069–1072. [Google Scholar]
  19. Song, D.; Wang, W.; Fan, Y.; Xing, Y.; Zeng, A. Quantifying the Structural and Temporal Characteristics of Negative Links in Signed Citation Networks. Inf. Process. Manag. 2022, 59, 102996. [Google Scholar] [CrossRef]
  20. Newman, M.E.; Girvan, M. Finding and Evaluating Community Structure in Networks. Phys. Rev. E 2004, 69, 26113. [Google Scholar] [CrossRef]
  21. Cogan, P.; Andrews, M.; Bradonjic, M.; Kennedy, W.S.; Sala, A.; Tucci, G. Reconstruction and Analysis of Twitter Conversation Graphs. In Proceedings of the First ACM International Workshop on Hot Topics on Interdisciplinary Social Networks Research, Beijing, China, 12 August 2012; pp. 25–31. [Google Scholar]
  22. Garimella, K.; Morales, G.D.F.; Gionis, A.; Mathioudakis, M. Quantifying Controversy on Social Media. ACM Trans. Soc. Comput. 2018, 1, 1–27. [Google Scholar] [CrossRef]
  23. Matakos, A.; Terzi, E.; Tsaparas, P. Measuring and Moderating Opinion Polarization in Social Networks. Data Min. Knowl. Discov. 2017, 31, 1480–1505. [Google Scholar] [CrossRef]
  24. Coletto, M.; Garimella, K.; Gionis, A.; Lucchese, C. Automatic Controversy Detection in Social Media: A Content-Independent Motif-Based Approach. Online Soc. Networks Media 2017, 3–4, 22–31. [Google Scholar] [CrossRef]
  25. Mikolov, T.; Chen, K.; Corrado, G.S.; Dean, J. Efficient Estimation of Word Representations in Vector Space. arXiv 2013, arXiv:1301.3781v1. [Google Scholar]
  26. Devlin, J.; Chang, M.-W.; Lee, K.; Toutanova, K. Bert: Pre-Training of Deep Bidirectional Transformers for Language Understanding. arXiv 2018, arXiv:1810.04805. [Google Scholar]
  27. Benslimane, S.; Azé, J.; Bringay, S.; Servajean, M.; Mollevi, C. A Text and GNN Based Controversy Detection Method on Social Media. World Wide Web 2023, 26, 799–825. [Google Scholar] [CrossRef]
  28. Bonchi, F.; Galimberti, E.; Gionis, A.; Ordozgoiti, B.; Ruffo, G. Discovering Polarized Communities in Signed Networks. In Proceedings of the 28th Acm International Conference on Information and Knowledge Management, Beijing, China, 3–7 November 2019; pp. 961–970. [Google Scholar]
  29. Hohmann, M.; Devriendt, K.; Coscia, M. Quantifying Ideological Polarization on a Network Using Generalized Euclidean Distance. Sci. Adv. 2023, 9, eabq2044. [Google Scholar] [CrossRef]
  30. Muñoz, P.; Bellogín, A.; Barba-rojas, R. Quantifying Polarization in Online Political Discourse. EPJ Data Sci. 2024, 13, 39. [Google Scholar] [CrossRef]
  31. Guo, C.; Li, W.; Wang, J.; Yu, X.; Liu, X.; Luvembe, A.M.; Wang, C.; Jin, Q. Heterogeneous Network Influence Maximization Algorithm Based on Multi-Scale Propagation Strength and Repulsive Force of Propagation Field. Knowl.-Based Syst. 2024, 291, 111580. [Google Scholar] [CrossRef]
  32. Zhao, Y.; Li, W.; Liu, F.; Wang, J.; Luvembe, A.M. Integrating Heterogeneous Structures and Community Semantics for Unsupervised Community Detection in Heterogeneous Networks. Expert Syst. Appl. 2024, 238, 121821. [Google Scholar] [CrossRef]
  33. Wang, H.; Wang, Y.; Song, X.; Zhou, B.; Zhao, X.; Xie, F. Quantifying Controversy from Stance, Sentiment, Offensiveness and Sarcasm: A Fine-Grained Controversy Intensity Measurement Framework on a Chinese Dataset. World Wide Web 2023, 26, 3607–3632. [Google Scholar] [CrossRef]
  34. Blei, D.M.; Ng, A.Y.; Jordan, M.I. Latent Dirichlet Allocation. J. Mach. Learn. Res. 2003, 3, 993–1022. [Google Scholar]
  35. Raffel, C.; Shazeer, N.; Roberts, A.; Lee, K.; Narang, S.; Matena, M.; Zhou, Y.; Li, W.; Liu, P.J. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer. J. Mach. Learn. Res. 2020, 21, 1–67. [Google Scholar]
  36. Cai, D.; Qian, S.; Fang, Q.; Hu, J.; Xu, C. User Cold-Start Recommendation via Inductive Heterogeneous Graph Neural Network. ACM Trans. Inf. Syst. 2023, 41, 1–27. [Google Scholar] [CrossRef]
  37. Grover, A.; Leskovec, J. Node2vec: Scalable Feature Learning for Networks. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 855–864. [Google Scholar]
  38. Guo, B.; Zhang, C.; Liu, J.; Ma, X. Improving Text Classification with Weighted Word Embeddings via a Multi-Channel TextCNN Model. Neurocomputing 2019, 363, 366–374. [Google Scholar] [CrossRef]
  39. Emamgholizadeh, H.; Nourizade, M.; Tajbakhsh, M.S.; Hashminezhad, M.; Esfahani, F.N. A Framework for Quantifying Controversy of Social Network Debates Using Attributed Networks: Biased Random Walk (BRW). Soc. Netw. Anal. Min. 2020, 10, 90. [Google Scholar] [CrossRef]
  40. Morales, A.J.; Borondo, J.; Losada, J.C.; Benito, R.M. Measuring Political Polarization: Twitter Shows the Two Sides of Venezuela. Chaos 2015, 25, 033114. [Google Scholar] [CrossRef]
  41. Conover, M.; Ratkiewicz, J.; Francisco, M.; Gonçalves, B.; Menczer, F.; Flammini, A. Political Polarization on Twitter. In Proceedings of the International Aaai Conference on Web and Social Media, Barcelona, Spain, 17–21 July 2011; Volume 5, pp. 89–96. [Google Scholar]
  42. Dori-Hacohen, S.; Allan, J. Automated Controversy Detection on the Web. In Proceedings of the Advances in Information Retrieval: 37th European Conference on IR Research, Vienna, Austria, 29 March–2 April 2015; Springer: Berlin/Heidelberg, Germany, 2015; Volume 37, pp. 423–434. [Google Scholar]
  43. Arora, S.D.; Singh, G.P.; Chakraborty, A.; Maity, M. Polarization and Social Media: A Systematic Review and Research Agenda. Technol. Forecast. Soc. Change 2022, 183, 121942. [Google Scholar] [CrossRef]
  44. Matsumoto, N.; Moran, J.; Choi, H.; Hernandez, M.E.; Venkatesan, M.; Wang, P.; Moore, J.H. KRAGEN: A knowledge graph-enhanced RAG framework for biomedical problem solving using large language models. Bioinformatics 2024, 40, btae353. [Google Scholar]
Figure 1. Controversy analysis framework: the whole framework consists of six modules, namely (I) data collection, (II) preprocessing, (III) graph construction, (IV) attribute embedding and fusion, (V) community detection, (VI) controversy measuring.
Figure 1. Controversy analysis framework: the whole framework consists of six modules, namely (I) data collection, (II) preprocessing, (III) graph construction, (IV) attribute embedding and fusion, (V) community detection, (VI) controversy measuring.
Entropy 27 00473 g001
Figure 2. Topic detection of a hot event.
Figure 2. Topic detection of a hot event.
Entropy 27 00473 g002
Figure 3. Text summarization based on Text-to-Text Transfer Transformer.
Figure 3. Text summarization based on Text-to-Text Transfer Transformer.
Entropy 27 00473 g003
Figure 4. The types of triangles in a signed network.
Figure 4. The types of triangles in a signed network.
Entropy 27 00473 g004
Figure 5. The user guidance of the web server.
Figure 5. The user guidance of the web server.
Entropy 27 00473 g005
Table 2. Statistics of the dataset.
Table 2. Statistics of the dataset.
EventMicroblogCommentRetweetUser
#Mathematical Olympiad73414,642621212,323
#Double reduction policy228306717163673
#Heavy rain in Shanxi340664810,55913,150
#Luding earthquake523744014,51219,438
#Sexy Tea196713,944312712,743
Note: “#” represents a hashtag, which is used for the classification and tagging of content.
Table 3. Datasets statistics: media, size of the nodes, and edges.
Table 3. Datasets statistics: media, size of the nodes, and edges.
DatasetMediaNodesEdgesControversy
#Karate’s ClubFriendships3478Y
#US Political Blogsblogs122416,715Y
#Political communication networkTwitter18,47048,053Y
#Gun ControlTwitter61,740342,449Y
#Brazilian Soccer TeamsTwitter27,415156,489Y
Note: “#” represents a hashtag, which is used for the classification and tagging of content.
Table 4. The controversy scores on the existing datasets.
Table 4. The controversy scores on the existing datasets.
ControversyRandom WalkBRWBCCECGMCKMBLBOur Method
#Karate’s ClubY0.110.430.640.510.170.110.62
#Political BlogY0.420.690.530.490.180.450.65
#Twitter politicalY0.770.810.790.620.280.340.53
#Gun ControlY0.700.660.680.550.240.810.67
#Brazial soccerY0.670.740.480.680.170.750.55
#NYC teamsN0.340.290.240.170.010.190.37
#UniversityN0.350.310.260.380.010.270.46
Note: “#” represents a hashtag, which is used for the classification and tagging of content.
Table 5. The comparison on our datasets.
Table 5. The comparison on our datasets.
ControversyRandom WalkBRWBCCECGMCKMBLBOur
Method
#Mathematical OlympiadY0.830.690.730.450.520.410.79
#Sexy TeaY0.770.440.720.680.530.380.72
#Double reduction policyY0.460.720.690.510.410.550.67
#Heavy raining in Shanxi N0.610.380.500.320.420.390.48
#Luding earthquakeN0.330.320.290.430.350.440.25
Note: “#” represents a hashtag, which is used for the classification and tagging of content.
Table 6. Community sentiment distribution and p-value.
Table 6. Community sentiment distribution and p-value.
EventCommunityPositive NumNegative NumNeutral Nump-Value
#Mathematical Olympiadcommunity 1232816944336.77 × 10−16
community 2207730211675.33 × 10−15
community 360869612899.43 × 10−14
#Double reduction policycommunity 1933619883.6 × 10−26
community 26981036721.51 × 10−12
community 338341545.97 × 10−12
#Sexy Teacommunity 13468210415379.41 × 10−12
community 2161333656565.39 × 10−25
#Heavy rain in Shanxicommunity 1521027888639.08 × 10−12
community 2181021533266.17 × 10−9
#Luding earthquakecommunity 1736041196341.35 × 10−22
community 2270638118084.11 × 10−13
Note: “#” represents a hashtag, which is used for the classification and tagging of content.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, Y.; Zhang, X.; Liang, Y.; Li, Q. Automatic Controversy Detection Based on Heterogeneous Signed Attributed Network and Deep Dual-Layer Self-Supervised Community Analysis. Entropy 2025, 27, 473. https://doi.org/10.3390/e27050473

AMA Style

Li Y, Zhang X, Liang Y, Li Q. Automatic Controversy Detection Based on Heterogeneous Signed Attributed Network and Deep Dual-Layer Self-Supervised Community Analysis. Entropy. 2025; 27(5):473. https://doi.org/10.3390/e27050473

Chicago/Turabian Style

Li, Ying, Xiao Zhang, Yu Liang, and Qianqian Li. 2025. "Automatic Controversy Detection Based on Heterogeneous Signed Attributed Network and Deep Dual-Layer Self-Supervised Community Analysis" Entropy 27, no. 5: 473. https://doi.org/10.3390/e27050473

APA Style

Li, Y., Zhang, X., Liang, Y., & Li, Q. (2025). Automatic Controversy Detection Based on Heterogeneous Signed Attributed Network and Deep Dual-Layer Self-Supervised Community Analysis. Entropy, 27(5), 473. https://doi.org/10.3390/e27050473

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop