Out-of-distribution image detection method based on attention enhancement and input disturbance

An image detection and image input technology, which is applied in the fields of instruments, character and pattern recognition, computer parts, etc., and can solve the problems of large coverage of out-of-distribution data, wrong prediction, and not very good results.

Pending Publication Date: 2021-07-06
SUN YAT SEN UNIV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Compared with unsupervised anomaly detection methods, the out-of-distribution data coverage in this task is too large to be considered as the same class
[0003] At present, deep learning has become an important means to solve problems, but the problem is that many models can only be successfully applied when the test data and training data are similar, and often cannot be given when encountering some samples that are far from the distribution of training data. reliable results, and may even give a very confident but erroneous prediction
This method is relatively simple and direct, but the effect is not very good compared to other methods

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
  • Out-of-distribution image detection method based on attention enhancement and input disturbance
  • Out-of-distribution image detection method based on attention enhancement and input disturbance
  • Out-of-distribution image detection method based on attention enhancement and input disturbance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The accompanying drawings are for illustrative purposes only and cannot be construed as limiting the patent;

[0036] In order to better illustrate this embodiment, some parts in the drawings will be omitted, enlarged or reduced, and do not represent the size of the actual product;

[0037] For those skilled in the art, it is understandable that some well-known structures and descriptions thereof may be omitted in the drawings.

[0038] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0039] Such as Figure 1-2 As shown, an out-of-distribution image detection method based on attention enhancement and input perturbation, including the following steps:

[0040]S1: Add perturbation to the input image, and calculate the two uncertainties of image classification after perturbation and whether it is a sample in the distribution;

[0041] S2: Use the S1 uncertainty to calculate ...

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 invention provides an out-of-distribution image detection method based on attention enhancement and input disturbance, the method adopts an input disturbance technique, the influence on samples in distribution is greater than that of samples out of distribution, so that the confidence score of the samples in distribution is higher, and meanwhile, a temperature scaling technique is used, the prediction probability distribution of the samples in the distribution is more sharp, the prediction probability of the samples out of the distribution is smoother, and the confidence score difference between the samples inside and outside the distribution is further increased; compared with the mode that a generative model is directly used for carrying out a distributed external sample detection task, the method has the advantages that the method does not need to introduce additional hyper-parameters, the model is relatively simple, and the training time can be saved; compared with a generative adversarial method for performing an out-of-distribution sample detection task, the method has the advantages that the method is not excessively limited to training data, misjudgment is not easy to generate for edge samples, and a better detection effect can be obtained.

Description

technical field [0001] The invention relates to the field of out-of-distribution sample detection methods, and more specifically, to an out-of-distribution image detection method based on attention enhancement and input disturbance. Background technique [0002] Out-of-distribution images are data distributed far from the data used for training, often significantly different from in-distribution data. The method of detecting out-of-distribution data from a large number of in-distribution data is called out-of-distribution sample detection or outlier detection method. In contrast to anomaly detection tasks, out-of-distribution detection is usually applied to labeled data, i.e., considers identifiable categorical features of in-distribution samples of a dataset. Compared with unsupervised anomaly detection methods, the out-of-distribution data coverage in this task is too large to be considered as the same class. [0003] At present, deep learning has become an important mea...

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 Applications(China)
IPC IPC(8): G06K9/62G06K9/40
CPCG06V10/30G06F18/2415G06F18/214
Inventor 苏勤亮高月
Owner SUN YAT SEN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products