On-Device Neural Network Training With Forward Gradients

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for adapting pre-trained models to personalized data on memory-constrained devices, such as edge devices, are prohibitive due to the large memory footprint required for traditional backpropagation and the lack of training capabilities in existing low power engines and microcontrollers.

Innovation Solution

A processor-implemented method for a fixed-point, forward-forward on-device model training that includes running a first forward call according to positive perturbation parameters sampled from a random perturbation vector that follows standard, normal distribution, with positive perturbation parameters sampled from a random perturbation vector that follows standard, normal distribution, and negative perturbation parameters.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional backpropagation is used for model training, then model adaptation to personalized data is achieved, but memory footprint becomes prohibitively large for edge devices

Engineering Contradiction:
Improvemodel adaptation to personalized dataVSAvoidmemory footprint
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent extracts and eliminates the backward pass computation from the training process, keeping only the forward pass. This removes the need to store intermediate activations for gradient computation, thereby dramatically reducing memory footprint while maintaining model adaptation capability through forward-gradient estimation

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces forward gradients as an intermediary concept that approximates the true gradients without requiring exact backward propagation. This mediator enables gradient-based optimization on memory-constrained devices by providing sufficient signal for weight updates without the full computational overhead of traditional backpropagation

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If traditional backpropagation is used for model training, then model adaptation to personalized data is achieved, but existing low power neural processing engines and microcontrollers cannot perform training due to lack of training capabilities

Engineering Contradiction:
Improvemodel adaptation to personalized dataVSAvoidtraining capability requirements
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts the training capability from complex dedicated training hardware and implements it using only the forward pass computation that existing inference accelerators already possess. This extraction enables training functionality on devices designed only for inference by removing the requirement for backward pass computation

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent makes existing fixed-point inference accelerators multi-functional by enabling them to perform both inference and training operations. The same forward pass computation engine used for inference is repurposed for training, eliminating the need for separate training hardware on edge devices

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

3Use of energy by moving object

If fixed-point computation is used on edge devices, then power consumption is reduced and inference is accelerated, but training capabilities are lost

Engineering Contradiction:
Improvepower consumptionVSAvoidtraining capability
Core Design Contradiction:
Use of energy by moving objectVSAdaptability or versatility

Solution Approach 1:

The patent enables fixed-point inference accelerators to perform both inference and training functions using the same hardware. The forward pass computation, which is essential for both inference and the proposed training method, is leveraged to provide training capability without adding dedicated training hardware

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

Solution Approach 2:

The patent changes the computational paradigm from requiring floating-point precision for both forward and backward passes to using fixed-point arithmetic for forward passes with gradient estimation. This parameter change in precision requirements enables training on low-power fixed-point hardware while maintaining adequate training effectiveness

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250384337A1On-device neural network training for edge devices
Publication Date: 2025.12.18 QUALCOMM INC
  • US20250384337A1 patent drawing
  • US20250384337A1 patent drawing
  • US20250384337A1 patent drawing

AI summary

A processor-implemented method for a fixed-point, forward-forward on-device model training/adaptation is described. The processor-implemented method includes running a first forward call according to positive perturbation parameters sampled from a random perturbation vector that follows standard, normal distribution. The processor-implemented method also includes running a second forward call according to negative perturbation parameters sampled from the random perturbation vector. The processor-implemented method further includes computing forward gradients according to the random perturbation vector and a directional derivative based on the first forward call and the second forward call. The processor-implemented method also includes updating weights of the on-device model according to the forward gradients.