Evidence retrieval-based interpretable false news detection method

By using a method based on evidence retrieval, combining text similarity calculation and natural language processing, and using an external fact base to verify the authenticity of false news, and output evidence explanations, the problem of poor interpretability of existing false news detection methods is solved, and rapid ,Accurate fake news detection.

CN118606476APending Publication Date: 2024-09-0610TH RES INST OF CETC

Patent Information

Application Number
CN202410781352.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing false news detection methods have poor interpretability, especially methods based on content and social networks, which are difficult to provide clear explanation information, and the cost of obtaining data sets is high, making them unable to be widely promoted.

Method used

An explainable fake news detection method based on evidence retrieval is adopted, and evidence retrieval is performed through text similarity calculation, text classification and natural language processing, combined with an external fact database, to verify the authenticity of the news and output the evidence as explanation information.

Benefits of technology

It achieves fast and accurate retrieval of relevant sentences in massive news texts, locates relevant evidence, improves the accuracy and interpretability of false news detection, and solves the problem of poor interpretability of existing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118606476A
    Figure CN118606476A
Patent Text Reader

Abstract

The invention discloses an interpretable false news detection method based on evidence retrieval, and the method comprises the steps: S1, collecting real news articles, and constructing a fact library to store article information; s2, acquiring a news text to be detected, and performing article retrieval based on data stored in the fact library; s3, according to an article retrieval result, performing evidence retrieval based on the fact library; and S4, modeling authenticity verification of the event sentence to be detected into a natural language reasoning task, and performing reasoning verification. According to the method, the authenticity of the news is identified by performing evidence retrieval in combination with the external fact library and the to-be-detected news, and meanwhile, the evidence retrieval result is taken as explanation information of the final detection result, so that the problem of poor interpretability of an existing method is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of false news detection, and in particular to an explainable false news detection method based on evidence retrieval. Background Art

[0002] With the development of the Internet, news information on the Internet has shown an explosive growth, but it is also accompanied by a large amount of false, misleading, exaggerated, biased and other negative information, which has caused serious impact and harm to the public's cognition, judgment, decision-making, etc., and even caused social unrest and conflict. Fake news detection can help users quickly and accurately identify and filter out false information on the Internet, improve information literacy and media literacy, maintain the health and order of online public opinion, and protect public interests and social stability.

[0003] At present, the methods of fake news detection are mainly divided into the following types: First, the content-based method mainly utilizes the content of the news such as text, images and other multimodal information, uses machine learning or deep learning methods to extract features and build classifiers to detect fake news. This method is mainly aimed at fake news with exaggerated writing style, inconsistent text and pictures, etc.; second, the social network-based method mainly utilizes the user information of the news and the dissemination information of the news, and uses deep learning methods such as graph neural networks to detect fake news. This method is mainly aimed at the rapid spread of fake news; third, the external knowledge-based method uses external knowledge such as knowledge bases and expert systems as auxiliary content to detect fake news. This method is mainly aimed at fake news with knowledge and logical errors.

[0004] The above-mentioned fake news detection methods each have their own shortcomings. For example, the content-based method is difficult to detect fake news using only the information of the news itself, and lacks interpretability; although the external knowledge-based method combines knowledge bases such as knowledge graphs and can also provide certain explanatory information, it has great limitations. Nowadays, fake news rarely contains knowledge errors; the social network-based method not only has poor interpretability, but also has high cost to obtain data sets and cannot be widely promoted. Summary of the invention

[0005] To solve the above problems, the present invention provides an explainable fake news detection method based on evidence retrieval. It adopts text similarity calculation, text classification, natural language processing and other technologies, and designs an explainable fake news detection process based on evidence retrieval. It can identify the authenticity of news by combining external fact base with the news to be detected for evidence retrieval, and the results of evidence retrieval can be used as explanatory information for the final detection results, which solves the problem of poor interpretability of existing methods to a certain extent.

[0006] The present invention provides an explainable false news detection method based on evidence retrieval, and the specific technical solution is as follows:

[0007] S1: Collect real news articles and build a fact base to store article information;

[0008] S2: Obtain the news text to be detected, and perform article retrieval based on the data stored in the fact base;

[0009] S3: According to the results of the article search, evidence search is performed based on the fact base;

[0010] S4: Model the authenticity verification of the event sentence to be detected as a natural language reasoning task and perform reasoning verification.

[0011] Furthermore, the fact database also stores sentence information.

[0012] Furthermore, the construction process of the fact base is as follows:

[0013] Create a database and tables, including an article table and an event table;

[0014] Storing article information in the article table;

[0015] The article information is divided into sentences using regular expressions, and each sentence is encoded to obtain the vector representation of the event sentence and store it in the event table.

[0016] Furthermore, the article retrieval includes two stages of searching: rough retrieval and fine retrieval.

[0017] Furthermore, the specific process of the rough search is as follows:

[0018] Segment the acquired news text to be detected using regular expressions;

[0019] Encode each sentence to obtain the vector representation of the event sentence to be detected;

[0020] Obtain all event sentence vectors from the fact base;

[0021] Calculating the cosine similarity between the event sentence vector to be detected and the event sentence vector stored in the fact base, and sorting based on the cosine similarity;

[0022] The first K fact base event sentences with the largest cosine similarity are obtained as the rough retrieval results.

[0023] Furthermore, the sentences are encoded by a Sentence Bert model, which uses a twin network and a triplet network to update weight parameters;

[0024] The Sentence Bert model uses a cross entropy loss function during optimization, and the formula is as follows:

[0025] o=softmax(W t (u,v,|uv|))

[0026] Among them, u and v represent embedding vectors, |uv| represents the modulus of the difference vector between u and v, and W t It is a trainable weight parameter and softmax is a normalization function.

[0027] Furthermore, the specific process of the refined search is as follows:

[0028] Each event sentence to be detected is concatenated with the K event sentences in the fact base obtained by rough retrieval to obtain a sentence pair;

[0029] After adjusting the dimension of the sentence pair, the sentence pair is sent to the sentence pair classification model at one time to obtain a correlation prediction result;

[0030] The sentence pairs are adjusted back to the dimensions before being input into the model, and are sorted based on the relevance prediction results to obtain the event sentences in the fact base that are most relevant to each event sentence to be detected.

[0031] Furthermore, the specific process of evidence retrieval is as follows:

[0032] Obtaining article information corresponding to the event sentence most relevant to the event sentence to be detected from the fact database;

[0033] Use regular expressions to split sentences, and then concatenate them with the event sentences to be detected;

[0034] The concatenated sentence pairs are input into the sentence pair classification model for relevance prediction, and several event sentences are selected as evidence based on the relevance prediction results.

[0035] Furthermore, after the correlation prediction is performed, the correlation prediction results are sorted according to the correlation probability, and 1-3 event sentences whose correlation probability has a small gap with the maximum correlation probability are selected as evidence.

[0036] Furthermore, the specific process of the reasoning verification is as follows:

[0037] Concatenate each event sentence to be detected and the corresponding evidence sentence into one sentence;

[0038] The evidence sentence is used as the premise and the event sentence to be detected is used as the hypothesis, which is input into the reasoning model to obtain the reasoning result of each event sentence to be detected.

[0039] The beneficial effects of the present invention are as follows:

[0040] The present invention constructs a fact base by collecting real news articles, stores text information and sentence information in the fact base, and then searches through two stages of coarse retrieval and fine retrieval to achieve accurate and rapid retrieval of relevant sentences in massive news texts, and then further locates relevant news texts through evidence retrieval and selects sufficient relevant evidence from the news texts, and finally uses the evidence to infer the authenticity of the news text to be tested. At the same time, the evidence can be used as explanatory information for the test results, which ensures the detection accuracy while solving the problem of poor interpretability of existing methods to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a schematic diagram of the overall false news detection process framework of the present invention.

[0042] Figure 2 It is a schematic diagram of the fact base construction process of the present invention.

[0043] Figure 3 It is a schematic diagram of the rough search process of the present invention.

[0044] Figure 4 It is a schematic diagram of the precise search process of the present invention.

[0045] Figure 5 It is a schematic diagram of the evidence retrieval process of the present invention.

[0046] Figure 6 It is a schematic diagram of the natural language reasoning process of the present invention. DETAILED DESCRIPTION

[0047] The following description clearly and completely describes the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] In the description of the embodiments of the present invention, it should be noted that the indicated orientation or positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship in which the invention product is usually placed when in use, or the orientation or positional relationship commonly understood by those skilled in the art, or the orientation or positional relationship in which the invention product is usually placed when in use, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply 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 on the present invention. In addition, the terms "first" and "second" are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0049] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set" and "connection" 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 direct connection, or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0050] Example 1

[0051] Embodiment 1 of the present invention discloses that Figure 1 As shown, the specific steps are as follows:

[0052] S1: Collect real news articles and build a fact base to store article information;

[0053] like Figure 2 As shown, the construction process of the fact base is as follows:

[0054] Create a database and tables, including an article table and an event table;

[0055] Storing article information in the article table;

[0056] In this embodiment, the fact database also stores sentence information. Specifically, the article information is segmented into sentences using regular expressions, and then each sentence is encoded using the Sentence Bert (SBert) model to obtain a vector representation of the event sentence, which is stored in the event table.

[0057] Using the Sentence Bert network, event sentences in the fact base can be encoded and saved in advance. In the massive text recall stage, you only need to encode the current event and then calculate the cosine similarity with the event embedding vector that has been encoded in advance, so that you can quickly obtain related events and meet real-time requirements.

[0058] S2: Obtain the news text to be detected, and perform article retrieval based on the data stored in the fact base;

[0059] In this embodiment, the article search includes two stages of search: rough search and fine search;

[0060] like Figure 3 As shown, the specific process of the rough search is as follows:

[0061] Segment the acquired news text to be detected using regular expressions to obtain one or more event sentences to be detected;

[0062] Encode each sentence through the SBert model to obtain the vector representation of the event sentence to be detected;

[0063] Obtain all event sentence vectors from the fact base;

[0064] Using matrix operations, quickly calculating the cosine similarity between the event sentence vector to be detected and the event sentence vector stored in the fact base, and sorting based on the cosine similarity;

[0065] Among them, Sentence Bert uses a twin network and a triple network to update the weight parameters, sends two sentences into the model to obtain two codes, and then calculates the cosine similarity of the two codes. Sentence Bert, which is used for sentence pair classification, uses a cross entropy loss function during optimization. The formula is as follows:

[0066] o=softmax(W t (u,v,|uv|))

[0067] Among them, u and v represent embedding vectors, |uv| represents the modulus of the difference vector between u and v, and W t It is a trainable weight parameter and softmax is a normalization function.

[0068] The first K fact base event sentences with the largest cosine similarity are obtained as the rough retrieval results.

[0069] like Figure 4 As shown, the specific process of the refined search is as follows:

[0070] Each event sentence to be detected is concatenated with the K event sentences in the fact base obtained by rough retrieval to obtain a sentence pair;

[0071] After adjusting the dimension of the sentence pair, the sentence pair is fed into the Ernie3.0 sentence pair classification model to obtain a correlation prediction result;

[0072] The sentence pairs are adjusted back to the dimensions before being input into the model, and are sorted based on the relevance prediction results to obtain the event sentences in the fact base that are most relevant to each event sentence to be detected.

[0073] Since Sentence Bert encodes two sentences separately, the text similarity is obtained by calculating the cosine similarity of the two encodings. Although the speed is improved, the interactive information between the sentences is lost, resulting in a decrease in accuracy. Therefore, the method of this embodiment uses an interactive model Ernie3.0 for fine search after the rough search using Sentence Bert, which makes up for the shortcoming that there is no interaction between the sentence pairs in the rough sorting model, and the number of K related sentences screened out by the rough search is controllable, which will not cause the fine sorting stage to consume too much time.

[0074] S3: Obtaining article information corresponding to the event sentence most relevant to the event sentence to be detected from the fact database. Specifically, the article information can be retrieved by using the ID stored in the fact database;

[0075] like Figure 5 As shown, the sentences are divided by regular expressions, and then concatenated with the event sentences to be detected. The concatenated sentence pairs are input into the Ernie3.0 sentence pair classification model for correlation prediction, and 1-3 event sentences with the smallest difference between the correlation probability and the maximum correlation probability are selected as evidence;

[0076] S4: Model the authenticity verification of the event sentence to be detected as a natural language reasoning task and perform reasoning verification.

[0077] like Figure 6 As shown, the specific process is as follows:

[0078] Concatenate each event sentence to be detected and the corresponding evidence sentence into one sentence;

[0079] The evidence sentence is used as the premise and the event sentence to be detected is used as the hypothesis, which are input into the reasoning model to obtain the reasoning result of each event sentence to be detected.

[0080] Specifically, the evidence and the event sentence to be detected are concatenated and sent to the Ernie3.0 sentence pair classification model for a three-classification task, and the authenticity of the event sentence to be detected is verified based on the classification results (neutral, implication, and contradiction).

[0081] Summarize the truth and falsity identification results of all event sentences to be detected. In practice, the truth and falsity of the news text to be detected can be calculated according to the principle of "if one is false, it is false; if there is no falsehood, it is true", and the corresponding evidence retrieved can be output as explanatory information.

[0082] The present invention is not limited to the above-mentioned specific embodiments, but extends to any new features or any new combination disclosed in this specification, as well as any new method or process steps or any new combination disclosed.

Claims

1. An explainable fake news detection method based on evidence retrieval, characterized in that: include: S1: Collect real news articles and build a fact base to store article information; S2: Obtain the news text to be detected, and perform article retrieval based on the data stored in the fact base; S3: According to the results of the article search, evidence search is performed based on the fact base; S4: Model the authenticity verification of the event sentence to be detected as a natural language reasoning task and perform reasoning verification.

2. The explainable false news detection method based on evidence retrieval according to claim 1 is characterized in that: The fact base also stores sentence information.

3. The explainable false news detection method based on evidence retrieval according to claim 2 is characterized in that: The construction process of the fact base is as follows: Create a database and tables, including an article table and an event table; Storing article information in the article table; The article information is divided into sentences using regular expressions, and each sentence is encoded to obtain the vector representation of the event sentence and store it in the event table.

4. The explainable false news detection method based on evidence retrieval according to claim 1 is characterized in that: The article retrieval includes two stages of searching: rough retrieval and fine retrieval.

5. The explainable false news detection method based on evidence retrieval according to claim 4 is characterized in that: The specific process of the rough search is as follows: Segment the acquired news text to be detected using regular expressions; Encode each sentence to obtain the vector representation of the event sentence to be detected; Obtain all event sentence vectors from the fact base; Calculating the cosine similarity between the event sentence vector to be detected and the event sentence vector stored in the fact base, and sorting based on the cosine similarity; The first K fact base event sentences with the largest cosine similarity are obtained as the rough retrieval results.

6. The explainable false news detection method based on evidence retrieval according to any one of claims 3 to 5, characterized in that: Encode the sentence through the Sentence Bert model, which uses a twin network and a triplet network to update weight parameters; The Sentence Bert model uses a cross entropy loss function during optimization, and the formula is as follows: o=softmax(W t (u,v,|uv|)) Among them, u and v represent embedding vectors, |uv| represents the modulus of the difference vector between u and v, and W t It is a trainable weight parameter and softmax is a normalization function.

7. The explainable false news detection method based on evidence retrieval according to claim 4 is characterized in that: The specific process of the refined search is as follows: Each event sentence to be detected is concatenated with the K event sentences in the fact base obtained by rough retrieval to obtain a sentence pair; After adjusting the dimension of the sentence pair, the sentence pair is sent to the sentence pair classification model at one time to obtain a correlation prediction result; The sentence pairs are adjusted back to the dimensions before being input into the model, and are sorted based on the relevance prediction results to obtain the event sentences in the fact base that are most relevant to each event sentence to be detected.

8. The explainable false news detection method based on evidence retrieval according to claim 1 is characterized in that: The specific process of evidence retrieval is as follows: Obtaining article information corresponding to the event sentence most relevant to the event sentence to be detected from the fact database; Use regular expressions to split sentences, and then concatenate them with the event sentences to be detected; The concatenated sentence pairs are input into the sentence pair classification model for relevance prediction, and several event sentences are selected as evidence based on the relevance prediction results.

9. The explainable false news detection method based on evidence retrieval according to claim 8 is characterized in that: After the correlation prediction is performed, the correlation prediction results are sorted according to the correlation probability, and 1-3 event sentences whose correlation probability is close to the maximum correlation probability are selected as evidence.

10. The explainable false news detection method based on evidence retrieval according to claim 1 is characterized in that: The specific process of the reasoning verification is as follows: Concatenate each event sentence to be detected and the corresponding evidence sentence into one sentence; The evidence sentence is used as the premise and the event sentence to be detected is used as the hypothesis, which are input into the reasoning model to obtain the reasoning result of each event sentence to be detected.

Citation Information

Patent Citations

  • Domain independent dialogue method based on knowledge base

    CN110413761A

  • False news interpretability detection system and method based on evidence inference network

    CN112988959A

Cited By

  • Ffact verification method and device, equipment and storage medium

    CN119849648A

  • A method, apparatus, device, and storage medium for fact verification

    CN119849648B

  • False news detection method and device and terminal equipment

    CN121212160A

  • A method, device and terminal equipment for detecting fake news

    CN121212160B

  • News clue checking and grading method and system based on multi-dimensional association and LLM

    CN121434473A