A highly robust text content auditing method based on DeBERTa model

Through the text content review method based on the DeBERTa model, the decoupled attention mechanism and the enhanced mask decoder are used to solve the problems of text content review misjudgment and insufficient robustness in the existing technology, and achieve high accuracy and efficiency. Text content review, suitable for complex and special language scenarios.

CN118364113BActive Publication Date: 2024-10-11珠海金智维人工智能股份有限公司
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410789228.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-11
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

Existing text content review methods are prone to misjudgments when dealing with complex and special language phenomena, especially short texts, ambiguities, puns, sarcasm, mood sentences, noisy sentences, etc., and the review system based on the BERT model lacks end-to-end Processing and fine-tuning lead to weak robustness, large resource consumption, and long response time.

Method used

A highly robust text content review method based on the DeBERTa model is adopted. By collecting, cleaning and labeling training data, the DeBERTa model is fine-tuned, and a decoupled attention mechanism and enhanced mask decoder are introduced to achieve stable processing of complex text. Output classification information.

Benefits of technology

It improves the accuracy and robustness of text content review, enables rapid location of illegal content, reduces resource consumption and response time, enhances system automation and review efficiency, and adapts to text contexts in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118364113B_ABST
    Figure CN118364113B_ABST
Patent Text Reader

Abstract

The present invention discloses a highly robust text content audit method based on the DeBERTa model, comprising the following steps in order: S1, collecting, cleaning and annotating training data, and training the DeBERTa model; the training data includes positive sample data and negative sample data, and the proportion of negative sample data is greater than that of positive sample data; S2, introducing a decoupled attention mechanism, and using an enhanced mask decoder to fine-tune the DeBERTa model; S3, the fine-tuned DeBERTa model audits the input text content and outputs classification information of the text content. The present invention can effectively solve the problem that the model is prone to misjudgment, so that the model has high robustness while ensuring accuracy and generalization ability. When faced with complex contexts in different scenarios, the text content audit system can respond stably and efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network environment maintenance, and in particular to a highly robust text content auditing method based on a DeBERTa model. Background Art

[0002] Text content review is a process of monitoring and reviewing online text content to ensure that the content complies with ethical, legal and community norms. It helps maintain the health of the network environment, comply with laws and regulations, protect corporate brand image, improve user experience and ensure data security. Text content review is of great significance in today's digital world. With the popularization of the Internet and the development of technology, text content review has become increasingly important in many scenarios.

[0003] In the prior art, text content review methods can be mainly divided into manual review, rule-based automatic review and artificial intelligence-based automatic review.

[0004] in:

[0005] (1) Manual review is inefficient, costly, and highly subjective; different reviewers may make different judgments on the same content.

[0006] (2) The rule-based audit system has high maintenance costs and is rigid in its audit process, which seriously reduces the accuracy of the audit.

[0007] (3) The current typical or common AI-based automatic review, such as text content review based on BERT (Bidirectional Encoder Representations from Transformers), still has the following shortcomings and deficiencies:

[0008] 1) Although the performance can meet the accuracy requirements, there are still a lot of misjudgments for regular normal texts in actual application scenarios, that is, the robustness is not strong. This drawback is particularly obvious in short texts. Therefore, in order to avoid such phenomena, a considerable number of solutions have added word vector quantity judgment processing. If the number of word vectors is less than the preset value (i.e. short text), other processing methods such as rules or template vector similarity matching are used to process the short text, which undoubtedly increases the complexity of the system, resulting in more resource consumption and longer response time. 2) In terms of architecture, it does not belong to the end-to-end processing of the model. BERT only plays the role of acquiring feature vectors. Subsequently, the audit results are obtained by calculating and matching the similarity with the template vectors in the database; 3) There is no fine-tuning of pre-trained models such as BERT, which is ready to use. This undoubtedly makes the word vector lack the ability to represent the semantics of text in different scenarios.

[0009] The patent document "Publication number: CN116108132A, Patent application name: Method and device for reviewing text messages, Applicant: Shanghai Chuanglan Yunzhi Information Technology Co., Ltd., Application date: 2022-11-9, Publication date: 2023-5-12" is such a case. Summary of the invention

[0010] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and to provide a highly robust text content review method based on the DeBERTa model. The method has high robustness while ensuring high accuracy, and solves the industry pain point that the model is prone to misjudgment when dealing with complex and special language phenomena (such as short texts, ambiguity, puns, sarcasm, modal sentences, noisy sentences, etc.). It can quickly locate illegal content, automatically generate review result reports, and significantly improve the efficiency and quality of content review.

[0011] The purpose of the present invention is achieved through the following technical solutions:

[0012] The highly robust text content auditing method based on the DeBERTa model includes the following steps in order:

[0013] S1. Collect, clean and annotate training data to train the DeBERTa model; the training data includes positive sample data and negative sample data, and the proportion of negative sample data is greater than that of positive sample data;

[0014] As a pre-trained model, DeBERTa refers to a model base that has been trained on a large-scale general corpus with hundreds of millions to billions of tokens. Based on this, the present invention uses tens of thousands of self-annotated data (hundreds of thousands of tokens) to "fine-tune the pre-trained model."

[0015] S2, introduced the decoupled attention mechanism and used the enhanced mask decoder to fine-tune the DeBERTa model;

[0016] S3. The fine-tuned DeBERTa model reviews the input text content and outputs the classification information of the text content.

[0017] The positive sample data corresponds to several category labels, and the negative sample data corresponds to one category label.

[0018] In step S2, the decoupled attention mechanism decouples the attention of a word into content attention and relative position attention; wherein the content attention independently calculates the attention weight for the content information of each word in the input sequence.

[0019] The content attention is expressed as:

[0020] ;

[0021] in, represents the content vector, , They are the content information extracted from the query and key vectors, focusing on the meaning of the word itself; , , They are the query vector, key vector, and value vector obtained after linear transformation of the input sequence; is the transpose operation; is the dimension of the content vector.

[0022] The relative position attention is expressed as:

[0023] ;

[0024] in, Represents relative position encoding, , They are the position information extracted from the query and key vectors, respectively, focusing on the relative order between tokens; , , They are the query vector, key vector, and value vector obtained after linear transformation of the input sequence; is the transpose operation; is the dimension of the relative position vector.

[0025] In step S2, the enhanced mask decoder, during the decoding process, not only considers the context information, but also explicitly includes the absolute position encoding of each word unit.

[0026] In step S2, the fine-tuned DeBERTa model first encodes the input text, and then converts the output of the encoder into a category probability distribution through a Softmax layer; the output of the Softmax layer is a probability vector, each element of which corresponds to a category, and the sum of all elements is 1;

[0027] The softmax process is expressed as follows:

[0028] ;

[0029] in, Represents the output vector of the DeBERTa linear layer, containing elements, , Representative The probability of the element, corresponding to the The probability of the categories, Represents the first in the output vector of the DeBERTa linear layer element values, Represents the value of each element in the output vector of the DeBERTa linear layer.

[0030] At the same time, the present invention provides:

[0031] A server comprises a processor and a memory, wherein the memory stores at least one program, and the program is loaded and executed by the processor to implement the above-mentioned highly robust text content review method based on the DeBERTa model.

[0032] A computer-readable storage medium, wherein at least one program is stored in the storage medium, and the program is loaded and executed by a processor to implement the above-mentioned highly robust text content review method based on the DeBERTa model.

[0033] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0034] The present invention can effectively solve the problem that the model is prone to misjudgment, so that the model has high robustness while ensuring accuracy and generalization ability. When faced with complex contexts in different scenarios, the text content review system can respond stably and efficiently. Compared with the prior art, the present invention has the following advantages:

[0035] 1. The audit covers a wide range and does not rely on preset fixed rules;

[0036] 2. In the text context of different scenarios, the model will not easily make misjudgments, and it has high robustness while ensuring accuracy and generalization ability.

[0037] 3. The audit process is end-to-end, with a high degree of automation, high audit efficiency, short response time, low resource consumption, and reduced costs;

[0038] 4. The audit results are clear and rich, which is convenient for review and inspection;

[0039] 5. Support data reflow, continuous learning and expansion, and adapt to new situations.

[0040] With the popularization and development of the Internet, the application scenarios of the present invention are extremely broad, and can be applied to social media, news websites and forums, e-commerce platforms and other fields, which is of great significance to the health, security and stability of the network environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a flowchart of the highly robust text content review method based on the DeBERTa model described in the present invention.

[0042] Figure 2Schematic diagram of the negative sample (illegal data) category composition.

[0043] Figure 3 Schematic diagram of the DeBERTa model architecture.

[0044] Figure 4 Review your diagram for text content. DETAILED DESCRIPTION

[0045] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.

[0046] like Figure 1 , a highly robust text content audit method based on the DeBERTa model, mainly includes the following contents:

[0047] 1. Positive sample data collection, processing, and labeling

[0048] Positive sample data belongs to the model training data, corresponding to all text data categories that the model needs to review;

[0049] After clarifying the categories of positive samples that need to be reviewed, it is necessary to collect corpus. The ways to collect corpus are: web crawlers, open source data sets. Through crawler technology, a large amount of text data can be captured from the Internet. This data can include news, blogs, forums, social media and other types. Web crawlers can efficiently obtain a large amount of data, but they will encounter problems such as poor data quality. Therefore, it is necessary to perform text cleaning on the crawled data. Text cleaning includes:

[0050] 1) Remove invisible characters: Remove some invisible characters in ASCII, such as the ranges 0-32 and 127-160.

[0051] 2) Normalize spaces: Convert different unicode spaces, such as u2008, into normal spaces.

[0052] 3) Remove garbled characters: Remove garbled characters and meaningless unicode.

[0053] 4) Traditional to Simplified: Convert traditional Chinese characters in the document to simplified Chinese.

[0054] 5) Remove web page identifiers: remove HTML tags from the document, such as, <dev> , wait.

[0055] Open source datasets come from some pre-collected and organized datasets publicly released by organizations and research institutions, which can be used for research or commercial purposes. However, due to the different sources of different datasets, the storage methods of datasets are also different, mainly including: txt, csv, tsv, json, xml. In order to facilitate model training, datasets from different sources need to be uniformly extracted and cleaned, and then stored in txt files.

[0056] Next, we need to filter and annotate the organized corpus. Filtering is to filter out non-positive sample data and keep only positive sample data. Annotation is to label each positive sample data with a corresponding category label, so that the final complete training data format is "text label". Filtering and annotating can be done at the same time, and the following three data annotation schemes are used:

[0057] (1) Manual labeling. First, the text data is manually classified or labeled. This process is time-consuming and costly, but it can ensure the quality of labeling. After manually labeling hundreds of positive samples in each category, step (2) is carried out: transfer learning.

[0058] (2) Transfer learning. Transfer learning is a method that uses pre-trained models (such as BERT). Pre-trained models are pre-trained on a large amount of unlabeled data and can capture rich language features. By fine-tuning the labeled data in step (1) and using the fine-tuned model to infer and label the corpus, the labeling efficiency can be greatly improved. In this process, it is also necessary to manually correct samples that the model misjudged, and then repeat fine-tuning and inference labeling.

[0059] (3) Keyword search. For some categories, such as advertising samples, there are often representative and prominent keywords in the sentences, such as "Please add WeChat" and "Click on the link". The prefix tree algorithm can be used to quickly match the keywords in the text and add the corresponding tags.

[0060] After completing the data labeling through the above three solutions, proceed to the next step: collection, production and labeling of negative samples.

[0061] 2. Collection, creation, and annotation of negative sample datasets

[0062] One of the industry pain points in existing automated text content review solutions is that they are unable to correctly identify short texts, because short texts of only a few Chinese characters or letters have almost no contextual information, which makes it impossible for the model to analyze semantics, resulting in incorrect judgments. There are many other situations that can cause misjudgment by the model or review system, such as the input of special characters, classical Chinese, texts with little contextual information, and so on.

[0063] Therefore, in order to cope with the model's review of various text scenarios such as short texts, this method deliberately collects and processes a large number of diverse negative samples in the data preparation stage, and inputs them together with positive samples into the DeBERTa pre-trained model in the third part "Fine-tuning based on DeBERTa pre-trained model", so that the fine-tuned model has high robustness, that is, the model has high accuracy and will not make misjudgments in text content review scenarios with complex scenarios and different grammars, ensuring accurate, stable and highly robust prediction results.

[0064] It is worth noting that, unlike the multiple category labels in the positive sample data, the negative sample only corresponds to one category label: "other". Texts that do not contain illegal information are all negative samples. If each category in the negative sample is pointed to a label, the accuracy of the model will deteriorate, the number of misjudgments will increase, and the problem of model prediction bias cannot be solved. However, if all negative sample categories are pointed to a label, the above problems can be solved, making the model more robust. Negative sample corpus is rich and diverse, including but not limited to the following types of text data:

[0065] Among them, Figure 2 , short sentences (1-32) represent normal texts with 1-32 Chinese characters; medium sentences (33-64) represent texts with 33-64 Chinese characters; medium-long sentences (65-128) represent texts with 65-128 Chinese characters; long sentences (129-512) represent texts with 129-512 Chinese characters, and 512 is also the maximum length that the model can input. These text data with different numbers of Chinese characters come from the first part "Positive Sample Data Collection, Processing, and Annotation", that is, the non-positive sample data is retained and added to the negative samples, in order to make the model adapt to the input of different text lengths in actual application scenarios. In addition, in order to enhance the model's adaptability to different content scenarios and prevent the model from misjudging texts in different contexts, Chinese corpora such as stop words, punctuation marks, special characters, regular mood sentences, and daily life conversations are deliberately added as negative samples.

[0066] 3. Fine-tuning based on DeBERTa pre-trained model

[0067] The DeBERTa model aims to improve the model's understanding and generation performance of natural language by introducing a decoupled attention mechanism and an enhanced mask decoder strategy, thereby improving the model's performance on various downstream natural language processing tasks.

[0068] 1. Decoupled Attention Mechanism

[0069] In the traditional BERT model, the self-attention mechanism is used to capture the dependencies between tokens at different positions in the input sequence. However, this attention mechanism does not clearly distinguish between information flows of different types of dimensions (such as position information, semantic information, etc.), and this information flow contains all the information about the token content (i.e., semantics) and relative positions. The traditional, original self-attention can be expressed as:

[0070] ;

[0071] in, , , They are the query vector, key vector, and value vector obtained after linear transformation of the input sequence; is the dimension of the key vector; is the transpose operation.

[0072] In contrast, the present invention introduces a decoupled attention mechanism to process the content and relative position information separately in traditional attention. Specifically, it separates the attention of a word into the following two parts, allowing the model to process different types of information more finely:

[0073] (1) Content Attention: For the content information of each word in the input sequence, the attention weight is calculated independently to ensure that the model can better capture context-related dependencies based on the meaning of the word. The formula is expressed as:

[0074] ;

[0075] in, represents the content vector, , They are the content information extracted from the query and key vectors, focusing on the meaning of the word itself; , , They are the query vector, key vector, and value vector obtained after linear transformation of the input sequence; is the transpose operation; is the dimension of the content vector;

[0076] (2) Relative Position Attention: Specializing in processing relative position information, the model can learn and understand the relative order relationship between different words separately, which is crucial for syntactic structure and semantic understanding in natural language. The formula is expressed as:

[0077] ;

[0078] in, Represents relative position encoding, , They are the position information extracted from the query and key vectors, respectively, focusing on the relative order between tokens; , , They are the query vector, key vector, and value vector obtained after linear transformation of the input sequence; is the transpose operation; is the dimension of the relative position vector. Finally, the present invention will combine the results of these two attention mechanisms to comprehensively consider the relationship between word content and relative position.

[0079] In this way, by decoupling the attention mechanism, the content and location information are decoupled, which helps the model to more accurately capture the complex interactive information in the text, thereby improving the model performance.

[0080] 2. Enhanced Mask Decoder Strategy

[0081] In the pre-training stage, BERT adopted the task of masked language model, which is to randomly mask some words in the input sequence and let the model predict these masked words. On this basis, DeBERTa optimized the masked decoder by introducing absolute position information. That is, in the decoding process, not only the context information is considered, but also the absolute position encoding of each word is explicitly included, which helps the model better locate the specific position in the sentence during generation and prediction.

[0082] In the pre-training stage, DeBERTa has been trained on a large amount of unlabeled text data through unsupervised learning, and has learned rich language representations and features. These representations and features can capture information about vocabulary, grammar, and semantics. In the fine-tuning stage, the model is further optimized through the 100,000 labeled training data prepared in the first part "Positive sample data collection, processing, and annotation" and the second part "Negative sample data collection, production, and annotation" to achieve significant performance improvements. The overall structure of the model is as follows Figure 3 shown.

[0083] The DeBERTa model first encodes the input text, and then converts the encoder output into a category probability distribution through the Softmax layer. The output of the Softmax layer is a probability vector, each element of which corresponds to a category, and the sum of all elements is 1. The softmax process can be expressed as:

[0084] ;

[0085] in, Represents the output vector of the DeBERTa linear layer, containing elements, , Representative The probability of the element, corresponding to the The probability of the categories, Represents the first in the output vector of the DeBERTa linear layer element values, Represents the value of each element in the output vector of the DeBERTa linear layer. In the content review task in this example, Elements represent categories.

[0086] The category corresponding to the element with the highest probability is finally output. Figure 3 In this example, if the text "Please click on the product link below" is input, the model will directly output the category "advertisement" end-to-end.

[0087] 4. Text content review process

[0088] For the text to be reviewed entered by the user, the system will first divide it into sentences according to punctuation marks. Punctuation marks such as "." and "!" are often used to break sentences so that the semantics of each sentence is as complete as possible. Then the sentence is input into the model for inference prediction. If the confidence of the model output is greater than the threshold and the predicted category belongs to the positive sample, the position of the sentence in the original text and the violation category are marked and added to the review result; if the confidence of the model output is less than the threshold or the predicted category is a negative sample (other), it means that the sentence is semantically not illegal, that is, regular text. However, in order to enrich the review results and meet the needs of content review in actual scenarios, a layer of keyword detection will be added to the regular text. However, due to the complexity and ambiguity of information, keyword detection may result in misjudgment, which means that some legal content may be mistakenly judged as illegal content, resulting in the user's legal content being misreported, affecting the user experience. Therefore, before keyword detection, scientific word segmentation will be performed according to the language rules and structure of the text to avoid keyword detection false positives. The entire review process is like this. Figure 4 shown.

[0089] 5. Data Flow Optimization and Expansion

[0090] In practical applications, automated text review usually needs to be combined with manual review to achieve more efficient, accurate and user-friendly content review. Supports saving the results of online content review services, which can be used for the next model optimization training after manual screening, adjustment and correction. Therefore, it is necessary to regularly collect audit reports from the actual audit environment, analyze the audit results and record the model's error audit information for subsequent iterative optimization of the model. Based on the extracted error audit information, perform incremental learning of the model. In the incremental learning mode, the model does not need to be trained or fine-tuned from scratch, but updates and optimizes the existing model by gradually learning new data. It can help the model better adapt to new data, save computing resources, avoid forgetting previous knowledge, and achieve real-time updates, continuously improving the generalization ability of the model.

[0091] In terms of expansion, new review categories will need to be added to expand to different platforms and scenarios, adapt to content review needs of various sizes, and make it universal in content review in different fields and industries. Through continuous iterative optimization and expansion, the system can better adapt to changes and improve prediction accuracy, reducing false positives and false negatives.

[0092] The present invention has the following advantages:

[0093] (1) Fine-tuning was performed using a large amount of carefully prepared and annotated data (100,000 pieces). The innovation is that in the processing and annotation strategy of training data, the data is divided into positive and negative samples, and the negative samples account for the majority (the ratio of negative samples to positive samples is about 4:1. In terms of data distribution strategy, this is "bold and counterintuitive" because the typical data distribution should only contain positive sample data or positive sample data accounts for the majority). The key is that the negative samples include regular text corpora of various scenarios and have different text lengths. In this way, thanks to the "bold" but "reasonable" distribution of positive and negative samples and the diversity of negative sample corpora during the model fine-tuning stage, the fine-tuned model has high robustness, that is, it will not easily make misjudgments in any text semantic scenario, solving the problem of misjudgment in typical or general solutions, while ensuring generalization ability and accuracy. Taking the case of short text lacking sufficient contextual semantics as an example, the typical or general solution is to add a judgment on the number of valid words, and then process the short text based on another model or other methods outside the model, such as rules. In contrast, the present invention directly performs end-to-end reasoning based on the model to obtain results. In addition to high robustness, strong generalization ability, and high accuracy, the response time is also greatly reduced. Simply put, compared with the typical text classification model, its text classification corpus only contains positive samples of specific N categories and does not contain negative samples. We added negative samples on the basis of positive samples, in which the positive samples contain mostly sentences with complete contextual semantics and few short texts (the ratio of the two is 9:1), and at the same time ensure that negative samples account for the majority compared to positive samples, so as to achieve the effect of high robustness of the model. The details of data collection, production, and annotation in this part are in the first and second parts.

[0094] (2) Fine-tune the DeBERTa (Decoding-enhanced BERT with disentangled attention) pre-trained model. Compared with BERT, DeBERTa improves its ability to understand sentence structure by introducing a disentangled attention mechanism. It also uses an enhanced mask decoder to better understand the contextual information in sentences, especially when dealing with long-distance dependencies. These improvements enable DeBERTa to better learn the deep representation of language. Fine-tune the DeBERTa pre-trained model with the data in (1), so that the model has a strong ability to understand semantics, ensuring the accuracy and generalization of content review.

[0095] (3) The entire process is implemented end-to-end based on DeBERTa, and the task result output can be obtained directly from the original text input. There is no need to rely on BERT as a separate feature extractor, and then perform similarity calculation, classifier training, logical judgment and other manually designed processing steps on the extracted feature vectors. This undoubtedly simplifies system design, reduces response time, and reduces resource usage and costs.

[0096] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention. < / dev>

Claims

1. A highly robust text content auditing method based on the DeBERTa model, characterized in that: The steps involved are as follows: S1. Collect, clean and annotate training data to train the DeBERTa model; the training data includes positive sample data and negative sample data, and the proportion of negative sample data is greater than that of positive sample data; S2, introduced the decoupled attention mechanism and used the enhanced mask decoder to fine-tune the DeBERTa model; The decoupled attention mechanism decouples the attention of a word into content attention and relative position attention; wherein the content attention independently calculates the attention weight for the content information of each word in the input sequence; The content attention is expressed as: ; in, represents the content vector, , They are the content information extracted from the query and key vectors, focusing on the meaning of the word itself; , , They are the query vector, key vector, and value vector obtained after linear transformation of the input sequence; is the transpose operation; is the dimension of the content vector; The relative position attention is expressed as: ; in, Represents relative position encoding, , They are the position information extracted from the query and key vectors, respectively, focusing on the relative order between tokens; , , They are the query vector, key vector, and value vector obtained after linear transformation of the input sequence; is the transpose operation; is the dimension of the relative position vector; The fine-tuned DeBERTa model first encodes the input text, and then converts the output of the encoder into a category probability distribution through a Softmax layer; the output of the Softmax layer is a probability vector, each element of which corresponds to a category, and the sum of all elements is 1; The softmax process is expressed as follows: ; in, Represents the output vector of the DeBERTa linear layer, containing elements, , Representative The probability of the element, corresponding to the The probability of the categories, Represents the first in the output vector of the DeBERTa linear layer element values, Represents the value of each element in the output vector of the DeBERTa linear layer; S3. The fine-tuned DeBERTa model reviews the input text content and outputs the classification information of the text content.

2. The highly robust text content auditing method based on the DeBERTa model according to claim 1 is characterized in that: The positive sample data corresponds to several category labels, and the negative sample data corresponds to one category label.

3. The highly robust text content auditing method based on the DeBERTa model according to claim 1 is characterized in that: In step S2, the enhanced mask decoder, during the decoding process, not only considers the context information, but also explicitly includes the absolute position encoding of each word unit.

4. A server, comprising a processor and a memory, characterized in that: At least one program is stored in the memory, and the program is loaded and executed by the processor to implement the highly robust text content review method based on the DeBERTa model as described in any one of claims 1 to 3.

5. A computer-readable storage medium, characterized in that: The storage medium stores at least one program, which is loaded and executed by the processor to implement the highly robust text content review method based on the DeBERTa model as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Short message text auditing method and device

    CN116108132A

  • Iterative expansion method and device for word-level short text semantic matching

    CN115292493A

  • Conceptual, contextual, and semantic-based research system and method

    US20210109958A1

  • Verifying and correcting text presented in computer based audiovisual presentations

    US20220309091A1

  • Method and system for detection of misinformation

    US20220382795A1