Variable-Length Hash Code Nearest-Neighbor Query Method

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing high-dimensional data retrieval methods using hash techniques fail to fully utilize distribution information and result in low information retention for query points due to fixed-length hash codes, leading to reduced retrieval accuracy.

Innovation Solution

A high-dimensional data nearest-neighbor query method utilizing variable-length hash codes, which involves low-dimensional mapping, frequency-based sub-data set creation, adaptive compression, and integration of random Fourier features to form a final query table, allowing for maximum data information retention and improved accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If unified fixed-length hash codes are used for all data sets, then hash code consistency is achieved, but data information retention is reduced

Engineering Contradiction:
Improvehash code consistencyVSAvoiddata information retention
Core Design Contradiction:
Ease of operationVSLoss of information

Solution Approach 1:

The patent applies dynamics by transitioning from fixed-length hash codes to variable-length hash codes. Different data sets are assigned hash codes of different lengths based on their distribution characteristics and frequency information, allowing the system to adaptively retain appropriate information for each data set while maintaining operational consistency through the structured variable-length framework

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent implements local quality by treating different data sets differently based on their local characteristics. Each data set receives a hash code length tailored to its specific distribution properties and frequency distribution, rather than applying a uniform length to all data sets. This allows optimal information retention for each local data characteristic

Inventive Principle:
Principle #3Local quality

2Productivity

If short hash codes are used for query points, then processing efficiency is improved, but information reservation capability is reduced

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidinformation reservation capability
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent applies parameter changes by dynamically adjusting the hash code length parameter based on the query point's characteristics and the data set distribution. Rather than using a fixed short length for all query points, the system selects optimal lengths that balance processing efficiency with information retention requirements for each specific query scenario

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If existing hash techniques are used, then high-dimensional retrieval is achieved, but distribution information utilization is insufficient

Engineering Contradiction:
Improveretrieval capabilityVSAvoiddistribution information utilization
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent implements feedback by using frequency information and distribution characteristics of the data sets to inform the hash code generation process. The system analyzes the distribution properties and uses this feedback to determine optimal hash code lengths and parameters, creating a closed-loop system where distribution information directly influences the hashing strategy

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent applies preliminary action by pre-analyzing the distribution characteristics and frequency information of data sets before generating hash codes. This preliminary analysis allows the system to optimize hash code parameters in advance based on the actual data distribution, rather than using generic hashing parameters

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11488061B2High-dimensional data nearest-neighbor query method based on variable-length hash codes
Publication Date: 2022.11.01 NINGBO UNIV
  • US11488061B2 patent drawing

AI summary

A high-dimensional data nearest-neighbor query method based on variable-length hash codes is disclosed. Specifically, in this method, hash codes with the same code frequency are taken as a sub-data set, all the sub-data sets are ranked, a compression ratio is set for each sub-data set, the sub-data sets are compressed and trained according to the compression ratios, and hash codes and original codes corresponding to the trained sub-data sets are obtained; the hash code of each trained sub-data sets is copied to obtain multiple replicas, and the original codes and the corresponding replicas are strung to obtain strung hash codes which are integrated to form a final nearest-neighbor query table; and, a query code is obtained, and the nearest-neighbor query table is searched for a nearest-neighbor data set to complete query. The query efficiency and accuracy are greatly improved according to the invention.