Fixed-Point Quantized Neural Network Training

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Training of artificial neural networks (ANNs) for control devices and embedded systems faces challenges in efficiently using hardware resources due to the need for floating-point operations, which are costly, energy-intensive, and space-consuming, especially when dealing with demanding classification tasks that are difficult to mathematically model.

Innovation Solution

A method for training trainable modules that discretizes parameters to be stored as fixed-point numbers, using a specified number of bits, allowing for efficient implementation on lower-cost, more energy-efficient fixed-point hardware by adjusting parameters to minimize a cost function that balances output reproduction and discretization accuracy, with the number of bits and discrete values optimized for specific applications.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If floating-point operations are used for training neural networks, then calculation precision is maintained, but hardware cost and energy consumption increase significantly

Engineering Contradiction:
Improvecalculation precisionVSAvoidhardware cost
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent changes the numerical representation parameter from floating-point to fixed-point format. By quantizing weights and activations to discrete fixed-point values, the system maintains sufficient calculation precision for neural network operations while enabling implementation on simpler, cheaper fixed-point hardware units that consume less energy and occupy less space.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent substitutes the mechanical/floating-point computation system with a fixed-point computation system. Instead of using complex floating-point arithmetic units, the invention employs simpler fixed-point arithmetic operations, replacing the need for expensive floating-point hardware with more efficient fixed-point hardware that achieves comparable performance for the specific application.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If floating-point operations are used for training neural networks, then calculation accuracy is maintained, but energy consumption increases

Engineering Contradiction:
Improvecalculation accuracyVSAvoidenergy consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent changes the numerical representation parameter from floating-point to fixed-point format. By quantizing weights and activations to discrete fixed-point values, the system maintains sufficient calculation precision for neural network operations while enabling implementation on simpler, cheaper fixed-point hardware units that consume less energy and occupy less space.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If more GPU working memory is installed to handle floating-point operations, then training capability is improved, but device cost and space requirements increase

Engineering Contradiction:
Improvetraining capabilityVSAvoidhardware space
Core Design Contradiction:
ProductivityVSVolume of stationary object

Solution Approach 1:

The patent changes the numerical representation parameter from floating-point to fixed-point format. By quantizing weights and activations to discrete fixed-point values, the system maintains sufficient calculation precision for neural network operations while enabling implementation on simpler, cheaper fixed-point hardware units that consume less energy and occupy less space.

Inventive Principle:
Principle #35Parameter changes

4Device complexity

If parameters are discretized to fixed-point numbers, then hardware cost and energy efficiency are reduced, but training accuracy may deteriorate

Engineering Contradiction:
Improvehardware simplicityVSAvoidtraining accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent changes the numerical representation parameter from floating-point to fixed-point format. By quantizing weights and activations to discrete fixed-point values, the system maintains sufficient calculation precision for neural network operations while enabling implementation on simpler, cheaper fixed-point hardware units that consume less energy and occupy less space.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent incorporates feedback mechanisms during training to adapt to quantization effects. By monitoring training performance and adjusting quantization parameters or applying correction techniques, the system compensates for potential accuracy losses due to discretization, ensuring that fixed-point implementation achieves comparable training accuracy to floating-point methods.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20220277200A1Fast quantised training of trainable modules
Publication Date: 2022.09.01 ROBERT BOSCH GMBH
  • US20220277200A1 patent drawing
  • US20220277200A1 patent drawing
  • US20220277200A1 patent drawing

AI summary

A method for training a trainable module that maps input variables onto output variables through an internal processing chain. A learning data set is provided including learning values of the input variables and associated learning values of the output variables. A list of discrete values is provided from which the parameters characterizing the internal processing chain are to be selected, the discrete values being selected such that they can be stored without loss of quality. The learning values are mapped by the trainable module onto assessment values of the output variables. A cost function is evaluated that characterizes deviations of the assessment values of the output variables from the learning values and of at least one parameter of the internal processing chain from at least one discrete value in the list. At least one parameter of the internal processing chain is adjusted to improve the value of the cost function.