Quantum-Inspired Orthogonal Neural Network Layer

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural networks face challenges in maintaining orthogonality of weight matrices during training, leading to inefficiencies such as longer training times and approximations, especially in deep architectures, and the integration of quantum machine learning lacks efficient and accurate scaling.

Innovation Solution

A novel approach using a quantum-inspired, classical method for training orthogonal neural networks through a special-architecture quantum circuit that preserves orthogonality by performing gradient descent on the parameters of the quantum circuit, which corresponds to an orthogonal matrix, allowing for efficient training and inference.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If Singular Value Decomposition is performed at every training step to maintain orthogonality, then orthogonality of weight matrices is preserved, but training time increases significantly

Engineering Contradiction:
Improveorthogonality preservationVSAvoidtraining time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the weight matrix update process into two distinct phases: (1) an unconstrained gradient descent step that updates weights without orthogonality constraints, and (2) a separate orthogonalization step using SVD only when necessary. This segmentation allows the system to avoid performing SVD at every training step, thereby reducing computational overhead while maintaining orthogonality when needed for stability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies orthogonalization partially rather than excessively. Instead of enforcing orthogonality at every single training step, the method performs orthogonalization selectively based on monitoring gradient norms or training performance metrics. This partial application of orthogonalization maintains the essential benefits of orthogonality while avoiding the computational burden of continuous SVD computations.

Inventive Principle:
Principle #16Partial or excessive action

2Reliability

If orthogonal constraints are enforced on weight matrices, then gradient vanishing and explosion are avoided, but the training process becomes slower

Engineering Contradiction:
Improvegradient stabilityVSAvoidtraining efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements a dynamic orthogonalization strategy where the enforcement of orthogonality constraints adapts during training. The system monitors gradient norms and training performance to dynamically adjust when orthogonalization is applied. This dynamic approach ensures gradient stability when needed while maintaining training efficiency by avoiding unnecessary orthogonalization steps, thus resolving the contradiction between reliability and productivity.

Inventive Principle:
Principle #15Dynamics

3Productivity

If quantum circuits are used to implement orthogonal neural networks, then scalability and running time are improved, but the complexity of the quantum architecture increases

Engineering Contradiction:
Improvetraining speedVSAvoidquantum circuit complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent employs universal quantum gate sets (such as Hadamard gates and CNOT gates) that can implement any orthogonal transformation through quantum circuits. This universality allows a single standardized quantum architecture to handle various orthogonal neural network operations without requiring custom circuit designs for each operation, thereby managing complexity while maintaining scalability and training speed improvements.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11829877B2Classical and quantum algorithms for orthogonal neural networks
Publication Date: 2023.11.28 QC WARE CORP
  • US11829877B2 patent drawing
  • US11829877B2 patent drawing
  • US11829877B2 patent drawing

AI summary

Orthogonal neural networks impose orthogonality on the weight matrices. They may achieve higher accuracy and avoid evanescent or explosive gradients for deep architectures. Several classical gradient descent methods have been proposed to preserve orthogonality while updating the weight matrices, but these techniques suffer from long running times and provide only approximate orthogonality. In this disclosure, we introduce a new type of neural network layer. The layer allows for gradient descent with perfect orthogonality with the same asymptotic running time as a standard layer. The layer is inspired by quantum computing and can therefore be applied on a classical computing system as well as on a quantum computing system. It may be used as a building block for quantum neural networks and fast orthogonal neural networks.