Cosine Autoencoder Vector Dimensionality Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional record matching systems face limitations in handling large document repositories due to computational resource constraints, particularly RAM limitations, leading to inefficient and inaccurate comparisons when dealing with billions of records, often resulting in false positives and impractical real-time search capabilities.

Innovation Solution

The system employs a cosine autoencoder to reduce the dimensionality of vector representations while preserving their orientation, allowing for efficient storage and comparison of textual data in RAM, enabling real-time analysis and accurate similarity determination by converting freeform text into high and low-dimensional vectors for cosine similarity calculations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the dimensionality of vector representations is reduced to enable efficient storage and comparison in RAM, then the computational efficiency and speed of record matching is improved, but the accuracy and reliability of similarity determination may deteriorate

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidaccuracy of similarity determination
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent changes the parameter of vector dimensionality from high-dimensional (e.g., 768 dimensions) to low-dimensional (e.g., 77 dimensions) to reduce computational requirements and enable efficient storage in RAM. This parameter change allows the system to process billions of records in real-time while maintaining acceptable accuracy through careful preservation of orientation information.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent extracts and preserves only the essential orientation information from high-dimensional vectors, discarding redundant dimensional data. By using cosine autoencoders, the system extracts the core semantic orientation while reducing dimensionality, thereby maintaining similarity determination accuracy with significantly reduced computational resources.

Inventive Principle:
Principle #2Taking out (Extraction)

2Quantity of substance

If the dimensionality of vector representations is reduced for efficient storage in RAM, then the system can handle larger document repositories, but the complexity of the dimensionality reduction process increases

Engineering Contradiction:
Improvenumber of documents that can be processedVSAvoidcomplexity of dimensionality reduction process
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent introduces cosine autoencoders as an intermediary mechanism between high-dimensional vector representations and low-dimensional storage formats. This intermediary component automatically performs the complex dimensionality reduction task, managing the complexity internally while providing a simple interface for processing large numbers of documents.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent performs dimensionality reduction as a preliminary action before storing vectors in RAM. By pre-processing the high-dimensional vectors into low-dimensional representations with preserved orientation, the system prepares the data in advance for efficient comparison, enabling rapid processing of large document repositories without requiring complex real-time reduction operations.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If conventional record matching methods are used to compare queries against billions of records, then comprehensive search coverage is achieved, but the system cannot operate in real-time due to computational resource limitations

Engineering Contradiction:
Improvesearch coverageVSAvoidreal-time processing capability
Core Design Contradiction:
Adaptability or versatilityVSSpeed

Solution Approach 1:

The patent transitions from high-dimensional vector representations to low-dimensional representations, changing the dimensional parameter to enable real-time processing. This dimensionality change allows the system to maintain comprehensive search coverage across billions of records while achieving the computational efficiency required for real-time operation.

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

Solution Approach 2:

The patent changes the vector dimensionality parameter to enable real-time processing of billions of records. By reducing dimensions while preserving orientation through cosine autoencoders, the system achieves both comprehensive search coverage and real-time performance that would be impossible with conventional high-dimensional approaches.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11409752B1Dimensional reduction of complex vectors in artificially intelligent solutions to compare similarity of natural language text
Publication Date: 2022.08.09 CASETEXT INC
  • US11409752B1 patent drawing
  • US11409752B1 patent drawing
  • US11409752B1 patent drawing

AI summary

A web-based tool performs records matching in response to a freeform text input, to find highly contextually-related sentences in a corpus of records. Each sentence in the corpus is converted into a full-size vector representation, and each vector's angle within space is measured. Each full-size vector is compressed to a smaller vector and a loss function is used to preserve for each vector the angle within the lower-dimensional space that existed for the higher-dimensional vector. Full-size and reduced vector representations are generated from the freeform text input. The reduced-size vector of the input is compared to those of the corpus of text to identify, in real-time, a set of vector nearest neighbors that includes, with high accuracy, representations of all records in the corpus similar to the input. Full-size vectors for the nearest neighbors are in turn retrieved and compared to the input, and ranked results are generated.