Binary Similarity Search Using Hamming Threshold Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Similarity searches in molecular databases using the Tanimoto metric are computationally expensive and time-consuming due to the complexity of calculating similarity between molecular fingerprints with thousands of features.

Innovation Solution

A system that converts Tanimoto thresholds to Hamming thresholds, utilizing Hamming distances and Boolean operations to measure similarity between binary vectors, and clusters candidate vectors to reject dissimilar ones before measurement, significantly speeding up the search process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If Tanimoto metric is used to measure similarity between molecular fingerprints, then measurement precision is improved, but computational complexity and processing time increase significantly

Engineering Contradiction:
Improvesimilarity measurement precisionVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent transforms the Tanimoto similarity metric into the Hamming distance metric, changing the mathematical parameter used for measurement. This transformation allows the use of efficient bitwise operations (XOR and population count) instead of the computationally intensive Tanimoto calculation, thereby reducing processing time while maintaining measurement capability

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces the mechanical computation of Tanimoto similarity with an electrical/digital implementation using bitwise operations. By substituting the traditional similarity calculation mechanism with Hamming distance computation using XOR gates and population count circuits, the system achieves faster processing while preserving the essential similarity measurement function

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If Tanimoto metric is used to measure similarity between molecular fingerprints, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
Improvesimilarity measurement precisionVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent changes the measurement parameter from Tanimoto similarity to Hamming distance, which can be computed using simple bitwise operations. This parameter transformation simplifies the computational device requirements while maintaining the ability to measure similarity between molecular fingerprints

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent substitutes complex Tanimoto calculation mechanics with simpler Hamming distance mechanics implemented through bitwise XOR operations and population count functions. This substitution reduces device complexity by replacing intensive arithmetic operations with efficient logical operations

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Measurement precision

If all candidate vectors are measured against query vector, then measurement precision is maintained, but productivity decreases

Engineering Contradiction:
Improvesimilarity search accuracyVSAvoidsearch throughput
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent performs preliminary actions by converting the Tanimoto threshold to a Hamming distance threshold before the actual similarity search. This preliminary transformation enables the use of efficient bitwise operations during the search process, increasing productivity while maintaining the ability to accurately identify similar molecules through the Hamming comparator

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12135725B2Efficient similarity search
Publication Date: 2024.11.05 GSI TECHNOLOGY INC
  • US12135725B2 patent drawing
  • US12135725B2 patent drawing
  • US12135725B2 patent drawing

AI summary

A system for measuring similarity between a binary query vector and a plurality of binary candidate vectors includes a storage unit and a processor. The storage unit stores the binary query vector and the plurality of candidate vectors, and the processor performs Tanimoto calculations in terms of Hamming distances.