Tensor Comparison via Locality Sensitive Hashing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In distributed machine learning environments, the iterative transmission of large tensor objects between remotely distributed processes consumes significant communication resources, and existing compression techniques are not always necessary, leading to wastage of computation and communication resources, especially when tensors are similar.

Innovation Solution

The method determines the similarity of tensor objects by encoding each vector as a (length, angle) pair using locality sensitive hashing, allowing processes to decide whether to send tensors based on similarity, thereby reducing communication overhead and enhancing data security.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If compression and decompression techniques are used to transmit tensors between distributed processes, then the size of transmitted data is reduced, but computation resources are wasted on unnecessary compression and decompression cycles when tensors are similar

Engineering Contradiction:
Improvedata transmission sizeVSAvoidcomputation resource waste
Core Design Contradiction:
Quantity of substanceVSLoss of energy

Solution Approach 1:

The system performs preliminary comparison of tensor parameters (lengths and angles) before initiating compression and transmission. By checking whether tensors are similar in advance, the system avoids unnecessary compression and decompression operations, thereby reducing computation resource waste while still achieving efficient data transmission when needed

Inventive Principle:
Principle #10Preliminary action

2Reliability

If all tensors are transmitted between distributed processes, then data accuracy is maintained, but communication resources are consumed excessively

Engineering Contradiction:
Improvedata accuracyVSAvoidcommunication resource consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system extracts only the essential parameters (lengths and angles) from tensors for comparison purposes. By working with these extracted parameters rather than complete tensors, the system can determine similarity with minimal communication overhead and only transmit full tensors when they are actually different, thus maintaining accuracy while conserving communication resources

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If tensor similarity comparison is performed using complete tensor data, then accuracy of similarity determination is improved, but communication and computation resources are wasted

Engineering Contradiction:
Improvesimilarity determination accuracyVSAvoidcommunication and computation resource waste
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The system creates simplified copies of tensors in the form of parameter pairs (lengths and angles) that can be compared efficiently. These parameter copies capture the essential characteristics needed for similarity determination without requiring transmission or processing of complete tensor data, thereby achieving accurate comparison with minimal resource consumption

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11954611B2Tensor comparison across a distributed machine learning environment
Publication Date: 2024.04.09 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11954611B2 patent drawing
  • US11954611B2 patent drawing
  • US11954611B2 patent drawing

AI summary

Tensor comparison across a network by determining a first parameter of a first vector representation of a first tensor object associated with a first processor, receiving a second parameter associated with a second vector representation of a second tensor object associated with a second processor, determining a first difference between the first parameter and the second parameter, and sending the first vector representation from the first processor to the second processor, according to the first difference.