LeanVec Vector Search Indexing via Orthonormal Projection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

High-dimensional deep learning embedding vectors face memory bandwidth and computational overhead issues, leading to subpar search performance in similarity searching, especially when dimensionality reduction techniques are not systematically applied or are unsuitable for out-of-distribution queries.

Innovation Solution

The LeanVec framework combines dimensionality reduction and quantization techniques to accelerate similarity searching by using orthonormal projection matrices for vector transformations and locally-adaptive vector quantization, specifically addressing in-distribution and out-of-distribution queries through alternative linear dimensionality reduction algorithms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If high-dimensional embedding vectors are used for similarity searching, then representation capability is improved, but memory bandwidth requirements and computational overhead increase

Engineering Contradiction:
Improverepresentation capabilityVSAvoidmemory bandwidth requirements
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The patent applies dimensionality reduction by projecting high-dimensional embedding vectors onto a lower-dimensional subspace using learned projection matrices. This transforms the search problem from high-dimensional space to low-dimensional space, significantly reducing memory bandwidth requirements and computational overhead while preserving the essential semantic relationships needed for accurate similarity searching.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Solution Approach 2:

The patent changes the dimensionality parameter of the vector representations from high-dimensional to low-dimensional by applying projection matrices. This parameter change reduces the number of elements that need to be processed during search operations, directly addressing the memory bandwidth and computational overhead issues while maintaining search accuracy through carefully designed projection techniques.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If dimensionality reduction techniques are applied to accelerate similarity searching, then search performance is improved, but accuracy may degrade for out-of-distribution queries

Engineering Contradiction:
Improvesearch performanceVSAvoidsearch accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent employs dynamic projection matrices that can adapt to different query distributions. The projection matrices are designed to work effectively for both in-distribution and out-of-distribution queries by capturing the essential structure of the data manifold while remaining robust to variations in query characteristics, thus maintaining accuracy across diverse search scenarios.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The projection matrices serve as an intermediary transformation layer between the high-dimensional embedding space and the search process. This intermediary captures and preserves the most important semantic information through the projection, acting as a bridge that maintains accuracy while enabling acceleration through dimensionality reduction.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If standard dimensionality reduction techniques are used, then computational efficiency is improved, but they fail to handle out-of-distribution queries effectively

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidhandling out-of-distribution queries
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent uses dynamic projection matrices that adapt to different query distributions rather than static projection matrices. This dynamic approach allows the system to maintain high computational efficiency through dimensionality reduction while simultaneously adapting to handle both in-distribution and out-of-distribution queries effectively, resolving the trade-off between efficiency and adaptability.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20240419674A1Dimensionality reduction technology to accelerate high-dimensional vector searches and index construction
Publication Date: 2024.12.19 INTEL CORP
  • US20240419674A1 patent drawing
  • US20240419674A1 patent drawing
  • US20240419674A1 patent drawing

AI summary

Technology as described herein provides for accessing input vectors and a query vector, the input vectors each having a dimensionality, the query vector associated with a query and having a dimensionality, applying a first vector transformation to the input vectors to generate primary vectors, each of the primary vectors having a dimensionality smaller than the dimensionality associated with the input vectors, applying a second vector transformation to the query vector to generate a modified query vector, the modified query vector having a dimensionality smaller than the dimensionality of the query vector, and conducting a similarity search on the primary vectors based on the modified query vector to generate one or more candidates for the query. In embodiments a first component of the first vector transformation is determined based on an algorithm and a second component of the second vector transformation is determined based on the same algorithm.