Interpretable Fake News Detection Method Using Dual Encoder Evidence Distillation Neural Network
Through the method of dual encoder evidence distillation neural network, Gumbel-softmax function and graph structure are used to adaptively select valuable reports from a large number of reports and extract interpretable sentences, which solves the problem of insufficient or redundant report selection in false news detection. , improves detection accuracy and efficiency, and enhances the ability to capture semantic information.
Patent Information
- Application Number
- CN202311351066.0
- 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 explainable fake news detection models are prone to insufficient or redundant reports due to fixed K values when selecting valuable reports, making it difficult to guarantee detection accuracy and efficiency.
A dual-encoder evidence distillation neural network is used to adaptively select valuable reports from a large number of original reports through the Gumbel-softmax function, and extract interpretable sentences from valuable reports based on graph structure and attention interaction to generate news authenticity Predict labels and explanations.
It effectively solves the problem of fixing the K value when selecting valuable reports, improves the accuracy and efficiency of false news detection, reduces redundant information, enhances the detection performance of the model, and can better capture the semantic relevance and semantics of long-distance texts. Dependencies.
Smart Images

Figure CN117349500B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet big data and deep learning, and in particular to an interpretable fake news detection method of a dual encoder evidence distillation neural network. Background Art
[0002] The Internet has become the main medium for news dissemination due to its openness, privacy and convenience. However, these characteristics have also caused the Internet platform to gradually become a breeding ground for false news. The widespread spread of false news on the Internet has caused serious harm to individuals, society and even the country. Therefore, it is very necessary to detect news on the Internet. However, false news usually comes from hot topics, with exaggerated content and very attractive, which makes it spread very quickly. It is unrealistic to completely rely on manual detection and refutation of false information in a timely manner.
[0003] The detection results provided by traditional fake news detection models are not convincing, so the research work related to explainable fake news detection has gradually attracted people's attention. Explainable fake news detection refers to judging the authenticity of a piece of news and giving a reasonable explanation to explain why the model judges the news as true or false. Some existing explainable fake news detection methods have defects because they are very dependent on fact-checking reports, and the appearance of these reports is lagging. When fact-checking experts publish fact-checking reports, fake news has already spread wildly with the help of Internet platforms. Therefore, it is urgent to develop an explainable and universal fake news detection model to solve this problem.
[0004] Existing explainable fake news detection models usually use sequential models to model text, and use the information in the original report to assist the model in judging the authenticity of the news and generating explanations. However, most existing technologies use the TOP-K method to screen out valuable reports from a large number of original reports, but for each piece of news, the number of valuable reports is uncertain, and the TOP-K method with a fixed K value is prone to insufficient valuable reports or redundancy of invalid reports, making it difficult to ensure the accuracy and efficiency of fake news detection. Therefore, how to improve the accuracy and efficiency of explainable fake news detection is a technical problem that needs to be solved urgently. Summary of the invention
[0005] In view of the above-mentioned deficiencies of the prior art, the technical problem to be solved by the present invention is: how to provide an interpretable false news detection method of a dual encoder evidence distillation neural network, which can effectively solve the problem of fixing the K value when selecting valuable reports, and at the same time can extract interpretable sentences from valuable reports to realize news false detection, thereby improving the accuracy and efficiency of interpretable false news detection.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0007] The explainable fake news detection method based on dual encoder evidence distillation neural network includes:
[0008] S1: Obtain news and several related original reports as the information to be detected;
[0009] S2: Input the information to be detected into the trained fake news detection model, and output the authenticity prediction label and authenticity explanation of the corresponding news;
[0010] Train the fake news detection model by following these steps:
[0011] S201: Obtain news and several related original reports as training data;
[0012] S202: Encode the news and the original report to obtain a news vector representation and an original report document representation;
[0013] S203: selecting valuable reports from all original reports based on the news vector representation and the original report document representation based on the Gumbel-softmax function, and obtaining a vector representation of the valuable reports;
[0014] S204: extracting interpretable sentences from the valuable reports according to the vector representation of the valuable reports, and obtaining the vector representation of the interpretable sentences;
[0015] S205: constructing a news graph structure and an original report graph structure for news and original reports respectively, and realizing graph attention interaction between the news graph structure and several original report graph structures to generate news representation enhanced by the original reports;
[0016] S206: Generate a final vector representation based on the vector representation of the explainable sentence and the news representation enhanced by the original report, and then generate a authenticity prediction label of the news through a classifier;
[0017] S207: compose the authenticity explanation of the news through the extracted interpretable sentences;
[0018] S208: Calculate the model loss based on the authenticity prediction label of the news to optimize the model parameters;
[0019] S209: repeating steps S201 to S208 until the fake news detection model converges;
[0020] S3: The authenticity prediction label and authenticity explanation of the corresponding news are used as its explainable false detection results.
[0021] Preferably, for the encoding of news, the special token [CLS] of the last layer of the DistilBERT model is used as the vector representation of the news;
[0022] For the encoding of the original report: first use the special token [CLS] in the last layer of the DistilBERT model as the vector representation of each sentence in the original report, then use the bidirectional long short-term memory network to update the vector representation of each sentence in the original report, and finally use the maximum pooling layer to aggregate the feature representation of all sentences to form the original report document representation;
[0023] The formula is described as:
[0024]
[0025]
[0026] Where: Represents the original report document representation; represents the hidden layer state across sentences, i.e., the feature representation of sentences; BiLSTM represents bidirectional long short-term memory network processing; |d i | represents the number of sentences in the original report; MaxPooling represents maximum pooling; θ represents the encoder parameter.
[0027] Preferably, the news vector representation is used as the query Q, and different attention weights are assigned to each original report document representation To evaluate the importance of each original report to the news, the two-dimensional vector Original reports with a first dimension value of 1 are valuable for news;
[0028] The formula is described as:
[0029]
[0030]
[0031] Where: Represents the compressed representation of all original report documents; Represents the original report document representation; represents the number of original reports; h c represents the news vector representation; Indicate the importance of each original report to the news; and represents a trainable parameter matrix;
[0032] Use Gumbel-softmax function to implement attention weights learning;
[0033] The formula is described as:
[0034]
[0035]
[0036] Where: τ>0 is the temperature parameter that controls the selection distribution; g j is an independent and identically distributed distribution sampled as a noise perturbation from the Gumbel-softmax distribution; when τ→0, Approximately a one-hot vector, when τ→∞, Approximates a uniform distribution. When τ→1, the Gumbel-softmax function approximates the Softmax function.
[0037] Preferably, interpretable sentences are extracted from valuable reports by their relevance to the news, content richness, importance in the report, and non-redundancy.
[0038] Preferably, for all sentences in a valuable report, the probability of being selected is calculated based on the sentence's relevance to the news, its content richness, its importance in the report, and its non-redundancy. The probability of being selected ε k =1 / |d′ k |'s sentence is an interpretable sentence;
[0039] Probability of being selected The calculation formula is as follows:
[0040]
[0041]
[0042] Where: represents the probability of being selected; is a binary variable indicating the selected report d′ k Should the t-th sentence in be interpreted as truth? part of * is a trainable parameter; h c is the news vector representation; h′ k The vector representation of the selected valuable reports; h′ k,t is h′ k The vector representation of the tth sentence in h d is a redundant vector initialized with the value 0 and updated with the selected interpretable sentences from previously visited valuable reports.
[0043] Preferably, the words in the news and the original report are used as nodes so that there is an edge between adjacent words, thereby constructing two word-level graphs, namely, a news graph structure and an original report graph structure;
[0044] Perform Laplace normalization on the adjacency matrix of the news graph structure and the original report graph structure;
[0045] The formula is described as:
[0046]
[0047] D(D ii =∑ j A ij );
[0048] Where: represents the normalized adjacency matrix; D represents the degree matrix; I is the identity matrix; A is the adjacency matrix of the news graph structure or the original report graph structure.
[0049] Preferably, the news representation enhanced by the original report is generated by the following steps:
[0050] S2051: Use GCN to update the node representation in the graph;
[0051] The formula is described as:
[0052]
[0053] Where: Indicates news image; H ci A node matrix representing news;
[0054] S2052: Calculate the attention score of the jth word in the original report graph structure using the news graph representation, and then perform weighted summation to obtain the original report graph representation;
[0055] The formula is described as:
[0056]
[0057]
[0058]
[0059] Where: h r Represents the original report diagram representation; and is a trainable parameter; α j represents the attention score after normalization operation; H r Represents the node matrix of the original report; concat represents the concatenation operation; l c and lr denote the length of news and original reports respectively;
[0060] S2053: Implement graph attention interaction between news graph structure and several original report graph structures through document-level attention network to generate news representation enhanced by original reports;
[0061] The formula is described as:
[0062]
[0063]
[0064] Where: Indicates news representation enhanced with original report; H r The node matrix representing the original report is concatenated from n original report document representations; ATTN is the attention network module.
[0065] Preferably, the authenticity prediction label of the news is generated through the following steps:
[0066] S2061: concatenating all original report document representations and aggregating all representations through a maximum pooling layer to obtain a comprehensive representation of the original report;
[0067] The formula is described as:
[0068]
[0069] Where: h D Represents the comprehensive representation of the original report; concat represents the concatenation operation; MaxPooling represents the maximum pooling operation; Represents the original report document representation; Indicates the number of original reports;
[0070] S2062: concatenating the vector representations of all interpretable sentences and aggregating all the representations through a maximum pooling layer to obtain a comprehensive representation of the interpretable sentences;
[0071] The formula is described as:
[0072] h E =MaxPooling(concat[h" k,1 ,h″ k,2 ,…,h″ K,T ]);
[0073] Where: h E represents the comprehensive representation of interpretable sentences; concat represents the concatenation operation; MaxPooling represents the maximum pooling operation; h″ k,tThe vector representation of the tth interpretable sentence of the kth valuable report; K represents the number of valuable reports;
[0074] S2063: concatenating the comprehensive representation of the original report and the comprehensive representation of the explainable sentence with the news vector representation and the news representation enhanced by the original report to obtain a final vector representation;
[0075] The formula is described as:
[0076]
[0077] Where: represents the final vector representation; h D represents a comprehensive representation of the original report; h E A comprehensive representation of interpretable sentences; h c represents the news vector representation; A news representation that represents an enhancement of the original report;
[0078] S2064: Outputting a predicted authenticity label of the corresponding news according to the final vector representation through a multi-layer perceptron;
[0079] The formula is described as:
[0080]
[0081] Where: Represents the authenticity prediction label of the news; MLP represents the multi-layer perceptron operation; represents the final vector representation.
[0082] Preferably, each original report used as training data has a report label indicating whether it is a valuable report, and each sentence in the original report has a sentence label indicating whether it is an interpretable sentence;
[0083] In step S208, the fake news detection model also outputs a report label set of valuable reports to which the interpretable sentences belong, i.e., predicted labels for the report selection task, and a sentence label set of predicted interpretable sentences, i.e., predicted labels for the interpretable sentence extraction task;
[0084] The model loss is calculated using the following formula:
[0085]
[0086]
[0087]
[0088]
[0089] Where: represents the model loss of the fake news detection model; and They represent the cross entropy loss for the report selection task, the interpretable sentence extraction task, and the news authenticity prediction task respectively; and Represent the true label and predicted label of the report selection task respectively; and denote the true label and predicted label of the interpretable sentence extraction task respectively; y and Respectively represent the authenticity prediction label and the real label of the news; β D , β s , β C represents the trade-off parameter used to control the importance of the three tasks in the fake news detection model.
[0090] Preferably, an adaptive strategy is used to automatically allocate β D , β S , β C The value of
[0091] The formula is described as:
[0092]
[0093]
[0094]
[0095] Where: β k =β k (t), k∈{D,S,C} and f k (t) represents the loss rate of the task, t represents the iteration step; g(t) is the global function; T = 8 represents the initial temperature to control the softness of the task weight.
[0096] Compared with the prior art, the interpretable fake news detection method of the dual encoder evidence distillation neural network in the present invention has the following beneficial effects:
[0097] Firstly, the fake news detection model of the present invention selects valuable reports from all original reports, filters out original reports with low relevance to news or low reference value, and can improve the problem of introducing noise in the interaction between news and original reports; at the same time, the present invention adopts the Gumbel-softmax function to realize report screening. Compared with the TOP-K method in the prior art, it can realize the adaptive selection of original reports, and then effectively solve the problem of fixing the K value when selecting valuable reports, thereby ensuring the detection performance of the model and improving the accuracy and efficiency of explainable fake news detection.
[0098] Secondly, based on the screened valuable reports, the present invention further extracts interpretable sentences for detection, enabling the discard of possible advertising information or meaningless words (such as high-frequency words like "de" and "le") in the reports, reducing redundant information that interferes with detection, thereby improving the accuracy of interpretable fake news detection and ensuring detection efficiency. At the same time, the present invention forms a two-layer filtering structure through the report selection task and the interpretable sentence extraction task, and the two filtrations of this two-layer filtering structure are gradually deeper and more refined, that is, first filter to obtain valuable reports, and then filter interpretable sentences from the valuable reports, ultimately being able to retain as much effective and necessary sentence information as possible.
[0099] Finally, the present invention models the news text and the original report 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 and semantic dependency relationships of long-distance texts, and can also improve the accuracy of interpretable fake news detection. At the same time, the present invention constitutes a dual-encoder structure through semantic encoding and graph encoding, making the information contained in the feature representation for prediction more abundant, and the graph encoder being stronger in capturing long-distance semantic dependency relationships between sentences, being able to make up for the deficiencies of sequential models in this regard. Description of the Drawings
[0100] In order to make the objectives, technical solutions, and advantages of the invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings, where:
[0101] Figure 1 is the logic block diagram of the interpretable fake news detection method of the dual-encoder evidence distillation neural network;
[0102] Figure 2 is the network structure diagram of the fake news detection model;
[0103] Figure 3 is the experimental result of the D2EDNN model under different trade-off parameter values;
[0104] Figure 4 is the ROUGE score for generating explanations;
[0105] Figure 5 is the change in model performance on 2 datasets as the number of data iterations increases. Detailed Embodiments
[0106] 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.
[0107] 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.
[0108] The following is a further detailed description through specific implementation methods:
[0109] Example:
[0110] This embodiment discloses an explainable fake news detection method of a dual encoder evidence distillation neural network.
[0111] like Figure 1 As shown in the figure, the interpretable fake news detection method of dual encoder evidence distillation neural network includes:
[0112] S1: Obtain news and several related original reports as the information to be detected;
[0113] S2: Input the information to be detected into the trained fake news detection model (Dual Encoder EvidenceDistillation Neural Networks, D2EDNN), and output the authenticity prediction label and authenticity explanation of the corresponding news;
[0114] The structure and working principle of the fake news detection model (hereinafter referred to as D2EDNN) are as follows Figure 2 shown.
[0115] In actual training, given a fake news dataset {C}, is a tuple representing a piece of news c and its related original reports. Each of represents a raw report consisting of a sequence of sentences, |d i | represents the number of sentences in the original report. In the interpretable fake news detection task, each news c has a authenticity label y indicating whether the news is true or false, and each original report d i Both contain a binary tag Indicates whether the report contains an interpretable sentence. For each sentence s in the report i,j For example, is a binary label used to indicate whether the sentence is an interpretable sentence (evidence sentence).
[0116] Considering the three modules of document selector, interpretable sentence extractor and news authenticity prediction in the model, this paper describes this task as a multi-task joint learning problem, formally: in represents the authenticity prediction label of the news, represents the set of predicted report labels containing interpretable sentences (i.e., the predicted labels for the report selection task), represents the set of interpretable sentence labels in the predicted report (i.e., the predicted labels for the interpretable sentence extraction task), represents a news authenticity explanation (i.e., evidence) consisting of a set of extracted sentences.
[0117] Specifically, the fake news detection model is trained through the following steps:
[0118] S201: Obtain news and several related original reports as training data;
[0119] S202: Encode the news and the original report by using a document encoder to obtain a news vector representation and an original report document representation;
[0120] S203: selecting valuable reports from all original reports based on the news vector representation and the original report document representation through a document selector based on a Gumbel-softmax function, and obtaining a vector representation of the valuable report;
[0121] S204: extracting an interpretable sentence from the valuable report according to the vector representation of the valuable report by an interpretable sentence extractor, and obtaining a vector representation of the interpretable sentence;
[0122] S205: constructing a news graph structure and an original report graph structure for news and original reports respectively, and realizing graph attention interaction between the news graph structure and several original report graph structures to generate news representation enhanced by the original reports;
[0123] S206: Generate a final vector representation based on the vector representation of the explainable sentence and the news representation enhanced by the original report, and then generate a authenticity prediction label of the news through a classifier;
[0124] S207: compose the authenticity explanation of the news through the extracted interpretable sentences;
[0125] S208: Calculate the model loss based on the authenticity prediction label of the news to optimize the model parameters;
[0126] S209: repeating steps S201 to S208 until the fake news detection model converges;
[0127] S3: The authenticity prediction label and authenticity explanation of the corresponding news are used as its explainable false detection results.
[0128] First, the fake news detection model of the present invention selects valuable reports from all original reports, filters out the original reports with low relevance or reference value to the news, and can improve the problem of introducing noise in the interaction part between the news and the original reports. At the same time, the present invention uses the Gumbel-softmax function to implement report screening. Compared with the TOP-K method in the prior art, it can achieve the adaptive selection of original reports, and thus effectively solve the problem of the fixed K value when selecting valuable reports, thereby ensuring the detection performance of the model and improving the accuracy and efficiency of interpretable fake news detection. Secondly, the present invention further extracts interpretable sentences for detection based on the selected valuable reports, so that it is possible to discard the advertising information or meaningless words (such as high-frequency words like "de" and "le") that may be contained in the reports, reducing the redundant information that interferes with detection, thereby improving the accuracy of interpretable fake news detection and ensuring the detection efficiency. At the same time, the present invention forms a two-layer filtering structure through the report selection task and the interpretable sentence extraction task, and the two filtrations of this two-layer filtering structure are gradually in-depth and refined, that is, first filter to obtain valuable reports, and then filter out interpretable sentences from the valuable reports, and finally can retain as much effective and necessary sentence information as possible. Finally, the present invention models the news text and the original report 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 the existing model is difficult to capture the semantic relevance and semantic dependency relationship of long-distance text, and can also improve the accuracy of interpretable fake news detection. At the same time, the present invention constitutes a dual-encoder structure through semantic encoding and graph encoding, making the information contained in the feature representation for prediction more abundant, and the graph encoder has stronger ability to capture long-distance semantic dependency relationships between sentences, which can make up for the deficiencies of sequential models in this regard.
[0129] In the specific implementation process, for the word sequence T=(w 1 …w t …w |T| ) in the news or the original report, is a d-dimensional vector initialized by a text encoder, and |T| is the number of words. Since multiple words form a sentence and multiple sentences form a report, the present invention uses a hierarchical encoding method in the model to obtain the vector representations of sentences and reports respectively. Specifically, for news (regarded as sentences) encoding, the special token [CLS] in the last layer of the DistilBERT model is used as the representation of the sentence, that is, the news vector representation. Therefore, the representation of each sentence s i in each news c and each original report d i,j will be obtained respectively as and
[0130] For the encoding of the original report (regarded as a document): first use the special token [CLS] in the last layer of the DistilBERT model as the representation of each sentence in the original report to obtain the vector representation of the sentence, then use the bidirectional long short-term memory network (BiLSTM) as the text encoder to update the vector representation of the sentence (extract the feature representation of the sentence), and finally use the maximum pooling layer to aggregate the feature representation of all sentences to form the original report document representation;
[0131] The formula is described as:
[0132]
[0133]
[0134] Where: Represents the original report document representation; represents the hidden layer state across sentences, i.e., the feature representation of sentences; BiLSTM represents bidirectional long short-term memory network processing; |d i | represents the number of sentences in the original report; MaxPooling represents maximum pooling; θ represents the encoder parameter.
[0135] In the specific implementation process, since the report selection task is customized based on a large number of original reports, most of which are useless noise, it is necessary to screen the reports to select those that are valuable to the news, in order to narrow the scope of interpretable sentence extraction. For each piece of news, the number of reports that are valuable for judging its authenticity is not fixed. For a certain target news, only two reports that are valuable to it may be selected from the n original reports related to it (R 1 and R n ), these two reports contain important interpretable sentences, which are used for the subsequent news authenticity prediction and explanation generation. However, for other target news, there may be only one original report containing important interpretable sentences, so it is impossible to manually fix the number of selected reports. Therefore, the present invention introduces the Gumbel-softmax function to solve the problem of fixing the K value.
[0136] Extract valuable reports from a large number of original reports It is helpful to predict the authenticity of news. Therefore, the present invention uses a coarse-grained document selector and uses the news vector representation as the query Q (the query vector Q in the attention formula refers to the formula h in c ), and assign different attention weights to each original report document representation To evaluate the importance of each original report to the news, the two-dimensional vector Original reports with a first dimension value of 1 are valuable for news;
[0137] The formula is described as:
[0138]
[0139]
[0140] Where: Represents the compressed representation of all original report documents; Represents the original report document representation; represents the number of original reports; h c represents the news vector representation; Indicates the importance of each original report to the news, where the first dimension indicates the consistency between the original report and the news, and the second dimension indicates the inconsistency between the original report and the news; and represents a trainable parameter matrix;
[0141] In order to make the selection report highlight the probability factor and promote the back propagation of the gradient, the present invention uses the Gumbel-softmax function to implement the attention weight The learning formula is described as:
[0142]
[0143]
[0144] Where: τ>0 is the temperature parameter that controls the selection distribution; g j is an independent and identically distributed distribution sampled as a noise perturbation from the Gumbel-softmax distribution; when τ→0, Approximately a one-hot vector, when τ→∞, Approximates a uniform distribution. When τ→1, the Gumbel-softmax function is similar to the general Softmax function. Specifically, is a two-dimensional vector (two-dimensional distribution), and we regard reports with the first dimension value of 1 as valuable reports.
[0145] In this embodiment, the selected kth report d′ k The document is represented as h′ k , for the explainable sentence extraction module.
[0146] The fake news detection model of the present invention selects valuable reports from all original reports, filters out original reports with low relevance to news or low reference value, and can improve the problem of introducing noise in the interaction between news and original reports; at the same time, the present invention adopts the Gumbel-softmax function to realize report screening. Compared with the TOP-K method in the prior art, it can realize adaptive selection of original reports, and thus effectively solve the problem of fixing the K value when selecting valuable reports, thereby ensuring the detection performance of the model and improving the accuracy and efficiency of explainable fake news detection.
[0147] In the specific implementation process, after selecting valuable reports, explanation generation is regarded as a multi-document summarization task, and the sentences in the selected reports are accessed sequentially. Interpretable sentences should be relevant to the news, rich in information, of high importance, and non-redundant. Therefore, the present invention constructs a fine-grained sentence selector to extract interpretable sentences from the selected K valuable reports as explanations for news authenticity prediction, and considers the following four features:
[0148] 1) Relevance: measures the coverage of each sentence on the news topic.
[0149] 2) Richness: measures the amount of content information in each sentence containing evidence.
[0150] 3) Importance in the report: measure the importance of each sentence to the report it belongs to.
[0151] 4) Non-redundancy: measures the novelty of each sentence with respect to previously selected interpretable sentences.
[0152] Specifically, the present invention extracts interpretable sentences from valuable reports by comparing the relevance of sentences to news, content richness, importance in reports, and non-redundancy. For all sentences in valuable reports, the probability of being selected is calculated based on the relevance of sentences to news, content richness, importance in reports, and non-redundancy. The probability of being selected ε k =1 / |d′ k |'s sentence is an interpretable sentence;
[0153] Probability of being selected The calculation formula is as follows:
[0154]
[0155]
[0156] It should be noted that in the above formula, the correlation corresponds to the parameter W c , the content richness corresponds to parameter Ws , the importance corresponding parameter W in the report r , the non-redundancy corresponding parameter W d .
[0157] In the formula: represents the selection probability; is a binary variable indicating whether the t-th sentence in the selected report d′ k should be used as part of the authenticity explanation ; W * is a trainable parameter; h c is the news vector representation; h′ k represents the vector representation of the selected valuable report; h′ k,t is h′ k the vector representation of the t-th sentence in; h d is a redundancy vector initialized with the value 0 and updated by the interpretable sentences selected from the previously visited valuable reports.
[0158] The present invention further extracts interpretable sentences for implementing detection based on the screened valuable reports, enabling the possible advertisement information or meaningless words (such as high-frequency words like "de" and "le") in the reports to be discarded, reducing the redundant information interfering with the detection, thereby improving the accuracy of interpretable fake news detection and ensuring the detection efficiency. At the same time, the present invention forms a two-layer filtering structure through the report selection task and the interpretable sentence extraction task, and the two filtrations of this two-layer filtering structure are gradually deeper and more refined, that is, first filter to obtain valuable reports, and then filter to obtain interpretable sentences from the valuable reports, and finally can retain as much effective and necessary sentence information as possible.
[0159] In the specific implementation process, the Graph Neural Network (GNN) has significant advantages in sequence data modeling. Compared with traditional sequential models, GNN can utilize the relationship information in the graph structure, thereby better capturing the long-distance semantic relationships between nodes. This enables GNN to achieve satisfactory performance in multiple tasks such as recommendation systems, sentiment analysis, and fake news detection. In terms of fake news detection, GNN can model news articles as a graph structure. By analyzing the node features in the fake news propagation network, fully utilizing the relationship information in the graph structure, and GNN can capture complex semantic structures, which can improve the performance and effect of the fake news inspection task model.
[0160] 1) Graph construction
[0161] The present invention converts the target news and its related original reports into graphs. Specifically, the words in the news and original reports are used as nodes, so that there is an edge between adjacent words, thereby constructing two word-level graphs, namely the news graph structure and the original report graph structure;
[0162] 2) Graph Coding
[0163] The word embedding is used as the initial node representation. In order to ensure numerical stability, the adjacency matrix of the news graph structure and the original report graph structure is Laplace normalized; the formula is described as:
[0164]
[0165] D(D ii =∑ j A ij );
[0166] Where: represents the normalized adjacency matrix; D represents the degree matrix; I is the identity matrix; A is the adjacency matrix of the news graph structure or the original report graph structure;
[0167] In order to mine long-distance semantic dependencies, the present invention uses graph convolutional neural network (GCN) to update the representation of nodes in the news graph structure or the original report graph structure, so that each node can capture its context information. Taking the news graph as an example, the formula is as follows:
[0168]
[0169] in is the adjacency matrix of the news graph after Laplace normalization, N c Indicates the number of nodes in the initialized news graph, is the latent vector matrix of the lth layer, is a trainable parameter matrix.
[0170] 3) Graph Attention Interaction
[0171] The enhanced news representation of the original report is generated by the following steps:
[0172] S2051: Use GCN to update the node representation in the graph;
[0173] The formula is described as:
[0174]
[0175] Where: Indicates news image; H ciThe node matrix representing the news (the node matrix of the news refers to the embedding representation initialized by the words, obtained through the aforementioned text encoder);
[0176] S2052: Calculate the attention score of the jth word in the original report graph structure using the news graph representation, and then perform weighted summation to obtain the original report graph representation;
[0177] In order to make the news graph structure and the original report graph structure interact, the present invention uses a word-level attention network to obtain news-aware original report representation. To calculate the attention score of the jth word in the original report graph, and then weighted sum to get the original report representation. The formula is described as:
[0178]
[0179]
[0180]
[0181] In this embodiment, the above attention score calculation process is simplified as follows:
[0182] Where: h r Represents the original report diagram representation; and is a trainable parameter; α j represents the attention score after normalization operation; H r Represents the node matrix of the original report; concat represents the concatenation operation; l c and l r denote the length of news and original reports respectively;
[0183] S2053: Implement graph attention interaction between news graph structure and several original report graph structures through document-level attention network to generate news representation enhanced by original reports;
[0184] The formula is described as:
[0185]
[0186]
[0187] Where: Indicates news representation enhanced with original report; H r The node matrix representing the original report is obtained by concatenating n original report documents; ATTN is the attention network module, which can be referred to above The calculation process.
[0188] The present invention models the news text and the original report respectively to obtain a graph structure, which closely connects the scattered semantic information in the text on the graph, that is, it is able to solve the distance problem of information in the text by modeling the graph, thereby improving the problem that the existing model is difficult to capture the semantic relevance and semantic dependency of distant texts, and can also improve the accuracy of explainable false news detection.
[0189] In the specific implementation process, in order to enhance the final news authenticity prediction effect, in addition to the news representation and all report representations, this paper further uses the extracted interpretable sentence representation and the news representation based on evidence enhancement through the graph attention layer as supplementary evidence features. Specifically, the model aggregates the interpretable sentence representation and report representation respectively as evidence for judging the truth or falsehood of the target news. Then the source news representation, evidence-enhanced news representation, interpretable sentence representation, and report representation are connected as the final representation for prediction.
[0190] The authenticity prediction label of news is generated through the following steps:
[0191] S2061: concatenating all original report document representations and aggregating all representations through a maximum pooling layer to obtain a comprehensive representation of the original report;
[0192] The formula is described as:
[0193]
[0194] Where: h D Represents the comprehensive representation of the original report; concat represents the concatenation operation; MaxPooling represents the maximum pooling operation; Represents the original report document representation; Indicates the number of original reports;
[0195] S2062: concatenating the vector representations of all interpretable sentences and aggregating all the representations through a maximum pooling layer to obtain a comprehensive representation of the interpretable sentences;
[0196] The formula is described as:
[0197] h E =MaxPooling(concat[h″ k,1 ,h″ k,2 ,…,h″ K,T ]);
[0198] Where: h E represents the comprehensive representation of interpretable sentences; concat represents the concatenation operation; MaxPooling represents the maximum pooling operation; h″ k,tThe vector representation of the tth interpretable sentence of the kth valuable report; K represents the number of valuable reports;
[0199] S2063: concatenating the comprehensive representation of the original report and the comprehensive representation of the explainable sentence with the news vector representation and the news representation enhanced by the original report to obtain a final vector representation;
[0200] The formula is described as:
[0201]
[0202] Where: Represents the final vector representation; D represents a comprehensive representation of the original report; h E A comprehensive representation of interpretable sentences; h c represents the news vector representation; A news representation that represents an enhancement of the original report;
[0203] S2064: Outputting a predicted authenticity label of the corresponding news according to the final vector representation through a multi-layer perceptron (MLP);
[0204] The formula is described as:
[0205]
[0206] Where: Represents the authenticity prediction label of the news; MLP represents the multi-layer perceptron operation; represents the final vector representation.
[0207] In actual training, given a fake news dataset {C}, is a tuple representing a piece of news c and its related original reports. Each of represents a raw report consisting of a sequence of sentences, |d i | represents the number of sentences in the original report. In the interpretable fake news detection task, each news c has a authenticity label y indicating whether the news is true or false, and each original report d i Both contain a binary tag Indicates whether the report contains an interpretable sentence. For each sentence s in the report i,j For example, is a binary label used to indicate whether the sentence is an interpretable sentence (evidence sentence).
[0208] Considering the three modules of document selector, interpretable sentence extractor and news authenticity prediction in the model, this paper describes this task as a multi-task joint learning problem, formally: in represents the authenticity prediction label of the news, represents the set of predicted report labels containing interpretable sentences (i.e., the predicted labels for the report selection task), represents the set of interpretable sentence labels in the predicted report (i.e., the predicted labels for the interpretable sentence extraction task), represents a news authenticity explanation (i.e., evidence) consisting of a set of extracted sentences.
[0209] Training the three tasks (report selection task, explainable sentence extraction task, and authenticity prediction task) separately is very inefficient. Considering the implicit correlation between the three tasks, we adopt a multi-task joint learning approach to jointly optimize the three subtasks in an end-to-end model. For model training, the overall loss Minimize. The model loss is calculated using the following formula:
[0210]
[0211]
[0212]
[0213]
[0214] Where: represents the model loss of the fake news detection model; and They represent the cross entropy loss for the report selection task, the interpretable sentence extraction task, and the news authenticity prediction task respectively; and Represent the true label and predicted label of the report selection task respectively; and denote the true label and predicted label of the interpretable sentence extraction task respectively; y and Respectively represent the authenticity prediction label and the real label of the news (i.e., the authenticity prediction task); β D , β S , β C represents the trade-off parameter used to control the importance of the three tasks in the fake news detection model.
[0215] The present invention jointly trains any three tasks of report selection task, explainable sentence extraction task and authenticity prediction task through the above-mentioned loss function, which can not only consider the implicit correlation of these three tasks and improve the training effect of the false detection model, but also jointly optimize these three subtasks, thereby improving the training efficiency of the false detection model.
[0216] In the specific implementation process, the present invention adopts an adaptive strategy to automatically allocate β D , β S , β C The value of .
[0217] A simple and effective method is used to automatically maintain the dynamic balance between multiple tasks of different benchmark datasets, namely Multi-Task Adaptive Weighting (MAW). The weighting function β k The formula for (t) is:
[0218]
[0219]
[0220]
[0221] Where: β k =β k (t), k∈{D,S,C} and f k (t) represents the loss rate of the task, and t represents the iteration step; g(t) is a global function that can generate a growth value, which helps to achieve the best balance between multiple tasks, because a larger T value can make different tasks more evenly distributed; T = 8 represents the initial temperature to control the softness of the task weight, similar to N k =3 represents the total number of subtasks. In practical applications, we only need to initialize β k = 0.5, and update the average loss after each iteration.
[0222] The above formula of the present invention is a multi-task joint learning framework, and the three parameters represent the importance of three subtasks: report extraction, interpretable sentence extraction, and news authenticity prediction. During the model training process, the importance of each task will continue to change, so the present invention uses an adaptive strategy to automatically assign three values instead of manually fixing them, which will have a better model training effect.
[0223] In order to better illustrate the advantages of the technical solution of the present invention, this embodiment discloses the following experiment.
[0224] 1. Experimental setup
[0225] 1.1 Dataset
[0226] LIARRAW: This dataset is expanded on the basis of the LIAR-PLUS dataset. Yang (reference Yang Z, Ma J, Chen H, et al. A Coarse-to-fine Cascaded Evidence-Distillation Neural Network for Explainable Fake News Detection) et al. collected original reports related to each news in the dataset from the Politifact website and constructed explainable sentences and evidence labels.
[0227] RAWFC: This dataset is constructed from scratch by searching news keywords on the Snopes website and collecting original reports related to them.
[0228] Table 1 Dataset statistics
[0229]
[0230] 1.2 Experimental settings and evaluation indicators
[0231] In the experiment, DistilBERT (reference Sanh V, Debut L, Chaumond J, et al. DistilBERT, adistilled version of BERT: smaller, faster, cheaper and lighter) initializes the word vector dimension to d = 768 and the LSTM hidden layer size to 384. The Adam optimizer is used, the learning rate is set to 1e-5, and the mini-batch size is set to 1 to minimize the joint cross entropy loss. For RAWFC and LIARRAW, the maximum number of selected reports per news K is set to 12 and 18. A soft threshold ε is used. l =1 / |d′ k | is used to control the number of interpretable sentences selected. The maximum number of interpretable sentences selected for the two datasets is set to 30 and 55 respectively. The dropout rate is set to 0.4 before the final prediction, and the number of training rounds is set to 8.
[0232] This experiment uses macro-average precision (P), recall (R), and F1 value (macF1) as evaluation indicators for news authenticity prediction, and uses ROUGE-N F1 value (N∈{1,2,L}) to evaluate the quality of generated explanations.
[0233] 1.3 Baseline Model
[0234] The baseline models selected in this experiment are as follows:
[0235] SVM (reference Pedregosa F, Varoquaux G, Gramfort A, et al. Scikit-learn: Machine learning in Python): Use bag-of-words features to train a SVM-based fake news detection model.
[0236] CNN (see Wang W Y. “liar, liar pants on fire”: A new benchmark dataset for fake news detection): A fake news detection model that combines available metadata features to enhance representation learning.
[0237] RNN (reference Rashkin H, Choi E, Jang JY, et al. Truth of varying shades: Analyzing language in fake news and political fact-checking): learn representations in word sequences without additional external knowledge.
[0238] DeClarE (reference Popat K, Mukherjee S, Yates A, et al. Declare: Debunking fakenews and false claims using evidence-aware deep learning): combines word embeddings from news, reports, and news sources to obtain the credibility of news.
[0239] dEFEND (reference Shu K, Cui L, Wang S, et al. defend: Explainable fake news detection): uses the GUR model for accuracy prediction and explainability generation.
[0240] SentHAN (reference Ma J, Gao W, Joty S, et al. Sentence-level evidence embedding for claim verification with hierarchical attention networks): detects fake news through the coherence of each sentence and its semantic conflict with the news.
[0241] SBERT-FC (Kotonya N, Toni F. Explainable automated fact-checking for public health claims): This model uses SentenceBERT to encode the top-K sentences selected to detect fake news.
[0242] GenFE / GenFE_MT (reference Atanasova P, Simonsen JG, Lioma C, et al. Generating fact checking explanations): These two models, one independently detects fake news, and the other uses a multi-task joint learning framework to simultaneously perform fake news detection and explainability generation.
[0243] CofCED (reference Yang Z, Ma J, Chen H, et al. A Coarse-to-fine Cascaded Evidence-Distillation Neural Network for Explainable Fake News Detection): This model selects evidence from original reports for news authenticity prediction and explanation generation.
[0244] 2. Overall experiment
[0245] This experiment compares the D2EDNN model with the above baseline model. The overall experimental results are as follows: Figure 3 As shown. The model proposed in the present invention has achieved good performance on both datasets. From Table 2, it can be seen that the experimental results of the models based on CNN and RNN on both datasets are better than those of the SVM model, which shows that the deep learning method can better capture semantic and grammatical features from the original report, and the dual encoder structure proposed in the present invention constructs news and original report graphs, and makes the two graphs interact to obtain auxiliary features, enhance the representation used for news authenticity prediction, so that the performance of the model on the two datasets is greatly improved. Compared with the model CofCED that only uses the text encoder (due to different experimental environments, we use the reproduction results on the 3090Ti graphics card server), our model has better effect, which shows that the graph neural network is better in capturing long-distance semantic dependencies and integrating contextual information, so that the representation used for news authenticity prediction contains richer information. In Table 2, bold indicates the optimal result, and underline indicates the suboptimal result.
[0246] Table 2 Experimental results of D2EDNN model
[0247]
[0248] 3. Ablation experiment
[0249] In order to explore the role of each module of the D2EDNN model on the whole, this experiment conducted an ablation experiment, removing report selection, interpretable sentence extraction, graph construction and graph encoding, and Gumbel-softmax. The experimental results are shown in Table 3.
[0250] 1) w / o RS&SE: Remove the report selection and interpretability sentence extraction modules. Only use the news text and the original report information without denoising.
[0251] 2) w / o RS: Remove the report selection module and do not filter reports.
[0252] 3) w / o SE: The explainable sentence extraction module is removed, and the final representation used for news authenticity prediction does not include explainable sentence representation.
[0253] 4) w / o GCN: The graph construction and graph encoding parts are removed, and the final representation used for news authenticity prediction does not include the news representation after evidence enhancement.
[0254] 5) w / o Gumbel-softmax: Remove the Gumbel-softmax function module and use the original method of selecting TOP-K reports.
[0255] It can be seen from Table 3 that removing the above modules significantly reduces the model effect, which fully verifies the effectiveness of each module in the present invention.
[0256] Experimental results show that without the report selection and interpretable sentence extraction modules, the model performance is poor. This is because the original reports contain a lot of noise, which affects the model's ability to judge the authenticity of news. When the report selection module is removed alone, the model performance also decreases. This is because most of the original reports are useless. If the reports are not screened, it will be difficult for the model to extract useful information. When the interpretable sentence extraction module is removed alone, the model performance also decreases. This is because the valuable reports extracted by the report selection module also contain noise. If the useful information is not further screened, the model's ability to judge the authenticity of news will be weakened.
[0257] The introduction of graph neural networks and the construction of news graphs and original report graphs have improved the model's ability to judge whether news is true or false, which shows that the dual encoder structure enables the model to capture richer semantic and grammatical feature information in the original report. This further proves the effectiveness of our introduction of graph neural networks. Secondly, it can be seen that after removing the Gumbel-softmax module, the model effect has also declined significantly. This is because the problem of fixed K value has been solved. For each target news, the number of valuable reports is different. If the number of valuable reports is fixed, noise will be introduced for some target news, which will affect the performance of the model.
[0258] Table 3 Ablation experiment results of D2EDNN on two datasets
[0259]
[0260] 4. Parameter sensitivity experiment
[0261] Since the present invention adopts a multi-task joint learning framework, the three trade-off parameters β in the loss calculation formula are further studied. k The impact on the model. Experiments were conducted on the RAWFC dataset, and the experimental results are as follows Figure 3 As shown, the value of one parameter is adjusted from 0.1 to 0.9, and the values of the other two parameters are fixed at 1-β k , and compared with the multi-task adaptive weighting method, it can be found that the weighting parameters affect the performance of the model. The three tasks show different importance and priority over time. In contrast, the multi-task adaptive weighting method (represented by the dotted line) adopted by the model of the present invention always achieves the best performance.
[0262] 5. Interpretability Evaluation
[0263] This experiment uses the ROUGE metric to evaluate the quality of generated explanations and compares them with the following baseline models:
[0264] 1) EXTABS (Kotonya N, Toni F. Explainable automated fact-checking for public health claims): This model uses an extractive summarization model pre-trained on additional news articles and summary data before fine-tuning to generate explanations.
[0265] 2) dEFEND (reference Shu K, Cui L, Wang S, et al. defend: Explainable fake news detection): This model uses internal attention weights to generate explanations.
[0266] 3) GenFE_MT (reference Atanasova P, Simonsen JG, Lioma C, et al. Generating fact checking explanations): This model combines a pre-trained model to generate explanations.
[0267] 4) CofCED (reference Yang Z, Ma J, Chen H, et al. A Coarse-to-fine Cascaded Evidence-Distillation Neural Network for Explainable Fake News Detection): Generate explanations from original reports using a pre-trained extractive summarization model.
[0268] The experimental results are as follows Figure 4 As shown in the figure, the explanations generated by our model are of high quality. The ROUGE index scores are the highest on the RAWFC dataset, and only the ROU-1 index is lower than the GenFE_MT model on the LIARRAW dataset. This shows that our model is better at selecting original reports and interpretable sentences that are valuable to the target news, making the explanations generated by the extractive summary model of higher quality. For the RAWFC dataset, the EXTABS model cannot handle it because the explanations in the RAWFC dataset are too long. In short, our model has achieved good performance in the news authenticity prediction task, and the generated explanations are also of high quality.
[0269] 6. Learning curve
[0270] The amount of training data will affect the model performance. The learning curve can be used to check whether the model is overfitting or underfitting. Figure 5 This is the curve of the F1 Score and training loss of the D2EDNN model on the two datasets as the number of training data iterations increases. Since the model in this paper is a multi-task joint learning framework, the loss value is relatively large. Figure 5 It can be seen that as the number of data iterations increases, the loss value gradually decreases and the F1 Score value gradually increases.
[0271] 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. An interpretable fake news detection method based on dual encoder evidence distillation neural network, characterized by: include: S1: Obtain news and several related original reports as the information to be detected; S2: Input the information to be detected into the trained fake news detection model, and output the authenticity prediction label and authenticity explanation of the corresponding news; Train the fake news detection model by following these steps: S201: Obtain news and several related original reports as training data; S202: Encode the news and the original report to obtain a news vector representation and an original report document representation; S203: selecting valuable reports from all original reports based on the news vector representation and the original report document representation based on the Gumbel-softmax function, and obtaining a vector representation of the valuable reports; In step S203, the news vector representation is used as the query Q, and different attention weights are assigned to each original report document representation To evaluate the importance of each original report to the news, the two-dimensional vector Original reports with a first dimension value of 1 are valuable for news; is a two-dimensional vector, and reports with the first dimension value of 1 are considered valuable reports; The formula is described as: Where: Represents the compressed representation of all original report documents; Represents the original report document representation; represents the number of original reports; h c represents the news vector representation; Indicate the importance of each original report to the news; and represents a trainable parameter matrix; Use Gumbel-softmax function to implement attention weights learning; The formula is described as: Where: τ>0 is the temperature parameter that controls the selection distribution; g j is an independent and identically distributed distribution sampled as a noise perturbation from the Gumbel-softmax distribution; when τ→0, Approximately a one-hot vector, when τ→∞, Approximate to a uniform distribution, when τ→1, the Gumbel-softmax function is similar to the Softmax function; S204: extracting interpretable sentences from the valuable reports according to the vector representation of the valuable reports, and obtaining the vector representation of the interpretable sentences; S205: constructing a news graph structure and an original report graph structure for news and original reports respectively, and realizing graph attention interaction between the news graph structure and several original report graph structures to generate news representation enhanced by the original reports; S206: Generate a final vector representation based on the vector representation of the explainable sentence and the news representation enhanced by the original report, and then generate a authenticity prediction label of the news through a classifier; S207: compose the authenticity explanation of the news through the extracted interpretable sentences; S208: Calculate the model loss based on the authenticity prediction label of the news to optimize the model parameters; S209: repeating steps S201 to S208 until the fake news detection model converges; S3: The authenticity prediction label and authenticity explanation of the corresponding news are used as its explainable false detection results.
2. The interpretable fake news detection method of the dual encoder evidence distillation neural network as claimed in claim 1, characterized in that: In step S202, for the encoding of news, the special tag [CLS] of the last layer of the DistilBERT model is used as the vector representation of the news; For the encoding of the original report: first use the special token [CLS] in the last layer of the DistilBERT model as the vector representation of each sentence in the original report, then use the bidirectional long short-term memory network to update the vector representation of each sentence in the original report, and finally use the maximum pooling layer to aggregate the feature representation of all sentences to form the original report document representation; The formula is described as: Where: Represents the original report document representation; represents the hidden layer state across sentences, i.e., the feature representation of sentences; BiLSTM represents bidirectional long short-term memory network processing; |d i | represents the number of sentences in the original report; MaxPooling represents maximum pooling; θ represents the encoder parameter.
3. The interpretable fake news detection method of the dual encoder evidence distillation neural network as claimed in claim 1, characterized in that: In step S204, interpretable sentences are extracted from valuable reports based on the relevance of the sentences to the news, the richness of the content, the importance in the report, and the non-redundancy.
4. The interpretable fake news detection method of the dual encoder evidence distillation neural network as described in claim 3 is characterized by: In step S204, for all sentences in the valuable report, the probability of being selected is calculated based on the relevance of the sentence to the news, the richness of the content, the importance in the report, and the non-redundancy. The probability of being selected ε k =1 / |d ′ k |'s sentence is an interpretable sentence; Probability of being selected The calculation formula is as follows: Where: represents the probability of being selected; is a binary variable indicating the selected report d′ k Should the t-th sentence in be interpreted as truth? part of * is a trainable parameter; h c is the news vector representation; h′ k The vector representation of the selected valuable reports; h′ k,t is h′ k The vector representation of the tth sentence in h d is a redundant vector initialized with the value 0 and updated with the selected interpretable sentences from previously visited valuable reports.
5. The interpretable fake news detection method of the dual encoder evidence distillation neural network as claimed in claim 1, characterized in that: In step S205, the words in the news and the original report are used as nodes so that there is an edge between adjacent words, thereby constructing two word-level graphs, namely, a news graph structure and an original report graph structure; Perform Laplace normalization on the adjacency matrix of the news graph structure and the original report graph structure; The formula is described as: D(D ii =∑ j A ij ); Where: represents the normalized adjacency matrix; D represents the degree matrix; I is the identity matrix; A is the adjacency matrix of the news graph structure or the original report graph structure.
6. The interpretable fake news detection method of the dual encoder evidence distillation neural network as claimed in claim 5, characterized in that: In step S205, the news representation enhanced by the original report is generated by the following steps: S2051: Use GCN to update the node representation in the graph; The formula is described as: Where: Indicates news image; H ci A node matrix representing news; S2052: Calculate the attention score of the jth word in the original report graph structure using the news graph representation, and then perform weighted summation to obtain the original report graph representation; The formula is described as: Where: h r Represents the original report diagram representation; and is a trainable parameter; α j represents the attention score after normalization operation; H r Represents the node matrix of the original report; concat represents the concatenation operation; l c and l r denote the length of news and original reports respectively; S2053: Implement graph attention interaction between news graph structure and several original report graph structures through document-level attention network to generate news representation enhanced by original reports; The formula is described as: Where: Indicates news representation enhanced with original report; H r The node matrix representing the original report is concatenated from n original report document representations; ATTN is the attention network module.
7. The interpretable fake news detection method of the dual encoder evidence distillation neural network as claimed in claim 1, characterized in that: In step S206, the authenticity prediction label of the news is generated through the following steps: S2061: concatenating all original report document representations and aggregating all representations through a maximum pooling layer to obtain a comprehensive representation of the original report; The formula is described as: Where: h D Represents the comprehensive representation of the original report; concat represents the concatenation operation; MaxPooling represents the maximum pooling operation; Represents the original report document representation; Indicates the number of original reports; S2062: concatenating the vector representations of all interpretable sentences and aggregating all the representations through a maximum pooling layer to obtain a comprehensive representation of the interpretable sentences; The formula is described as: h E =MaxPooling(concat[h ″ k,1 ,h" k,2 ,…,h″ K,T ]); Where: h E represents the comprehensive representation of interpretable sentences; concat represents the concatenation operation; MaxPooling represents the maximum pooling operation; h″ k,t The vector representation of the tth interpretable sentence of the kth valuable report; K represents the number of valuable reports; S2063: concatenating the comprehensive representation of the original report and the comprehensive representation of the explainable sentence with the news vector representation and the news representation enhanced by the original report to obtain a final vector representation; The formula is described as: Where: represents the final vector representation; h D represents a comprehensive representation of the original report; h E A comprehensive representation of interpretable sentences; h c represents the news vector representation; News representation that represents an enhancement of the original report; S2064: Outputting a predicted authenticity label of the corresponding news according to the final vector representation through a multi-layer perceptron; The formula is described as: Where: Represents the authenticity prediction label of the news; MLP represents the multi-layer perceptron operation; represents the final vector representation.
8. The interpretable fake news detection method of the dual encoder evidence distillation neural network as claimed in claim 1, characterized in that: In step S201, each original report used as training data has a report label indicating whether it is a valuable report, and each sentence in the original report has a sentence label indicating whether it is an interpretable sentence; In step S208, the fake news detection model also outputs a report label set of valuable reports to which the interpretable sentences belong, i.e., predicted labels for the report selection task, and a sentence label set of predicted interpretable sentences, i.e., predicted labels for the interpretable sentence extraction task; The model loss is calculated using the following formula: Where: represents the model loss of the fake news detection model; and They represent the cross entropy loss for the report selection task, the interpretable sentence extraction task, and the news authenticity prediction task respectively; and Represent the true label and predicted label of the report selection task respectively; and denote the true label and predicted label of the interpretable sentence extraction task respectively; y and Represent the authenticity prediction label and true label of the news respectively; β D , β S , β C represents the trade-off parameter used to control the importance of the three tasks in the fake news detection model.
9. The interpretable fake news detection method of the dual encoder evidence distillation neural network as claimed in claim 8, characterized in that: Adopting adaptive strategy to automatically allocate β D , β S , β C The value of The formula is described as: Where: β k =β k (t), k∈{D,S,C} and f k (t) represents the loss rate of the task, t represents the iteration step; g(t) is the global function; T = 8 represents the initial temperature to control the softness of the task weight.
Citation Information
Patent Citations
False news detection system and method based on general cognition and individual cognition
CN112966069A
False news interpretability detection system and method based on evidence inference network
CN112988959A
Rumor detection method and device based on multi-pointer collaborative attention
CN114841147A
News event detection method and system fusing various text semantic structure chart representations
CN115034224A
Method and System for Detecting Fake News Based on Multi-Task Learning Model
US20200342314A1
