Unlock instant, AI-driven research and patent intelligence for your innovation.

Adversarial sample generation method, medium, device and computing device

A technology against samples and samples, applied in computing, computer components, character and pattern recognition, etc., can solve problems such as difficulty in measuring the generalization ability of target models

Active Publication Date: 2021-03-16
TSINGHUA UNIV
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The adversarial examples generated by the existing technology are basically similar to the semantics of the original samples, and it is difficult to measure the generalization ability of the target model

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Adversarial sample generation method, medium, device and computing device
  • Adversarial sample generation method, medium, device and computing device
  • Adversarial sample generation method, medium, device and computing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0111] Embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the following description is exemplary only and is not intended to limit the present invention. Also, in the following description, the same reference numerals will be used to designate the same or similar components in different drawings. Different features in different embodiments described below can be combined with each other to form other embodiments within the scope of the present invention.

[0112] In this article, it is to be understood that the terms involved:

[0113] Quora: A dataset containing pairs of questions annotated with tags indicating whether the two questions are similar.

[0114] MRPC: The Microsoft Research Paraphrase Corpus consists of sentence pairs collected from online news. Each pair is annotated with a label indicating whether the two sentences are semantically equivalent.

[0115] Combine below figu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method for generating an adversarial example, comprising: obtaining an original sample from a data set; determining a replaceable word / word in the original sample; based on the context of the replaceable word / word in the original sample Determine candidate replacement words / characters; use the candidate replacement words / characters to replace corresponding replaceable words / characters in the original sample to generate adversarial samples. This method can generate an adversarial example that replaces a specific word in the original sample based on the text data in the data set. After the adversarial example is input into the target model, it can reduce the influence of the target model from the interference of "difficult common words" and reduce the impact on other Partially judged bias in order to improve the performance (robustness) of the target model. In addition, there is lower bag-of-words similarity between two sentences in the adversarial examples generated according to the present invention. In addition, the present invention also provides an adversarial sample generation device, medium and computing equipment.

Description

technical field [0001] Embodiments of the present invention relate to the field of natural language processing, and more specifically, embodiments of the present invention relate to a method, medium, device, and computing device for generating an adversarial example. Background technique [0002] Similarity calculation is used to measure the degree of similarity between objects. In the field of natural language processing technology, similarity calculation is a basic operation, which is widely used in technical scenarios such as data mining, data classification, information retrieval and information collection. Text similarity calculation is a type of similarity calculation often involved in the field of natural language processing technology. By calculating the similarity between different texts, it is possible to perform cluster analysis, text matching or deduplication processing on large-scale text corpora. [0003] In recent years, machine learning has achieved breakthr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F40/253G06K9/62
CPCG06F18/22
Inventor 黄民烈施舟行
Owner TSINGHUA UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More