Trusted network false information identification method and device

The RoBERTa model is used to extract the deep semantic and textual element features of false information, combined with syntactic dependency analysis and emotional tendency features, to solve the balance problem between accuracy and interpretability in false information identification, and improve the performance and understanding of false information identification. .

CN118747221AActive Publication Date: 2024-10-08XIDIAN UNIV

Patent Information

Application Number
CN202410878880.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-08
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

It is difficult to balance accuracy and interpretability with false information identification methods in the existing technology. Especially on small sample data sets, the effect is limited and the interpretability is lacking.

Method used

Use the RoBERTa pre-training model combined with the feature fusion layer to extract deep semantic features and text element features, and obtain text style features through syntactic dependency analysis. Combined with emotional tendency features for feature splicing and multi-feature fusion, the pre-trained network false information recognition model is input to improve recognition performance.

Benefits of technology

It significantly improves the accuracy and in-depth understanding of false information identification, balances the interpretability and accuracy of identification, and provides a new theoretical basis and practical method for online false information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747221A_ABST
    Figure CN118747221A_ABST
Patent Text Reader

Abstract

The invention discloses a trusted network false information identification method and device, and the method comprises the steps: obtaining a to-be-detected first text, carrying out the feature extraction of the first text, and obtaining a deep semantic feature and a text element feature; performing syntactic dependency analysis on the first text to obtain a text style and extract syntactic dependency features; performing emotional tendency feature splicing on the first text to obtain emotional tendency features; performing feature splicing and multi-feature fusion on the deep semantic features, the text element features, the syntactic dependency features and the emotional tendency features of the first text to obtain fusion features; and inputting the fusion feature into a pre-trained network false information identification model, and outputting an identification result of the first text. According to the method, the recognition performance of the web text content is improved, and the accuracy and interpretability of the recognition model are balanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of text processing, and in particular to a method and device for identifying false information on a trusted network. Background Art

[0002] With the development of the Internet, online false information has shown a governance dilemma of rapid growth in quantity, increasing variety, and increasingly difficult identification, especially online false information in the agricultural field, which not only spreads wrong information but also hinders the normal production and sales of agricultural products. Therefore, optimizing the online false information identification model is of great significance to promote the healthy exchange and dissemination of agricultural knowledge in cyberspace.

[0003] At present, most of the research on false information identification focuses on the improvement and optimization of identification models, and is committed to improving the accuracy and versatility of false information identification models. According to different technical methods, it can be divided into two types of identification methods: machine learning and deep learning.

[0004] The recognition method based on machine learning regards false information recognition as a classification problem, and improves the recognition performance by improving the feature extraction model and classification model. Common false information features include content features, sentiment features, user features, communication features, modal features, etc. Feature extraction methods often use TF-IDF, named entity recognition (NER), etc. Classification models are mostly stacked and upgraded around LR, RF, NB, KNN, SVM and improved models. Limited by the size of the data and the complexity of the model, this type of method has poor generalization and transferability when dealing with different types of false information. There are problems such as time-consuming and labor-intensive data acquisition and labeling, and the inability to obtain deeper false information features.

[0005] Deep learning methods are developed on the basis of machine learning. Through deep neural networks, they automatically learn the potential deep representation of false information and extract more effective semantic features. Most of these models are stacked and upgraded around Transformer, Bert, LSTM, CNN and improved models. Since deep learning model training requires a large amount of data as support, its effect is limited on small sample data sets. At the same time, this type of method has logical black boxes and the models often lack interpretability. Therefore, the latest research focuses on the credible identification of false information, including the credibility and interpretability of the identification results, and providing evidence of the interpretability of the results of false information identification. However, these methods ignore the issue of how to balance the interpretability and accuracy of false information identification. Summary of the invention

[0006] In order to solve the problem of difficulty in balancing the interpretability and accuracy of false information identification in the prior art, the present invention proposes a method and device for identifying credible network false information, which aims to fully extract the deep semantic features and text element features of false information text, the text style and rhetoric features of syntactic dependency analysis, and the emotional tendency features, so as to comprehensively improve the recognition performance of the content of network false information text and balance its accuracy and interpretability.

[0007] The present invention discloses a method for identifying false information on a trusted network, which comprises:

[0008] Acquire a first text to be detected, perform feature extraction on the first text, and acquire deep semantic features and text element features;

[0009] Performing syntactic dependency analysis on the first text to obtain the text style and extract syntactic dependency features;

[0010] Perform sentiment tendency feature splicing on the first text to obtain the sentiment tendency feature;

[0011] Perform feature splicing and multi-feature fusion on the deep semantic features and text element features, syntactic dependency features, and sentiment tendency features of the first text to obtain fusion features;

[0012] The fused features are input into a pre-trained network false information recognition model, and the false information recognition result of the first text is output.

[0013] Further, the obtaining of the first text to be detected includes:

[0014] When identifying false information in text posted by users on a network platform, a first text to be detected is obtained by crawling;

[0015] The text element features include characters, geographical locations, events, materials, institutions, nature, behaviors and effects; the text styles include gossip style, curiosity style, commentary style, lyrical style and didactic style.

[0016] Furthermore, the extracting features of the first text to obtain deep semantic features and text element features includes:

[0017] A word segmentation tool is used to segment the first text at the word level, and the RoBERTa pre-trained model is used to convert the first text after word segmentation into a word embedding vector. The word embedding vector extracted by fine-tuning the RoBERTa model is converted into a word embedding vector after Chinese word segmentation through the Feature Fusion layer to obtain text element features representing the structured information of the first text content.

[0018] Furthermore, the RoBERTa pre-trained model is a bidirectional Transformer encoder based on the bidirectional Transformer model. Its core is composed of multiple Transformer-Encode modules. Each Encode module consists of a multi-head attention mechanism, residual connection and layer normalization, and a feedforward neural network.

[0019] Furthermore, the feature extraction of the first text to obtain deep semantic features and text element features specifically includes:

[0020] The word vector generation process uses one-hot encoding representation to convert the words in the input text into one-hot encoding form. At the same time, position encoding is introduced to represent the relative or absolute position of the word in the sequence. The two are superimposed to form a word embedding vector, which is used as the model input X.

[0021] As a key component of the Transformer encoder, the multi-head attention mechanism uses the self-attention mechanism to perform parallel calculations on the input information, and multiple independent attention modules operate in parallel;

[0022] After the multi-head self-attention calculation, the multi-head attention mechanism delivers the obtained hidden vector to the next link twice: residual connection and layer normalization; the layer normalization converts the input into mean variance, and the residual connection superimposes the input X with the result of nonlinear transformation as the output. The input is then operated through two fully connected layers of the feedforward neural network;

[0023] In the input layer, after each word embedding vector is encoded by the RoBERTa layer, a bidirectional association is established between the word embedding vectors, so that the RoBERTa pre-trained model can learn the semantic features contained in each word embedding vector in different contexts;

[0024] The number of characters contained in each word in the sentence is counted to obtain a vector. For the word embedding vector output by the RoBERTa pre-trained model, the characters in the same word are averaged and the averaged vector is filled back to the original position.

[0025] Furthermore, performing syntactic dependency analysis on the first text to obtain text style and extract syntactic dependency features includes:

[0026] The word embedding feature vector of the false information text after word segmentation is extracted through the RoBERTa-Feature Fusion layer; DDParser is used to perform syntactic dependency analysis on the false information text sentences to identify the syntactic dependency relationship between entity words;

[0027] During syntactic dependency analysis, the result of Chinese word segmentation of the sentence is passed to DDParser;

[0028] The word-level vector obtained by the RoBERTa-Feature Fusion layer is fused with the syntactic dependency tree containing text rhetoric and style features obtained based on DDParser syntactic dependency analysis to form the final syntactic dependency feature.

[0029] Furthermore, the word-level vector obtained by using the RoBERTa-Feature Fusion layer is fused with the syntactic dependency tree containing text rhetoric and style features obtained based on DDParser syntactic dependency analysis to form the final syntactic dependency features, including:

[0030] Use DDParser to analyze the syntactic dependency relationship of the target text and obtain the syntactic dependency tree processed by DDParser;

[0031] Replace all node words except Root in the syntactic dependency tree with the word embedding vector (X) corresponding to the node word obtained by the RoBERTa-FeatureFusion layer. 1 ....X n ), n is the number of nodes in the dependency tree except the root node;

[0032] A two-dimensional dependency matrix is ​​formed according to the breadth and depth of the syntactic dependency tree, and the elements in the matrix are word vectors;

[0033] The constructed two-dimensional dependency matrix is ​​input into the Transformer layer by layer. The encoding layer encodes the input matrix and outputs the encoding matrix [[Y 1,1 ....Y 1,q ],...,[Y k,1 ....Y k,q ]], k is the number of rows in the dependency matrix, and q is the length of the sentence;

[0034] Aggregate information on the entire text rhetoric and style feature sequence, using average pooling processing Process the text sequence to form a syntactic dependency feature tensor [Z 1 ....Z L ],Z n is the nth syntactic dependency feature.

[0035] Furthermore, the step of performing sentiment tendency feature splicing on the first text to obtain the sentiment tendency feature includes:

[0036] The false information text is converted into a word embedding vector through the RoBERTa-Feature Fusion layer, and the obtained word embedding vector is concatenated with the sentiment tendency label vector of the false information text to extract the sentiment tendency features of the first text.

[0037] Furthermore, the deep semantic features and text element features, syntactic dependency features and sentiment tendency features of the first text are subjected to feature concatenation and multi-feature fusion to obtain fusion features, including:

[0038] Adjust the dimension of the sentiment information tensor from (batch_size, features) to (batch_size, 1, features) and convert it to a floating point type;

[0039] The sentiment features, the text features of the underlying Transformer model, and the obtained syntactic dependency features are concatenated in the depth dimension to obtain the feature expression;

[0040] Transformer uses Positional Encoding to preserve the order information between words.

[0041] Furthermore, the step of inputting the fusion feature into a pre-trained network false information recognition model and outputting a false information recognition result of the first text includes:

[0042] The fused features are linearly transformed, and the features after linear transformation are input into the ReLU activation function, which is nonlinearly transformed to obtain the final features; the final features are input into a fully connected layer to map them to the output space; the output is normalized through the softmax function to obtain the probability distribution of two categories to achieve the false information binary classification task of the first text; and the false information recognition result of the first text is output.

[0043] The present invention also discloses a trusted network false information identification device, which is used to implement any of the trusted network false information identification methods described above, and comprises:

[0044] A first acquisition module is used to acquire a first text to be detected, perform feature extraction on the first text, and acquire deep semantic features and text element features;

[0045] A second acquisition module, configured to perform syntactic dependency analysis on the first text, acquire the text style and extract syntactic dependency features;

[0046] A third acquisition module is used to perform sentiment tendency feature splicing on the first text to obtain the sentiment tendency feature;

[0047] A feature fusion module is used to perform feature splicing and multi-feature fusion on the deep semantic features and text element features, syntactic dependency features and sentiment tendency features of the first text to obtain fusion features;

[0048] The false information identification module is used to input the fusion features into a pre-trained network false information identification model and output the false information identification result of the first text.

[0049] Due to the adoption of the above technical scheme, the present invention has the following advantages: the present invention realizes the deep understanding and credible identification of false information texts, and the model integrates the feature interpretation of machine learning, the feature extraction of deep learning, and the trust factor representation of credible learning, which significantly improves the accuracy and deep understanding ability of false information identification, balances the interpretability and accuracy of false information identification, and provides a new theoretical basis and practical method for the credible identification of network false information. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0051] Figure 1 It is a flow chart of a method for identifying false information on a trusted network according to the present invention;

[0052] Figure 2 It is the encoder-decoder structure diagram of the Transformer of the present invention;

[0053] Figure 3 It is a structural diagram of the RoBERTa-Feature Fusion model of the present invention;

[0054] Figure 4 is an example diagram of the syntactic dependency tree of the present invention;

[0055] Figure 5 It is a logical structure diagram of the syntactic dependency feature extraction of the present invention;

[0056] Figure 6 It is a structural schematic diagram of the network false information detection device of the present invention. DETAILED DESCRIPTION

[0057] The present invention is further described in conjunction with the accompanying drawings and embodiments, and the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present invention.

[0058] The present invention fully utilizes the powerful feature learning ability of the text pre-training model in deep learning and the multi-granularity text element representation ability of the feature fusion layer through the RoBERTa-Feature Fusion (RoBERTa+feature fusion pre-trained language model) layer, and integrates the RoBERTa-Feature Fusion layer with the Chinese dependency syntax analysis tool DDParser (BaiduDependency Parser), focusing on the syntactic dependency characteristics of false information text, capturing the style and rhetorical features of false information text, combining machine learning to extract the sentiment tendency features of false information text, and using the Transformer deep learning model based on the self-attention mechanism to fuse and encode multi-dimensional features, thereby improving the recognition performance of network false information text content and balancing the accuracy and interpretability of the recognition model.

[0059] The technical solutions provided by the embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0060] Figure 1 It is a flow chart of a trusted network false information identification method based on the RFEDTransformer (RoBERTa-Feature Fusion-Emotion-DDParser-Transformer) integrated algorithm of the present invention. Figure 1 The method for identifying false information on the Internet is described as follows.

[0061] S102: Acquire a first text to be detected on a network platform;

[0062] When identifying false information in texts posted by users on a network platform, a first text to be detected is obtained by means of a python crawler.

[0063] S104: extracting features from the first text to obtain deep semantic features and text element features;

[0064] After obtaining the first text, use the word segmentation tool to segment the first text at the word level, use the RoBERTa pre-trained model to convert the first text after word segmentation into a word embedding vector, and use the Feature Fusion layer to convert the word embedding vector extracted by fine-tuning the RoBERTa model into a word embedding vector after Chinese word segmentation to obtain text element features such as people, geographic locations, and events that represent the structured information of the first text content.

[0065] In the embodiment of the present invention, when the text element features are extracted in S104, the RoBERTa model is a bidirectional Transformer encoder based on the bidirectional Transformer model, and its core is composed of multiple Transformer-Encode modules. Each Encode module is composed of a multi-head attention mechanism, residual connection and layer normalization, and a feedforward neural network. The model structure is shown in Figure 2 .

[0066] S104.1: The word embedding process uses one-hot encoding to convert the words in the input text into one-hot encoding. At the same time, position encoding is introduced to represent the relative or absolute position of the word in the sequence. The two are superimposed to form the word embedding vector, which is used as the model input X.

[0067] S104.2: As a key component of the Transformer encoder, the multi-head attention mechanism uses the self-attention mechanism to perform parallel calculations on the input information. Multiple independent Attention modules operate in parallel. The core operation formula is shown in formula (1).

[0068]

[0069] Among them, Attention is the attention mechanism function, Q, K, V are the query matrix, key matrix, and value matrix, d k Represents the dimension size of the column vector in K, and Softmax is a normalized exponential function. After the multi-head self-attention calculation, the multi-head attention mechanism delivers the obtained hidden vector twice to the next link: residual connection and layer normalization. The layer normalization converts the input into mean variance, and the residual connection superimposes the input X with the result obtained by nonlinear transformation as the output. The input is then operated through two fully connected layers of the feedforward neural network, and the formula is shown in (2):

[0070] W e =max(0,XW 0 +b 0 )W′ 0 +b′ (2)

[0071] Among them, {W e ,W 0 ′} is the weight matrix of the two connection layers, {b 0 ,b′} is the bias term of the two connection layers.

[0072] S104.3: At the input layer, after each word embedding vector is encoded by the RoBERTa layer, a bidirectional association is established between the word embedding vectors, so that the model can learn the semantic features contained in each word embedding vector in different contexts. In the example, the false information text "Genetically modified soybeans can cause cancer" and its corresponding true information text "No pharmacological and clinical studies have shown that genetically modified soybeans are related to cancer" have significant differences in their semantic features. The false information text asserts that there is no scientific basis; the true information text objectively states and provides pharmacological and clinical research support.

[0073] S104.4: In the Feature Fusion layer, the example uses the Jieba vocabulary to segment the text. For example, the word segmentation of "Genetically modified soybeans can cause cancer" is ['genetically modified', 'soybean', 'will', 'cause', 'cancer']. The number of characters in each word in the sentence is counted to get a vector of [3, 2, 1, 2, 2]. For the word embedding vector output by RoBERTa, the characters in the same word are averaged, and then these processed vectors are filled back to the original position. For details of the logical structure, see Figure 3 .

[0074] S106: Perform syntactic dependency analysis on the first text to obtain text style and extract syntactic dependency features.

[0075] After obtaining the deep semantic features and text element features of the first text, DDParser is used to perform syntactic dependency analysis on the first text, and RoBERTa-Feature Fusion is used to represent the word vectors in the syntactic dependency tree. This systematically captures the syntactic relationship between words in the false information text and extracts the text style and syntactic dependency features of the first text.

[0076] When S106 extracts text style and rhetorical features, the embodiment performs syntactic dependency analysis on the sentence-level text of the false information and constructs a syntactic dependency tree through DDParser, uses the word vectors extracted by the RoBERTa-Feature Fusion layer to replace the non-root nodes with the word vectors corresponding to the node words, and performs matrix processing according to the tree structure. After processing through the multi-layer self-attention mechanism and feedforward neural network layer of Transformer, the feature representation of each position is finally obtained, thereby obtaining the style and rhetorical features of the false information text.

[0077] S106.1: Extract word embedding feature vectors of false information text after jieba word segmentation through RoBERTa-Feature Fusion layer. DDParser is used to perform syntactic dependency analysis on false information text sentences to identify syntactic dependency relationships between entity words. There are 14 types of syntactic dependency relationships, such as subject-verb (SBV), verb-object (VOB), preposition-object (POB), adverbial-mediate (ADV), verb-complement (CMP), attributive-mediate (ATT), orientation (F), coordination (COO), concurrent verb (DBL), double object (DOB), continuous predicate (VV), clause (IC), function word (MT) and core (HED).

[0078] S106.2: During syntactic dependency analysis, the result of Chinese word segmentation of the sentence is passed to DDParser, where W, H, and D are the word list (wordList), the head node list (HeadList), and the dependency list (DeprelList) respectively. Example "Genetically modified soybeans can cause cancer": {'word': ['genetically modified', 'soybean', 'will', 'lead to', 'cancer'], 'head': [2, 4, 4, 0, 4], 'deprel': ['ATT', 'SBV', 'ADV', 'HED', 'VOB']}; corresponding real information example "There is no pharmacological and clinical research showing that genetically modified soybeans are related to cancer": {'word': ['pharmacology', 'and', 'clinical','on','no','research','shows','GM','soybean''is','cancer','related'],'head':[6,4,4,1,6,7,0,12,12,12,10,7],'deprel':['SBV','MT','ATT','COO','ADV','IC','HED','ADV','SBV','ADV','POB','VOB']}. See the syntactic dependency tree for the example. Figure 4 .

[0079] S106.3: The word-level vector obtained by the RoBERTa-Feature Fusion layer is fused with the syntactic dependency tree containing text rhetoric and style features obtained based on DDParser syntactic dependency analysis to form the final syntactic dependency feature. See the logical structure for details. Figure 4 , the specific process is as follows:

[0080] S106.3.1: Use DDParser to analyze the syntactic dependency relationship of the target text (s) and obtain the syntactic dependency tree (t) processed by DDParser.

[0081] S106.3.2: Replace all node words except Root in the syntactic dependency tree (t) with the word embedding vector (X) corresponding to the node word obtained by the RoBERTa-Feature Fusion layer 1 ....X n ), n is the number of nodes in the dependency tree excluding the root node.

[0082] S106.3.3: A two-dimensional dependency matrix is ​​formed according to the breadth and depth of the syntactic dependency tree. The elements in the matrix are word vectors. If the sentence length exceeds the fixed length L, the excess part is truncated and the insufficient part is filled with zero vectors. Assume that the unit of the fixed length L is a word. The following takes the fixed length L of 10 as an example for explanation.

[0083] S106.3.4: Input the constructed two-dimensional dependency matrix into the Transformer layer by layer. The encoding layer encodes the input matrix and outputs the encoding matrix [[Y 1, 1 ....Y 1,10 ],...,[Y k,1 ....Y k,10 ]], k is the number of rows in the dependency matrix.

[0084] S106.3.5: Aggregate information on the entire text rhetoric and style feature sequence using average pooling The text sequence is processed to form a syntactic dependency feature tensor with a fixed length of 10 [Z 1 ....Z 10 ],Z n is the nth syntactic dependency feature, where n ranges from 1 to 10.

[0085] S108: Perform sentiment tendency feature splicing on the first text to obtain sentiment tendency features.

[0086] After obtaining the deep semantic features, text element features and syntactic dependency features of the first text, when extracting the sentiment tendency features in S108, the embodiment converts the false information text into a word embedding vector through the RoBERTa-Feature Fusion layer, and then splices the obtained embedding vector with the sentiment tendency label vector of the false information text to extract the sentiment tendency features of the first text. The sentiment tendency feature splicing model structure is shown in Figure 5 .

[0087] S110: performing feature concatenation and multi-feature fusion on the deep semantic features and text element features, syntactic dependency features and sentiment tendency features of the first text to obtain fused features.

[0088] After obtaining the deep semantic features, text element features, syntactic dependency features, and sentiment tendency features of the first text, the text vectors of the above features are concatenated after being encoded by RoBERTa. The Transformer model based on the self-attention mechanism is used to fuse and encode the features output by different models to obtain fused features.

[0089] When S110 performs multi-feature fusion, the deep semantic features and text element features, sentiment tendency features and syntactic dependency features of the first text are concatenated with the text vectors encoded by RoBERTa, and multi-feature fusion is performed through Transformer. The feature concatenation process is as follows:

[0090] S110.1: Adjust the dimension of the sentiment information tensor from (batch_size, features) to (batch_size, 1, features) and convert it to floating point type. batch_size is the batch size parameter.

[0091] S110.2: The sentiment features in S110.1, the text features of the underlying Transformer model, and the syntactic dependency features obtained in S106 are concatenated in the depth dimension to obtain a richer feature expression, as shown in formula (3):

[0092]

[0093] Among them, emo_feats represents emotional features, trsf_feats represents features extracted from the underlying Transformer model, and ddp_feats represents syntactic dependency features.

[0094] The Transformer in the example uses Positional Encoding (as shown in the formulas (4) and (5) below) to preserve the order information between words.

[0095]

[0096] Among them, t is the actual position of the token in the sequence, PE t ∈R d is the position vector of the song token. is the i-th element of this position vector, d model It is the dimension of this token.

[0097] S112: Input the fused features into a pre-trained online false information recognition model, and output the false information recognition result of the first text.

[0098] After obtaining the fused features, the fused features are input into Transformers to complete the downstream false information classification task:

[0099] (1) Perform a linear transformation on the fused features and convert the dimension of the fused features from the original size to 256.

[0100] (2) The linearly transformed features are input into the ReLU activation function, which is then nonlinearly transformed to obtain the final feature representation last_feature.

[0101] (3) The feature last_feature is input into a fully connected layer (fc) to map it to the output space (dimension is 2).

[0102] (4) The output is normalized through the softmax function to obtain the probability distribution of two categories to achieve the false information binary classification task of the first text.

[0103] Output the false information identification result of the first text.

[0104] In the embodiment, an agricultural false information dataset is constructed, which contains 3572 pieces of false information and true information texts related to agriculture, and is used for training and verification of the RFED Transformer model. The data comes from mainstream Internet rumor-debunking websites.

[0105] After completing the construction of the false information text dataset, the embodiment designed a comparative experiment and an ablation experiment to verify the feasibility and effectiveness of the false information identification method proposed in the present invention.

[0106] Comparative experiment: In order to verify the effectiveness of the RFEDTransformer model proposed in the present invention and to reasonably evaluate the experimental results, experiments were conducted on the network false information dataset constructed by the present invention in the same experimental environment with other baseline methods. The comparative experimental results are shown in Table 1. The RFEDTransformer model proposed in the present invention achieved the highest scores in all evaluation indicators, with an accuracy of 0.9563, a recall of 0.9565, and an F1 value of 0.9563, indicating that the model has the best comprehensive performance in the network false information text recognition task.

[0107] Table 1 Results of online false information identification

[0108]

[0109] Ablation experiment: In order to verify the contribution and influence of each module in the RFEDTransformer model proposed in the present invention on the overall performance of the model, and to evaluate the effectiveness and necessity of each module, based on the Baseline model RoBERTa, the present invention designed 4 groups of ablation experiments for verification.

[0110] Ablation experiment 1: Remove the Emotion module from the model. Remove the emotional labels in the false information text, and do not concatenate emotional tendency features in the model; the model only performs a fusion representation of semantic features, Chinese word fusion features, and syntactic dependency features.

[0111] Ablation experiment 2: Remove the DDParser module from the model. No more syntactic analysis is performed on false information texts, and no contextual features such as style and rhetoric of false information texts are extracted in the model; the model focuses on extracting semantic features and Chinese word fusion features, as well as fusion representation spliced ​​with sentiment features.

[0112] Ablation experiment 3: Remove the Feature Fusion module from the model. Remove the lexical feature extraction of Chinese word segmentation and word fusion in the model, and only use the semantic features of the word vector extracted by RoBERTa to concatenate the syntactic dependency features and sentiment features for fusion representation.

[0113] Ablation experiment 4: Remove the Transformer module from the model. The model extracts the semantic features, Chinese word fusion features, syntactic dependency features, and sentiment feature vectors of the false information text, concatenates them, and directly inputs them into the fully connected layer with Softmax for false information recognition and classification.

[0114] Table 2 Ablation experiment results

[0115]

[0116] The experimental results are shown in Table 2. The index results of the four groups of ablation experiments are all lower than the model proposed in this invention. Removing any module of the model will lead to a decrease in model performance, which shows that the four modules are effective for the experiment.

[0117] The present invention also provides an embodiment of a trusted network false information identification device, which is used to implement the trusted network false information identification method described in the above embodiment, and includes:

[0118] A first acquisition module is used to acquire a first text to be detected, perform feature extraction on the first text, and acquire deep semantic features and text element features;

[0119] A second acquisition module, configured to perform syntactic dependency analysis on the first text, acquire the text style and extract syntactic dependency features;

[0120] A third acquisition module is used to perform sentiment tendency feature splicing on the first text to obtain the sentiment tendency feature;

[0121] A feature fusion module is used to perform feature splicing and multi-feature fusion on the deep semantic features and text element features, syntactic dependency features and sentiment tendency features of the first text to obtain fusion features;

[0122] The false information identification module is used to input the fusion features into a pre-trained network false information identification model and output the false information identification result of the first text.

[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for identifying false information on a trusted network. It is characterized in that include: Acquire a first text to be detected, perform feature extraction on the first text, and acquire deep semantic features and text element features; Performing syntactic dependency analysis on the first text to obtain the text style and extract syntactic dependency features; Perform sentiment tendency feature splicing on the first text to obtain the sentiment tendency feature; Perform feature splicing and multi-feature fusion on the deep semantic features and text element features, syntactic dependency features, and sentiment tendency features of the first text to obtain fusion features; The fused features are input into a pre-trained network false information recognition model, and the recognition result of the first text is output.

2. The method for identifying false information on a trusted network according to claim 1, It is characterized in that The step of extracting features from the first text to obtain deep semantic features and text element features includes: A word segmentation tool is used to segment the first text at the word level, and the RoBERTa pre-trained model is used to convert the first text after word segmentation into a word embedding vector. The word embedding vector extracted by fine-tuning the RoBERTa model is converted into a word embedding vector after Chinese word segmentation through the Feature Fusion layer to obtain text element features representing the structured information of the first text content.

3. The method for identifying false information on a trusted network according to claim 2, It is characterized in that The RoBERTa pre-trained model is a bidirectional Transformer encoder based on the bidirectional Transformer model. Its core is composed of multiple Transformer-Encode modules. Each Encode module consists of a multi-head attention mechanism, residual connection and layer normalization, and a feedforward neural network.

4. The method for identifying false information on a trusted network according to claim 3, It is characterized in that The feature extraction of the first text to obtain deep semantic features and text element features specifically includes: The word embedding process uses one-hot encoding representation to convert words in the input text into one-hot encoding form. At the same time, position encoding is introduced to represent the relative or absolute position of words in the sequence. The two are superimposed to form a word embedding vector, which is used as the model input X; As a key component of the Transformer encoder, the multi-head attention mechanism uses the self-attention mechanism to perform parallel calculations on the input information, and multiple independent attention modules operate in parallel; After the multi-head self-attention calculation, the multi-head attention mechanism delivers the obtained hidden vector to the next link twice: residual connection and layer normalization; the layer normalization converts the input into mean variance, and the residual connection superimposes the input X with the result of nonlinear transformation as the output; then the input is operated through two fully connected layers of the feedforward neural network; In the input layer, after each word embedding vector is encoded by the RoBERTa layer, a bidirectional association is established between the word embedding vectors, so that the RoBERTa pre-trained model can learn the semantic features contained in each word embedding vector in different contexts; The number of characters contained in each word in the sentence is counted to obtain a vector. For the word embedding vector output by the RoBERTa pre-trained model, the characters in the same word are averaged and the averaged vector is filled back to the original position.

5. The method for identifying false information on a trusted network according to claim 1, It is characterized in that The performing syntactic dependency analysis on the first text, obtaining the text style and extracting syntactic dependency features includes: The word embedding feature vector of the false information text after word segmentation is extracted through the RoBERTa-Feature Fusion layer; DDParser is used to perform syntactic dependency analysis on the false information text sentences to identify the syntactic dependency relationship between entity words; During syntactic dependency analysis, the result of Chinese word segmentation of the sentence is passed to DDParser; The word-level vector obtained by the RoBERTa-Feature Fusion layer is fused with the syntactic dependency tree containing text rhetoric and style features obtained based on DDParser syntactic dependency analysis to form the final syntactic dependency feature.

6. The method for identifying false information on a trusted network according to claim 5, It is characterized in that The word-level vector obtained by the RoBERTa-Feature Fusion layer is fused with the syntactic dependency tree containing text rhetoric and style features obtained based on DDParser syntactic dependency analysis to form the final syntactic dependency features, including: Use DDParser to analyze the syntactic dependency relationship of the target text and obtain the syntactic dependency tree processed by DDParser; The root node is a word node in the syntactic dependency tree that does not depend on other words. All node words in the syntactic dependency tree except the root node are replaced with the word embedding vector (X) corresponding to the node word obtained by the RoBERTa-Feature Fusion layer. 1 ....X n ), n is the number of nodes in the dependency tree excluding the root node; A two-dimensional dependency matrix is ​​formed according to the breadth and depth of the syntactic dependency tree, and the elements in the matrix are word vectors; The constructed two-dimensional dependency matrix is ​​input into the Transformer layer by layer. The encoding layer encodes the input matrix and outputs the encoding matrix [[Y 1,1 ....Y 1,q ],...,[Y k, 1 ....Y k,q ]], k is the number of rows in the dependency matrix, and q is the length of the sentence; Aggregate information on the entire text rhetoric and style feature sequence, using average pooling processing Process the text sequence to form a syntactic dependency feature tensor [Z 1 ....Z L ],Z n is the nth syntactic dependency feature.

7. The method for identifying false information on a trusted network according to claim 1, It is characterized in that The step of performing sentiment tendency feature splicing on the first text to obtain the sentiment tendency feature includes: The false information text is converted into a word embedding vector through the RoBERTa-Feature Fusion layer, and the obtained word embedding vector is concatenated with the sentiment tendency label vector of the false information text to extract the sentiment tendency features of the first text.

8. The method for identifying false information on a trusted network according to claim 1, It is characterized in that The step of performing feature splicing and multi-feature fusion on the deep semantic features and text element features, syntactic dependency features, and sentiment tendency features of the first text to obtain fused features includes: Adjust the dimension of the sentiment information tensor from (batch_size, features) to (batch_size, 1, features) and convert it to a floating point type; The sentiment features, the text features of the underlying Transformer model, and the obtained syntactic dependency features are concatenated in the depth dimension to obtain the feature expression; Transformer uses Positional Encoding to preserve the order information between words.

9. The method for identifying false information on a trusted network according to claim 1, It is characterized in that The step of inputting the fusion feature into a pre-trained network false information recognition model and outputting a false information recognition result of the first text includes: The fused features are linearly transformed, and the features after linear transformation are input into the ReLU activation function, which is nonlinearly transformed to obtain the final features; the final features are input into a fully connected layer to map them to the output space; the output is normalized through the softmax function to obtain the probability distribution of two categories to achieve the false information binary classification task of the first text; and the false information recognition result of the first text is output.

10. A trusted network false information identification device, used to implement the trusted network false information identification method according to any one of claims 1 to 9, It is characterized in that include: A first acquisition module is used to acquire a first text to be detected, perform feature extraction on the first text, and acquire deep semantic features and text element features; A second acquisition module is used to perform syntactic dependency analysis on the first text, acquire the text style and extract syntactic dependency features; A third acquisition module is used to perform sentiment tendency feature splicing on the first text to obtain the sentiment tendency feature; A feature fusion module is used to perform feature splicing and multi-feature fusion on the deep semantic features and text element features, syntactic dependency features and sentiment tendency features of the first text to obtain fusion features; The false information identification module is used to input the fusion features into a pre-trained network false information identification model and output the false information identification result of the first text.

Citation Information

Patent Citations

  • isis information prediction method based on BP neural network

    CN109376956A

  • Interpretability-considered automatic recognition method and system for network false comments

    CN110941953A

  • Chinese sentiment analysis method fusing syntactic dependency and part-of-speech based on graph convolutional network

    CN114881042A

  • Public opinion text sentiment analysis method based on semantic dependency relationship fusion features

    CN115098634A

  • Network rumor detection method and device

    CN117909498A

Cited By

  • Emotion reason statement pair prediction model training method, prediction method and equipment

    CN120316262A

  • Emotion reason sentence pair prediction model training method, prediction method and device

    CN120316262B