Adversarial text defense method and system based on attention mechanism
An attention and text technology, applied in the fields of natural language processing and machine learning, can solve the problems of limited effect when confronting attacks, poor generalization performance of defense methods, and attack methods cannot work normally, so as to reduce the degree of attention and generalization performance. Good results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0046] In conjunction with the accompanying drawings and the following embodiments of the present invention will be further described in detail, it is noted that the following embodiments are intended to facilitate the understanding of the present invention, and its has no defined role.
[0047] The present disclosure provides embodiments of a method of defense against a text based attention mechanism to achieve defense against text by introducing attention mechanisms. First, using the word in the text of the scoring function to calculate the importance score of each word, and taking the reciprocal obtain a reconstructed score vector; then calculate the weight of each hidden layer weight vectors according to the attention of the formula to give attention to weight vector; and finally after reconstruction parameter using ultra score vector multiplication way to balance these two vectors, the corresponding element of the two vectors by multiplying one by one, to obtain the final rec...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



