Low Rank Neural Network Training via SVD Initialization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for training deep neural networks with low-rank factorized layers face challenges due to poorly understood training dynamics, leading to inefficiencies in memory consumption and training time, with existing techniques focusing on post-hoc approximations rather than dynamic low-rank training from scratch.

Innovation Solution

The proposed solution involves a two-phase training technique using singular value decomposition (SVD) based initialisation and modified L2 regularisation, where the model is initially trained in the unfactorised space for a fraction of the total training, then switched to a low-rank formulation with constrained matrix decomposition, focusing on the directions of singular values rather than their values, to maintain performance and reduce memory overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If low-rank factorized layers are used to train neural networks, then memory consumption and training time are reduced, but training dynamics become poorly understood leading to performance gaps

Engineering Contradiction:
Improvememory consumptionVSAvoidtraining performance
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent applies preliminary action by performing SVD-based initialization before training begins. The weight matrices are initialized using singular value decomposition with carefully chosen singular values, creating a favorable starting point that guides the optimization process. This preliminary setup ensures that the factorized layers begin training in a state that promotes convergence to useful solutions, addressing the performance gap issue before training starts.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes parameters by modifying the initialization scheme and regularization approach. Specifically, it uses SVD-based initialization with controlled singular values and combines this with modified L2 regularization that operates on the factorized matrices. These parameter changes in the training process enable the model to achieve both low memory consumption and reliable training performance by carefully controlling the optimization dynamics.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If SVD based initialisation and modified L2 regularisation are used, then training performance is improved, but the complexity of training dynamics analysis increases

Engineering Contradiction:
Improvetraining performanceVSAvoidtraining dynamics complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts and analyzes specific key components of the training dynamics rather than attempting to analyze everything simultaneously. It focuses on the singular values and their evolution during training, separating this critical aspect from the rest of the complex training process. By extracting and studying just the singular value dynamics, the patent manages the complexity while maintaining performance improvements through targeted analysis of the most important factors.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If low-rank approximation is applied post-training, then computational efficiency is improved, but the training process cannot fully exploit low-rank structure from scratch

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidtraining from scratch capability
Core Design Contradiction:
ProductivityVSEase of manufacture

Solution Approach 1:

The patent applies preliminary action by establishing the low-rank factorized structure during the training process itself, rather than applying it afterward. The weight matrices are initialized and updated throughout training while maintaining the factorized form, allowing the model to learn and adapt the low-rank structure dynamically. This enables full exploitation of computational efficiency benefits from scratch, eliminating the need for separate post-training approximation steps.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20230057387A1System and Method for Low Rank Training of Neural Networks
Publication Date: 2023.02.23 COHERE INC
  • US20230057387A1 patent drawing
  • US20230057387A1 patent drawing
  • US20230057387A1 patent drawing

AI summary

A method of training a neural network model and related systems are disclosed. The method includes training the neural network model by factorising, based on a singular value decomposition scheme, a first plurality of nodes of the neural network model into a low rank neural network model comprising a second plurality of nodes. Each node of the second plurality of nodes is defined at least in part by at least one weight matrix, and the factorisation is based on a matrix decomposition scheme constrained by one or more directionality criteria.