Path-Based Neural Network Representation for Linear Complexity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current artificial neural networks (ANNs) are computationally expensive and time-consuming due to their quadratic complexity, requiring efficient linear algorithms for implementation and training.

Innovation Solution

Representing ANNs using paths within the network, where each path connects input to output with vertices representing neural units and edges as weighted connections, allowing for linear complexity by sampling paths proportionally to weights and activations, and using parallel processing units for training and inference.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If fully-connected ANN implementations are used, then comprehensive neural network functionality is achieved, but computational complexity becomes quadratic and processing becomes expensive and time-consuming

Engineering Contradiction:
Improvetraining and operation speedVSAvoidcomputational complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the fully-connected neural network into multiple independent paths, where each path represents a subset of connections from input to output. By processing these paths separately and in parallel, the computational complexity is reduced from quadratic O(n²) to linear O(n), while maintaining the comprehensive functionality of the original fully-connected network through the aggregation of path-wise computations.

Inventive Principle:
Principle #1Segmentation

2Productivity

If linear algorithms are used in hardware processing units, then processing efficiency is improved, but the ability to implement traditional quadratic ANN operations is limited

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidANN operation capability
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent transforms the computational parameters of the neural network by representing the weight matrix as a product of two lower-rank matrices (factorization). This parameter transformation enables the implementation of quadratic ANN operations using only linear algorithms in hardware, as the factorized form can be computed through sequential linear operations rather than requiring simultaneous quadratic computations.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11507846B2Representing a neural network utilizing paths within the network to improve a performance of the neural network
Publication Date: 2022.11.22 NVIDIA CORP
  • US11507846B2 patent drawing
  • US11507846B2 patent drawing
  • US11507846B2 patent drawing

AI summary

Artificial neural networks (ANNs) are computing systems that imitate a human brain by learning to perform tasks by considering examples. By representing an artificial neural network utilizing individual paths each connecting an input of the ANN to an output of the ANN, a complexity of the ANN may be reduced, and the ANN may be trained and implemented in a much faster manner when compared to an implementation using fully connected ANN graphs.