Hyperformer Subvector Embeddings for Faster Transformer Training

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing transformer models, such as RNNs and LSTMs, require extensive back-propagation training due to their deep network structure, leading to high resource demand and energy consumption, while transformers with fewer layers still require significant parameter counts, necessitating improvements to reduce resource usage without compromising performance.

Innovation Solution

Implementing a hyperformer with hyperspace embeddings that divide embedding vectors into subvectors, training them toward orthogonality using a low-rank hyperspace (LoRH) function, reducing parameter count and enhancing efficiency through compact model design.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If transformer models use deep network structures with many layers, then they can process and generate sequential data effectively, but back-propagation training takes a long time and consumes high resources

Engineering Contradiction:
Improveprocessing effectivenessVSAvoidtraining time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the embedding vector into multiple subvectors (e.g., 6 subvectors of 8 dimensions each instead of one 48-dimensional vector). This segmentation allows the model to maintain deep network structure for effective processing while reducing the computational burden per layer through more efficient parameter utilization

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the parameter representation from traditional embedding vectors to hyperspace embeddings with subvectors that are trained toward orthogonality. This parameter transformation enables faster training by reducing the effective parameter count while maintaining model performance through the low-rank hyperspace projection

Inventive Principle:
Principle #35Parameter changes

2Loss of time

If transformer models reduce the number of layers, then training time decreases, but the model depth is reduced which may affect processing capability

Engineering Contradiction:
Improvetraining timeVSAvoidnetwork depth
Core Design Contradiction:
Loss of timeVSLength of moving object

Solution Approach 1:

The patent introduces a new dimension of representation by transforming embedding vectors into hyperspace embeddings with multiple subvectors. This dimensional transformation allows the model to achieve effective processing with fewer layers by encoding information across multiple orthogonal subvector dimensions rather than relying solely on deep network stacking

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

3Device complexity

If transformer models use traditional embedding vectors, then the model structure remains simple, but information preservation is insufficient and resource consumption is high

Engineering Contradiction:
Improvemodel structure simplicityVSAvoidinformation preservation
Core Design Contradiction:
Device complexityVSLoss of information

Solution Approach 1:

The patent segments the embedding vector into multiple subvectors that are trained to be orthogonal to each other. This segmentation improves information preservation by distributing semantic information across independent subvector dimensions, reducing redundancy and enhancing the model's ability to capture nuanced relationships

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a composite embedding structure combining multiple subvectors with orthogonal relationships. This composite hyperspace embedding approach enhances information preservation by integrating multiple independent dimensional representations while maintaining computational efficiency through the low-rank projection

Inventive Principle:
Principle #40Composite materials

Data Source

PatentUS20250322160A1Systems and Methods for Machine Learning Using Hyperformers
Publication Date: 2025.10.16 SUPERINTELLIGENCE COMPUTING SYSTEMS SICSAI AB
  • US20250322160A1 patent drawing
  • US20250322160A1 patent drawing
  • US20250322160A1 patent drawing

AI summary

A plurality of tokens in an input sequence is rearranged in accordance with a number of the tokens in the input sequence, a number of subvectors per token, and a number of entries per subvector: an embedding vector for each token in the input sequence is generated and is divided into a plurality of subvectors to produce a hyperspace embedding. A positional encoding is added to the hyperspace embedding. The positionally encoded hyperspace embedding is processed in a decoder subnetwork: the positionally encoded hyperspace embedding is unfolded into a QKV representation, with a single query Q being obtained from the plurality of subvectors; the single query Q is applied to each subvector of the plurality of subvectors; and an attention function is calculated for each subvector. A plurality of output tokens is selected based at least in part on a result of the processing.