Next Article in Journal
A Rule-Based Method for Enhancing Burst Tolerance in Stateful Microservices
Previous Article in Journal
Low-Complexity Sum-Rate Maximization for Multi-IRS-Assisted V2I Systems
Previous Article in Special Issue
Using Large Language Models to Infer Problematic Instagram Use from User Engagement Metrics: Agreement Across Models and Validation with Self-Reports
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

SentiRank: A Novel Approach to Sentiment Leader Identification in Social Networks Based on the D-TFRank Model

1
Guangxi Key Laboratory of Machine Vision and Intelligent Control, Wuzhou University, Wuzhou 543002, China
2
Guangxi Colleges and Universities Key Laboratory of Intelligent Industry Software, Wuzhou University, Wuzhou 543002, China
3
School of Computer Science, Shaanxi Normal University, Xi’an 710119, China
*
Author to whom correspondence should be addressed.
Electronics 2025, 14(14), 2751; https://doi.org/10.3390/electronics14142751
Submission received: 26 May 2025 / Revised: 27 June 2025 / Accepted: 7 July 2025 / Published: 8 July 2025
(This article belongs to the Special Issue Application of Data Mining in Social Media)

Abstract

With the rapid evolution of social computing, online sentiments have become valuable information for analyzing the latent structure of social networks. Sentiment leaders in social networks are those who bring in new information, ideas, and innovations, disseminate them to the masses, and thus influence the opinions and sentiment of others. Identifying sentiment leaders can help businesses predict marketing campaigns, adjust marketing strategies, maintain their partnerships, and improve their products’ reputations. However, capturing the complex sentiment dynamics from multi-hop interactions and trust/distrust relationships, as well as identifying leaders within sentiment-aligned communities while maximizing sentiment spread efficiently through both direct and indirect paths, is a significant challenge to be addressed. This paper pioneers a challenging and important problem of sentiment leader identification in social networks. To this end, we propose an original solution framework called “SentiRank” and develop the associated algorithms to identify sentiment leaders. SentiRank contains three key technical steps: (1) constructing a sentiment graph from a social network; (2) detecting sentiment communities; (3) ranking the nodes on the selected sentiment communities to identify sentiment leaders. Extensive experimental results based on the real-world datasets demonstrate that the proposed framework and algorithms outperform the existing algorithms in terms of both one-step sentiment coverage and all-path sentiment coverage. Furthermore, the proposed algorithm performs around 6.5 times better than the random approach in terms of sentiment coverage maximization.

1. Introduction

With the booming emergence and rapid proliferation of social computing applications, users prefer to express their sentiments and opinions on products, services, or political subjects through various online channels, including E-commerce websites, forums, blogs, wikis, etc. In such distributed social networking systems, users interact with each other to maximize information sharing and recommendation based on their social relationships [1,2]. Social networks further accelerate the generation and spreading of users’ sentiments within shared communities, which significantly affects consumers’ buying decisions, images of enterprisers, and public opinions. Unlike influential users in social networks who can drive behavioral changes through their reach and authority, sentiment leaders shape public emotional trends and opinions through emotional resonance. That is to say that sentiment leaders in social networks are those who bring in new information, ideas, and innovations and disseminate them to the masses. Their sentiments are often more representative and authoritative, and thus, other members are easily influenced by sentimental leaders. Here is a natural question: “who are the sentiment leaders that disseminate their sentiments to others?” The identification of sentiment leaders in social networks is very challenging and has much commercial value; it can help businesses predict marketing campaigns, adjust marketing strategies, maintain their partnerships, and improve their products’ reputations.
Sentiment analysis and opinion mining that aim to identify the opinions, judgments, and information related to the feelings and attitudes expressed in natural language texts have been recently studied in the context of social networks [3,4]. Sentiment analysis can be used as a means of automatically handling customer feedback, as a basis for targeting advertisements, and as a tool to assist in analyzing consumer tendencies. Singh et al. [5] conducted the sentiment analysis based on BERT model over Twitter for understanding the mental state of users during the period of the pandemic. Fu et al. [6] firstly discussed the selection strategy of multi-source domains to optimize data quality and further proposed a domain adapter and discriminator for sentiment transfer.
As a newly emerging research direction, sentiment propagation in social networks has been investigated recently [7,8,9,10]. Liu et al. [11] conducted text modeling with words’ co-occurrence based on the topic model. Additionally, sentiment computing and the time factor were incorporated to construct the dynamic topic–sentiment mixture model. An et al. [12] measured the topical influence and sentiment contagion of public event stakeholders and proposed four indicators. By quantifying and comparing the topical and emotional influence of different stakeholders, deep insights into the public opinion propagation pattern in social media contexts were presented. Aiming to infer the sentiment expressed within a document, Dragoni [13] developed an approach that relies on evolutionary algorithms and exploiting semantic relationships to estimate domain-dependent polarities of opinion concepts. Wang et al. [14] investigated an interesting problem concerning sentiment spreading in text-based social networks. Concretely, a unified probabilistic framework was formalized for this problem as a topic-enhanced sentiment spreading model that can predict users’ sentimental statuses based on their historical emotional status, topic distributions in tweets, and social structures.
Although sentiment analysis and propagation have attracted much research interest, sentiment leader identification, as a new research domain, has not been thoroughly investigated yet. Specifically, the existing studies have not considered the fact that sentiment propagation can reach maximal sentiment coverage through some key sentiment leaders. Therefore, there exists an important gap between sentiment computing, business intelligence, and distributed social networking services. To fill in this gap, a new research issue–sentiment leader identification in social networks—is pioneered in this study, aiming to identify the sentiment leaders who initiate sentiments and influence other users in social networks. Although sentiment polarity is indeed related to opinions, sentiment leaders play a unique role in shaping public emotional trends and opinions through emotional resonance. Unlike opinion leaders, who primarily focus on disseminating specific viewpoints [15,16], sentiment leaders influence the emotional climate surrounding a topic. This distinction makes sentiment leader identification a novel and challenging task that extends beyond traditional opinion leader identification. Technically, capturing the complex sentiment dynamics shaped via multi-hop interactions and trust/distrust relationships across distributed networks poses a challenge, as sentiments propagate through intricate social ties. To address these challenges, we develop a novel sentiment leader identification approach, SentiRank. The major contributions of this paper are summarized as follows.
  • To obtain a comprehensive understanding of the information diffusion over social networks, we formalize the problem of sentiment leader identification, which aims to identify sentiment leaders who can propagate their sentiment to other users and maximize the sentiment coverage in social networks.
  • We propose an original solution framework, named “SentiRank”, in order to solve the problem of sentiment leader identification. In this proposed framework, (1) we initially construct the sentiment graph using a social network with trust and distrust relationships, (2) we consider the sentiment communities in both the positive and negative sentiment systems and the five-star scale sentiment system, and we transform the sentiment community detection problem in to a semi-definite programming (SDP) problem and solve it using an SDP-based random rounding method, (3) and we investigate the importance metric D-TFRank of a node in dynamic social networks that is used to rank nodes in a selected sentiment community.
  • Corresponding to the proposed solution framework, efficient algorithms of sentiment leader identification based on a sentiment community with respect to two types of sentiment representations are proposed. Extensive experiments based on real-world datasets are conducted to evaluate the performance and effectiveness of the proposed framework and associated algorithms. The results demonstrate their efficiency in terms of both one-step sentiment coverage and all-path sentiment coverage. It is worth noting that the proposed algorithm performs around 6.5 times better than the random approach in terms of sentiment coverage maximization.
The remainder of this paper is organized as follows. Section 2 presents the problem definition and the solution framework. The proposed identification algorithms are presented in Section 3. Section 4 shows the experimental results and evaluates the proposed algorithm. Finally, Section 5 concludes this paper.

2. Related Work

This section mainly analyzes the literature related to the topic of this study. Therefore, we conducted a literature review involving the following aspects: sentiment propagation and semi-definite programming.

2.1. Sentiment Propagation on Social Networks

The recent literature on sentiment propagation in social networks highlights the dynamic interplay of user behavior, platform algorithms, and contextual factors. Chen et al. [17] proposed a dynamic model integrating time-decay and emotion-exciting mechanisms, demonstrating how sentiment evolves over extended diffusion periods. Their model, validated on real-world datasets like Bitcoin-OTC, showed improved F1-scores by 3.5% and reduced MAE, emphasizing the role of opinion leaders in convergence over time. Hung et al. [18] proposed a cognitive emotional contagion model (CECM), which combines the model of individual characteristics, the topology of a social network, and the changing process, as well as the evolution, of emotion contagion. Yin et al. [19] established an emotional Susceptible-Forwarding-Immune (E-SFI) propagation dynamics model that integrates the classification of emotions (positive, neutral, and negative) with community emotional selection mechanisms, investigating their combined impact on information propagation and subsequent public sentiment formation. Ban et al. [20] presented innovative methodologies that automate the construction of comprehensive sentiment lexicons by integrating traditional linguistic approaches with state-of-the-art artificial intelligence technologies.
It is noted that sentiment propagation is also important for sentiment community detection. Wang et al. [21] firstly introduced the concept of a “sentiment community“ and further proposed two methods for discovering sentiment communities by adopting the optimization models of SDP.

2.2. Semi-Definite Programming

Semi-definite programming (SDP) has emerged as a fundamental tool in modern optimization, extending linear and convex programming to matrix spaces. Over the past decade, SDP has seen significant theoretical refinements, algorithmic improvements, and novel applications in machine learning [22], quantum computing [23], and large-scale data analysis [24].
First of all, many research efforts have involved algorithmic innovations in SDP. Shinde et al. [25] developed a randomized algorithm that returns a random vector whose covariance matrix is near-feasible and near-optimal for the SDP that can be extended for dealing with a broader range of structured convex optimization problems. Han et al. [26] presented a new first-order method for solving general SDP problems, based on the alternating direction method of multipliers (ADMM) and a matrix-splitting technique. Fernando et al. [27] designed their algorithm by “quantizing” classical SDP solvers based on the matrix multiplicative weight method.
Additionally, cutting-edge applications based on SDP are emerging in the fields of machine learning and AI, quantum information, and control and robotics. Zhang et al. [28] proposed a geometric technique to determine the exactness of SDP certificates for least-squares restricted adversarial attack problems, showing that the certificate is exact when the projection of a point onto a hyperbola lies on its major axis, proving exactness for single hidden layers under mild assumptions, and explaining conservativeness for multiple hidden layers. Yau et al. [29] developed graph neural network architectures that capture optimal approximation algorithms for a large class of combinatorial optimization problems, using powerful algorithmic tools from SDP. Wu et al. [30] proposed a novel control protocol and an implementation algorithm that enables leaders to achieve desired formations via SDP techniques.

3. Problem Definition

This section presents the definitions of sentiment graph, sentiment community, and sentiment coverage, and then it formulates the problem of sentiment leader identification. In addition, the proposed solution framework SentiRank is described.

3.1. Problem Definition

Definition 1
(Sentiment Graph). A sentiment graph is represented as a directed graph, G = ( V , E , S ) , where V = { v 1 , v 2 , , v n } denotes its node (i.e., user) set, E indicates its edge set with the edge ( u , v ) E , representing a sentiment orientation from v (sentiment sender) to u (sentiment receiver), and S : { s 1 , s 1 , , s n } is the set of sentiment values held by a user in set V; for example, user v i holds a certain sentiment, s i , towards a particular product or topic. The value of s i can be defined either as { p o s i t i v e , n e g a t i v e } in the positive and negative sentiment system or represented by the number of stars in the 5-star scale sentiment system (1 star means the most negative, and 5 stars means the most positive).
Definition 2
(Sentiment Community).  A sentiment graph, G, can be divided into a number of clusters (i.e., various sentiment communities), { C 1 , C 2 , , C m } , in terms of different sentiments, such that the following applies:
  • Each node, v i , belongs to one cluster, C k , ( 1 k m );
  • Each cluster, C k , is a connected subgraph in G;
  • Nodes within a cluster should share similar sentiments, and nodes in different clusters should have different sentiments.
Definition 3
(Sentiment Coverage).  In a sentiment graph, G, let T represent the subset of nodes selected to initiate the sentiment propagation in a sentiment community, C i , which is called the seed set. The sentiment coverage, σ ( T ) , is defined as the expected number of nodes infected with sentiment s i .
Based on the above definitions, the problem of sentiment leader identification is stated as follows:
Given a sentiment graph, G = ( V , E , S ) , and an integer, K | V | , sentiment leader identification is conducted to find a set, T V , | T | = K , such that the sentiment coverage, σ ( T ) , is the maximum.
The problem of sentiment leader identification aims to maximize sentiment coverage by identifying influential users who can propagate their sentiments to others. This differs from opinion leader identification, which focuses on spreading specific viewpoints. It must account for complex sentiment dynamics shaped by multi-hop interactions and trust/distrust relationships, making it a distinct and challenging problem.
For the sake of understanding, the above problem can be further described using the example of a social marketing application. The working process of the sentiment leader identification in social marketing is as follows: a company usually selects only some customers with positive sentiment on their products and plans advertisements targeting these positive customers. Once these potential customers accept the content of the given advertisements and love the advertised products, they start influencing their friends in distributed social networks through sentiment contagion. Their friends further influence their friends’ friends, and so on. Thus, a large population in the social network adopts the advertisement through both information and sentiment propagation.

3.2. Solution Framework

Different from influence propagation in the influence maximization problem, sentiment leader identification seeks to propagate sentiment in order to maximize sentiment coverage eventually. Therefore, this process can be viewed as a special case of the influence maximization problem, which has been proven to be NP-hard [31,32]. As a result, the sentiment leader identification problem is also NP-hard, and it is very challenging to solve this problem. Furthermore, as social networks are large-scale, involve complex connection structures, and are very dynamic, the solution to this problem should be efficient and scalable.
To solve the addressed problem, a solution framework called SentiRank is proposed in this paper. The following section presents the proposed solution framework of SentiRank and the related algorithms in detail. SentiRank contains three key technical steps: (1) constructing the sentiment graph from a social network; (2) detecting the sentiment communities; (3) ranking the nodes on selected sentiment communities to determine sentiment leaders.

4. Identifying Sentiment Leaders in Social Networks

SentiRank is elaborated in this section as a solution for the problem of sentiment leader identification. In what follows, we will present the key issues of SentiRank.

4.1. Framework of SentiRank

Figure 1 presents a framework of SentiRank.
Apparently, the input of SentiRank is a social network with trust/distrust relationships, and then the sentiment graph can be constructed (Step 1). After that, an SDP-based random rounding method is adopted for detecting corresponding sentiment communities (Step 2). Within sentiment communities, a novel ranking model called D-TFRank is proposed by considering the global importance and local importance of users in dynamical social networks. Ultimately, sentiment leaders can be obtained by ranking the nodes in the selected sentiment communities (Step 3).

4.2. Construction of the Sentiment Graph

To construct the sentiment graph, the sentiment value of each user in social networks should be calculated. The sentiment variable is used to describe the emotion of users towards a certain product or opinion. As illustrated in Figure 2a, there exist certain trust/distrust relationships between users in social networks. Thus, sentiment distributions can be described using the trust/distrust relationships. Given that the initial sentiment of user v 4 is “positive” and v 1 trusts v 4 (as shown in Figure 2a), the sentiment of user v 1 should be “positive”, too (Figure 2b). On the contrary, user v 5 holds the negative sentiment because user v 1 distrusts v 5 .
The working process of sentiment graph construction is described as follows. With v 4 as the seed node having an initial “Positive” sentiment, sentiment propagation follows defined rules: trust relationships make a node adopt the sentiment of the trusted node, while distrust leads to adopting the opposite. Starting from v 4 , v 1 trusts v 4 (via the + edge), so v 1 becomes “Positive”. Then, v 2 trusts v 1 ( + edge) and takes “Positive”, while v 3 and v 5 distrust v 1 ( − edges) and take “Negative”, resulting in a sentiment graph where v 4 (seed), v 1 , v 2 are “Positive”, and v 3 and v 5 are “Negative”—the rules can be refined for complexity, but this traceable process builds sentiment assignments.
Eventually, a social network with trust/distrust relationships is converted into a sentiment graph (Figure 2b). It is worth noting that the sentiment graph is a directed graph in which each node holds sentiments. However, a social network with trust/distrust relationships is a weighted graph in which each edge exhibits the trust or distrust relationship.

4.3. Detection of the Sentiment Communities

We study the detection of sentiment communities with two typical cases: (1) simple sentiment labels (positive and negative) and (2) five-star rating scale.

4.3.1. Case 1

In this case, users have either positive or negative sentiments on a certain item in sentiment graph, G. For two linked users, v i and v j , in a sentiment graph, G, if they have the same sentiment polarity, the link is assigned with a weight, w i j = + 1 ; otherwise, w i j = 1 . The objective of sentiment community detection is converted to maximize the agreement on users’ sentiments within clusters. It is equal to maximizing the number of +1 edges within clusters, plus the number of −1 edges between clusters. Clearly, this is a typical correlation clustering problem and is NP-hard. Since addressing the correlation clustering can be viewed as a convex constrained optimization process, we transform it into a semi-definite programming (SDP) problem because semi-definite programs are important tools for developing approximation algorithms for NP-hard maximization problems. Then, we solve this problem using an SDP-based random rounding method [33,34].
The membership of node v i to a cluster can be represented as a vector, x i = ( x i 1 , x i 2 , , x i m ) , where x i j = 1 if v i belongs to C j , and x i j = 0 otherwise. The objective function is formalized as follows:
m a x w i j = + 1 X i X j + w i j = 1 ( 1 X i X j ) s . t . X i X i = 1 ( v i V ) , X i X j 0 ( v i , v j V , i j ) .
Now, solving the above SDP problem becomes a key step for detecting sentiment communities. Algorithm 1 presents the implementation codes using MATLAB to solve this problem. The proposed algorithm aims to partition users in a sentiment graph into communities to maximize internal sentiment consistency, transforming the NP-hard correlation clustering problem into an SDP problem. The objective function balances maximizing +1 edges within clusters and −1 edges between clusters, with constraints like the unit vector and non-negative inner product. After solving the SDP via relaxation, random rounding converts continuous vectors to discrete cluster assignments. Specifically, Lines 4–6 indicate a basic constraint. Lines 7–9 limit the range of the value of the sentiment vector. It should be (1,0) (positive sentiment) or (0, 1) (negative sentiment). Lines 10–14 refer to another inequality constraint in the SDP problem, while Lines 15–23 denote the objective function. The MATLAB2024a tool box–YALMIP [35] is called to solve this problem and obtain the sentiment communities assignment (Line 25).
Algorithm 1: Sentiment community detection using SDP.
Require: 
  • G = ( V , E , S ) ;
  • Number of nodes N;
  • Number of +1 edges e 1 ;
  • Number of -1 edges e 2 ;
Ensure: 
  • Sentiment community assignment vector of nodes x;
1:
t = sdpvar[1]
2:
o b j = t;
3:
x = sdpvar[N,1, ‘full’];
4:
   for  i = 1  to N do
5:
       a = [ 1 x ( i ) 1 x ( i ) ] = = 1 ] ;
6:
   end
7:
   for  i = 1  to N do
8:
       b = [ 0 x ( i ) 1 ] ;
9:
   end
10:
   for  i = 1  to N do
11:
      for  j = i + 1  to N do
12:
          c = [ x ( i ) x ( j ) 0 ] ;
13:
      end
14:
   end
15:
   for  t 1 = 1 to e 1  do
16:
      for  t 2 = t 1 + 1 to  e 2  do
17:
         for  t 3 = 1 to e 1  do
18:
            for  t 4 = t 3 + 1 to e 2  do
19:
          o b j = [sum( x ( t 1 ) * x ( t 2 ) )] + [sum(1− x ( t 3 ) * x ( t 4 ) )];
20:
            end
21:
         end
22:
      end
23:
   end
24:
c o n s t r a i n t = [ a , b , c ] ;
25:
slovesdp( c o n s t r a i n t ,- o b j );
26:
i n t ( x ) ;
As a powerful optimization toolbox, YALMIP helps formulate the SDP problem with high-level syntax, interfaces with solvers to find optimal solutions for the relaxed problem, and supports result extraction for post-processing. This approach ensures computational tractability, theoretical guarantees, and practical efficiency, balancing rigor and applicability for real-world sentiment community detection.

4.3.2. Case 2

In this case, the sentiments of users are denoted in a five-star rating scale. The sentiment difference between users v i and v j fall into [ 0 , 4 ] , i.e., | s i s j | [ 0 , 4 ] . Then, ( 2 | s i s j | [ 2 , 2 ] ) . In the clustering scenario, the transformation from sentiment difference [0,4] to [−2,2] via (2 − | s i s j |) serves to map similarity/dissimilarity in a symmetric range of around zero, where positive values indicate similarity, and negative values indicate dissimilarity. If two users share the same sentiment, ( 2 | s i s j | ) = 2 , then they should be within the same cluster, i.e., X i X j = 1 ; otherwise, ( 2 | s i s j | ) = 2 , i.e., X i X j = 0 .
Regarding X i X j : here, X i and X j are likely cluster assignment vectors (not sentiment values), where X i X j represents the dot product of binary vectors indicating a cluster membership. If two users are in the same cluster, their vectors have 1s in the same position, leading to a dot product of 1 (e.g., X i = [1,0], X j = [1,0], dot product = 1 × 1 + 0 × 0 = 1). If in different clusters, their vectors have 1s in different positions, resulting in a dot product of 0 (e.g., X i = [1,0], X j = [0,1], dot product = 0).
Therefore, the task of grouping linked users with similar sentiments into the same clusters while separating those with opposite sentiments into different clusters can be formalized as an optimization problem as follows:
m a x e i j E ( 2 | s i s j | ) X i X j s . t . X i X i = 1 ( v i V ) , X i X j 0 ( v i , v j V , i j ) .
Hence, this problem can be solved using the SDP-based rounding methods as well.

4.4. Ranking Model

Sentiment leaders are sentiment initiators, and they influence the sentiments of other users. Thus, both the interactions between social sentiments and the reputation of users are essential characteristics for determining their sentimental leadership. In this section, we discuss how to rank users in terms of sentiment in a selected sentiment community, and then we propose our ranking model—SentiRank.
The proposed ranking model is an extended version of our previous work TFRank [36], namely D-TFRank. D-TFRank is a novel evaluation approach to user importance that takes into account the global importance (fractal importance) and local importance (topological importance) of users in a dynamic social network. Basically, D-TFRank works with a social graph as an input; after the evaluation of fractal importance value and topological importance value, the TFRank values are dynamically estimated with the considerations of nodes’ insertion and nodes’ deletion.

4.4.1. Fractal Importance of Nodes

As a global node importance evaluation approach, the fractal importance of nodes considers the fractal values of each child nodes in the weighted tree converted from a social network.
Definition 4
(Fractal Importance of Node [36]). Let T be a tree, with A indicating the root node of T; the fractal importance of the node is defined as follows:
F ˜ A = i = 1 L j = 1 N ( L i ) ( F L i j ) ( 1 2 ) i
where L i indicates the i t h level in T, N ( L i ) is the number of nodes in the i t h level of T, L is the total number of levels of T, and the fractal value of the j t h node in the i t h level F i j can be calculated with the approach in [37].
Definition 4 is suitable for measuring local importance in social networks because it incorporates the fractal characteristics of child nodes within the hierarchical structure, enabling a fine-grained analysis of node influence at the local level. In social networks, the importance of a node depends not only on its global hierarchical position but also on the complexity and connectivity of its local neighborhood. The formula considers the fractal value ( F L i j ) of each node at level L i , where the fractal value likely reflects the local structural complexity or connection density of the node (e.g., the number of neighbors, connection patterns, or information aggregation capabilities). By multiplying the fractal value with the exponentially decreasing weight 1 2 i , the definition emphasizes that the local characteristics of nodes at closer hierarchical levels have a more direct impact on the root node’s importance—this aligns with the local interaction mechanisms in social networks, where the influence of nearby nodes (e.g., direct friends or close collaborators) is often more immediate and significant. Moreover, the double summation over levels and nodes at each level allows for the capture of diverse local structural features: even if nodes are at the same level, their different fractal values can reflect variations in local importance (such as key nodes in a community versus ordinary members). This approach thus quantifies the local importance of nodes by integrating hierarchical depth and local fractal properties, providing a basis for identifying core nodes within local communities, analyzing local information aggregation effects, or detecting tightly connected substructures in social networks.

4.4.2. Topological Importance of Nodes

During the sentiment propagation, the evaluation of the local node importance of the social graph is very important to dominate the sentiment leaders.
Definition 5
(Topological Importance of Node [36]). Let T be a tree, with A indicating the root node of T; the topological importance of the node is defined as follows:
T ˜ A = i = 1 L N ( L i ) ( 1 2 ) i
where L i indicates the i t h level in T, N ( L i ) is the number of nodes in the i t h level of T, and L is the total number of levels of T.
Obviously, the topological importance of a node is not related to fractal values according to Equation (4). It is just calculated through the structure of the tree. This definition of topological importance for nodes can be applied to measure node importance in social networks due to its ability to comprehensively consider both the hierarchical structure of the network and the distribution of node connectivity. In social networks, nodes (such as users) at different hierarchical levels often have varying influences: root nodes (e.g., core users or sentiment leaders) located at the top of the hierarchy may have broader reach, while the importance of nodes at lower levels may depend on their positional depth and the number of connected neighbors. The formula assigns exponentially decreasing weights (i.e., 1 2 i ) to nodes at different levels, emphasizing that higher-level nodes have a more significant impact on overall network topology—this aligns with the observation that core nodes in social networks can spread information or influence more efficiently across levels. Meanwhile, N ( L i ) captures the density of nodes at each level: a higher node density at a specific level may indicate a more fragmented or diversified structural feature at that layer, which can be used to assess the contribution of nodes at that level to network connectivity or information diffusion. By integrating level depth and node quantity, this definition quantifies the topological importance of nodes, providing a basis for identifying key nodes (e.g., influencers or bridge nodes) in social networks and analyzing information dissemination paths or structural stability.
Once a node is given, two types of importance of nodes, (1) the topological importance of the node and (2) the fractal importance of the node, can be obtained easily via Equation (3) and Equation (4), respectively. They yield different measurement results in terms of the local importance and global importance of nodes. Therefore, we attempt to combine these two types of importance of nodes together and propose the D-TFRank Algorithm for the evaluation of node importance in dynamic social networks.

4.4.3. The Decision Level of a Tree

Since the real-life social network is very complex, the weighted tree converted from the social network has many levels. Intuitively, users can only infect the sentiments of those who are near to them during the procedure of sentiment propagation; it is unnecessary to consider all the nodes at different levels in a tree. The decision level of a tree, L T F , must be determined, and it can be calculated as follows.  
L T F = L , L 3 l n ( 10 L + 20 ) , o t h e r w i s e .
where L refers to the total level number in T, and L T F is the number of levels in the tree we should consider when calibrating the fractal importance and topological importance.
Figure 3 illustrates the correlation between L and L T F based on the simulated data. Obviously, as L increases, L T F falls into a certain range due to our given assumption, i.e., users only infect the sentiments of those who are close to them within a given range. Actually, our assumption reduces the complexity when the scale of the social network increases.

4.4.4. D-TFRank Evaluation

During the sentiment propagation, the structure of a social network is dynamically changing as time elapses. For example, a certain user can join or leave the current social network, which is equivalent to the process of node insertion or node deletion from a dynamic social graph.
A dynamic social network is a time-varying social network; it can be represented with a graph, G t = ( V t , E t ) . Here, V t is the set of vertices that represent users, U t , that are a part of the network at time t, and E t is the set of all edges created up to time t. We assume edges and nodes are not only added to the graph but also deleted from the graph. Therefore, we focus on how to estimate the D-TFRank values when nodes are added to or deleted from the graph in this section. The proposed D-TFRank ranking algorithm is presented as follows.
Algorithm 2 describes the calculation of the D-TFRank value of node v i . The D-TFRank algorithm is working as follows: (1) A social network G t at time t is converted to a weighted tree with approach in [38] to generate the tree structure via finding the shortest paths from the focus to every other node in the network by using the shortest path algorithm, such as the Dijkstra and Floyd algorithms (Lines 3–4); (2) The fractal importance and topological importance of each node are calculated according to Equations (3) and (4) (Lines 11–12); (3) Line 13 is intended to estimate the D-TFRank value of each node by multiplying the fractal importance and topological importance.
Algorithm 2: D-TFRank algorithm
1:
Input: Node V t , Social Graph G t = ( V t , E t ) at time t
2:
Output: D-TFRank Value D T F ( v i )
3:
for each node v i in V t
4:
    F l o y d ( G t , v i )
5:
    T = T r e e ( G t , i )
6:
    L = G e t L e v e l ( T ) ;
7:
    L T F = C a l c u l a t e ( L ) ;
8:
   for each node v i in T
9:
       F ( v i ) ;
10:
   end
11:
    F ˜ A ( v i ) = i = 1 L T F j = 1 N ( L i ) ( F C h i l d N o d e s i j ) ( 1 2 ) i
12:
    T ˜ A ( v i ) = i = 1 L T F N ( L i ) ( 1 2 ) i
13:
    D T F ( v i ) = T ˜ A ( v i ) × F ˜ A ( v i )
14:
end
Definition 6
(Sentiment leader identification). Given a sentiment community, C i , and a number, K, the top-Ksentiment leader identification is represented as follows:
U ( C i , K ) : = arg max v i C i K D T F ( v i )
U ( C i , K ) is intended to return the top-K users with maximum D-TFRank value by invoking Algorithm 2 as the sentiment leaders in sentiment community C i .

4.5. Algorithm Description for SentiRank

The proposed SentiRank algorithm consists of the detection of the sentiment communities and the identification of the sentiment leaders in the corresponding sentiment community. Algorithm 3 shows the pseudocode of SentiRank.
SentiRank first detects sentiment communities under two cases of sentiment representation (Lines 1–9), and then it initializes the set of sentiment leaders discovered in the whole network (T) and in each sentiment community ( T 1 , , T m ) as the empty set (Line 11). After the initialization, SentiRank performs the sentiment leader identification and returns the top-K users (Lines 12–14). Finally, the output result, T, can be represented as a set with the elements ( T 1 , , T m ) (Line 15).
Algorithm 3: SentiRank
Require: 
  • Sentiment graph at time t: G t = ( V t , E t , S ) ;
  • Number of sentiment leaders K;
  • Sentiment communities detection cases ID Z
  • 1: positive and negative sentiment system;
  • 2: 5-star sentiment rating system;
Ensure: 
  • T: set of top-K sentiment leaders in the detected sentiment community C;
1:
begin
2:
   switch(Z)
3:
      case 1:
4:
       C detect sentiment communities using Alg. 1;
5:
      break;
6:
      case 2:
7:
       C detect sentiment communities in G t ;
8:
      break;
9:
      end
10:
    m = | C | ;
11:
    T = T 1 = T 2 = = T m = ;
12:
   for i=1 to m do
13:
       T i U ( C i , K ) ;
14:
   end
15:
    T { T 1 , T 2 , , T m } ;
16:
end
Sentiment leader identification in social networks is an NP-hard problem, reducible from influence maximization, meaning that finding exact solutions for large networks with n nodes and m edges is unfeasible. Key components of the problem involve varying computational complexities. Sentiment propagation models, like iterative SentiRank, have a complexity of O ( m · l o g ( 1 / ϵ ) ) for sparse graphs, where ϵ is a small positive parameter defining the convergence threshold. Leader identification algorithms range from greedy approaches with O ( k · n · m ) complexity (where k is the number of leaders to identify) to heuristic centrality metrics with complexities from O ( n + m ) (degree centrality) to O ( n ( m + n l o g n ) ) (betweenness centrality). The preprocessing of sentiment and trust data adds O ( L · P + m ) complexity, with L being the number of sentiment labels and P the number of sentiment-labeled posts. NP—hardness forces the use of approximation algorithms, and real-world scalability depends on graph sparsity, with sparse networks allowing for more efficient linear—scaled solutions through methods like distributed computing. Overall, balancing theoretical intractability and practical scalability is crucial in designing effective algorithms for this task.

5. Experiments and Evaluation

This section evaluates the proposed sentiment leader identification algorithm SentiRank through extensive experiments with the goal of validating its effectiveness for maximizing the sentiment coverage in social networks.

5.1. Datasets

We conducted the experiments of sentiment leader identification in positive/negative sentiment systems using the data collected from Slashdot (http://snap.stanford.edu/data/soc-sign-Slashdot090216.html, accessed on 8 July 2025), which is a technology-related news website known for its specific user community. Its news content covers a wide range of technological fields, including hardware, software, the internet, and more. What is special about Slashdot is that all the news on the website is voluntarily submitted by users, and after being reviewed and selected by editors, it is published on the homepage. Each news story is accompanied by a comments section, where users can actively participate in discussions and express their views. That is to say that Slashdot allows users to tag each other as friends or foes. The network contains friend/foe links between the users of Slashdot. We firstly built the social networks based on the trust relationships between users. Then, we considered their attitudes in the system regarding news in order to determine a user’s sentiment That is to say that they both share the same sentiment if he/she trusts another user’s review. Otherwise, they are in different sentiment communities. Table 1 illustrates the data storage representation of a dataset based on the trust relationships between users.
Table 1 contains three columns (userIDs and the trust/distrust relationship). Each row denotes the trust/distrust relationship between two users. If two users trust reciprocally, they both are considered to share the same sentiments. Otherwise, they have different sentiments. For example, users “1”, “112”, “604”, and “605” share the same sentiment. They should be in the same sentiment community (for example, C 1 ). Since user “1” distrusts user “163” and “522”, they should be in different sentiment communities. Hence, users “163” and “522” are in another sentiment community (for example, C 2 ). Thus, user “483” and user “522” are in sentiment community C 2 .
For the positive/negative sentiment representation system of Case 1, Table 2 presents the statistics of Dataset I which contains 81,871 nodes and 545,671 edges, with 422,349 trust relationships and 123,322 distrust relationships between users.
Figure 4 shows the visualization of this social network. Obviously, the positive sentiment dominates the whole social network, rather than the negative sentiment.
For the five-star rating sentiment representation system of Case 2, we collect the product rating dataset (Dataset II) from TaoBao.com (www.taobao.com, accessed on 8 July 2025), which is the largest E-commerce social networking site with the query keywords of the latest smartphone made by Apple Corporation “Apple iPhone 3GS White (16 GB) Smart phone”. Consequently, we obtained 110 reviews made by 110 customers. Consequently, Figure 5 shows the visualization of this social network.

5.2. Detection of Sentiment Communities

The problem of detecting the sentiment communities is solved using the aforementioned SDP optimization methodology for two types of sentiment representation systems. Let us take Table 1 as an example and obtain the two sentiment communities (positive and negative sentiment communities) under Case 1.
  • C 1 = { 1 , 112 , 604 , 605 }
  • C 2 = { 163 , 522 , 483 }
We run the SDP optimization approach of Case 1 on the Slashdot social network dataset to get the positive and negative sentiment communities. Figure 6a shows the positive sentiment community, including 422,349 positive edges; i.e., the consumers have positive sentiment toward a product. On the contrary, Figure 6b shows the negative sentiment community, including 123,320 negative edges; i.e., the consumers have a negative sentiment on the product.
As shown in Figure 6, the negative sentiment community is quite sparse compared to the positive sentiment community. Hence, this is consistent with real-life sentiment distribution on a product; i.e., most customers hold a positive sentiment on a new product, while a small fraction of customers hold a negative sentiment on the product.
Figure 7 reports the detection results of sentiment communities of Dataset II. We run the SDP optimization approach of Case 2 on Dataset II and obtain five sentiment communities in terms of rating on “Apple iPhone 3GS White (16 GB) Smart phone".

5.3. Identification of Sentiment Leaders

This step is based on the results of sentiment community detection. Therefore, we run various related algorithms of ranking nodes, as well as the SentiRank algorithm, to mine the sentiment leaders from the sentiment communities. The description of the related algorithms of ranking nodes and SentiRank are listed as follows:
  • SentiRank: This is the proposed sentiment community-based identification algorithm for sentiment leader identification.
  • Degree: As a comparison, we provide a simple heuristic algorithm that selects the k vertices with the largest degrees; this heuristic was also evaluated in [39,40]. Formally, the degree-based sentiment leader identification is described as follows.
    U ( C i , K ) : = arg max v i C i K d e g ( v i )
  • Closeness Centrality: The main idea of this algorithm is that the member takes the central position if it can quickly contact other members in the network. The closeness centrality ( C C ) of member v closely depends on the geodesic distance, i.e., the shortest paths from member v to all other people in the social network [41] and is calculated as follows:
    C C ( v ) = N 1 u v , u V d ( u , v )
    where d ( u , v ) is a function describing the distance between nodes u and v, and N is the number of nodes in a network. Formally, the closeness centrality-based sentiment leader identification is described as follows.
    U ( C i , K ) : = arg max v i C i K C C ( v i )
  • Betweenness Centrality: The betweenness centrality ( B C ) of member v pinpoints the extent to which v is between other members. Members with a high B C are very important to the network because other members can connect with each other only through them. The B C of member v is the sum of all the outcomes [42,43]:
    B C ( v ) = i v j , i , j V s i j ( v ) s i j
    where s i j ( v ) is the number of the shortest paths from i to j that pass through v; s i j is the number of all the shortest paths between i and j. N is the number of nodes in a network. Formally, the betweenness centrality-based sentiment leader identification is described as follows.
    U ( C i , K ) : = arg max v i C i K B C ( v i )
  • Random: As a baseline comparison, we simply select k random nodes as the sentiment leaders in the graph; this method was also adopted in [44].

5.4. Evaluation Metrics

To evaluate the performance of the proposed SentiRank algorithm from perspectives on the link structure and content, the one-step sentiment coverage and all-path sentiment coverage are introduced.
One-step sentiment coverage: One-step sentiment coverage is defined as the number of nodes that are directly infected via this set of nodes. This is a special case of sentiment coverage.
All-path sentiment coverage: All-path sentiment coverage is defined as the number of nodes that are directly or indirectly infected via this set of nodes. This is a general concept of sentiment coverage.
To obtain the sentiment coverage of the above algorithms, we incorporate the topological information of the social network; e.g., if two nodes are connected with a link and have the same sentiment, there exists a sentiment interaction/sentiment propagation between them. However, in the sentiment communities, this type of tropology is broken and divided into some substructures of the social network. For all these algorithms, we compare the sentiment coverage at a given time is subjected to different seed sets with the size ranging from 1 to 46 and with the step width = 5 in Dataset I. For Dataset II, we compare the sentiment coverage subject to different seed sets with the size ranging from 1 to 5 and with the step width = 1. Then, we evaluate the sentiment coverage of SentiRank with respect to sentiment communities for two datasets.

5.5. Experimental Results and Analysis

We performed independent t-tests to compare the mean sentiment coverage between SentiRank and each baseline method. The results are summarized in Table 3.
For the experimental results presented in Table 3, statistical analyses were conducted across multiple baselines. The homogeneity of variance (p-values for homogeneity: 0.9887 for degree, 0.9441 for closeness, 0.9437 for betweenness, and 0.0339 for random) varied among the baselines. The T-statistics were +1.1004 (degree), +2.1566 (closeness), +1.7450 (betweenness), and +7.0184 (random). Corresponding p-values were 0.2857 (degree, non-significant), 0.0448 (closeness, significant at conventional levels), 0.0980 (betweenness, marginally non-significant), and 0.0000 (random, highly significant). Effect sizes (d) were +0.4921 (degree), +0.9644 (closeness), +0.7804 (betweenness), and +3.1387 (random). Overall, closeness and random baselines demonstrated significant effects (*), while degree did not reach significance, and betweenness was marginally non-significant, indicating differential impacts across these network-related baselines in the experiment.
Table 4 and Table 5 present statistical analyses of experimental results for different baselines (degree, closeness, betweenness, and random) under α = 0.05. In Table 4, for Figure 8, the random baseline shows a significant result (marked with *) due to a low p-value (0.0019), large t-statistic (+4.5596), and high effect size (+2.8838), while others have non-significant p-values. In Table 5, for Figure 9, the random baseline also has a significant result (p-value = 0.0104) with a notable t-statistic (+3.3265) and effect size (+2.1039), and the other baselines have higher p-values, indicating non-significance. Overall, the random baseline demonstrates significant effects in both analyses compared to the other baselines.
We denote the sentiment community with five stars as C 5 . The top five sentiment leaders are identified via SentiRank. U ( C 5 , 5 ) = { 616 , 620 , 645 , 670 , 692 } . Figure 9 and Figure 10 show the one-step sentiment coverage and all-path sentiment coverage of different algorithms in terms of various K values. In both cases, the performance of our proposed algorithm SentiRank is the same as the degree-based algorithm [44]. However, the closeness-based algorithm [45] is worse than the degree-based algorithm and SentiRank.
As shown in Table 4 and Table 5, the statistical analysis shows that the inter-group differences between the SentiRank and random methods are statistically significant (p < 0.05) and have a large effect size, indicating the high reliability of the results. Therefore, their practical significance can be discussed in detail.
In the sentiment communities with three stars C 3 and with one star C 1 , there are 6 and 16 users within the corresponding sentiment community, respectively. In both cases, this customer is the sentiment leader in the corresponding sentiment community.
The problem addressed in this paper and the proposed solution are benefit to social marketing and social advertising. Identifying the sentiment leaders in social networks can help businesses understand what consumers are thinking about their products (http://venturebeat.com/2011/03/20/why-sentiment-analysis-is-the-future-of-ad-optimization/, accessed on 10 March 2025). Nowadays, social measurement for companies is becoming pervasive in marketing organizations. Identifying the sentiment leaders can help businesses track in real time how a new product has been spreading and decide what opinions to re-promote in order to grease the wheels of message spread. By analyzing the sentiment of users and sentiment leaders, marketers are able to predict exactly how a marketing campaign will perform and, in real time, incorporate strategies into the campaign.
In addition, exploring whether sentiment leaders predominantly share positive or negative sentiments, and how their influence correlates with specific topics (e.g., politics, culture, or consumer trends), would indeed enrich the analysis. This could reveal whether their impact stems from reinforcing existing emotional biases or challenging them and whether certain themes inherently attract more emotional leadership. Such depth would clarify whether these leaders operate as niche emotional curators or cross-topic influencers, enhancing the understanding of their role in shaping network-wide emotional dynamics.

6. Conclusions

Online sentiments have become a valuable source of information for analyzing the latent structure of social networks. In this paper, we have presented the concepts of the sentiment graph and a sentiment community, and we have further proposed a sentiment leader identification framework and associated algorithms of SentiRank to identify sentiment leaders in sentiment communities. The proposed framework consists of sentiment community detection and ranking the nodes on the selected sentiment communities to identify the sentiment leaders. For sentiment community detection, we have studied the detection algorithms with two sentiment representation systems through the SDP optimization approach. To rank the nodes in sentiment communities, we have proposed a D-TFRank-based ranking model. The experimental results demonstrate that SentiRank outperforms the other existing algorithms in terms of one-step sentiment coverage and all-path sentiment coverage. Investigating the sentiment leader identification problem can bring various benefits to social marketing or advertising, such as adjusting and improving advertising strategies, predicting exactly how a marketing campaign will perform, and improving the reputation of products.

Author Contributions

Investigation, Writing—original draft preparation, J.H. Investigation, Formal Analysis, B.L. Methodology, Validation, J.N. Software, Writing-Reviewing & Editing, G.P. Conceptualization, Methodology, Supervision, Writing—review and editing, F.H. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded in part by the National Natural Science Foundation of China (Grant No. 62477029, 61702317), the Ministry of Education Humanities and Social Sciences Research Youth Fund Project (Grant No. 22YJCZH046), the Guangxi Key Research and Development Program (Grant No. Guike AB24010297), and the Fundamental Research Funds for the Central Universities, China (No.GK202505028).

Informed Consent Statement

Not applicable.

Data Availability Statement

The data will be available upon request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Liu, Z.; Yang, L.; Fan, Z.; Peng, H.; Yu, P.S. Federated social recommendation with graph neural network. ACM Trans. Intell. Syst. Technol. 2022, 13, 1–24. [Google Scholar] [CrossRef]
  2. Nisar, T.M.; Prabhakar, G.; Strakova, L. Social media information benefits, knowledge management and smart organizations. J. Bus. Res. 2019, 94, 264–272. [Google Scholar] [CrossRef]
  3. Chakraborty, K.; Bhattacharyya, S.; Bag, R. A survey of sentiment analysis from social media data. IEEE Trans. Comput. Soc. Syst. 2020, 7, 450–464. [Google Scholar] [CrossRef]
  4. Chen, J.; Song, N.; Su, Y.; Zhao, S.; Zhang, Y. Learning user sentiment orientation in social networks for sentiment analysis. Inf. Sci. 2022, 616, 526–538. [Google Scholar] [CrossRef]
  5. Singh, M.; Jakhar, A.K.; Pandey, S. Sentiment analysis on the impact of coronavirus in social life using the BERT model. Soc. Netw. Anal. Min. 2021, 11, 33. [Google Scholar] [CrossRef]
  6. Fu, Y.; Liu, Y. Contrastive transformer based domain adaptation for multi-source cross-domain sentiment classification. Knowl. Based Syst. 2022, 245, 108649. [Google Scholar] [CrossRef]
  7. Gan, C.; Tang, Y.; Fu, X.; Zhu, Q.; KumarJain, D.; García, S. Video multimodal sentiment analysis using cross-modal feature translation and dynamical propagation. Knowl. Based Syst. 2024, 299, 111982. [Google Scholar] [CrossRef]
  8. He, Q.; Yan, X.; Jolfaei, A.; Tolba, A.; Yu, K.; Fu, Y.; Cai, Y. Influence Maximization in Sentiment Propagation With Multisearch Particle Swarm Optimization Algorithm. IEEE Trans. Comput. Soc. Syst. 2025, 12, 1365–1375. [Google Scholar] [CrossRef]
  9. Singh, U.; Abhishek, K.; Azad, H.K. A survey of cutting-edge multimodal sentiment analysis. ACM Comput. Surv. 2024, 56, 1–38. [Google Scholar] [CrossRef]
  10. Fan, M.; Kong, M.; Wang, X.; Hao, F.; Zhang, C. FITE-GAT: Enhancing aspect-level sentiment classification with FT-RoBERTa induced trees and graph attention network. Expert Syst. Appl. 2025, 264, 125890. [Google Scholar] [CrossRef]
  11. Liu, Y.; Liu, D.; Chen, Y. Research on sentiment tendency and evolution of public opinions in social networks of smart city. Complexity 2020, 2020, 1–13. [Google Scholar] [CrossRef]
  12. An, L.; Zhou, W.; Ou, M.; Li, G.; Yu, C.; Wang, X. Measuring and profiling the topical influence and sentiment contagion of public event stakeholders. Int. J. Inf. Manag. 2021, 58, 102327. [Google Scholar] [CrossRef]
  13. Dragoni, M. An evolutionary strategy for concept-based multi-domain sentiment analysis. IEEE Comput. Intell. Mag. 2019, 14, 18–27. [Google Scholar] [CrossRef]
  14. Wang, X.; Jin, D.; Musial, K.; Dang, J. Topic enhanced sentiment spreading model in social networks considering user interest. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; pp. 989–996. [Google Scholar]
  15. Sun, J.; Gong, Z.; Song, H.; Xu, Y.; Lin, J.F.Y. Multiple criteria decision modeling in social networks: An application to identify opinion leaders in online public opinion events. Expert Syst. Appl. 2024, 249, 123591. [Google Scholar] [CrossRef]
  16. Chen, J.; Kou, G.; Wnag, H.; Zhao, Y. Influence identification of opinion leaders in social networks: An agent-based simulation on competing advertisements. Inf. Fusion 2021, 76, 227–242. [Google Scholar] [CrossRef]
  17. Chen, Z.; Xu, B.; Cai, T.; Yang, Z.; Liao, X. A dynamic emotional propagation model over time for competitive environments. Electronics 2023, 12, 4937. [Google Scholar] [CrossRef]
  18. Hung, C.C.; Gao, X.; Liu, Z.; Chai, Y.; Liu, T.; Liu, C. Cecm: A cognitive emotional contagion model in social networks. Multimed. Tools Appl. 2024, 83, 1001–1023. [Google Scholar] [CrossRef]
  19. Yin, F.; Xia, X.; Zhang, X.; Zhang, M.; Lv, J.; Wu, J. Modelling the dynamic emotional information propagation and guiding the public sentiment in the Chinese Sina-microblog. Appl. Math. Comput. 2021, 396, 125884. [Google Scholar] [CrossRef]
  20. Kirigin, T.B.; Babic, S.B.; Perak, B. Graph-Based Lexical Sentiment Propagation Algorithm. Mathematics 2025, 13, 1141. [Google Scholar] [CrossRef]
  21. Wang, D.; Li, J.; Xu, K.; Wu, Y. Sentiment community detection: Exploring sentiments and relationships in social networks. Electron. Commer. Res. 2017, 17, 103–132. [Google Scholar] [CrossRef]
  22. Wu, H.; Lin, J. Adaptive Inverse Nonlinear Optimal Control Based on Finite-Time Concurrent Learning and Semidefinite Programming. IEEE Trans. Cybern. 2024, 54, 5926–5937. [Google Scholar] [CrossRef]
  23. Mironowicz, P. Semi-definite programming and quantum information. J. Phys. Math. Theor. 2024, 57, 163002. [Google Scholar] [CrossRef]
  24. Sudoso, A.M. A Semidefinite Programming-Based Branch-and-Cut Algorithm for Biclustering. Informs J. Comput. 2024. [Google Scholar] [CrossRef]
  25. Shinde, N.; Narayanan, V.; Saunderson, J. Memory-efficient structured convex optimization via extreme point sampling. SIAM J. Math. Data Sci. 2021, 3, 787–814. [Google Scholar] [CrossRef]
  26. Han, Q.; Li, C.; Lin, Z.; Chen, C.; Deng, Q.; Ge, D.; Liu, H.; Ye, Y. A Low-Rank ADMM Splitting Approach for Semidefinite Programming. arXiv 2024, arXiv:2403.09133. [Google Scholar]
  27. Brandão, F.G.S.L.; Kalev, A.; Li, T.; Lin, C.Y.; Svore, K.M.; Wu, X. Quantum SDP solvers: Large speed-ups, optimality, and applications to quantum learning. arXiv 2017, arXiv:1710.02581. [Google Scholar]
  28. Zhang, R. On the tightness of semidefinite relaxations for certifying robustness to adversarial examples. Adv. Neural Inf. Process. Syst. 2020, 33, 3808–3820. [Google Scholar]
  29. Yau, M.; Karalias, N.; Lu, E.; Xu, J.; Jegelka, S. Are graph neural networks optimal approximation algorithms? Adv. Neural Inf. Process. Syst. 2024, 37, 73124–73181. [Google Scholar]
  30. Wu, K.; Hu, J.; Lennox, B.; Arvin, F. SDP-based robust formation-containment coordination of swarm robotic systems with input saturation. J. Intell. Robot. Syst. 2021, 102, 12. [Google Scholar] [CrossRef]
  31. Chen, W.; Wang, Y.; Yang, S. Efficient influence maximization in social networks. In Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Paris, France, 28 June 2009–1 July 2009; pp. 199–208. [Google Scholar]
  32. Kumar, S.; Mallik, A.; Khetarpal, A.; Panda, B.S. Influence maximization in social networks using graph embedding and graph neural network. Inf. Sci. 2022, 607, 1617–1636. [Google Scholar] [CrossRef]
  33. Hu, E.; Wang, B. A new optimization in SDP-based learning. Neurocomputing 2019, 365, 10–20. [Google Scholar] [CrossRef]
  34. Tate, R.; Farhadi, M.; Herold, C.; Mohler, G.; Gupta, S. Bridging classical and quantum with SDP initialized warm-starts for QAOA. ACM Trans. Quantum Comput. 2023, 4, 1–39. [Google Scholar] [CrossRef]
  35. Lofberg, J. Yalmip: A toolbox for modeling and optimization in matlab. In Proceedings of the 2004 IEEE International Conference on Robotics and Automation, Taipei, Taiwan, 2–4 September 2004; pp. 284–289. [Google Scholar]
  36. Hao, F.; Wang, H. Tfrank: An evaluation of users importance with fractal views in social networks. Int. J. Comput. Inf. Eng. 2011, 5, 1654–1659. [Google Scholar]
  37. Yang, C.C.; Sageman, M. Analysis of terrorist social networks with fractal views. J. Inf. Sci. 2009, 35, 299–320. [Google Scholar] [CrossRef]
  38. Saha, B.; Williams, V.V.; Xu, Y.; Ye, C. Fine-Grained Optimality of Partially Dynamic Shortest Paths and More. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, New Orleans, LA, USA, 12–15 January 2025; pp. 5147–5190. [Google Scholar]
  39. Adineh, M.; Nouri-Baygi, M. Maximum degree based heuristics for influence maximization. In Proceedings of the 8th IEEE International Conference on Computer and Knowledge Engineering, Mashhad, Iran, 25–26 October 2018; pp. 256–261. [Google Scholar]
  40. Zhang, B.; Bai, Y.; Zhang, Q.; Lian, J.; Li, M. An opinion-leader mining method in social networks with a phased-clustering perspective. IEEE Access 2020, 8, 31539–31550. [Google Scholar] [CrossRef]
  41. Azzimonti, M.; Fernandes, M. Social media networks, fake news, and polarization. Eur. J. Political Econ. 2023, 76, 102256. [Google Scholar] [CrossRef]
  42. Yang, L.; Wang, Z. A Study of Competitive Influence Propagation Based on Heuristic Betweenness Centrality in Social Networks. Int. J. Netw. Secur. 2025, 27, 414–421. [Google Scholar]
  43. Zhang, Q.; Deng, R.; Ding, K.; Li, M. Structural analysis and the sum of nodes’ betweenness centrality in complex networks. Chaos Solitons Fractals 2024, 185, 115158. [Google Scholar] [CrossRef]
  44. Kazemzadeh, F.; Safaei, A.A.; Mirzarezaee, M. Influence maximization in social networks using effective community detection. Phys. Stat. Mech. Its Appl. 2022, 598, 127314. [Google Scholar] [CrossRef]
  45. Oettershagen, L.; Mutzel, P. Computing top-k temporal closeness in temporal networks. Knowl. Inf. Syst. 2022, 64, 507–535. [Google Scholar] [CrossRef]
Figure 1. The framework of SentiRank.
Figure 1. The framework of SentiRank.
Electronics 14 02751 g001
Figure 2. Sentiment graph construction. Nodes represent users; edges reflect pairwise sentiment agreement (derived from trust) or disagreement (derived from distrust) about a shared product/topic. No product/topic nodes are included—sentiments are user-to-user relationships in the context of a common item. (a) Social network with trust/distrust relationships. (b) Sentiment graph.
Figure 2. Sentiment graph construction. Nodes represent users; edges reflect pairwise sentiment agreement (derived from trust) or disagreement (derived from distrust) about a shared product/topic. No product/topic nodes are included—sentiments are user-to-user relationships in the context of a common item. (a) Social network with trust/distrust relationships. (b) Sentiment graph.
Electronics 14 02751 g002
Figure 3. The correlation between L and L T F based on the simulated data.
Figure 3. The correlation between L and L T F based on the simulated data.
Electronics 14 02751 g003
Figure 4. Visualization of Dataset I.
Figure 4. Visualization of Dataset I.
Electronics 14 02751 g004
Figure 5. Visualization of Dataset II.
Figure 5. Visualization of Dataset II.
Electronics 14 02751 g005
Figure 6. Positive and negative sentiment communities of Dataset I. (a) Positive sentiment community including 422,349 postive edges; (b) negative sentiment community including 123,320 negative edges.
Figure 6. Positive and negative sentiment communities of Dataset I. (a) Positive sentiment community including 422,349 postive edges; (b) negative sentiment community including 123,320 negative edges.
Electronics 14 02751 g006
Figure 7. Sentiment Communities of Dataset II.
Figure 7. Sentiment Communities of Dataset II.
Electronics 14 02751 g007
Figure 8. One-step sentiment coverage of various algorithms in positive sentiment community of Dataset I.
Figure 8. One-step sentiment coverage of various algorithms in positive sentiment community of Dataset I.
Electronics 14 02751 g008
Figure 9. One-step sentiment coverage of various algorithms in sentiment community with five stars of Dataset II.
Figure 9. One-step sentiment coverage of various algorithms in sentiment community with five stars of Dataset II.
Electronics 14 02751 g009
Figure 10. All-path sentiment coverage of various algorithms in sentiment community with five stars of Dataset II.
Figure 10. All-path sentiment coverage of various algorithms in sentiment community with five stars of Dataset II.
Electronics 14 02751 g010
Table 1. Data structure of DataSets.
Table 1. Data structure of DataSets.
UserIDUserIDTrust(+1)/Distrust(−1)
1112+1
1163−1
1522−1
1604+1
1605+1
522483+1
Table 2. Dataset I Statistics.
Table 2. Dataset I Statistics.
NodesEdgesTrustDistrust
Statistics81,871545,671422,349123,322
Table 3. Statistical analysis for experimental results of Figure 7 ( α = 0.05).
Table 3. Statistical analysis for experimental results of Figure 7 ( α = 0.05).
BaselinesHomogeneity of Var. (p)t-Statisticp-ValueEffect Size (d)Signf.
Degree0.9887+1.10040.2857+0.4921
Closeness0.9441+2.15660.0448+0.9644*
Betweenness0.9437+1.74500.0980+0.7804
Random0.0339+7.01840.0000+3.1387*
Remark: * denotes that the p-value is less than 0.05, indicating a significant impact.
Table 4. Statistical analysis for experimental results of Figure 8 ( α = 0.05).
Table 4. Statistical analysis for experimental results of Figure 8 ( α = 0.05).
BaselinesHomogeneity of Var. (p)t-Statisticp-ValueEffect Size (d)Signf.
Degree0.5237+0.93420.3775+0.5908
Closeness0.5237+0.93420.3775+0.5908
Betweenness0.6163+0.97170.3597+0.6145
Random0.4088+4.55960.0019+2.8838*
Remark: * denotes that the p-value is less than 0.05, indicating a significant impact.
Table 5. Statistical analysis for experimental results of Figure 9 ( α = 0.05).
Table 5. Statistical analysis for experimental results of Figure 9 ( α = 0.05).
BaselinesHomogeneity of Var. (p)t-Statisticp-ValueEffect Size (d)Signf.
Degree0.9548+0.35600.7310+0.2252
Closeness0.8640+0.86390.4128+0.5464
Betweenness0.9541+0.47780.6455+0.3022
Random0.4616+3.32650.0104+2.1039*
Remark: * denotes that the p-value is less than 0.05, indicating a significant impact.
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

Huang, J.; Lan, B.; Nong, J.; Pang, G.; Hao, F. SentiRank: A Novel Approach to Sentiment Leader Identification in Social Networks Based on the D-TFRank Model. Electronics 2025, 14, 2751. https://doi.org/10.3390/electronics14142751

AMA Style

Huang J, Lan B, Nong J, Pang G, Hao F. SentiRank: A Novel Approach to Sentiment Leader Identification in Social Networks Based on the D-TFRank Model. Electronics. 2025; 14(14):2751. https://doi.org/10.3390/electronics14142751

Chicago/Turabian Style

Huang, Jianrong, Bitie Lan, Jian Nong, Guangyao Pang, and Fei Hao. 2025. "SentiRank: A Novel Approach to Sentiment Leader Identification in Social Networks Based on the D-TFRank Model" Electronics 14, no. 14: 2751. https://doi.org/10.3390/electronics14142751

APA Style

Huang, J., Lan, B., Nong, J., Pang, G., & Hao, F. (2025). SentiRank: A Novel Approach to Sentiment Leader Identification in Social Networks Based on the D-TFRank Model. Electronics, 14(14), 2751. https://doi.org/10.3390/electronics14142751

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