A cross-platform fake news detection method and system
By analyzing emotion, time, text and communication characteristics, combined with the emotion analysis model and Transformer model, the problem of insufficient information utilization in false news detection is solved, and more efficient false news detection and early intervention are achieved.
Patent Information
- Application Number
- CN202210036532.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-13
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-01-13
AI Technical Summary
Existing technologies are time-consuming and labor-intensive in false news detection and fail to make full use of news information, and cannot effectively solve the problem of the spread of false information across multiple platforms.
Using a cross-platform false news detection method, by obtaining and analyzing emotion, time, text and communication characteristics, combined with the sentiment analysis model, word embedding model and Transformer model, the comment sentiment distribution, time distribution, text consistency and communication characteristics are calculated to evaluate the news degree of falsehood.
It improves the accuracy and efficiency of false news detection, enables early detection of false news, and thereby intervenes in its spread in a timely manner.
Smart Images

Figure CN114547293B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of machine learning, and in particular relates to a cross-platform fake news detection method and system. Background Art
[0002] In recent years, with the rapid development of mobile Internet, the Internet has become the main channel for the spread of false information. Social media such as Weibo and Twitter, where almost everyone has an account, have played a major role in the spread of news. False information originates on one platform and spreads to other platforms. Even if the false information on the source platform is contained, it will be transmitted back to the source platform due to the backtracking effect of other platforms, causing a tidal phenomenon of one rising and the other falling.
[0003] In recent years, research on fake news detection has mainly focused on various features of news, including user analysis data, text content, and news dissemination methods. Some studies are based on user characteristics and time characteristics, while some researchers use the language characteristics of articles to judge the authenticity of news, such as writing style, vocabulary and grammar analysis. However, these methods that are conducive to feature extraction are not only time-consuming and labor-intensive, but also fail to fully utilize the information contained in the news. Summary of the invention
[0004] In order to overcome the shortcomings of the above-mentioned prior art, the present invention provides a cross-platform fake news detection method, which realizes the detection of fake news based on emotion, time, text and propagation characteristics.
[0005] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions:
[0006] A cross-platform fake news detection method includes the following steps:
[0007] Get the news to be tested, search the entire Internet for tweets about the news, and extract the comment information for each tweet;
[0008] For these comments, we analyze the sentiment distribution characteristics and release time distribution characteristics respectively;
[0009] Performing consistency analysis on the title and text content of the news to obtain text consistency features;
[0010] According to the news release time and tweet release time, the number of disseminations within a set time range is obtained to obtain the dissemination characteristics;
[0011] According to the comment sentiment distribution characteristics, comment time distribution characteristics, text consistency characteristics and propagation characteristics, the falsehood evaluation result of the news is obtained.
[0012] Furthermore, the analysis of sentiment distribution features includes:
[0013] Perform sentiment analysis on each comment information in turn to obtain a sentiment value for each comment, wherein the sentiment value is -1, 0 or 1;
[0014] According to the sentiment values of these comment information, the proportion of comments with a sentiment value of 0 is used to measure the degree of polarization as a sentiment distribution feature.
[0015] Furthermore, the sentiment analysis includes:
[0016] Input the comment information to be analyzed into the word embedding model, obtain the feature vector corresponding to each word in the comment, and concatenate to obtain the feature vector of the comment;
[0017] The feature vector is input into a pre-trained sentiment analysis model to obtain a sentiment prediction value for each comment, wherein the sentiment analysis model is trained using a Transformer model.
[0018] Furthermore, the analysis of release time distribution characteristics includes:
[0019] Extract the timestamp of each comment information’s release time and sort them;
[0020] The differences between adjacent timestamps are accumulated, and the accumulated value is used as the release time distribution feature.
[0021] Furthermore, the consistency analysis of the title and the content of the news includes:
[0022] Perform word embedding on the title and text content of the news to obtain a text feature vector;
[0023] Based on the text feature vectors of the title and the text content, similarity analysis is performed to obtain text consistency features.
[0024] Furthermore, obtaining the propagation characteristics includes: obtaining the number of tweets within a set time range after the news is released, that is, the number of propagation times; and calculating the propagation characteristics according to the number of propagation times.
[0025] Furthermore, the evaluation result of the falsehood degree of the news is the cumulative sum of the comment sentiment distribution characteristics, comment time distribution characteristics, text consistency characteristics and propagation characteristics.
[0026] One or more embodiments provide a cross-platform fake news detection system, including:
[0027] The comment information acquisition module is used to obtain the news to be detected, search the entire network for tweets of the news, and extract the comment information for each tweet;
[0028] The comment feature analysis module is used to analyze the sentiment distribution characteristics and release time distribution characteristics of these comment information;
[0029] A news text analysis module is used to perform consistency analysis on the title and text content of the news to obtain text consistency features;
[0030] A communication feature analysis module, used to obtain the number of times the news is communicated within a set time range according to the news release time and the tweet release time, and obtain the communication features;
[0031] The fake news detection module is used to obtain a falsehood evaluation result of the news based on the comment sentiment distribution characteristics, comment time distribution characteristics, text consistency characteristics and propagation characteristics.
[0032] One or more embodiments provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the cross-platform fake news detection method is implemented when the processor executes the program.
[0033] One or more embodiments provide a computer-readable storage medium having a computer program stored thereon, which implements the cross-platform fake news detection method when executed by a processor.
[0034] One or more of the above technical solutions have the following beneficial effects:
[0035] The present invention makes full use of the time, emotion, text and other information contained in the news, which is conducive to improving the accuracy of false news detection;
[0036] In addition, it provides simpler calculation methods such as time distribution and text similarity, which are more efficient and improve the efficiency of fake news detection, which is conducive to the early detection of fake news, so as to intervene in its dissemination as early as possible. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0038] Figure 1 The present invention is a flowchart of a cross-platform fake news detection method in one or more embodiments of the present invention. DETAILED DESCRIPTION
[0039] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0040] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0041] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0042] Embodiment 1
[0043] Through statistical analysis of fake news collections popular on various social media, it is found that fake news that is rampant across platforms has the following main characteristics:
[0044] Emotional characteristics: On social media, when people receive news pushed by social networks, they can rate the news based on their own subjective intentions. Generally speaking, because fake news is sensational and eye-catching and lacks a certain degree of objectivity and fairness, the verbal emotions in the comments of fake news have a strong polarization trend, generally dominated by full score ratings and the lowest rating.
[0045] Temporal characteristics: Generally speaking, false comments are more "burst" than real comments, and the time interval between consecutive comments initiated by false information providers is shorter. Therefore, the authenticity of news can be judged by the temporal characteristics of early news comments.
[0046] Text characteristics: With the rise of social media, self-media without social ethics have created a certain gap between the information contained in the published text and the information that readers really want to know, namely, clickbait news. The titles of such news often contain sensational text words that catch readers' attention and stimulate people's desire to click, but the text actually contained is very different from the title.
[0047] Propagation characteristics: When a user posts an extraordinary assertion on a topic on Weibo, people will become interested in the statement, causing the rumor to explode on the social network. Other people who are interested in the topic will forward the rumor, and the spread of false news will spread faster and wider. The propagation characteristics of news can be used to detect early false news.
[0048] Based on the above characteristics of fake news, its comment data, text data and dissemination data are analyzed in turn to improve the accuracy of fake news detection. This embodiment discloses a cross-platform fake news detection method, including the following steps:
[0049] Step 1: Get the news to be tested, search the entire network for tweets about the news, and extract the comment information for each tweet;
[0050] Step 2: Perform sentiment analysis on the comment information in turn to obtain comment sentiment distribution characteristics;
[0051] For the comment data, we first analyze the sentiment characteristics of the comments to determine whether the comments are seriously polarized. The specific analysis is as follows:
[0052] Given a piece of news N, we get P tweets about the news. For each tweet p in P i , we extract its comment information [r i1 ,r i2 ,......,r im ], m means reply to tweet p i The number of users.
[0053] For each comment information, the comment information is input into the word embedding model, the feature vectors corresponding to each word in the comment are obtained, and the feature vectors of the comment are obtained by concatenation. Specifically, the word embedding model can adopt the BERT (Bidirectional Encoder Representation from Transformers) model. Then this feature vector is input into the pre-trained sentiment analysis model to obtain the sentiment prediction value of each comment, and the sentiment differentiation degree classification is completed by the sentiment analysis model. Among them, the sentiment analysis model is trained by the Transformer model.
[0054] The output value of the sentiment analysis model can be -1, 0 or 1. If the user has a positive attitude, it is 1, if the user has a negative attitude, it is 1, otherwise it is 0. According to the sentiment value of these comment information, the proportion of comments with a sentiment value of 0 is used to measure the degree of polarization, which is used as the sentiment distribution feature S1. The smaller S1 is, the higher the falsehood is.
[0055] Step 3: Obtaining the comment time distribution characteristics according to the release time of the comment information;
[0056] We extract the timestamps of comments in news comments and calculate the difference between the timestamps of adjacent comments. It is expressed as: t1, t2, ..., t n . And the time difference is accumulated to get the cumulative sum S2 of the difference:
[0057] S2=t1+t2+......+t n
[0058] From the perspective of time characteristics, the smaller S2 is, the higher the falsehood is.
[0059] Step 4: Perform consistency analysis on the title and text content of the news to obtain text consistency features;
[0060] We extract the text data of the news, and process the title and text content in the text data separately. Map each word in the title text to a specific real-valued vector in the vector space, and obtain X1 = {X 11 , X 12 ,......,X 1m}, where X 1i ∈R d We can obtain rich semantic and grammatical information in the text. Then, we add the position information to the semantic representation of each sentence to obtain:
[0061] X'1=PositionEmbedding(X1) X1,X'1∈R m*d
[0062] Similarly, we can get a representation of the text content:
[0063] X2={x 21 ,x 22 ,x 23 ,x 2n} x 2j ∈R d
[0064] X'2=PositionEmbedding(X2) X2,X'2∈R n*d
[0065] Use transformer to get the final representation of the title and content:
[0066] P1 (k) =Trans(S1 (k-1) )
[0067] P2 (k) =Trans(S2 (k-1) )
[0068] Finally, the similarity calculation module is used to calculate the similarity between the title and the target content:
[0069] Sim sent =Cos(P1,P2)
[0070]
[0071] Sim token =Mean(Matrix similarity )
[0072] Sim=Concat(Sim sent ,Sim token )
[0073] Among them, Matrix similarity ∈R m*n is the matrix of similarity features.
[0074] The similarity between the news title and text content is calculated to obtain the similarity S3. The smaller S3 is, the higher the falsehood is.
[0075] Step 5: According to the news release time and tweet time, obtain the number of disseminations within a set time range and obtain the dissemination characteristics;
[0076] We accumulated the number of times the news spread in five minutes on the news spread graph to obtain the cumulative number M, where S4 = 1-M. According to the spread characteristics of news, the smaller S4 is, the higher the falsehood is.
[0077] Step 6: According to the sentiment distribution characteristics, time distribution characteristics, text consistency characteristics and propagation characteristics, obtain the falsehood evaluation result of the news.
[0078] Specifically, the falsehood values detected by each feature are accumulated to obtain a final evaluation value S of the falsehood degree of the news.
[0079] In order to evaluate the effectiveness of the proposed cross-platform fake news detection framework, we constructed a real dataset on Weibo and conducted comprehensive experiments. The dataset includes news articles, comments on the articles (with time), and the number of times the news was spread within five minutes after it was released. We manually labeled the data, and each piece of news was either true or false. The experiments show that our method achieves better results than the baseline method.
[0080] Embodiment 2
[0081] The purpose of this embodiment is to provide a cross-platform fake news detection system. It includes:
[0082] The comment information acquisition module is used to obtain the news to be detected, search the entire network for tweets of the news, and extract the comment information for each tweet;
[0083] The comment feature analysis module is used to analyze the sentiment distribution characteristics and release time distribution characteristics of these comment information;
[0084] A news text analysis module is used to perform consistency analysis on the title and text content of the news to obtain text consistency features;
[0085] A communication feature analysis module, used to obtain the number of times the news is communicated within a set time range according to the news release time and the tweet release time, and obtain the communication features;
[0086] The fake news detection module is used to obtain a falsehood evaluation result of the news based on the comment sentiment distribution characteristics, comment time distribution characteristics, text consistency characteristics and propagation characteristics.
[0087] Embodiment 3
[0088] The purpose of this embodiment is to provide an electronic device.
[0089] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the cross-platform false news detection method described in Embodiment 1 is implemented.
[0090] Embodiment 4
[0091] The purpose of this embodiment is to provide a computer-readable storage medium.
[0092] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the cross-platform fake news detection method as described in Embodiment 1.
[0093] The steps involved in the above embodiments 2 to 4 correspond to the method embodiment 1, and the specific implementation methods can refer to the relevant description part of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.
[0094] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.
[0095] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A cross-platform fake news detection method, It is characterized in that The following steps are involved: Obtain the news to be detected, search the entire Internet for tweets of the news to be detected, and extract the comment information of each tweet; For these comments, we analyze the sentiment distribution characteristics and release time distribution characteristics respectively; Performing consistency analysis on the title and text content of the news to obtain text consistency features; According to the news release time and tweet release time, the number of disseminations within a set time range is obtained to obtain the dissemination characteristics; Obtaining a falsehood evaluation result of the news based on the comment sentiment distribution characteristics, comment time distribution characteristics, text consistency characteristics, and propagation characteristics; The consistency analysis of the title and text of the news includes: The title and text content in the text data are processed separately, and each word in the title is mapped to a specific real-valued vector in the vector space to obtain X 1 ={X 11 , X 12 ,......,X 1m }, where X 1i ∈R d ; Then, the position information is added to the semantic representation of each sentence to obtain: X′ 1 =PositionEmbedding(X 1 ) X 1 ,X′ 1 ∈R m*d Similarly, get the representation of the text content: X 2 ={x 21 ,x 22 ,x 23 ,x 2n }x 2j ∈R d X′ 2 =PositionEmbedding(X 2 ) X 2 ,X′ 2 ∈R n*d Use transformer to get the final representation of the title and content: P 1 (k) =Trans(S 1 (k-1) ) P 2 (k) =Trans(S 2 (k-1) ) Calculate the similarity between the title and the target content: Yes sent =Cos(P 1 ,P 2 ) Sim token =Mean(Matrix similarity ) Yes=Concat(Yes sent ,Yes token ) Among them, Matrix similarity ∈R m*n is the matrix of similarity features; The similarity between the news title and text content is calculated to obtain the similarity S 3 , S 3 The smaller it is, the higher the falsehood.
2. The false news detection method according to claim 1, It is characterized in that Analyzing sentiment distribution features includes: Perform sentiment analysis on each comment information in turn to obtain a sentiment value for each comment, wherein the sentiment value is -1, 0 or 1; According to the sentiment values of these comment information, the proportion of comments with a sentiment value of 0 is used to measure the degree of polarization as a sentiment distribution feature.
3. The false news detection method according to claim 2, It is characterized in that The sentiment analysis includes: Input the comment information to be analyzed into the word embedding model, obtain the feature vector corresponding to each word in the comment, and concatenate to obtain the feature vector of the comment; The feature vector is input into a pre-trained sentiment analysis model to obtain a sentiment prediction value for each comment, wherein the sentiment analysis model is trained using a Transformer model.
4. The false news detection method according to claim 1, It is characterized in that The analysis of release time distribution characteristics includes: Extract the timestamp of each comment information’s release time and sort them; The differences between adjacent timestamps are accumulated, and the accumulated value is used as the release time distribution feature.
5. The false news detection method according to claim 1, It is characterized in that Obtaining the propagation characteristics includes: obtaining the number of tweets within a set time range after the news is released, that is, the number of propagation times; and calculating the propagation characteristics according to the number of propagation times.
6. The false news detection method according to any one of claims 1 to 5, It is characterized in that The falsehood evaluation result of the news is the cumulative sum of the comment sentiment distribution characteristics, comment time distribution characteristics, text consistency characteristics and propagation characteristics.
7. A cross-platform fake news detection system, It is characterized in that include: The comment information acquisition module is used to obtain the news to be detected, search the tweets of the news to be detected on the entire network, and extract the comment information of each tweet; The comment feature analysis module is used to analyze the sentiment distribution characteristics and release time distribution characteristics of these comment information; A news text analysis module is used to perform consistency analysis on the title and text content of the news to obtain text consistency features; A communication feature analysis module, used to obtain the number of times the news is communicated within a set time range according to the news release time and the tweet release time, and obtain the communication features; A fake news detection module, used to obtain a fake news evaluation result based on the comment sentiment distribution characteristics, comment time distribution characteristics, text consistency characteristics and propagation characteristics; The consistency analysis of the title and text of the news includes: The title and text content in the text data are processed separately, and each word in the title is mapped to a specific real-valued vector in the vector space to obtain X 1 ={X 11 , X 12 ,......,X 1m }, where X 1i ∈R d ; Then, the position information is added to the semantic representation of each sentence to obtain: X′ 1 =PositionEmbedding(X 1 ) X 1 ,X′ 1 ∈R m*d Similarly, get the representation of the text content: X 2 ={x 21 ,x 22 ,x 23 ,x 2n } x 2j ∈R d X′ 2 =PositionEmbedding(X 2 ) X 2 ,X′ 2 ∈R n*d Use transformer to get the final representation of the title and content: P 1 (k) =Trans(S 1 (k-1) ) P 2 (k) =Trans(S 2 (k-1) ) Calculate the similarity between the title and the target content: Yes sent =Cos(P 1 ,P 2 ) Sim token =Mean(Matrix similarity ) Yes=Concat(Yes sent ,Yes token ) Among them, Matrix similarity ∈R m*n is the matrix of similarity features; The similarity between the news title and text content is calculated to obtain the similarity S 3 , S 3 The smaller it is, the higher the falsehood.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the cross-platform fake news detection method as described in any one of claims 1-6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the cross-platform fake news detection method as described in any one of claims 1 to 6 is implemented.
