Text review method and system based on large language model debate
By introducing a re-judgment mechanism and a debate mechanism into the large language model, combined with the text review rules, the problem of insufficient text review accuracy based on simple rules in the existing technology is solved, and more efficient text review accuracy and reasonable violation judgments are achieved. .
Patent Information
- Application Number
- CN202410840634.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Existing text review methods based on large language models rely on simple rules, resulting in insufficient review accuracy and difficulty in effectively processing complex text content.
Adopting a re-judgment mechanism and debate mechanism based on a large language model, through preliminary review, re-trial and multiple rounds of debate, combined with pre-learned text review rules, the review accuracy is improved.
It significantly improves the accuracy of text review, can accurately judge the legality of text content, and provides reasonable reasons for violations, which is better than the review method that relies solely on simple rules.
Smart Images

Figure CN118378609B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of artificial intelligence technology, and in particular relates to a text review method and system based on large language model debate. Background Art
[0002] With the popularization of the Internet and the rise of social media, people can share their opinions online anytime and anywhere. However, what follows is the proliferation of information and bad content, which has brought serious negative impacts on society. Traditional text review methods mainly rely on manual review, that is, hiring a large number of reviewers to manually check and screen the published text content. However, manual review is inefficient, costly, and difficult to cope with the huge amount of content and fast-spreading information. Therefore, there is an urgent need for an efficient, accurate and automated content review method to meet this challenge.
[0003] As one of the important advances in artificial intelligence technology, the big language model has powerful natural language understanding and generation capabilities, and can conduct in-depth analysis and understanding of text content. With the development of the big language model, its application areas are becoming more and more extensive. However, in terms of content review, the current method only drives the big language model to review content by inputting simple rules into it, which will have technical problems such as single review and inaccuracy.
[0004] The patent application with publication number CN116720515A discloses a sensitive word review method based on a large language model, which includes obtaining a text to be reviewed; inputting the text to be reviewed into a pre-trained large language model, and having the large language model perform text recognition on the text to be reviewed to obtain suspected sensitive words in the text to be reviewed; matching the suspected sensitive words in the text to be reviewed with sensitive words in a sensitive word library, and when there are sensitive words in the sensitive words that match the suspected sensitive words, obtaining the corresponding sensitive words in the sensitive word library and the classification labels corresponding to the sensitive words; determining whether the suspected sensitive words in the text to be reviewed have passed the review based on the suspected sensitive words in the text to be reviewed, the acquired sensitive words in the sensitive word library, the classification labels, and the pre-configured review strategy, and outputting the review results.
[0005] The patent application with publication number CN117708610A discloses a certificate audit method and system based on a large language model. The main text of the regulations and the standard template are imported into a pre-built large language model to generate an industry regulations library, and the regulation category of the certificate to be audited is matched with the regulations stored in the industry regulations library. Based on the corresponding regulations, each item to be tested of the certificate to be audited is segmented, and the segmented items to be tested are audited separately, and the audit results are summarized to draw the audit conclusion.
[0006] The above two technical solutions also drive the large language model to perform content review by inputting simple rules, and they also have the technical problems of single review and insufficient accuracy. Summary of the invention
[0007] In view of the above, an object of the present invention is to provide a text review method and system based on large language model debate, which can achieve accurate review of text.
[0008] To achieve the above-mentioned purpose of the invention, an embodiment provides a text review method based on large language model debate, comprising the following steps:
[0009] After obtaining and preprocessing the text, a preliminary review large language model is used to conduct a preliminary review on the preprocessed text to obtain a preliminary review result, wherein the preliminary review result includes: appropriate text, inappropriate text, and ambiguous text;
[0010] When the preliminary review result is an appropriate text or an inappropriate text, the pre-processed text and its corresponding preliminary review result are re-examined based on the re-sentencing mechanism using the trial large language model, and the re-trial result is given, where the re-trial result includes: when the preliminary review result is correct, the reason is given in combination with the text review rules; when the preliminary review result is incorrect, the opposite review result is given; otherwise, when it is impossible to determine whether the preliminary review result is correct, the text is judged to be ambiguous;
[0011] When the preliminary review results and the retrial results are ambiguous texts, the debate mechanism uses a large language model to play the roles of the affirmative side, the negative side, and the trial side to debate the pre-processed text and give review results of appropriate text or inappropriate text. When the text is reviewed as inappropriate, the reasons are given in combination with the text review rules.
[0012] Preferably, the text is preprocessed, including:
[0013] First, stop words in the text sentences are removed; then the information entropy of the sentences is calculated, and after extracting sentences with information entropy less than a given threshold, the cosine similarity between two adjacent sentences is calculated. Based on the cosine similarity, the adjacent sentences are divided into sections without exceeding the given number of words, and each section of the sentences is subject to text review.
[0014] Preferably, the adjacent sentences are divided into a segment based on the cosine similarity without exceeding a given number of tokens, including:
[0015] When the cosine similarity is less than the set similarity threshold, the two adjacent sentences are considered to be similar sentences, and the two similar sentences are divided into one section when the total number of tokens in the two similar sentences does not exceed the given number of tokens.
[0016] Preferably, based on the debate mechanism, the affirmative party, the negative party and the judging party played by the large language model debate the pre-processed text and provide the review results of appropriate text or inappropriate text, including:
[0017] First round: The affirmative large language model corresponding to the affirmative side determines that the preprocessed text is appropriate text and gives positive reasons to support the appropriate text; the negative large language model corresponding to the negative side determines that the preprocessed text is inappropriate text and gives negative reasons to support the inappropriate text;
[0018] Second round: The affirmative language model refutes the inappropriate text and reverse reasons output by the negative language model in the first round, and gives the rebuttal view and reasons for the inappropriate text; similarly, the negative language model refutes the appropriate text and positive reasons output by the affirmative language model in the first round, and gives the rebuttal view and reasons for the appropriate text;
[0019] The third round: The trial language model corresponding to the judging party will review and judge based on the affirmative party’s appropriate text and positive reasons, inappropriate text rebuttal opinions and reasons, and the negative party’s inappropriate text and reverse reasons, and appropriate text rebuttal opinions and reasons, and give the review results of appropriate text or inappropriate text and its reasons.
[0020] Preferably, the trial large language model in the re-sentencing mechanism and the trial large language model corresponding to the trial party in the debate mechanism are the same large language model.
[0021] Preferably, the method further comprises: the trial large language model learns text review details in advance, and embeds the knowledge of text review details into the trial large language model.
[0022] To achieve the above-mentioned purpose of the invention, the embodiment further provides a text review system based on large language model debate, including:
[0023] A preliminary review module is used to obtain and preprocess the text, and then use a preliminary review large language model to conduct a preliminary review on the preprocessed text to obtain a preliminary review result, wherein the preliminary review result includes: appropriate text, inappropriate text, and ambiguous text;
[0024] The retrial mechanism module is used to retrial the preprocessed text and its corresponding preliminary review results based on the retrial mechanism using the trial large language model when the preliminary review result is appropriate text or inappropriate text, and give the retrial result, where the retrial result includes: when the preliminary review result is correct, the reason is given in combination with the text review rules; when the preliminary review result is incorrect, the opposite review result is given; otherwise, when it is impossible to judge whether the preliminary review result is correct, the text is judged to be ambiguous;
[0025] The debate mechanism module is used when the preliminary review results and retrial results are ambiguous texts. Based on the debate mechanism, the affirmative party, the negative party, and the trial party played by the large language model debate the pre-processed text and give the review results of appropriate text or inappropriate text. When the text is reviewed as inappropriate, the reasons are given in combination with the text review rules.
[0026] To achieve the above-mentioned purpose of the invention, an embodiment further provides a computing device, including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, they are used to implement the above-mentioned text review method based on large language model debate.
[0027] In order to achieve the above-mentioned purpose of the invention, the embodiment further provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned text review method based on large language model debate is implemented.
[0028] To achieve the above-mentioned purpose of the invention, an embodiment further provides a computer product, which includes a computer program. When the computer program is executed by a processor, it implements the above-mentioned text review method based on large language model debate.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] The re-evaluation mechanism and debate mechanism are built based on the large language model. This can re-evaluate and debate the preliminary review results of the text based on the preliminary review large language model. The pre-learned text review rules are used as the basis for re-evaluation and debate, which can greatly improve the accuracy of text review. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0032] Figure 1 is a flow chart of a text review method based on large language model debate provided by an embodiment;
[0033] Figure 2 It is a flowchart of a text review method based on large language model debate provided by an embodiment;
[0034] Figure 3 is a schematic diagram of the structure of the debate mechanism provided in the embodiment;
[0035] Figure 4It is a structural schematic diagram of a text review system based on a large language model debate provided in an embodiment;
[0036] Figure 5 It is a schematic diagram of the structure of a computing device provided in an embodiment. DETAILED DESCRIPTION
[0037] To make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific implementation methods described herein are only used to explain the present invention and do not limit the scope of protection of the present invention.
[0038] The inventive concept of the present invention is to solve the technical problem that the existing technology uses a single large language model to review the content of text based on simple rules, resulting in low review accuracy. The embodiment of the present invention provides a text review method and system based on large language model debate, which improves the accuracy of text review by introducing a re-judgment mechanism and a debate mechanism based on a large language model, as well as text review rules.
[0039] like Figure 1 and Figure 2 As shown, the embodiment provides a text review method based on large language model debate, comprising the following steps:
[0040] S1, after obtaining and preprocessing the text, a preliminary review large language model is used to conduct a preliminary review on the preprocessed text to obtain a preliminary review result.
[0041] In the embodiment, texts on social media are obtained. These texts are generally messy sentences. Therefore, the texts need to be preprocessed to process the texts into texts that can be directly input into the large language model. The preprocessing includes: first, removing stop words in the text sentences; then calculating the information entropy of the sentences, extracting sentences with information entropy less than a given threshold, calculating the cosine similarity between two adjacent sentences, and dividing the adjacent sentences into sections based on the cosine similarity without exceeding a given number of word units. When conducting an audit, each sentence is input into the model for text audit.
[0042] Specifically, the adjacent sentences are divided into one section according to the cosine similarity under the premise that the number of tokens does not exceed a given number, including: when it is determined that the cosine similarity is less than a set similarity threshold, the two adjacent sentences are considered to be similar sentences, and when the total number of tokens of the two similar sentences does not exceed a given number of tokens, the two similar sentences are divided into one section. The similarity threshold is a preset value.
[0043] After preprocessing, a preliminary review large language model is used to perform a preliminary review on the preprocessed text to obtain preliminary review results. Specifically, each sentence in the preprocessed text is input into the preliminary review large language model, and the preliminary review results of each sentence are output after calculation. The preliminary review results include appropriate text, inappropriate text, and ambiguous text. These preliminary review results may be inaccurate and need to be further determined and confirmed.
[0044] S2: When the preliminary review result is an appropriate text or an inappropriate text, the preliminary review result will be retried based on the retrial mechanism and a retrial result will be given.
[0045] In the embodiment, the preprocessed text and its corresponding preliminary review results are re-tried based on the re-sentencing mechanism using the trial large language model, and the re-trial results are given. Specifically, each short sentence in the preprocessed text and the corresponding appropriate text or inappropriate text results are input into the trial large language model for judgment and output of the re-trial results. The re-trial results include: when the preliminary review results of the re-trial are correct, the reasons are given in combination with the text review details; when the preliminary review results are incorrect, the opposing review results are given; otherwise, when it is impossible to judge whether the preliminary review results are correct, the text is judged as ambiguous text.
[0046] When the preliminary review result is an appropriate text, if the retrial finds that the appropriate text is correct, reasons will be given according to the text review rules, which may be in the form of: "According to the text review rules, this sentence does not violate..."; if the retrial finds that the appropriate text is incorrect, a review result of inappropriate text will be given.
[0047] When the preliminary review result is an inappropriate text, if the inappropriate text is found to be correct after retrial, reasons will be given according to the text review rules, which may be in the form of: "According to the text review rules, this sentence violates..."; if the inappropriate text is found to be incorrect after retrial, a review result of appropriate text will be given.
[0048] The text review rules contain multiple rules and regulations for text review, which can be drafted in accordance with the "Regulations on Online Short Video Content Review Standards (2021)". The text review rules are external knowledge of the trial big language model. Through learning in advance, the trial big language model embeds and stores the knowledge of the text review rules. In this way, the trial will be conducted based on the knowledge of the text review rules.
[0049] Specifically, the process of pre-learning the external knowledge of text review details by the trial large language model includes: inputting the text review details as system prompt words into the large language model to enable it to learn.
[0050] When the retrial results in an ambiguous text, it participates in subsequent debates to determine the final review result.
[0051] S3, when the preliminary review results and the retrial results are ambiguous texts, the pre-processed texts are debated based on the debate mechanism to give the final review results.
[0052] In the embodiment, considering that some texts may be controversial when reviewed by a large language model, it is difficult for a large language model to make correct judgments on these controversial and ambiguous texts without sufficient opinions. Therefore, a debate mechanism is designed to provide more opinions for the large language model to judge.
[0053] like Figure 3 As shown, the debate mechanism includes three large language models corresponding to the affirmative side, the negative side and the judging side. The affirmative side's view is to support that the text to be reviewed is an appropriate text; the negative side's view is to support that the text to be reviewed is an inappropriate text, and the final review result is obtained through three rounds of debate.
[0054] Specifically, based on the debate mechanism, the affirmative party, the negative party, and the judge party played by the large language model debate the pre-processed text and give the review results of appropriate or inappropriate text, including:
[0055] First round: The affirmative large language model corresponding to the affirmative side determines that the preprocessed text is appropriate text, and gives positive reasons to support the appropriate text, such as "My opinion is that the text is appropriate, and my reason is..."; the negative large language model corresponding to the negative side determines that the preprocessed text is inappropriate text, and gives negative reasons to support the inappropriate text, such as "My opinion is that the text is inappropriate, and my reason is...".
[0056] Second round: The affirmative language model refutes the inappropriate text and counter-arguments output by the negative language model in the first round, and gives the rebuttal viewpoint and reason for the inappropriate text, such as "The negative reason is flawed in some aspects, my rebuttal is..."; Similarly, the negative language model refutes the appropriate text and positive reasons output by the affirmative language model in the first round, and gives the rebuttal viewpoint and reason for the appropriate text, such as "The affirmative reason is flawed in some aspects, my rebuttal is...";
[0057] Round 3: The trial language model corresponding to the trial party will review and judge based on the appropriate text and positive reasons of the affirmative party, the rebuttal viewpoint and reasons of the inappropriate text, and the inappropriate text and reverse reasons of the negative party, and the rebuttal viewpoint and reasons of the appropriate text, and give the review result of the appropriate text or inappropriate text and its reasons. For example, "Taking into account..., the final judgment is: inappropriate text".
[0058] After the re-sentencing mechanism and debate mechanism are completed, the final review result will be given. The review result is an appropriate text or an inappropriate text and the reason for judging it as an inappropriate text. The reason is based on the text review rules.
[0059] It should be noted that the large language models in the preliminary review, re-sentencing mechanism and debate mechanism can be pre-learned so that the knowledge of the text review details can be embedded and stored inside the large language models. In this way, during the debate, each large language model can give opinions and reasons based on the stored knowledge of the text review details.
[0060] The above text review method has a high review accuracy rate, which is better than the method based on simple rules and simply using a large language model for review. Furthermore, if it is determined to be inappropriate text, the present invention can give a reasonable reason for violation according to the proposed text review rules.
[0061] like Figure 4 As shown, the text review system 40 based on large language model debate provided by the embodiment includes a preliminary review module 41, a re-sentencing mechanism module 42, and a debate mechanism module 43, wherein the preliminary review module 41 is used to obtain the text and pre-process it, and then use the preliminary review large language model to perform preliminary review on the pre-processed text to obtain a preliminary review result; the re-sentencing mechanism module 42 is used to re-judge the pre-processed text and its corresponding preliminary review result based on the re-sentencing mechanism using the trial large language model when the preliminary review result is appropriate text or inappropriate text, and give a re-trial result; the debate mechanism module 43 is used to debate the pre-processed text based on the debate mechanism using the large language model as the affirmative party, the negative party, and the trial party when the preliminary review result and the re-trial result are ambiguous text, and give a final review result.
[0062] It should be noted that when constructing a human-computer interaction cognitive model, the text review system based on large language model debate provided in the above embodiment should be illustrated by the division of the above functional modules. The above functional distribution can be completed by different functional modules as needed, that is, the internal structure of the terminal or server is divided into different functional modules to complete all or part of the functions described above. In addition, the text review system based on large language model debate provided in the above embodiment belongs to the same concept as the text review method embodiment based on large language model debate. The specific implementation process is detailed in the text review method embodiment based on large language model debate, which will not be repeated here.
[0063] Based on the same inventive concept, an embodiment further provides a computing device, including a memory and one or more processors, wherein executable code is stored in the memory, and when the one or more processors execute the executable code, the method for text review based on large language model debate is implemented, specifically including the following steps:
[0064] S1, after obtaining and preprocessing the text, a preliminary review large language model is used to conduct a preliminary review on the preprocessed text to obtain a preliminary review result;
[0065] S2: When the preliminary review result is an appropriate text or an inappropriate text, the preliminary review result is re-examined based on the re-sentencing mechanism and the re-sentencing result is given;
[0066] S3, when the preliminary review results and the retrial results are ambiguous texts, the pre-processed texts are debated based on the debate mechanism to give the final review results.
[0067] like Figure 5 As shown, the computing device provided in the embodiment, at the hardware level, includes not only a processor and a memory, but also hardware required for other services such as an internal bus, a network interface, and a memory. The memory is a non-volatile memory, and the processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to implement the text review method based on the large language model debate described in S1-S3 above. Of course, in addition to software implementations, the present invention does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0068] Based on the same inventive concept, an embodiment further provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned text review method based on large language model debate is implemented, which specifically includes the following steps:
[0069] S1, after obtaining and preprocessing the text, a preliminary review large language model is used to conduct a preliminary review on the preprocessed text to obtain a preliminary review result;
[0070] S2: When the preliminary review result is an appropriate text or an inappropriate text, the preliminary review result is re-examined based on the re-sentencing mechanism and the re-sentencing result is given;
[0071] S3, when the preliminary review results and the retrial results are ambiguous texts, the pre-processed texts are debated based on the debate mechanism to give the final review results.
[0072] The embodiment further provides a computer product, which includes a computer program. When the computer program is executed by a processor, the text review method based on large language model debate is implemented, which specifically includes the following steps:
[0073] S1, after obtaining and preprocessing the text, a preliminary review large language model is used to conduct a preliminary review on the preprocessed text to obtain a preliminary review result;
[0074] S2: When the preliminary review result is an appropriate text or an inappropriate text, the preliminary review result is re-examined based on the re-sentencing mechanism and the re-sentencing result is given;
[0075] S3, when the preliminary review results and the retrial results are ambiguous texts, the pre-processed texts are debated based on the debate mechanism to give the final review results.
[0076] In the embodiment, computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules or other data.
[0077] The specific implementation methods described above provide a detailed description of the technical solutions and beneficial effects of the present invention. It should be understood that the above is only the most preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, supplements and equivalent substitutions made within the scope of the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A text review method based on large language model debate, characterized in that: The following steps are involved: After obtaining and preprocessing the text, a preliminary review large language model is used to conduct a preliminary review of the preprocessed text to obtain preliminary review results, where the preliminary review results include: appropriate text, inappropriate text, and ambiguous text; When the preliminary review result is appropriate or inappropriate, the pre-processed text and its corresponding preliminary review result will be re-examined based on the re-sentencing mechanism using the trial large language model, and a re-trial result will be given. The re-trial result includes: if the preliminary review result is correct, reasons will be given in combination with the text review rules; if the preliminary review result is incorrect, an opposing review result will be given; otherwise, if it is impossible to determine whether the preliminary review result is correct, the text will be judged as ambiguous; When the preliminary review results and retrial results are ambiguous text, the debate mechanism uses a large language model to play the role of the pros and cons, as well as the trial party, to debate the pre-processed text and provide a review result of appropriate or inappropriate text. If the text is reviewed as inappropriate, the reasons are given in combination with the text review rules, including: Round 1: The affirmative side's corresponding large language model determines that the pre-processed text is appropriate and provides positive reasons to support the appropriate text; the negative side's corresponding large language model determines that the pre-processed text is inappropriate and provides negative reasons to support the inappropriate text; Second round: The affirmative language model refutes the inappropriate text and counterarguments output by the negative language model in the first round, and provides rebuttal arguments and reasons. Similarly, the negative language model refutes the appropriate text and positive arguments output by the affirmative language model in the first round, and provides rebuttal arguments and reasons. The third round: The trial language model corresponding to the judging party reviews and judges based on the appropriate text and positive reasons of the affirmative party, the inappropriate text rebuttal opinions and reasons, and the inappropriate text and reverse reasons of the negative party, and the appropriate text rebuttal opinions and reasons, and gives the review results of appropriate text or inappropriate text and reasons.
2. The text review method based on large language model debate according to claim 1 is characterized in that: Preprocess the text, including: First, stop words in the text sentences are removed; then the information entropy of the sentences is calculated. After extracting sentences with information entropy less than a given threshold, the cosine similarity between two adjacent sentences is calculated. Based on the cosine similarity, the adjacent sentences are divided into sections without exceeding the given number of words, and each section of sentences is subject to text review.
3. The text review method based on large language model debate according to claim 2 is characterized in that: Based on the cosine similarity, adjacent sentences are divided into a section without exceeding the given number of tokens, including: When the cosine similarity is less than the set similarity threshold, the two adjacent sentences are considered to be similar sentences, and the two similar sentences are divided into one segment when the total number of tokens in the two similar sentences does not exceed the given number of tokens.
4. The text review method based on large language model debate according to claim 1 is characterized in that: The trial language model in the re-sentencing mechanism and the trial language model corresponding to the trial party in the debate mechanism are the same language model.
5. The text review method based on large language model debate according to claim 1 or 4, characterized in that: Also includes: The trial language model learns the text review details in advance and embeds the knowledge of the text review details into the trial language model.
6. A text review system based on large language model debate, characterized by: include: A preliminary review module is used to obtain and pre-process text, and then use a preliminary review large language model to conduct a preliminary review of the pre-processed text to obtain preliminary review results, where the preliminary review results include: appropriate text, inappropriate text, and ambiguous text; The retrial mechanism module is used to re-examine the pre-processed text and its corresponding preliminary review results based on the retrial mechanism using the trial large language model when the preliminary review result is appropriate or inappropriate text, and give a retrial result. The retrial result includes: if the preliminary review result is correct, a reason is given in combination with the text review rules; if the preliminary review result is incorrect, an opposing review result is given; otherwise, if it is impossible to determine whether the preliminary review result is correct, the text is judged to be ambiguous; The debate mechanism module is used when the preliminary review results and retrial results are ambiguous text. Based on the debate mechanism, the affirmative, negative, and trial parties, who play the role of the large language model, debate the pre-processed text and provide a review result of appropriate or inappropriate text. If the text is reviewed as inappropriate, the module also provides reasons based on the text review details, including: Round 1: The affirmative side's corresponding large language model determines that the pre-processed text is appropriate and provides positive reasons to support the appropriate text; the negative side's corresponding large language model determines that the pre-processed text is inappropriate and provides negative reasons to support the inappropriate text; Second round: The affirmative language model refutes the inappropriate text and counterarguments output by the negative language model in the first round, and provides rebuttal arguments and reasons. Similarly, the negative language model refutes the appropriate text and positive arguments output by the affirmative language model in the first round, and provides rebuttal arguments and reasons. The third round: The trial language model corresponding to the judging party reviews and judges based on the appropriate text and positive reasons of the affirmative party, the inappropriate text rebuttal opinions and reasons, and the inappropriate text and reverse reasons of the negative party, and the appropriate text rebuttal opinions and reasons, and gives the review results of appropriate text or inappropriate text and reasons.
7. A computing device comprising a memory and one or more processors, wherein the memory stores executable code, characterized in that: When the one or more processors execute the executable code, they are used to implement the text review method based on large language model debate according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that A program is stored thereon, and when the program is executed by a processor, the text review method based on large language model debate described in any one of claims 1-5 is implemented.
9. A computer product comprising a computer program, characterized in that When the computer program is executed by a processor, the text review method based on large language model debate according to any one of claims 1 to 5 is implemented.
