Hyperbolic graph convolution-based social platform rumor detection method and system

By using a hyperbolic graph convolutional network in hyperbolic space, combined with a top-down propagation structure and a bottom-up diffusion structure, the limitations of constructing a rumor propagation structure in Euclidean space in the existing technology are solved properties, achieving more efficient rumor detection results.

CN118733962APending Publication Date: 2024-10-01ZHEJIANG UNIV OF TECH

Patent Information

Application Number
CN202410760681.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing rumor detection technology constructs a rumor propagation structure in Euclidean space, which results in restricted information propagation in complex networks and tree structures. It loses the potential relationships of the rumor propagation structure and makes it difficult to effectively capture the high-dimensional features of the tree structure. .

Method used

The hyperbolic graph convolution network is used to map the propagation structure and text information of the rumor data set to the hyperbolic space. Through the top-down propagation structure and the bottom-up diffusion structure, the high-dimensional rumor propagation in the hyperbolic plane is extracted. features, and design targeted loss functions to enhance the accuracy of the model.

Benefits of technology

Through hyperbolic space mapping, we can better capture the high-dimensional information of the rumor propagation structure, improve the accuracy of rumor detection and the discrimination ability of the model, and effectively detect rumors in social networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733962A_ABST
    Figure CN118733962A_ABST
Patent Text Reader

Abstract

The invention discloses a social platform rumor detection method and device based on hyperbolic graph convolution. The method comprises the steps that S1, a data set is preprocessed to generate corresponding structure and text data; s2, generating an adjacent matrix and a feature matrix through diffusion and propagation structures of the rumor tree; s3, constructing a model framework, and generating hyperbolic space features; s4, generating comparative positive and negative samples in the same batch of data, designing a loss function, and repeatedly training the model; and S5, inputting test set data into the trained model to obtain a rumor classification result. According to the method, a tree structure is constructed on a hyperbolic space, text representation is combined, rumor detection is carried out, a hyperbolic graph convolution processing event propagation structure is innovatively adopted, and a high-accuracy rumor detection model is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of rumor detection and network science, and in particular to a social platform rumor detection method and system based on hyperbolic graph convolution. Background Art

[0002] With the development of social media platforms and artificial intelligence technology, rumors and false information spread more and more rapidly on the Internet. When people obtain information, they face the dilemma of distinguishing the truth from the false. Especially in an environment where things are rapidly fermenting, some false information lacks reliability, but can quickly form public opinion, cause social panic, mislead decision-making, and affect social stability. The research and development of rumor detection technology can help to meet the challenges of the information age, improve the public's trust in information, and maintain social stability and security.

[0003] With the development of technology, deep learning and other methods are playing an increasingly important role in rumor detection, such as self-attention models and convolutional neural networks. These methods have improved the accuracy of rumor detection. They can spontaneously learn feature vectors from the text, pictures, and structure of rumors, effectively capturing the potential relationship between posts in dissemination. However, these methods focus on rumor text information but fail to fully utilize rumor dissemination information. Therefore, some recent studies have also further incorporated dissemination structure information into rumor detection models through graph neural network methods.

[0004] Existing rumor detection technologies, such as CN202210025558.X, proposed a rumor detection method based on a multi-layer coding network, which mines the characteristics of rumor propagation through a word embedding model and a multi-layer coding network to obtain rumor classification results. CN202210385730.2 proposed a multi-view rumor detection method based on an attention mechanism, which further considered multi-view modeling including content propagation view and user propagation view, forming a more complete and three-dimensional propagation view.

[0005] The above technical solutions have improved the detection technology to a certain extent and increased the accuracy of rumor detection. However, the above methods still remain in the construction of rumor propagation structure in Euclidean space. In Euclidean space, the limitation of plane space will lead to the restriction of network propagation information, especially in complex networks and tree-structured networks, resulting in the loss of potential relationships in the rumor propagation structure. Summary of the invention

[0006] The present invention aims to overcome the above-mentioned shortcomings of the prior art and provide a method and system for detecting rumors on a social platform based on hyperbolic graph convolution.

[0007] The present invention utilizes the propagation structure and text information of the rumor data set, combined with the rumor tree features in the hyperbolic space, and enhances the propagation structure and node features of the data through the top-down propagation structure and the bottom-up diffusion structure. By applying these two to the hyperbolic space, the spatial characteristics of the tree structure can be better captured, and the high-dimensional features of rumor propagation based on the hyperbolic plane can be extracted. And by generating targeted positive and negative samples in the events in the same batch, the distance between the event and the positive sample is shortened, the difference between the event and the negative sample is strengthened, and a targeted loss function is designed to improve the accuracy of rumor detection.

[0008] Specifically, the present invention detects anomalies mainly through exponential mapping and logarithmic mapping, realizes the mapping of rumor trees from Euclidean space to hyperbolic space, and obtains propagation characteristics in hyperbolic space through spatial transformation. This feature can better reflect the high-dimensional spatial information carried by the propagation tree, can better capture the differences between rumors, improve the accuracy of the model, and more effectively detect rumors on social networks. The overall model is divided into two steps. The first part is model input processing and graph structure generation. The adjacency matrix and feature matrix are generated by cleaning and regularizing the data, and are divided into two methods: diffusion and propagation. The second part is to aggregate features in the hyperbolic convolutional network and enhance the feature roots, perform comparative learning of positive and negative samples in the same batch, design loss functions, and update model parameters. Rumor detection under this method enhances the structural aggregation of rumor structures through hyperbolic space, thereby improving the accuracy of the model. The technical scheme adopted by the present invention to achieve the above-mentioned invention purpose is as follows:

[0009] A method for detecting rumors on social platforms based on hyperbolic graph convolution includes the following steps:

[0010] S1: Data preprocessing: Process the event data according to the actual situation, including data cleaning and data packaging, obtain the propagation structure and text representation based on the rumor dataset, and use it as a training set and test set;

[0011] S2: Feature generation: add graph perturbations and construct corresponding adjacency matrices and feature matrices through top-down propagation structures and bottom-up diffusion structures respectively;

[0012] S3: Model construction: Input the text representation and propagation structure processed in the above steps into the model, construct the propagation structure in the hyperbolic space through the Hyperbolic Graph Convolutional Neural Networks (HGCN) module, and combine it with the text representation to extract the hyperbolic features of rumor propagation;

[0013] S4: Contrastive learning: Combined with the graph structure features in the hyperbolic space, through the rumor labels, targeted positive and negative samples are generated in the same batch of samples, the distance between them is shortened and the distance between them and the negative samples is extended, the loss function is designed, and the parameters of the model are updated;

[0014] S5: Input the structural information and sentence features of the test set into the trained model to obtain the rumor classification results.

[0015] Furthermore, in step S1:

[0016] S1.1: First, process the event data according to the actual situation and define the propagation tree as a graph in represents the set of social network users who have forwarded the message M, where s represents the source user, Represents the forwarding relationship between users. It is a collection of comments posted by users. Corresponding to Release time;

[0017] S1.2: For text, the BERT-SimCSE (Simple Contrastive Learning of Sentence Embeddings) model is used to represent and generate sentences. The source post and its reply comments can be converted into node features for each user, specifically represented as As from The feature matrix extracted from the source posts and comments of , where d is the dimension of the feature matrix;

[0018] S1.3: Regarding the structure, by clarifying the root node of each rumor tree and its propagation structure, the generated files are integrated separately.

[0019] Furthermore, in step S2:

[0020] S2.1: Based on the rumor event N, we can Constructing the adjacency matrix of the rumor propagation tree

[0021]

[0022] This constitutes a top-down propagation structure (Top-Down-Tree);

[0023] A TD =AA drop (2)

[0024] S2.2: Calculate the bottom-up propagation structure based on the rumor propagation tree (Button-Up-Tree);

[0025] A BU =(A TD ) T (3)

[0026] S2.3: In each batch, A discards edges at a certain ratio. The specific operations include: discarding some original edges, randomly adding edges, and exchanging some original edges; adding perturbations to the graph features to generate a structure with perturbations. Similarly, A can be obtained. TD ′ and A BU ′;

[0027] S2.4: For the feature matrix X, by randomly masking the text embedding therein, the enhanced text data X′ can be obtained.

[0028] Furthermore, in step S3:

[0029] S3.1: Since there is no concept of vector space structure in hyperbolic space, exponential mapping and logarithmic mapping are used to realize Euclidean transformation on tangent space.

[0030]

[0031]

[0032] Among them, x E is the representation of the feature in Euclidean space, x H represents the mapping of features on the hyperbolic space, K represents the curvature of the hyperbolic space, represents the Riemann metric tensor, First, the node v is mapped by index i The property x of is mapped from the tangent space to the hyperbolic space by exponential mapping at the origin, and we get x H :

[0033]

[0034] A graph convolution module can be applied to aggregate its local information in the subgraph and embed the hierarchical information for each node at the same time. Aggregation is performed directly at each center point , because this is where the Euclidean approximation is best. Specifically, a single layer l of hyperbolic convolution with learned curvature K can be written as:

[0035]

[0036] in, represents hyperbolic matrix multiplication, represents hyperbolic matrix addition, specifically:

[0037]

[0038] A TD and A BU Through the hyperbolic graph convolution network, we can get H TD,H and H BU,H , where H H represents the high-dimensional feature vector that ultimately lies in the hyperbolic space;

[0039] S3.2: Then enhance its root features. For each HGCN output, connect the node's feature vector with the feature of the root node at the previous HGCN to construct a new feature matrix, as shown below:

[0040]

[0041] in, Using mean pooling to aggregate the information from these two sets of node representations, we can get the hidden layer output H out1 ;

[0042] H out1 =concat(mean(H TD ), mean(H BU )) (13)

[0043] S3.3: For the enhanced representation vector A TD ′,A BU′ The hyperbolic graph convolution representation H of X′ out2 , the calculation method is the same as above;

[0044] S3.4: Get the corresponding graph representation H encoded by HGCN before and after the perturbation out1 and the enhanced graph representation H out2 Finally, connect them together to get H;

[0045] H = concat(H out1 , H out2 ) (14)

[0046] Here, the mean pooling operation is used to aggregate the information representing the node set, h a =mean(H).

[0047] Furthermore, in step S4:

[0048] S4.1: For the post features h in a batch k , according to the known sample label, the same category as the positive sample h p, different categories are used as negative samples h n , we can get the supervised loss function as follows:

[0049]

[0050] S4.2: Compare the predicted label with the true label of the sample. The cross entropy loss formula is as follows:

[0051]

[0052] S4.3: Therefore, the total loss function includes the above supervised loss and cross entropy loss function.

[0053] L=L ce +βL sup (17)

[0054] Furthermore, in step S5:

[0055] S5.1: Input the graph structure adjacency matrix and feature matrix obtained by calculating the structure information and text information of the test set data in step S2 into the trained model;

[0056] S5.2: Compute the embedding representation of the rumor tree in the test set in hyperbolic space;

[0057] S5.3: Through the linearization module and feature dimensionality reduction extraction, the prediction structure of the rumor is obtained, and compared with the true label to obtain the prediction accuracy of the model.

[0058] A system for implementing a social platform rumor detection method based on hyperbolic graph convolution of the present invention includes a rumor tree construction module, a graph structure generation module, a hyperbolic graph convolution module, a contrastive learning module and a rumor detection model;

[0059] The rumor tree construction module: based on the rumor data set, preprocesses the data to generate the corresponding tree structure file and text representation;

[0060] The graph structure generation module fills or deletes data, adds graph disturbance, and generates corresponding node relationships and adjacency matrices based on the propagation and diffusion relationship of rumors;

[0061] The hyperbolic graph convolution module maps the generated data features to the hyperbolic space for graph convolution, aggregates text and structural features, and extracts rumor hyperbolic features;

[0062] The comparative learning module: in each training batch, find rumor features of different categories from the sample events as negative samples, and rumor features of the same category as positive samples, calculate the similarity scores between the two, narrow the distance between the positive samples and reduce the similarity between the negative samples, design the loss function through the feature structure, and continuously update the model parameters;

[0063] The rumor detection module inputs the structural information and text information of the test set into the trained model to obtain the final rumor classification result.

[0064] Hyperbolic space is different from traditional Euclidean space in that its constant curvature is negative, while the curvature of common Euclidean space is zero. Many real-world graphs, such as protein interaction networks and social networks, often exhibit scale-free or hierarchical structures. The Euclidean embedding used by existing graph convolutional networks often leads to high distortion when learning such graphs. As a tree-structured network, the number of nodes within a certain radius from the central node of the rumor propagation network grows exponentially. However, the volume of the ball in Euclidean space only grows polynomially with respect to the radius, which is the reason for the high-distortion embedding. In hyperbolic space, this volume can grow exponentially, which can better capture the branching and hierarchical relationships of rumor propagation. Further application of convolutional network technology in hyperbolic space, mapping the network structure onto the Lorentz surface, and performing feature aggregation calculations can more completely capture the high-dimensional relationships and potential representations of the propagation structure.

[0065] The present invention uses hyperbolic space to enhance the relevance and learning representation of propagation tree nodes, focuses on the problem of false information in news events on social platforms, mines the high-dimensional structural features of rumor trees based on hyperbolic space, and performs rumor detection. The present invention realizes the conversion of propagation structures between Euclidean space and hyperbolic space through exponential and logarithmic mapping, and reduces the space loss when calculating tree structure embedding through hyperbolic graph convolutional network. This hyperbolic feature can better capture the high-dimensional information of rumors, further improving the accuracy of rumor detection.

[0066] Since hyperbolic space has better hierarchical structure expression ability than Euclidean space, this paper proposes a rumor detection method based on hyperbolic space for the first time. This method aims to obtain hyperbolic rumor features that are more in line with the tree network space structure by using hyperbolic graph convolutional networks to fit the news and user comments on social media, and better realize rumor detection and classification by combining hyperbolic space rumor features with graph convolution technology. The main innovations are as follows:

[0067] (1) In the construction of the comment network, the conversion of the propagation structure between Euclidean space and hyperbolic space is realized through exponential and logarithmic mapping. The hyperbolic graph convolutional network is used to reduce the space loss when calculating the tree structure embedding. This hyperbolic rumor feature can better capture the high-dimensional information of the rumor and further improve the accuracy of rumor detection.

[0068] (2) Based on the hyperbolic space, the propagation and diffusion characteristics of rumors are considered, and the top-down propagation structure and bottom-up diffusion structure of rumors are distinguished; the top-down propagation structure is used to capture the causal characteristics of rumor propagation, while the bottom-up structure amplifies the diffusion characteristics of rumors and enhances the root node data on this basis.

[0069] (3) By defining and sampling positive and negative samples and utilizing the hierarchical relationship between different types of rumors, we pull in similar feature information and amplify the differences between different types of rumors. We also design a corresponding loss function, increase the supervised loss, and improve the accuracy of rumor distinction.

[0070] The rumor propagation network has a relatively complex tree structure, which leads to a high deformation in Euclidean space, while the hyperbolic space can better preserve the spatial distance between tree structure nodes. The core part of the present invention is the rumor detection technology on the hyperbola - using the hyperbolic graph convolutional network to map the rumor tree in the high-dimensional space, obtain the hyperbolic structure characteristics of the propagation and diffusion network, further explore the differences between rumors and non-rumors, and design a targeted comparative learning method for engine oil, calculate and compare the feature differences between various types of rumors, and update the model parameters in combination with the loss function to improve the accuracy of the rumor detection model.

[0071] The present invention uses a hyperbolic graph convolutional network to calculate the characteristic correlation of the rumor tree propagation structure, further explores the differences between rumors and non-rumors, uses the spatial differences between various types of rumors using a contrastive learning method, and designs a loss function to update the training model. The rumor propagation network has a relatively complex tree structure, and its mapping on the Euclidean space will result in high distortion, while the hyperbolic space can better preserve the spatial distance between the tree structure nodes, thereby improving the accuracy of the model in distinguishing rumors and more effectively detecting abnormal information data.

[0072] The beneficial effects of the present invention are:

[0073] (1) In the construction of the comment network, the conversion of the propagation structure between Euclidean space and hyperbolic space is realized through exponential and logarithmic mapping. The hyperbolic graph convolutional network is used to reduce the space loss when calculating the tree structure embedding. This hyperbolic feature can better capture the high-dimensional information of rumors and further improve the accuracy of rumor detection.

[0074] (2) Based on the hyperbolic space, the propagation and diffusion characteristics of rumors are considered, and the top-down propagation structure and bottom-up diffusion structure of rumors are distinguished; the top-down propagation structure is used to capture the causal characteristics of rumor propagation, while the bottom-up structure amplifies the diffusion characteristics of rumors and enhances the root node data on this basis.

[0075] (3) By defining and sampling positive and negative samples and utilizing the hierarchical relationship between different types of rumors, we pull in similar feature information and amplify the differences between different types of rumors. We also design a corresponding loss function, increase the supervised loss, and improve the accuracy of rumor distinction. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 is a flow chart of the method of the present invention.

[0077] Figure 2 It is a system module connection diagram of the present invention.

[0078] Figure 3 It is a flow chart of the training model of the present invention. DETAILED DESCRIPTION

[0079] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0080] The present invention utilizes the propagation structure and text information of rumor data sets, and enhances the node features and propagation structure of data through top-down propagation structure and bottom-up diffusion structure respectively. By mapping the two into hyperbolic space, the high-dimensional hyperbolic structure characteristics of the rumor tree can be better captured. In the samples of the same batch, targeted positive and negative samples are generated to shorten the distance between the event and the positive sample and improve the difference between the negative sample. And through the targeted loss function design, the accuracy of rumor detection is improved, the parameters of the model are updated through this function, and the function is set to prevent the model from overfitting; after stopping training, the test data set is input into the trained model to obtain the result of anomaly detection.

[0081] Specifically, the present invention detects anomalies through exponential mapping and logarithmic mapping, and realizes the mapping of the rumor tree from the Euclidean space to the hyperbolic space, that is, the hyperbolic propagation characteristics are obtained through spatial mapping and rumor detection is performed. The overall model is divided into two steps. The first part is the model input processing and graph structure generation. The adjacency matrix and feature matrix are generated by cleaning and regularizing the data, and are divided into two methods: diffusion and propagation. The second part is to aggregate features in the hyperbolic convolutional network and enhance the feature roots, conduct comparative learning of positive and negative samples in the same batch, design the loss function, and update the model parameters. Rumor detection under this method increases the structural aggregation of the rumor structure by mapping the rumor tree structure in the hyperbolic space and combining the propagation characteristics in the two spaces, thereby improving the model accuracy.

[0082] The technical solutions adopted by the present invention to achieve the above-mentioned invention object are as follows:

[0083] A method for detecting rumors on a social platform based on hyperbolic graph convolution, comprising the following steps:

[0084] S1: Data preprocessing: Process the event data according to the actual situation, including data cleaning and data packaging, obtain the propagation structure and text representation based on the rumor dataset, and use it as a training set and test set;

[0085] S2: Feature generation: add graph perturbations and construct corresponding adjacency matrices and feature matrices through top-down propagation structures and bottom-up diffusion structures respectively;

[0086] S3: Model construction: Input the text representation and propagation structure processed in the above steps into the model, construct the propagation structure in the hyperbolic space through the hyperbolic graph convolutional network module, and combine it with the text representation;

[0087] S4: Contrastive learning: Based on the graph structure features of hyperbolic space, through rumor labels, targeted positive and negative samples are generated according to samples in the same batch, narrowing the distance between positive samples and pushing the distance between negative samples away;

[0088] S5: Rumor detection: Design a loss function based on sample characteristics, update the model parameters, input the structural information and sentence features of the test set into the trained model, and obtain the rumor classification results.

[0089] In step S1:

[0090] S1.1: Process the Twitter16 data according to the actual situation and define the propagation tree as a graph in represents the set of social network users who have forwarded the message M, where s represents the source user, Represents the forwarding relationship between users. It is a collection of comments posted by users. Corresponding to The release time of the rumor was first deleted for the propagation structure with less than 3 edges, and the propagation tree structure was compared with the crawled comment content. The unavailable comments were replaced with the content of the original post. The Twitter16 dataset contains a total of 818 events, including four types: True Rumor, False Rumor, Unverified Rumor and Non-Rumor, of which the number of True Rumors is 205, the number of False Rumors is 205, the number of Unverified Rumors is 203, and the number of Non-Rumors is 205. By counting and cleaning the rumor dataset, and filtering out posts with less than 3 comment structures, the final dataset contains 714 news posts, including 181 True Rumor events, 164 False Rumor events, 174 Unverified Rumor events, and 195 Non-Rumor events, which are divided into training and test sets, with 573 events in the training set and 141 events in the test set.

[0091] S1.2: For text, the BERT-SimCSE (Simple Contrastive Learning of Sentence Embeddings) model is used to generate sentences. The source post and its reply comments can be converted into node features for each user, specifically represented as As from The feature matrix extracted from the source posts and comments of , where d is the dimension of the feature matrix, and the concatenation method of the input text is to use [CLS][SEP] to concatenate the specific text first, which is specifically expressed as The output is Dimensional text embedding;

[0092] S1.3: For the structure, by clarifying the root node of each rumor tree and its propagation structure, two files are generated respectively. One is the tweet file, which contains all the comment IDs involved in this propagation tree structure, and the other is the structure file, which contains the comment relationship in the propagation tree and indicates the relationship between the comments in the graph. The source post ID is set to ROOT.

[0093] In step S2:

[0094] S2.1: Based on the rumor event N, we can Constructing the adjacency matrix of the rumor propagation tree

[0095]

[0096] This constitutes a top-down propagation structure (Top-Down-Tree);

[0097] A TD =AA drop (2)

[0098] S2.2: Calculate the bottom-up propagation structure based on the rumor propagation tree (Button-Up-Tree);

[0099] A BU =(A TD ) T (3)

[0100] S2.3: In each batch, A discards edges at a certain ratio. The specific operations include discarding some original edges, randomly adding edges, and exchanging some original edges. The specific ratios are set to 0.5, 0.3, and 0.2. By adding, deleting, and modifying edges, the graph features can be perturbed to generate a structure with perturbations. Similarly, A can be obtained. TD ′ and A BU ′;

[0101] S2.4: For the feature matrix X, by randomly masking the text embeddings therein, the enhanced text data X′ can be obtained; where A TD and A BU Using the same feature matrix X, A TD ′ and A BU ' uses the same feature matrix X'.

[0102] In step S3:

[0103] S3.1: Since there is no concept of vector space structure in hyperbolic space, exponential mapping and logarithmic mapping are used to realize Euclidean transformation on tangent space.

[0104]

[0105] Among them, x E is the representation of the feature in Euclidean space, x H represents the mapping of features on the hyperbolic space, K represents the curvature of the hyperbolic space, represents the Riemann metric tensor, First, the node v is mapped by index iThe property x of is mapped from the tangent space to the hyperbolic space by exponential mapping at the origin, and we get x H :

[0106]

[0107] A graph convolution module can be applied to aggregate its local information in the subgraph and embed the hierarchical information for each node at the same time. Aggregation is performed directly at each center point It is performed in the tangent space of , because this is where the Euclidean approximation is best. Specifically, a single layer l of hyperbolic convolution with learned curvature K can be written as:

[0108]

[0109] in, represents hyperbolic matrix multiplication, represents hyperbolic matrix addition, specifically:

[0110]

[0111] A TD and A BU Through the hyperbolic graph convolution network, we can get H TD,H and H BU,H , where H H represents the high-dimensional feature vector that ultimately lies in the hyperbolic space;

[0112] S3.2: Then enhance its root features. For each HGCN output, connect the feature vector of each node with the feature of the root node of the previous HGCN to construct a new feature matrix, as shown below:

[0113]

[0114] in, Using mean pooling to aggregate the information from these two sets of node representations, we can get the hidden layer output H out1 ;

[0115] H out1 =concat(mean(H TD ), mean(H BU )) (13)

[0116] S3.3: For the enhanced representation vector A TD ′,A BU Hyperbolic graph convolution representation H of ′ and X′ out2 , the calculation method is the same as above;

[0117] S3.4: Get the corresponding graph representation H encoded by HGCN before and after the perturbationout1 and the enhanced graph representation H out2 Finally, connect them together to get H;

[0118] H = concat(H out1 , H out2 ) (14)

[0119] Here, the mean pooling operation is used to aggregate the information representing the node set, h a =mean(H). At this point, we can obtain the graph structure feature H that contains high-dimensional potential representation and diversity enhancement. Based on this feature, we can further detect and classify rumors.

[0120] In step S4:

[0121] S4.1: For the post features h in a batch k , according to the known sample label, the same category as the positive sample h p , different categories are used as negative samples h n , we can get the supervised loss function as follows:

[0122]

[0123] S4.2: Calculate the cross entropy loss between the final output predicted label and the true label of the sample:

[0124]

[0125] S4.3: Therefore, the total loss function includes two parts: supervised loss and cross entropy loss function, where β = 0.01.

[0126] L=L ce +βL sup (17)

[0127] In step S5:

[0128] S5.1: For the 141 posts in the test set, input the adjacency matrix and feature matrix of the graph structure calculated by step S2 into the trained model;

[0129] S5.2: Combine hyperbolic space and node enhancement to calculate the high-dimensional hyperbolic features of the rumor tree in the test set, and classify and detect rumors based on this feature;

[0130] S5.3: Through the linearization module and feature extraction dimensionality reduction, the predicted structure of the rumor is compared with the true label to obtain the prediction accuracy of the model.

[0131] In order to better demonstrate the performance of the proposed method, the Twitter16 dataset is used to evaluate the effect of the proposed method and compared with the baseline model:

[0132] The Twitter16 dataset contains a total of 818 events, including four types: True Rumor, False Rumor, Unverified Rumor and Non-Rumor, of which the number of True Rumors is 205, the number of False Rumors is 205, the number of Unverified Rumors is 203, and the number of Non-Rumors is 205. By counting and cleaning the rumor dataset and filtering out posts with a comment structure of less than 3, the final dataset contains 714 news posts, including 181 True Rumor events, 164 False Rumor events, 174 Unverified Rumor events, and 195 Non-Rumor events.

[0133] By replacing the unsuccessful comment text with the source post content, the post content and the comment content are concatenated and input into the BERT-SimCSE model to generate the corresponding text embedding. The text embedding and propagation structure are input into the hyperbolic graph convolutional network for rumor detection and compared with the relevant baseline model, the following results are obtained:

[0134] Table 1 Rumor detection performance and comparison with baseline models

[0135] Model Accuracy TR FR UR NR BiGCN 83.72 92.72 83.79 91.97 83.72 EBGCN 79.86 93.82 74.63 75.87 73.87 RDEA 86.04 97.16 78.55 89.30 82.77 The present invention 88.37 94.35 84.69 84.69 89.28

[0136] A system for implementing a social platform rumor detection method based on hyperbolic graph convolution of the present invention comprises: a rumor tree construction module, a graph structure generation module, a hyperbolic graph convolution module, a contrastive learning module and a rumor detection model;

[0137] The rumor tree construction module performs data preprocessing based on the rumor data set, replaces the unavailable comment content, and deletes rumor trees with propagation structures less than 3 to generate corresponding tree structure files and text representations, specifically including:

[0138] S1.1: Process the event data according to the actual situation and replace the non-existent comment content with the original post content;

[0139] S1.2: For text, the BERT-SimCSE (Simple Contrastive Learning of Sentence Embeddings) model is used to generate sentence embeddings;

[0140] S1.3: Regarding the structure, by clarifying the root node of each rumor tree and its propagation structure, they are packaged and generated into files.

[0141] The graph structure generation module fills or deletes the data, adds graph disturbance, and generates corresponding node relationships and adjacency matrices based on the propagation and diffusion relationship of rumors, specifically including:

[0142] S2.1: Based on the rumor event N, we can Constructing the adjacency matrix of the rumor propagation tree Constitute a top-down communication structure;

[0143] A TD =AA drop (1)

[0144] S2.2: Calculate the bottom-up propagation structure based on the rumor propagation tree;

[0145] A BU =(A TD ) T (2)

[0146] S2.3: The enhanced adjacency matrix is ​​obtained by modifying the edges;

[0147] S2.4: For the feature matrix X, the enhanced text data X′ can be obtained by masking, randomly permuting and truncating the text embedding therein.

[0148] The hyperbolic graph convolution module maps the generated data features to the hyperbolic space for graph convolution, extracts text and structural information with different focuses, and combines and splices features, specifically including:

[0149] S3.1: Apply hyperbolic mapping via exponential and logarithmic mapping to transform A TD and A BU Through the hyperbolic graph convolutional network, the high-dimensional feature embedding representation of the feature matrix in the hyperbolic space is obtained;

[0150] S3.2: Graph root feature enhancement, for each HGCN output, the feature vector of each node is connected with the feature of the root node of the previous HGCN to construct a new feature matrix, and mean pooling is used to aggregate the information from these two sets of node representations to obtain the hidden layer output H out1 ;

[0151] S3.3: For the enhanced representation vector A TD ′,A BU Hyperbolic graph convolution representation H of ′ and X′ out2 , the calculation method is the same as above;

[0152] S3.4: Get the corresponding graph representation H encoded by HGCN before and after the perturbation out1 and the enhanced graph representation H out2 Finally, connect them together to get x;

[0153] H = concat(H out1 , H out2 ) (3)

[0154] Here, the mean pooling operation is used to aggregate the information representing the node set, h a =mean(H);

[0155] The comparative learning module searches for rumor features of different categories from the sample events in each training batch as negative samples, and rumor features of the same category as positive samples, respectively calculates the similarity scores between the two, shortens the distance between the positive samples and reduces the similarity between the negative samples, designs the loss function through the feature structure, and continuously updates the model parameters, specifically including:

[0156] S4.1: For the post features h in a batch k , according to the known sample label, the same category as the positive sample h p , different categories are used as negative samples h n , we can get the supervised loss function as follows:

[0157]

[0158] S4.2: Compare the predicted label with the true label of the sample. The cross entropy loss formula is as follows:

[0159]

[0160] S4.3: Therefore, the total loss function includes the above supervised loss and cross entropy loss function:

[0161] L=L ce +βL sup (6)

[0162] The rumor detection module inputs the structural information and text information of the test set into the trained model to obtain the final rumor classification result, which specifically includes:

[0163] S5.1: Input the adjacency matrix and feature matrix of the graph structure obtained by calculating the structural information and text information of the test set data in step S2 into the trained model;

[0164] S5.2: Compute the embedding representation of the rumor tree in the test set in hyperbolic space;

[0165] S5.3: Through the linearization module and feature extraction dimensionality reduction, the prediction structure of the rumor is obtained, and compared with the true label to obtain the prediction accuracy of the model.

[0166] The rumor tree construction module, graph structure generation module, hyperbolic graph convolution module, contrastive learning module and rumor detection module are connected in sequence.

[0167] The contents described in the embodiments of this specification are merely an enumeration of the implementation forms of the inventive concept. The protection scope of the present invention should not be regarded as limited to the specific forms described in the embodiments. The protection scope of the present invention also extends to equivalent technical means that can be conceived by those skilled in the art based on the inventive concept.

Claims

1. A social platform rumor detection method and system based on hyperbolic graph convolution, It is characterized in that The steps include: S1: Data preprocessing: Process the event data according to the actual situation, including data cleaning and data packaging, obtain the propagation structure and text representation based on the rumor dataset, and use it as a training set and test set; S2 : Feature generation: add graph perturbations and construct corresponding adjacency matrices and feature matrices through top-down propagation structures and bottom-up diffusion structures respectively; S3: Model construction: Input the text representation and propagation structure processed in the above steps into the model, construct the propagation structure in the hyperbolic space through the Hyperbolic Graph Convolutional Neural Networks (HGCN) module, and combine it with the text representation to extract the hyperbolic features of rumor propagation; S4: Contrastive learning: Combined with the graph structure features in the hyperbolic space, through the rumor labels, targeted positive and negative samples are generated in the same batch of samples, the distance between them is shortened and the distance between them and the negative samples is extended, the loss function is designed, and the parameters of the model are updated; S5: Input the structural information and sentence features of the test set into the trained model to obtain the rumor classification results.

2. According to claim 1, a method for detecting rumors on a social platform based on hyperbolic graph convolution, It is characterized in that The step S1 specifically includes: S1.1: First, process the event data according to the actual situation. Specifically, define the rumor propagation tree according to the propagation structure as graph in represents the set of social network users who have forwarded the message M, where s represents the source user, Indicates the forwarding relationship between users. It is a collection of comments posted by users. Corresponding to Release time; S1.2: For text, the BERT-SimCSE (Simple Contrastive Learning of SentenceEmbeddings) model is used to represent and generate sentences. The source post and its reply comments can be converted into node features for each user, specifically represented as As from The feature matrix extracted from the source posts and comments of , where d is the dimension of the feature matrix; S1.3: Regarding the structure, by clarifying the root node of each rumor tree and its propagation structure, the generated files are integrated separately.

3. According to claim 1, a method for detecting rumors on a social platform based on hyperbolic graph convolution, It is characterized in that The step S2 specifically includes: S2.1: Based on the rumor event N, we can Constructing the adjacency matrix of the rumor propagation tree This constitutes a top-down propagation structure (Top-Down-Tree); A TD =A-A drop (2) S2.2: Calculate the bottom-up propagation structure based on the rumor propagation tree (Button-Up-Tree); A BU =(A TD ) T (3) S2.3: In each batch, A discards edges at a certain ratio. The specific operations include: discarding some original edges, randomly adding edges, and exchanging some original edges; adding perturbations to the graph features to generate a structure with perturbations. Similarly, A can be obtained. TD′ and A BU′ ; S2.4: For the feature matrix X, by randomly masking the text embedding therein, the enhanced text data X′ can be obtained.

4. According to claim 1, a method for detecting rumors on a social platform based on hyperbolic graph convolution, It is characterized in that The step S3 specifically includes: S3.1: Since there is no concept of vector space structure in hyperbolic space, exponential mapping and logarithmic mapping are used to realize Euclidean transformation on tangent space. Among them, x E is the representation of the feature in Euclidean space, x H represents the mapping of features on the hyperbolic space, K represents the curvature of the hyperbolic space, represents the Riemann metric tensor, First, the node v is mapped by index i The property x of is mapped from the tangent space to the hyperbolic space by exponential mapping at the origin, and we get x H : A graph convolution module can be applied to aggregate its local information in the subgraph and embed hierarchical information for each node at the same time. Aggregation is directly performed at each center point , because this is where the Euclidean approximation is best. Specifically, a single layer l of hyperbolic convolution with learned curvature K can be written as: in, represents hyperbolic matrix multiplication, represents hyperbolic matrix addition, specifically: A TD and A BU Through the hyperbolic graph convolution network, we can get H TD,H and H BU,H , where H H represents the high-dimensional feature vector that ultimately lies in the hyperbolic space; S3.2: Then enhance its root features. For each HGCN output, connect the node's feature vector with the feature of the root node at the previous HGCN to construct a new feature matrix, as shown below: in, Using mean pooling to aggregate the information from these two sets of node representations, we can get the hidden layer output H out1 ; H out1 =concat(mean(H TD ),mean(H BU )) (13) S3.3: For the enhanced representation vector A TD′ , A BU′ The hyperbolic graph convolution representation H of X′ out2 , the calculation method is the same as above; S3.4: Get the corresponding graph representation H encoded by HGCN before and after the perturbation out1 and the enhanced graph representation H out2 Finally, connect them together to get H; H=concat(H out1 ,H out2 ) (14) Here, the mean pooling operation is used to aggregate the information representing the node set, h a =mean(H).

5. According to claim 1, a method for detecting rumors on social platforms based on hyperbolic graph convolution, It is characterized in that The step S4 specifically includes: S4.1: For the post features h in a batch k , according to the known sample label, the same category as the positive sample h p , different categories are used as negative samples h n , we can get the supervised loss function as follows: S4.2: Compare the predicted label with the true label of the sample. The cross entropy loss formula is as follows: S4.3: Therefore, the total loss function includes the above supervised loss and cross entropy loss function. L=L ce +βL sup (17) 6. According to claim 1, a method for detecting rumors on social platforms based on hyperbolic graph convolution, It is characterized in that The step S5 specifically includes: S5.1: Input the graph structure adjacency matrix and feature matrix obtained by calculating the structure information and text information of the test set data in step S2 into the trained model; S5.2: Compute the embedding representation of the rumor tree in the test set in hyperbolic space; S5.3: Through the linearization module and feature dimensionality reduction extraction, the prediction structure of the rumor is obtained, and compared with the true label to obtain the prediction accuracy of the model.

7. A system for implementing a social platform rumor detection method based on hyperbolic graph convolution as claimed in claim 1, Features: It includes rumor tree construction module, graph structure generation module, hyperbolic graph convolution module, contrastive learning module and rumor detection model; The rumor tree construction module: based on the rumor data set, preprocesses the data to generate the corresponding tree structure file and text representation; The graph structure generation module fills or deletes data, adds graph disturbance, and generates corresponding node relationships and adjacency matrices based on the propagation and diffusion relationship of rumors; The hyperbolic graph convolution module maps the generated data features to the hyperbolic space for graph convolution, aggregates text and structural features, and extracts rumor hyperbolic features; The comparative learning module: in each training batch, find rumor features of different categories from the sample events as negative samples, and rumor features of the same category as positive samples, calculate the similarity scores between the two, narrow the distance between the positive samples and reduce the similarity between the negative samples, design the loss function through the feature structure, and continuously update the model parameters; The rumor detection module inputs the structural information and text information of the test set into the trained model to obtain the final rumor classification result.

Citation Information

Patent Citations

  • Rumor detection method and system based on multilayer coding network

    CN114328843A

  • Multi-view rumor detection method based on attention mechanism

    CN114758174A

Cited By

  • Network rumor detection method based on spatial-temporal feature learning of double-dynamic graph convolutional network

    CN119474997A