A compact Hash code learning method based on semantic protection

A learning method and semantic technology, applied in the fields of still image data retrieval, special data processing applications, instruments, etc., can solve the problem of not taking into account the uniform distribution of binary codes, to protect semantic similarity, reduce errors, and ensure uniform distribution. Effect

Inactive Publication Date: 2019-06-21
BEIJING TECHNOLOGY AND BUSINESS UNIVERSITY
View PDF6 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

HashNet provides a new idea to reduce the quantization error, directly learns the binary code, reduces the step

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
  • A compact Hash code learning method based on semantic protection
  • A compact Hash code learning method based on semantic protection
  • A compact Hash code learning method based on semantic protection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] attached figure 1 The overall process of image retrieval based on deep hashing is described. The present invention will be further described below in conjunction with the accompanying drawings.

[0041] The present invention proposes an end-to-end deep hash network model, which simultaneously learns the semantic features and binary hash code representation of images, uses pairs-wise image pairs to train the deep hash network model, and uses weighted The maximum likelihood function of is used as the target constraint to protect the semantic similarity of the image, and the loss function is designed so that the learned hash code is uniformly distributed and the quantization error is small, that is, the learned real value is as close as possible to 1 or - 1, to reduce the error caused by quantizing the real value through the sign function, and try to ensure that the probability of each real value being 1 or -1 is the same as much as possible, and then ensure that the prob...

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 a compact Hash code learning method based on semantic protection, and the method comprises the steps: dividing a data set, and obtaining a test sample set, a training sample set, and an image library; then constructing a deep Hash network model; adding a hidden layer (Hash layer) to the last full connection layer of a common convolutional neural network model, the number ofneurons of the hidden layer is the length of Hash codes, an activation function is a panh function, designing a constraint function, protecting the semantic similarity of images, and meanwhile it is guaranteed that the learned Hash codes are evenly distributed and the quantization error is small; extracting Hash codes of the query image and the database image through the trained model, and calculating Hamming distances between the Hash codes of the image and the Hash codes of all the images in the database; and finally, sorting the Hash codes in the database according to a sequence of distances from small to large, and sequentially outputting the original images corresponding to the Hash codes to obtain a similar image retrieval result. According to the method, retrieval of large-scale images is more accurate and effective.

Description

technical field [0001] The invention belongs to the technical field of image retrieval, and in particular relates to a compact hash code learning method based on semantic protection, which is suitable for large-scale image retrieval tasks. Background technique [0002] With the rapid development of information technologies such as the Internet, cloud computing, and the Internet of Things, and the popularity of mobile digital media devices, people can produce, share, and disseminate various information anytime and anywhere, and images have become one of the important media for people to obtain information. influence and change people's lives. Commercial applications based on image retrieval technology also emerge in endlessly, such as Baidu image recognition, Taobao image, Google engine, etc. However, massive images bring certain difficulties to the management and analysis of data, such as high image feature dimension, large storage capacity, slow retrieval speed, etc., whic...

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
IPC IPC(8): G06F16/583G06F16/51G06N3/04
Inventor 祝晓斌王倩张新明李珊珊
Owner BEIJING TECHNOLOGY AND BUSINESS UNIVERSITY
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