Double-filtering evidence-aware fake news detection method based on graph neural network
Through the dual-filtering evidence perception method based on graph neural network, the graph structure of news and evidence is constructed, filtering low-relevance evidence and redundant nodes, and generating fine-grained embeddings, which solves the problems of long-distance semantic exploration and noise in false news detection. Improved detection accuracy and efficiency.
Patent Information
- Application Number
- CN202311351069.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-18
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing evidence-based false news detection methods ignore long-distance semantic exploration, resulting in insufficient detection accuracy and introducing noise in the interactive part of news and evidence, affecting model performance and efficiency.
A dual-filtering evidence perception method based on graph neural network is used to construct a graph structure of news and evidence, filter low-relevance evidence, discard redundant nodes, and generate fine-grained node embeddings. Combined with attention scores and multi-layer perceptrons, it generates News veracity predicts probability.
It improves the accuracy and efficiency of false news detection, filters invalid evidence, retains highly relevant evidence, enhances the capture of long-distance text semantic correlation, and reduces the impact of noise.
Smart Images

Figure CN117349501B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet big data and deep learning, and in particular to a double-filtering evidence-aware fake news detection method based on graph neural network. Background Art
[0002] Social media has promoted the dissemination and exchange of information and changed the way people obtain information. However, since existing technology cannot verify the authenticity of a large amount of real-time news information, social media has also become a hotbed for the spread of false news. In today's world of rapid information dissemination, false news can be seen in different fields such as politics and public health, posing a huge threat to cybersecurity and human society.
[0003] As a text classification task, fake news detection has two main methods: text pattern-based fake news detection and evidence-based fake news detection. Among them, text pattern-based fake news detection only verifies the accuracy of news based on the writing style of the news text, idioms and other text pattern information, and usually has problems with poor generalization and interpretability. Evidence-based fake news detection models the task as a process similar to human reasoning, in which external evidence related to the news to be detected is provided, such as related articles, notifications and other information. The model needs to discover and integrate useful information in the given external evidence, and judge the authenticity of the news through the summarized external information.
[0004] However, existing evidence-based fake news detection methods ignore the exploration of fine-grained semantics of news and evidence. In general, existing work has the following shortcomings: 1) There is little research on long-distance semantics. In an evidence document, two related important information may appear at the beginning and end of the document. The long-distance semantic correlation between these information is difficult to capture, resulting in insufficient accuracy in fake news detection. 2) Existing evidence-based fake news detection methods directly use the retrieved text as the correct evidence. However, the content retrieved by the search engine may not be highly relevant to the news, which may introduce noise in the interaction between news and evidence, affecting the detection performance and efficiency of the model. Therefore, how to improve the accuracy and efficiency of fake news detection is a technical problem that needs to be solved urgently. Summary of the invention
[0005] In view of the deficiencies of the above-mentioned prior art, the technical problem to be solved by the present invention is: how to provide a double-filtering evidence-aware fake news detection method based on graph neural network, which can solve the distance problem of information in text by modeling graphs, improve the problem that existing models are difficult to capture long-distance text semantic relevance, and at the same time retain effective and necessary evidence as much as possible through the double-filtering structure, improve the problem of introducing noise in the interaction part between news and evidence, thereby improving the accuracy and efficiency of fake news detection.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0007] The double-filtering evidence-aware fake news detection method based on graph neural network includes:
[0008] S1: Obtain news, news authors, evidence related to the news, and evidence publishers as information to be detected;
[0009] S2: Input the information to be detected into the trained fake news detection model and output the predicted probability of the authenticity of the corresponding news;
[0010] Train the fake news detection model by following these steps:
[0011] S201: Acquire news, news authors, and evidence and evidence publishers related to the news as training data;
[0012] S202: Screening evidence: filtering evidence with low news relevance and retaining evidence with high news relevance;
[0013] S203: constructing a corresponding news graph structure and an evidence graph structure based on the news and the retained evidence;
[0014] S204: semantically encode the news graph structure to obtain news embedding representation;
[0015] S205: Refining the graph language structure of the evidence graph structure: discarding redundant evidence nodes in the evidence graph structure, and generating corresponding evidence fine-grained node embeddings based on non-redundant evidence nodes;
[0016] S206: integrating the fine-grained node embedding of evidence into document embedding through attention scores to obtain evidence embedding representation;
[0017] S207: respectively concatenate the news embedding representation and the evidence embedding representation with the news author and the evidence publisher to obtain a document-level embedding representation, and then generate a predicted probability of news authenticity through a classifier;
[0018] S208: Calculate the task loss based on the authenticity prediction probability of the news and the authenticity label to optimize the model parameters;
[0019] S209: repeating steps S201 to S208 until the fake news detection model converges;
[0020] S3: The predicted probability of the authenticity of the corresponding news is used as its false detection result.
[0021] Preferably, the pre-trained language model BERT is first used to encode the text information of the news and each piece of evidence respectively, and then the final representation of the [CLS] tag is used as the semantic feature of the text information to obtain the corresponding news embedding matrix and the evidence embedding matrix Where N c and N e denote the number of words in the text information of news and evidence respectively, and d is the dimension of word embedding; finally, the evidence whose relevance to news is lower than the similarity threshold is filtered out through the gated document selector, and the evidence set whose relevance to news is higher than or equal to the similarity threshold is retained;
[0022] The formula is described as:
[0023] ε′={e:e∈ε,cossim(H e ,H c )≥T};
[0024] Where: ε′ represents the set of evidences that are retained and whose relevance to the news is greater than or equal to the similarity threshold, and the number of evidences in the evidence set is n e =|ε′|; cossim(·) represents the cosine similarity calculation; T represents the similarity threshold; e represents the candidate evidence.
[0025] Preferably, when constructing a graph structure for news and evidence, the context information of each word is connected, and all repeated words are represented by the same node; at the same time, the adjacency matrix of the graph structure is Laplace normalized and recorded as D is the degree matrix, I is the identity matrix;
[0026] Finally, the initial normalized adjacency matrix of news and evidence is used as the news graph structure and the evidence graph structure N c and N e are the number of nodes in the news graph structure and the evidence graph structure, respectively.
[0027] Preferably, the gated graph neural network is first used as a graph semantic encoder to propagate on the news graph structure and aggregate neighbor information to obtain complete contextual semantics, and obtain the corresponding news node embedding; then the semantically encoded news node embedding is average pooled to generate the corresponding news embedding representation;
[0028] 1) The processing formula of the gated graph neural network is described as:
[0029]
[0030] z i =σ(W z a i+U z H i +b z );
[0031] r i =σ(W r a i +U r H i +b r );
[0032]
[0033] Where: c represents a set of nodes in a graph structure; Represents the edge weight between node i and node j in the adjacency matrix; represents the newly generated information in the current GRU layer; W*, U*, and b* are trainable parameters that control the ratio of neighbor information to self information; a i is the information that node i aggregates from its neighboring nodes; H i is the initial embedding representation of node i; z i is the update gate, which controls how much information from the previous hidden state will be passed to the current hidden state; r i is the reset gate, which controls the hidden state to forget some historical information; σ(·) is the activation function;
[0034] 2) The formula for average pooling is described as:
[0035]
[0036] Where: Represents news embedding representation; l c is the number of word nodes in the news.
[0037] Preferably, the redundant score and non-redundant score of each evidence node in the evidence graph structure are calculated by a node filter based on a Gaussian kernel, and then the k evidence nodes with the highest non-redundant scores are screened out, and the node embedding representations of the screened k evidence nodes are spliced together to obtain the evidence fine-grained node embedding.
[0038] Preferably, the fine-grained node embedding of evidence is generated by the following steps:
[0039] S2051: Calculate the self-redundancy score of the evidence node in the evidence graph structure;
[0040] The formula is described as:
[0041] s se =H e W se ;
[0042] Where: s seRepresents a list of self-redundancy scores of the evidence node, where each dimension represents the score of each node; is the trainable weight; H e represents the evidence embedding matrix;
[0043] S2052: Calculate the relevant redundancy scores between the evidence nodes and the news in the evidence graph structure;
[0044] The formula is described as:
[0045]
[0046] s sr =KW sr ;
[0047] Where: s sr Represents a list of relevant redundant scores for evidence nodes; cossim(H ei ,H cj ) represents the cosine similarity between the i-th word in the evidence and the j-th word in the news; is a trainable weight; C c is the news node set of news; K it represents the correlation score obtained by a Gaussian kernel; K i represents the similarity embedding of the i-th node in the evidence; K represents the similarity embedding of the entire evidence, K represents the number of Gaussian kernels; μ t and are the mean and variance in different Gaussian kernels respectively; is a concatenation operation; Norm(·) is a normalization function; H ei , H cj Represents a word in the evidence graph structure and the news graph structure respectively;
[0048] S2053: linearly add the self-redundancy score and the related redundancy score of the evidence node to obtain a redundancy score;
[0049] The formula is described as:
[0050] s r =(1-β)s se +βs sr ;
[0051] Where: s r Represents the redundant score list of the evidence node; β is used to control the fusion ratio of its own redundant score and related redundant scores;
[0052] S2054: Calculate a structure-aware redundancy score of each evidence node based on the redundancy score of the evidence node through a gated graph neural network;
[0053] The formula is described as:
[0054]
[0055] Where: s f A list of redundancy scores representing the structure awareness of the evidence nodes; s r Represents a list of redundant scores for evidence nodes; Represents the evidence graph structure; GGNN represents gated graph neural network processing;
[0056] S2055: Filter out k evidence nodes with the highest non-redundancy scores through f(·), and concatenate the embedding representations of the filtered evidence nodes together as the fine-grained evidence node embedding after the semantic structure is refined;
[0057] The formula is described as:
[0058] s n =i-σ(s f );
[0059] [H e1 ;H e2 ;...;H ek ]=f(top_k(s n ));
[0060] Where: H e =[H e1 ;H e2 ;...;H ek ] represents the fine-grained node embedding of evidence; s n A list of non-redundant scores representing evidence nodes; s f Represents a list of redundant scores of evidence nodes, s f Each dimension of represents the redundancy score of a node, i is a one-dimensional vector, each dimension of which is 1; [;] is the concatenation of vectors.
[0061] Preferably, the news embedding representation is first used to calculate the attention weight of each word in the evidence fine-grained node embedding, and then the weighted sum of the words is obtained to obtain a complete embedding representation, namely the evidence embedding representation;
[0062] The formula is described as:
[0063]
[0064] Where: Represents evidence embedding representation; H ej represents the fine-grained node embedding H e Every word in represents the news embedding representation; [;] is the concatenation of vectors, so that the embedding representation of each word in the evidence takes the embedding representation of the news as a reference when calculating the attention score, that is, the news-aware evidence word attention mechanism; α j is the attention score of the jth word in the evidence; and is a trainable parameter; k is the number of words in the evidence after screening.
[0065] Preferably, the authenticity prediction probability of the news is generated through the following steps:
[0066] S2071: respectively concatenate the news embedding representation and the evidence embedding representation with the news author and the evidence publisher to obtain the news document-level embedding representation and the evidence document-level embedding representation;
[0067] The formula is described as:
[0068]
[0069] Where: h c , They represent news document-level embedding representation and evidence document-level embedding representation respectively; They represent news embedding representation and evidence embedding representation respectively; s and p represent news author and evidence publisher respectively;
[0070] S2072: Capture document-level interaction information between news and multiple pieces of evidence according to the news document-level embedding representation and the evidence document-level embedding representation, and obtain a document-level embedding representation of the interaction between news and evidence;
[0071] The formula is described as:
[0072]
[0073] Where: h e Document-level embedding representations for news-evidence interactions; Indicates n e The concatenation of document-level embedding representations of evidence; ATTN represents the operation that performs the calculation of attention scores;
[0074] S2073: Fusing the news document-level embedding representation and the news-evidence interaction document-level embedding representation to generate a final representation;
[0075] The formula is described as:
[0076] h=[h c ;h e ];
[0077] Where: h represents the final representation; h c 、h eThey represent the news document-level embedding representation and the news-evidence interaction document-level embedding representation respectively;
[0078] S2074: outputting the predicted probability of the authenticity of the corresponding news according to the final representation through a multi-layer perceptron;
[0079] The formula is described as:
[0080]
[0081] Where: represents the predicted probability of news authenticity; MLP represents multi-layer perceptron processing; h represents the final representation.
[0082] Preferably, calculate the cross entropy loss of the fake news detection model Used as task loss to optimize model parameters;
[0083] The formula is described as:
[0084]
[0085] Where: represents the task loss of the fake news detection model; represents the authenticity prediction probability; y represents the authenticity label.
[0086] Preferably, the contrast loss of the fake news detection model is calculated; then the task loss and the contrast loss of the fake news detection model are combined to obtain a joint loss; and finally, the model parameters of the fake news detection model are optimized based on the joint loss;
[0087] 1) The calculation formula of contrast loss is:
[0088]
[0089] Where: represents the contrast loss of the fake news detection model; h i is the number of samples N in a batch with the i-th sample b is the number of samples in a batch; N s is the same batch as h i The number of samples with the same label; N d is the same batch as h i The number of samples with different labels; τ is a temperature coefficient;
[0090] 2) The calculation formula of joint loss is:
[0091]
[0092] Where: represents the joint loss of the fake news detection model; Denote the task loss of the fake news detection model; Denote the contrastive loss of the fake news detection model; λ is a hyperparameter used to control the degree of integration of contrastive learning.
[0093] Compared with the prior art, the dual-filter evidence-aware fake news detection method based on graph neural network in the present invention has the following beneficial effects:
[0094] When detecting the authenticity of news, the fake news detection model of the present invention screens evidence, filters out evidence with low relevance to the news and retains evidence with high relevance to the news, which can not only improve the problem of introducing noise in the news and evidence interaction part, but also filter out invalid or meaningless evidence, thereby ensuring the detection performance of the model and improving the accuracy and efficiency of fake news detection.
[0095] The present invention models the news text and the retained evidence respectively to obtain a graph structure, and the graph structure tightly connects the scattered semantic information in the text on the graph, that is, it can solve the distance problem of information in the text by modeling the graph, improve the problem that the existing model is difficult to capture the long-distance text semantic relevance, and can also improve the accuracy of fake news detection. Subsequently, the present invention refines the graph language structure of the evidence graph structure, can discard redundant evidence nodes in the evidence graph structure, and generate corresponding evidence fine-grained node embeddings according to the non-redundant evidence nodes, which further eliminates the possible advertising information or meaningless words (such as high-frequency words like "de", "le", etc.) in the evidence, reduces the useless redundant information in the evidence, thereby improving the accuracy of fake news detection and ensuring the detection efficiency.
[0096] The present invention forms a dual-filter structure through "evidence relevance filtering" and "evidence redundant node discarding", and the two filtrations of the dual-filter structure are gradually deepening and refining, that is, first filter to obtain evidence with high relevance, and then filter out non-redundant evidence nodes from the evidence with high relevance, and finally can retain as much effective and necessary evidence as possible.
[0097] The present invention respectively splices the news embedding representation and the evidence embedding representation with the news author and the evidence publisher to obtain a document-level embedding representation, and then generates the authenticity prediction probability of the news through a classifier. The information of the news author and the evidence publisher is of great significance for fake news detection. Therefore, splicing the embedding representations of the news and the evidence with the corresponding author and publisher vectors can further enrich the content of the information, and then capture the document-level interaction information between the news and multiple pieces of evidence, thereby further improving the accuracy of fake news detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] In order to make the objectives, technical solutions and advantages of the invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings, where:
[0099] Figure 1 The logical block diagram of the double-filtering evidence-aware fake news detection method based on graph neural network;
[0100] Figure 2 Network structure diagram for fake news detection model;
[0101] Figure 3 This is the network structure diagram of the graph semantic structure refinement layer in the fake news detection model;
[0102] Figure 4 The impact of the gating threshold T on the performance of different data sets;
[0103] Figure 5 The impact of node discard rate r on performance on different data sets;
[0104] Figure 6 The impact of the redundant score fusion rate β on the performance on different data sets;
[0105] Figure 7 Analyze the effectiveness of the dual filtering module on different data sets;
[0106] Figure 8 The performance of the validation set changes with the iteration process on different datasets. DETAILED DESCRIPTION
[0107] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but only represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.
[0108] It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. In the description of the present invention, it should be noted that the orientation or position relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, or the orientation or position relationship in which the invention product is usually placed when used, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance. In addition, the terms "horizontal", "vertical", etc. do not mean that the components are required to be absolutely horizontal or suspended, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted. In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0109] The following is a further detailed description through specific implementation methods:
[0110] Example:
[0111] This embodiment discloses a double-filtering evidence-aware fake news detection method based on graph neural network.
[0112] like Figure 1 As shown in the figure, the double-filtering evidence-aware fake news detection method based on graph neural network includes:
[0113] S1: Obtain news, news authors, evidence related to the news, and evidence publishers as information to be detected;
[0114] S2: Input the information to be detected into the trained fake news detection model (Graph Neural Network-based DualFilter Evidence-aware Fake News Detection, GDFEND), and output the predicted probability of the authenticity of the corresponding news;
[0115] like Figure 2 As shown in the figure, the input of the fake news detection model (hereinafter also referred to as GDFEND) is a piece of news c, and several pieces of evidence ε = {e1, e2, ..., e n}, and its corresponding news author and evidence publisher Where n is the number of evidences and b is the dimension of embedding of news authors and evidence publishers. The output is the predicted probability of truth where f D is the fake news detection model of the present invention, and Θ is its trainable parameter.
[0116] Train the fake news detection model by following these steps:
[0117] S201: Acquire news, news authors, and evidence and evidence publishers related to the news as training data;
[0118] S202: Screening evidence through a gate-based document selector: filtering evidence with low news relevance and retaining evidence with high news relevance;
[0119] S203: constructing a corresponding news graph structure and an evidence graph structure based on the news and the retained evidence;
[0120] S204: Performing graph structure semantic encoding and average pooling on the news graph structure to obtain news embedding representation;
[0121] S205: Refine the evidence graph structure through the graph semantic structure refinement layer: discard redundant evidence nodes in the evidence graph structure, and generate corresponding evidence fine-grained node embeddings based on non-redundant evidence nodes;
[0122] S206: In the word-level attention layer, the fine-grained node embedding of evidence is integrated into the document embedding through the attention score to obtain the evidence embedding representation;
[0123] S207: respectively concatenate the news embedding representation and the evidence embedding representation with the news author and the evidence publisher to obtain a document-level embedding representation, and then generate a predicted probability of news authenticity through a classifier;
[0124] S208: Calculate the task loss based on the authenticity prediction probability of the news and the authenticity label to optimize the model parameters;
[0125] S209: repeating steps S201 to S208 until the fake news detection model converges;
[0126] S3: The predicted probability of the authenticity of the corresponding news is used as its false detection result.
[0127] First, when detecting the authenticity of news, the fake news detection model of the present invention screens evidence, filters out evidence with low relevance to the news and retains evidence with high relevance to the news. This can not only improve the problem of introducing noise in the news and evidence interaction part, but also filter out invalid or meaningless evidence, thereby ensuring the detection performance of the model and improving the accuracy and efficiency of fake news detection. Second, the present invention models the news text and the retained evidence respectively to obtain a graph structure. The graph structure tightly connects the scattered semantic information in the text on the graph, that is, it can solve the distance problem of information in the text by modeling the graph, improving the problem that existing models are difficult to capture the semantic relevance of long-distance texts, and can also improve the accuracy of fake news detection. Subsequently, the present invention refines the graph language structure of the evidence graph structure, which can discard redundant evidence nodes in the evidence graph structure and generate corresponding evidence fine-grained node embeddings according to the non-redundant evidence nodes. This further eliminates the possible advertising information or meaningless words (such as high-frequency words like "de" and "le") in the evidence, reduces the useless redundant information in the evidence, thereby improving the accuracy of fake news detection and ensuring the detection efficiency. At the same time, the present invention forms a double-filtering structure through "evidence relevance filtering" and "evidence redundant node discarding". The two filtrations of this double-filtering structure are gradually in-depth and refined, that is, first filter to obtain evidence with high relevance, and then filter out non-redundant evidence nodes from the evidence with high relevance, and finally can retain as much valid and necessary evidence as possible. Finally, the present invention splices the news embedding representation and the evidence embedding representation with the news author and the evidence publisher respectively to obtain a document-level embedding representation, and then generates the authenticity prediction probability of the news through a classifier. The information of the news author and the evidence publisher is of great significance for fake news detection. Therefore, splicing the embedding representations of the news and evidence with the corresponding author and publisher vectors can further enrich the content of the information, and then capture the document-level interaction information between the news and multiple pieces of evidence, thereby further improving the accuracy of fake news detection.
[0128] In the specific implementation process, the pre-trained language model BERT is used to encode the text information of the news and each piece of evidence respectively, and then the final representation marked with [CLS] is used as the semantic feature of the text information to obtain the corresponding news embedding matrix and the evidence embedding matrix where N c and N e respectively represent the number of words in the text information of the news and the evidence, and d is the dimension of the word embedding.
[0129] Since not all evidence retrieved by search engines is helpful for predicting news authenticity, in order to extract evidence that is highly relevant to news from a large amount of evidence, the present invention uses a gated document selector to filter out evidence whose relevance to news is lower than a similarity threshold according to the news embedding matrix and the evidence embedding matrix, and retains a set of evidence whose relevance to news is higher than or equal to the similarity threshold;
[0130] The formula is described as:
[0131] ε′={e:e∈ε,cossim(H e ,H c )≥T};
[0132] Where: ε′ represents the set of evidences that are retained and whose relevance to the news is greater than or equal to the similarity threshold, and the number of evidences in the evidence set is n e =|ε′|; cossim(·) represents the cosine similarity calculation; T represents the similarity threshold; e represents the candidate evidence.
[0133] The fake news detection model of the present invention can filter out evidence with low news relevance and retain evidence with high news relevance by screening evidence when detecting the authenticity of news. It can not only improve the problem of introducing noise in the interaction between news and evidence, but also filter out invalid evidence, thereby ensuring the detection performance of the model and improving the accuracy and efficiency of fake news detection.
[0134] During the specific implementation, in order to obtain the semantic relevance of long-distance text information, the present invention first converts the original news and evidence into graphs.
[0135] Similar to the graph-based methods used in other NLP tasks, this paper connects the contextual information of each word when building a graph structure for news and each piece of evidence. In order to model long-range semantic correlation, all repeated words are represented by the same node. Through the above graph construction, some words that are scattered far apart in the document are pulled closer to become neighbor nodes in the graph, where the initial state of each node is the embedding of the corresponding word.
[0136] In order to ensure the stability of the value, the adjacency matrix of the graph structure is Laplace normalized and recorded as D is the degree matrix, I is the identity matrix;
[0137] Finally, the initial normalized adjacency matrix of news and evidence is used as the news graph structure and the evidence graph structure N c and N e are the number of nodes, i.e., the number of words, in the news graph structure and the evidence graph structure, respectively.
[0138] The present invention models the news text and the retained evidence respectively to obtain a graph structure, which closely connects the scattered semantic information in the text. That is, the distance problem of information in the text can be solved by modeling the graph, which improves the problem that the existing model is difficult to capture the semantic relevance of long-distance texts, and can also improve the accuracy of false news detection.
[0139] During the specific implementation process, the graph neural network showed good performance in capturing contextual semantic information. In order to better focus on the node information in the graph and control the flow and screening of information, the present invention used a gated graph neural network (GGNN) as a graph semantic encoder.
[0140] The graph semantic encoder propagates and aggregates neighbor information on the news graph structure to obtain complete contextual semantics and obtain the corresponding news node embedding. The semantically encoded news node embedding is then average-pooled to generate the corresponding news embedding representation.
[0141] 1) The processing formula of the gated graph neural network is described as:
[0142]
[0143] z i =σ(W z a i U z H i +b z );
[0144] r i =σ(W r a i +U r H i +b r );
[0145]
[0146] Where: c represents a set of nodes in a graph structure; is the edge weight between node i and node j in the adjacency matrix, is the newly generated information in the current GRU layer; W*, U* and b* are trainable parameters that control the ratio of neighbor information to self information; a i is the information that node i aggregates from its neighboring nodes; H i is the initial embedding representation of node i; z i is the update gate, which controls how much information from the previous hidden state will be passed to the current hidden state; r iIt is a reset gate that controls the hidden state to forget some historical information; σ(·) is an activation function;
[0147] In this embodiment, the above-mentioned gated graph neural network processing process is simplified to
[0148] 2) The formula for average pooling is described as:
[0149]
[0150] In the formula: represents the news embedding representation; l c is the number of word nodes in the news.
[0151] In the specific implementation process, although the fake news detection model filters out the evidence with low relevance to the news, there may still be some noise in the remaining evidence, such as the advertising information that may be contained in the evidence. These noises may cause the model to reduce its attention to important information. It should be noted that some meaningless words such as "de" (的) and "le" (了) may have more neighbors in the graph structure due to their high word frequency in the text, which makes them have higher attention scores. However, these nodes are not helpful for detecting the truth or falsehood of the news.
[0152] Since the redundant information mainly involves the words in the evidence (i.e., the nodes in the graph structure), the present invention refines the structure of the evidence graph by discarding redundant nodes. Specifically, the redundancy score and non-redundancy score of each evidence node in the evidence graph structure are calculated through a node filter based on the Gaussian kernel, and the k evidence nodes with the highest non-redundancy scores are selected. Finally, the node embedding representations of the selected k evidence nodes are concatenated together to obtain the evidence fine-grained node embedding.
[0153] Combined with Figure 3 shown, the evidence fine-grained node embedding is generated through the following steps:
[0154] S2051: Calculate the self-redundancy score of the evidence nodes in the evidence graph structure;
[0155] In GDFEND, the self-redundancy score of the evidence node is obtained by projecting the embedding matrix of the evidence into one dimension. The formula is described as:
[0156] s se = H e W se ;
[0157] In the formula: s se represents the list of self-redundancy scores of the evidence nodes, where each dimension represents the score of each node; is a trainable weight; H e represents the evidence embedding matrix;
[0158] S2052: Calculate the relevant redundancy scores between the evidence nodes and the news in the evidence graph structure;
[0159] In order to obtain the redundancy score of the node related to the news, the present invention uses the Gaussian Kernel Function within the cosine similarity range to measure the fine-grained correlation between each word in the evidence and all words in the news. The formula is described as:
[0160]
[0161] s sr =KW sr ;
[0162] Where: s sr Represents a list of relevant redundant scores for evidence nodes; cossim(H ei ,H cj ) represents the cosine similarity between the i-th word in the evidence and the j-th word in the news; is a trainable weight that projects the news-related redundancy of the nodes into a one-dimensional score space; C c is the news node set of news; K it represents the correlation score obtained by a Gaussian kernel, K i represents the similarity embedding of the i-th node in the evidence, K represents the similarity embedding of the entire evidence, and K represents the number of Gaussian kernels; μ t and are the mean and variance in different Gaussian kernels respectively; is a concatenation operation; Norm(·) is a normalization function; H ei , H cj Represents a word in the evidence graph structure and the news graph structure respectively;
[0163] S2053: linearly add the self-redundancy score and the related redundancy score of the evidence node to obtain a redundancy score;
[0164] The formula is described as:
[0165] s r =(1-β)s se +βs sr ;
[0166] Where: s r Represents the redundant score list of the evidence node; β is used to control the fusion ratio of its own redundant score and related redundant scores;
[0167] S2054: Calculate a structure-aware redundancy score of each evidence node based on the redundancy score of the evidence node through a gated graph neural network;
[0168] In order to evaluate the redundancy score of nodes from multiple perspectives, the present invention uses the gated graph neural network (hereinafter referred to as GGNN) to calculate the structure-aware redundancy score of each evidence node, so that the redundancy score of each node is obtained by combining its own information, its relevance to the news, and the graph structure information (i.e., the context information obtained in GGNN). The formula is described as:
[0169]
[0170] Where: s f A list of redundancy scores representing the structure awareness of the evidence nodes; s r Represents a list of redundant scores for evidence nodes; Represents the evidence graph structure; GGNN represents gated graph neural network processing;
[0171] S2055: Filter out k evidence nodes with the highest non-redundancy scores through f(·), and concatenate the embedding representations of the filtered evidence nodes together as the fine-grained evidence node embedding after the semantic structure is refined;
[0172] The formula is described as:
[0173] s n =i-σ(s f );
[0174] [H e1 ;H e2 ;...;H ek ]=f(top_k(s n ));
[0175] Where: H e =[H e1 ;H e2 ;...;H ek ] represents the fine-grained node embedding of evidence (here the fine-grained node embedding of evidence H e and the aforementioned evidence embedding matrix H e The same notation is used, here to represent the updated evidence embedding); s n A list of non-redundant scores representing evidence nodes; s f Represents a list of redundant scores of evidence nodes, s f Each dimension represents the redundancy score of a node, i is a one-dimensional vector, each dimension of which is 1; [;] is the concatenation of vectors.
[0176] It should be noted that GDFEND only discards redundant nodes of evidence. Since news is usually very short (less than 10 words) and its semantic structure is relatively simple, there is no need to discard nodes.
[0177] The present invention refines the graph language structure of the evidence graph, can discard redundant evidence nodes in the evidence graph structure, and generates corresponding evidence fine-grained node embeddings according to the non-redundant evidence nodes. This further eliminates possible advertising information or meaningless words (such as high-frequency words like "de" and "le") in the evidence, reduces useless redundant information in the evidence, thereby improving the accuracy of fake news detection and ensuring the detection efficiency. At the same time, the present invention forms a double-filtering structure through "evidence relevance filtering" and "evidence redundant node discarding". The two filtrations of this double-filtering structure are gradually deeper and more refined, that is, first filter to obtain highly relevant evidence, and then filter non-redundant evidence nodes from the highly relevant evidence, and finally can retain as much effective and necessary evidence as possible.
[0178] In the specific implementation process, after two filtrations, the present invention has obtained the evidence graph structure of each evidence passing through the semantic structure refinement layer and the news embedding representation passing through the semantic structure refinement layer and the fine-grained node embedding H of each evidence e .
[0179] In order to obtain the interaction information between news and evidence, the present invention integrates the node embeddings of evidence into document embeddings through attention scores. Specifically, the present invention first calculates the attention weights of each word in the evidence fine-grained node embeddings using the news embedding representation, and then sums the weighted words to obtain a complete embedding representation, that is, the evidence embedding representation; the purpose of this step is to enable the model to focus on words with high importance.
[0180] The formula description is as follows:
[0181]
[0182] In the formula: represents the evidence embedding representation; H ej represents each word in the fine-grained node embedding H e ; represents the news embedding representation; [;] is the concatenation of vectors, so that the embedding representation of each word in the evidence is used as a reference when calculating the attention score with the embedding representation of the news, that is, the news-aware evidence word attention mechanism; α j is the attention score of the j-th word in the evidence; and are trainable parameters; k is the number of words in the filtered evidence.
[0183] In this embodiment, the attention score calculation process of the evidence fine-grained node embedding is simplified as follows:
[0184] In the specific implementation process, the authenticity prediction probability of the news is generated through the following steps:
[0185] S2071: concatenating the news embedding representation and the evidence embedding representation with the news author and the evidence publisher at the word level attention layer and the document level attention layer, respectively, to obtain the news document level embedding representation and the evidence document level embedding representation;
[0186] The applicant found that the information of news authors and evidence publishers is of great significance for fake news detection. The present invention enriches the content of the information by concatenating the embedded representation of news and evidence with the corresponding author and publisher vectors. The formula is described as:
[0187]
[0188] Where: h c , They represent news document-level embedding representation and evidence document-level embedding representation respectively; They represent news embedding representation and evidence embedding representation respectively; s and p represent news author and evidence publisher respectively;
[0189] S2072: capturing document-level interaction information between news and multiple pieces of evidence according to the news document-level embedding representation and the evidence document-level embedding representation through a document-level attention layer, and obtaining a document-level embedding representation of the interaction between news and evidence;
[0190] After obtaining the document-level embedding representation of news and evidence, the present invention further adopts the document-level attention layer with the same structure as above to capture the document-level interaction information between news and multiple pieces of evidence. The formula is described as:
[0191]
[0192] Where: h e Document-level embedding representations for news-evidence interactions; Indicates n e ATTN represents the concatenation of the document-level embedding representations of the evidence; ATTN represents the operation of calculating the attention score, which can be referred to in the "Attention score calculation operation process of the fine-grained node embedding of evidence" in this embodiment.
[0193] S2073: Fusing the news document-level embedding representation and the news-evidence interaction document-level embedding representation to generate a final representation;
[0194] The formula is described as:
[0195] h=[hc ;h e ];
[0196] Where: h represents the final representation; h c 、h e They represent the news document-level embedding representation and the news-evidence interaction document-level embedding representation respectively;
[0197] S2074: Output the authenticity prediction probability of the corresponding news according to the final representation through a multi-layer perceptron (MLP);
[0198] The formula is described as:
[0199]
[0200] Where: represents the predicted probability of news authenticity; MLP represents multi-layer perceptron processing; h represents the final representation.
[0201] The present invention respectively concatenates the news embedding representation and the evidence embedding representation with the news author and the evidence publisher to obtain a document-level embedding representation, and then generates a predicted probability of news authenticity through a classifier, wherein the information of the news author and the evidence publisher is of great significance for fake news detection. Therefore, concatenating the embedding representation of news and evidence with the corresponding author and publisher vectors can further enrich the content of the information, and then can capture the document-level interactive information between news and multiple evidences, thereby further improving the accuracy of fake news detection.
[0202] In the specific implementation process, fake news is essentially a text classification task. The present invention uses the standard cross entropy loss As the task loss, that is, calculating the cross entropy loss of the fake news detection model Used as task loss to optimize model parameters;
[0203] The formula is described as:
[0204]
[0205] Where: represents the task loss of the fake news detection model; represents the authenticity prediction probability; y represents the authenticity label.
[0206] In the specific implementation process, considering that contrastive learning has a good performance in classification tasks, the present invention adds a supervised contrastive learning task to help improve the classification effect, that is, clustering the same category and separating samples of different categories.
[0207] Specifically, by using the authenticity labels of news data as supervisory signals, the fusion representation of news and evidence of the same category is brought closer, and the interactive representation of news and evidence of different categories is pulled further away, so as to better optimize the model's judgment of the authenticity of news. The contrast loss of the fake news detection model is calculated; then the task loss and contrast loss of the fake news detection model are combined to obtain the joint loss; finally, the model parameters of the fake news detection model are optimized based on the joint loss;
[0208] 1) The calculation formula of contrast loss is:
[0209]
[0210] Where: represents the contrast loss of the fake news detection model; h i is the number of samples N in a batch with the i-th sample b is the number of samples in a batch; N s is the same batch as h i The number of samples with the same label; N d is the same batch as h i The number of samples with different labels; τ is a temperature coefficient;
[0211] 2) The calculation formula of joint loss is:
[0212]
[0213] Where: represents the joint loss of the fake news detection model; represents the task loss of the fake news detection model; represents the contrastive loss of the fake news detection model; λ is a hyperparameter used to control the degree of contrastive learning integration.
[0214] The present invention introduces supervised contrastive learning based on task loss, so that the auxiliary task can enhance representation learning by maximizing the consistency between instances of the same type and the distinction between instances of other different types, thereby further improving the accuracy and effectiveness of fake news detection.
[0215] In order to better illustrate the advantages of the technical solution of the present invention, this embodiment discloses the following experiment.
[0216] The configuration of this experiment is: Ubuntu 20.04.1 operating system, Intel(R) Core(TM) i9-10900K CPU@3.70GHzCPU, NVIDIA RTX 3090Ti GPU, Python 3.8.12 development environment and PyTorch 1.7.1 learning framework. In this experiment, the value of K is 11, and the mean of each Gaussian kernel is evenly distributed in [-1,1], with an interval of 0.2 and a variance of 0.01. Then add a Gaussian kernel with a mean of 0.99 and a variance of 0.01 to simulate an extremely similar situation. The value of the contrast learning fusion degree λ is 0.1, and the remaining hyperparameters will be introduced in the experimental section.
[0217] 1. Experimental Dataset
[0218] In order to evaluate the performance of GDFEND on evidence-based fake news detection, this experiment used two widely used public datasets to validate the model. Detailed data statistics are shown in Table 1.
[0219] Snopes,news and their corresponding labels (true or false) are collected from fact-checking websites.,Each news is used as a query to retrieve evidence and its publisher through a search engine.
[0220] PolitiFact, news label pairs are collected from another fact-checking website about American politics, and the evidence is collected in a similar way to Snopes. In addition to the evidence publisher information, the news author is also added to the dataset.
[0221] Table 1 Dataset statistics
[0222]
[0223] 2. Evaluation indicators
[0224] In the model evaluation, this experiment uses precision, recall, and F1-score to comprehensively evaluate the performance of the GDFEND model in the evidence-based fake news detection task. The calculation method is as follows:
[0225] Precision = TP / (TP+FP);
[0226] Recall = TP / (TP+FN);
[0227] F1=2*(Precision*Recall) / (Precision+Recall);
[0228] Among them, TP (True Positive) means that both the predicted category and the actual category are "true". FP (False Positive) means that the predicted category is "true" and the actual category is "false". FN (False Negative) means that the predicted category is "false" and the actual category is "true".
[0229] 3. Comparison Model
[0230] To demonstrate the effectiveness of the proposed model GDFEND, this experiment compared it with several existing methods, including pattern-based models and evidence-based models:
[0231] Pattern-based approach
[0232] 1) LSTM (reference Sheng Q, Cao J, Zhang X, et al. Zoom out and observe: Newsenvironment perception for fake news detection) uses LSTM to encode the semantics of the input news and obtains the final representation of the news through average pooling.
[0233] 2) TextCNN (reference Hochreiter S, Schmidhuber J. Long short-term memory) applies a one-dimensional convolutional network to embed the semantics of news.
[0234] 3) BERT (Devlin J, Chang MW, Lee K, et al. Bert: Pre-training of deep bidirectional transformers for language understanding) uses BERT to learn the representation of news. Get the token [CLS] of the last hidden layer and predict the result through a linear layer.
[0235] Evidence-based approach
[0236] 1) DeClarE (reference Popat K, Mukherjee S, Yates A, et al. Declare: Debunking fake news and false claims using evidence-aware deep learning) uses bi-LSTM to obtain the semantics of evidence and obtains the representation of news through average pooling, and then uses the attention mechanism between each word in the news and evidence to generate the final news-aware representation.
[0237] 2) HAN (reference Ma J, Gao W, Joty S, et al. Sentence-level evidence embedding for claim verification with hierarchical attention networks) uses GRU to obtain semantic embedding, designs a topic consistency module and a semantic implicit module to establish a news-evidence interaction model with a document-level attention mechanism.
[0238] 3) EHIAN (reference Zhang D, Nan F, Wei X, et al. Supporting clustering with contrastive learning) uses self-attention mechanism to learn semantics and focus on important parts of interaction evidence.
[0239] 4) MAC (reference Vo N, Lee K. Hierarchical multi-head attentive network forevidence-awarefake news detection) introduced a hierarchical attention framework to model the interaction between word level and evidence level.
[0240] 5) GET (reference Xu W, Wu J, Liu Q, et al. Evidence-aware fake news detection with graph neural networks) refines the evidence graph structure through GGNN, and then uses word-level and document-level attention to interact with news evidence.
[0241] 4. Overall Experiment
[0242] The proposed model GDFEND was compared with 8 baseline models, including 3 text-based methods and 5 evidence-based methods. The experimental results are shown in Table 2, where "F1-Ma" and "Fi-Mi" represent the indicators F1-Macro and F1-Micro, respectively. When calculating the precision and recall values, "-T" means "real news" is positive, and "-F" means "fake news is positive"; the best performance is highlighted in bold; It means that when the p-value is ≤ 0.05, the performance is significantly improved.
[0243] First, the model GDFEND of the present invention significantly outperforms all existing methods in most indicators on both datasets, proving the effectiveness of GDFEND. It is worth noting that GDFEND stands out among the three recent baselines based on sequence models (EHIAN, MAC and GET), and the performance of EHIAN, MAC and GET is relatively close, which shows that the introduction of graph structure has a positive impact on evidence-based fake news detection. Specifically, compared with the best baseline model GET on both datasets, GDFEND has achieved significant improvements in performance in various indicators, which can better reflect the overall detection ability of the model. Even considering more refined performance, GDFEND has achieved the best results in the F1-T and F1-F scores of the two datasets. Secondly, compared with the pattern-based methods (i.e., the first three methods in Table 2), the evidence-based methods have achieved significant performance improvements, which may be due to the better generalization ability of the evidence-based methods, in which external information is used to detect the authenticity of the news, avoiding excessive reliance on the news text pattern. Third, among the five evidence-based baseline models, DeClarE and HAN perform much worse than the other three models. This is because they lack the exploration of semantics at different granularities. DeClarE only considers word-level semantic interactions, while HAN only relies on document-level representations to model news evidence interactions.
[0244] Table 2 Overall experiments and model comparisons on two datasets
[0245]
[0246] 5. Ablation experiment
[0247] In order to verify the impact of components such as the semantic encoder of GDFEND, this experiment conducted an ablation experiment by removing specific components, as shown in Table 3: -GSE deleted the graph semantic encoder (GGNN) and used BiLSTM as the semantic encoder; -GK means removing the Gaussian kernel function (used to capture the relevance of each word in news and evidence) in the semantic structure refinement layer, and only performing redundant evaluation through the node's own information; -CL removes the contrastive learning loss and only uses the cross entropy loss of the classification task for training; -DS does not use the model's original gated document selector. The specific results are shown in Table 3, from which it can be observed that F1-Micro and F1-Macro have shown a significant decline on both datasets. The low performance of GDFEND-GK-CL and GDFEND-GSE-CL shows that capturing long-distance semantic relevance in text and eliminating redundant information in text are of great significance for verifying the authenticity of news. At the same time, GDFEND-GK and GDFEND-DS also have a great impact on the model. Both are a screening process, which proves the effectiveness of the dual filtering structure designed by the present invention. This also indirectly proves that the screening of documents and words does not conflict with the latter part of the attention mechanism. In addition, GDFEND also showed a significant reduction on GDFEND-CL, which shows that contrastive learning is beneficial. It can explore the potential relationship between each class, help the model identify important differences between different classes, and enhance the generalization ability of the model.
[0248] Table 3 Ablation experiment
[0249]
[0250] 6. Parameter sensitivity experiment
[0251] 6.1 Gating Threshold and Node Drop Rate
[0252] The gate threshold T is used to filter out documents with high relevance to news. The higher the T value, the higher the relevance of the selected evidence to the news. The corresponding number of selected evidence will also decrease, which may lead to insufficient evidence information. Therefore, it is necessary to find a suitable threshold to balance. The node discard rate r determines the proportion of redundant information in the filtered evidence. When r = 0, the model does not delete nodes in the semantic structure refinement, and only uses GGNN to obtain important information in the graph structure. Figure 4 and Figure 5As shown, in the two filtering modules of the model of the present invention, as the gate threshold and node discard rate increase (representing the improvement of the accuracy of the acquired evidence information), the performance of the model is also improved. When the gate threshold T is set to 0.55 (Snopes dataset) or 0.60 (PolitiFact dataset), the node discard rate r is set to 0.3 (Snopes dataset) and 0.2 (PolitiFact dataset), the best performance is achieved. Excessive gate threshold and node discard rate will lead to the loss of evidence information, thus affecting the performance of the model. At the same time, the fluctuations of F1-ma and F1-mi on the two datasets are within 1.5%, which also proves the robustness of the model.
[0253] 6.2 Redundancy score fusion rate
[0254] The redundant score fusion rate β is used to control the node's own score and the node-news relevance score in the semantic structure refinement module. Figure 6 As shown in , when β = 0, it means that the redundancy score of the node is only evaluated by the evidence node’s own information. When β = 1, the model only evaluates the redundancy score of the node based on the relevance of the evidence node to the news. Figure 6 As shown in Figure 2, when β is set to 0 or 1, the performance is relatively poor, and it only determines the redundancy score from a single perspective. When β changes from 0 to 1, the performance first improves and then decreases, which shows that moderate fusion of the two scores is effective.
[0255] 7. Filter effectiveness verification
[0256] The model proposed in this paper includes two filtering modules, document selector and semantic structure refinement module, which are used to filter invalid evidence and redundant word nodes in evidence respectively. In order to verify the effectiveness of the two filtering methods, this experiment uses MAC, GET, GDFEND-DS and GDFEND itself for comparative experiments (all four models use multi-level attention mechanism). Figure 7 .like Figure 7 As shown in the figure, the MAC model has poor effect due to the lack of any filtering mechanism, while both GET and GDFEND-DS use graph structure learning to filter redundant nodes (GET only uses node information itself, while GDFEND-DS uses node information itself and node-news correlation information), and both achieve good performance. Finally, GDFEND, which includes document and node dual filtering modules, achieves the best effect, verifying the effectiveness of the dual filtering module proposed in this invention.
[0257] 8. Iteration process analysis
[0258] In order to further verify the robustness of the model, this experiment conducted an iterative process analysis on the validation sets of both datasets. The results are as follows: Figure 8As shown in the figure, the AUC curves on both datasets are relatively stable and smooth, but with the increase of epochs (iterations, 1 epoch means training all the data in the dataset once), the model performance slightly decreased in the later stage. In order to solve the problem of overfitting, this experiment uses the Early Stop method. When the performance of the model on the validation set has not improved for 10 consecutive epochs, the training process will be terminated.
[0259] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.
Claims
1. A double-filtering evidence-aware fake news detection method based on graph neural network, characterized by: include: S1: Acquire news, news authors, evidence related to the news, and evidence publishers as information to be detected; S2: Input the information to be detected into the trained fake news detection model and output the predicted probability of the authenticity of the corresponding news; Train the fake news detection model by following these steps: S201: Acquire news, news authors, and evidence and evidence publishers related to the news as training data; S202: Screening evidence: filtering evidence with low news relevance and retaining evidence with high news relevance; In step S202, the pre-trained language model BERT is first used to encode the text information of the news and each piece of evidence respectively, and then the final representation of the [CLS] tag is used as the semantic feature of the text information to obtain the corresponding news embedding matrix and the evidence embedding matrix Where N c and N e denote the number of words in the text information of news and evidence respectively, and d is the dimension of word embedding; finally, the evidence whose relevance to news is lower than the similarity threshold is filtered out through the gated document selector, and the evidence set whose relevance to news is higher than or equal to the similarity threshold is retained; The formula is described as: ε′={e:e∈ε,cossim(H e ,H c )≥T}; Where: ε′ represents the set of evidences that are retained and whose relevance to the news is greater than or equal to the similarity threshold, and the number of evidences in the evidence set is n e =|ε′|; cossim(·) represents the cosine similarity calculation; T represents the similarity threshold; e represents the candidate evidence; S203: constructing a corresponding news graph structure and an evidence graph structure based on the news and the retained evidence; S204: semantically encode the news graph structure to obtain news embedding representation; S205: Refining the graph language structure of the evidence graph structure: discarding redundant evidence nodes in the evidence graph structure, and generating corresponding evidence fine-grained node embeddings based on non-redundant evidence nodes; In step S205, the redundancy score and non-redundancy score of each evidence node in the evidence graph structure are calculated by a node filter based on a Gaussian kernel, and then k evidence nodes with the highest non-redundancy scores are screened out, and the node embedding representations of the screened k evidence nodes are concatenated together to obtain the evidence fine-grained node embedding; Generate evidence fine-grained node embeddings through the following steps: S2051: Calculate the self-redundancy score of the evidence node in the evidence graph structure; The formula is described as: s se =H e W se ; Where: s se Represents a list of self-redundancy scores of the evidence node, where each dimension represents the score of each node; is the trainable weight; H e represents the evidence embedding matrix; S2052: Calculate the relevant redundancy scores between the evidence nodes and the news in the evidence graph structure; The formula is described as: s sr =KW sr ; Where: s sr Represents a list of relevant redundant scores for evidence nodes; cossim(H ei ,H cj ) represents the cosine similarity between the i-th word in the evidence and the j-th word in the news; is a trainable weight; C c is the news node set of news; K it represents the correlation score obtained by a Gaussian kernel; K i represents the similarity embedding of the i-th node in the evidence; K represents the similarity embedding of the entire evidence, K represents the number of Gaussian kernels; μ t and are the mean and variance in different Gaussian kernels respectively; is a concatenation operation; Norm(·) is a normalization function; H ei , H cj Represents a word in the evidence graph structure and the news graph structure respectively; S2053: linearly add the self-redundancy score and the related redundancy score of the evidence node to obtain a redundancy score; The formula is described as: s r =(1-β)s se +βs sr ; Where: s r Represents a list of redundant scores for evidence nodes; β is used to control the fusion ratio of its own redundant scores and related redundant scores; S2054: Calculate a structure-aware redundancy score of each evidence node based on the redundancy score of the evidence node through a gated graph neural network; The formula is described as: Where: s f A list of redundancy scores representing the structure awareness of the evidence nodes; s r Represents a list of redundant scores for evidence nodes; Represents the evidence graph structure; GGNN represents gated graph neural network processing; S2055: Filter out k evidence nodes with the highest non-redundancy scores through f(·), and concatenate the embedding representations of the filtered evidence nodes together as the fine-grained evidence node embedding after the semantic structure is refined; The formula is described as: s n =i-σ(s f ); [H e1 ;H e2 ;...;H ek ]=f(top_k(s n )); Where: H e =[H e1 ;H e2 ;...;H ek ] represents the fine-grained node embedding of evidence; s n A list of non-redundant scores representing evidence nodes; s f Represents a list of redundant scores of evidence nodes, s f Each dimension of represents the redundancy score of a node, i is a one-dimensional vector, each dimension of which is 1; [;] is the concatenation of vectors; S206: integrating the fine-grained node embedding of evidence into document embedding through attention scores to obtain evidence embedding representation; S207: respectively concatenate the news embedding representation and the evidence embedding representation with the news author and the evidence publisher to obtain a document-level embedding representation, and then generate a predicted probability of news authenticity through a classifier; S208: Calculate the task loss based on the authenticity prediction probability of the news and the authenticity label to optimize the model parameters; S209: repeating steps S201 to S208 until the fake news detection model converges; S3: The predicted probability of the authenticity of the corresponding news is used as its false detection result.
2. The double-filtering evidence-aware fake news detection method based on graph neural network as claimed in claim 1, characterized in that: In step S203, when constructing a graph structure for news and evidence, the context information of each word is connected, and all repeated words are represented by the same node; at the same time, the adjacency matrix of the graph structure is Laplace normalized and recorded as D is the degree matrix, I is the identity matrix; Finally, the initial normalized adjacency matrix of news and evidence is used as the news graph structure and the evidence graph structure N c and N e are the number of nodes in the news graph structure and the evidence graph structure, respectively.
3. The double-filtering evidence-aware fake news detection method based on graph neural network as claimed in claim 1, characterized in that: In step S204, the gated graph neural network is first used as a graph semantic encoder to propagate and aggregate neighbor information on the news graph structure to obtain complete contextual semantics, and obtain the corresponding news node embedding; then the semantically encoded news node embedding is average pooled to generate the corresponding news embedding representation; 1) The processing formula of the gated graph neural network is described as: z i =σ(W z a i +U z H i +b z ); r i =σ(W r a i +U r H i +b r ); Where: c represents a set of nodes in a graph structure; Represents the edge weight between node i and node j in the adjacency matrix; represents the newly generated information in the current GRU layer; W*, U*, and b* are trainable parameters that control the ratio of neighbor information to self information; a i is the information aggregated by node i from its neighboring nodes; H i is the initial embedding representation of node i; z i is the update gate, which controls how much information from the previous hidden state will be passed to the current hidden state; r i is the reset gate, which controls the hidden state to forget some historical information; σ(·) is the activation function; 2) The formula for average pooling is described as: Where: Represents news embedding representation; l c is the number of word nodes in the news.
4. The double-filtering evidence-aware fake news detection method based on graph neural network as claimed in claim 1, characterized in that: In step S206, the news embedding representation is first used to calculate the attention weight of each word in the evidence fine-grained node embedding, and then the weighted sum of the words is obtained to obtain a complete embedding representation, namely the evidence embedding representation; The formula is described as: Where: Representation evidence embedding representation; H ej represents the fine-grained node embedding H e Every word in represents news embedding representation; [;] is the concatenation of vectors, so that the embedding representation of each word in the evidence takes the embedding representation of the news as a reference when calculating the attention score, that is, the news-aware evidence word attention mechanism; α j is the attention score of the jth word in the evidence; and is a trainable parameter; k is the number of words in the evidence after screening.
5. The double-filtering evidence-aware fake news detection method based on graph neural network as claimed in claim 1, characterized in that: In step S207, the authenticity prediction probability of the news is generated through the following steps: S2071: respectively concatenate the news embedding representation and the evidence embedding representation with the news author and the evidence publisher to obtain the news document-level embedding representation and the evidence document-level embedding representation; The formula is described as: Where: h c , They represent news document-level embedding representation and evidence document-level embedding representation respectively; They represent news embedding representation and evidence embedding representation respectively; s and p represent the news author and evidence publisher, respectively; S2072: Capture document-level interaction information between news and multiple pieces of evidence according to the news document-level embedding representation and the evidence document-level embedding representation, and obtain a document-level embedding representation of the interaction between news and evidence; The formula is described as: Where: h e Document-level embedding representations for news-evidence interactions; Indicates n e The concatenation of document-level embedding representations of evidence; ATTN represents the operation of performing the calculation of the attention score; S2073: Fusing the news document-level embedding representation and the news-evidence interaction document-level embedding representation to generate a final representation; The formula is described as: h=[h c ;h e ]; Where: h represents the final representation; h c 、h e They represent the news document-level embedding representation and the news-evidence interaction document-level embedding representation respectively; S2074: outputting the predicted probability of the authenticity of the corresponding news according to the final representation through a multi-layer perceptron; The formula is described as: Where: represents the predicted probability of news authenticity; MLP represents multi-layer perceptron processing; h represents the final representation.
6. The double-filtering evidence-aware fake news detection method based on graph neural network as claimed in claim 1, characterized in that: In step S208, the cross entropy loss of the fake news detection model is calculated Used as task loss to optimize model parameters; The formula is described as: Where: represents the task loss of the fake news detection model; represents the authenticity prediction probability; y represents the authenticity label.
7. The double-filtering evidence-aware fake news detection method based on graph neural network as claimed in claim 6, characterized in that: Calculate the contrast loss of the fake news detection model; then combine the task loss and contrast loss of the fake news detection model to obtain the joint loss; finally optimize the model parameters of the fake news detection model based on the joint loss; 1) The calculation formula of contrast loss is: Where: represents the contrast loss of the fake news detection model; h i is the number of samples N in a batch with the i-th sample b is the number of samples in a batch; N s is the same batch as h i The number of samples with the same label; N d is the same batch as h i The number of samples with different labels; τ is a temperature coefficient; 2) The calculation formula of joint loss is: Where: represents the joint loss of the fake news detection model; represents the task loss of the fake news detection model; represents the contrastive loss of the fake news detection model; λ is a hyperparameter used to control the degree of contrastive learning integration.
