Hypercube Text Encoding for Memory and Processing Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing natural language processing (NLP) methods, such as One-Hot encoding, Word2Vec, and GloVe, are computationally expensive and inefficient due to their requirement for machine learning, neural networks, and large training data, making it difficult for machines to analyze regular text and detect patterns effectively.

Innovation Solution

The method employs hypercube encoding, which transforms text into numerical vectors using an n-dimensional hypercube, allowing for lossless compression, reducing memory consumption, and improving the efficiency of machine learning algorithms by mapping alphanumeric characters and symbols to vertices of a hypercube, enabling efficient storage and transmission of text.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional NLP encoding methods (One-Hot, Word2Vec, GloVe) are used, then text can be transformed into numerical form, but computational cost and time consumption increase significantly

Engineering Contradiction:
Improvetext representation accuracyVSAvoidencoding time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the text encoding process into character-level hypercube mapping rather than word-level processing. Each character is independently mapped to a vertex in an n-dimensional hypercube, avoiding the need for complex word embedding models. This segmentation approach reduces computational overhead while maintaining representation accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from traditional 1D or 2D embedding spaces to an n-dimensional hypercube space where n equals the character set size. This dimensional expansion allows direct mapping of characters to vertices, enabling O(1) encoding time complexity while preserving semantic information through the geometric structure of the hypercube.

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

2Difficulty of detecting and measuring

If machine learning and neural networks are used for text encoding, then pattern detection capability improves, but computational resources and training data requirements increase

Engineering Contradiction:
Improvepattern detection capabilityVSAvoidsystem complexity
Core Design Contradiction:
Difficulty of detecting and measuringVSDevice complexity

Solution Approach 1:

The hypercube encoding system is self-sufficient and does not require external machine learning models or training data. The geometric structure of the hypercube inherently captures character relationships, allowing the system to detect patterns directly from the encoded representations without additional computational layers or training phases.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces expensive, complex neural network models with simple, lightweight hypercube vertex mappings. This substitution uses computationally inexpensive operations (direct index lookup and coordinate transformation) that can be executed rapidly without the need for sophisticated hardware or extensive training resources.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Measurement precision

If large training corpora are used for encoding, then model accuracy improves, but storage requirements and processing time increase

Engineering Contradiction:
Improveencoding accuracyVSAvoiddata storage requirements
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential information needed for encoding—the character set and its mapping tohypercube vertices—discarding the need for large training corpora. This extraction approach retains the core functionality of text representation while eliminating the storage and processing burden of extensive training data.

Inventive Principle:
Principle #2Taking out (Extraction)

4Reliability

If text is stored in original format, then readability is maintained, but memory consumption and transmission bandwidth increase

Engineering Contradiction:
Improvetext integrityVSAvoidmemory usage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent changes the representation parameters of text from human-readable character sequences to compact numerical vectors in hypercube space. This parameter transformation reduces the storage footprint and transmission bandwidth while maintaining the ability to perfectly reconstruct the original text through inverse mapping, thus preserving text integrity.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11675965B2Converting text to a numerical vector by mapping to a hypercube
Publication Date: 2023.06.13 AT&T INTELLECTUAL PROPERTY I L P
  • US11675965B2 patent drawing
  • US11675965B2 patent drawing
  • US11675965B2 patent drawing

AI summary

An example method is provided for encoding text for language processing. The method may be executed by a processing system, and the method includes receiving text comprising a plurality of alphanumeric characters or symbols and converting the text into a numerical vector comprising a plurality of numerical values, by mapping each alphanumeric character or symbol of the text to a vertex coordinate of one of a plurality of vertices of a hypercube, wherein a number of the plurality of vertices is equal to or greater than a number of the plurality of alphanumeric characters or symbols, wherein the numerical vector consumes less space in memory than the text. An amount of time consumed by language processing of the numerical vector may be less than an amount of time consumed by language processing of the text.