Neural Network Training Cost Function Resource Constraints

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for training artificial neural networks often result in overly complex models that exceed the resource limitations of devices like mobile devices or embedded systems, limiting their performance due to the need for extensive training data and computing operations.

Innovation Solution

A method that incorporates a cost function accounting for available resources, employing pruning and quantization techniques to reduce neural network complexity while maintaining optimal performance, by distributing resources across layers and adjusting bit sizes and filter numbers based on hardware constraints.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the neural network complexity is increased to improve performance and safety, then the model accuracy and safety are improved, but the resource consumption exceeds the capacity of mobile devices or embedded systems

Engineering Contradiction:
ImprovesafetyVSAvoidneural network complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies parameter changes by modifying the cost function to include complexity regularization terms that penalize excessive model complexity. This allows the neural network to be trained with adjusted parameters (weight decay, dropout rates, architecture constraints) that balance performance and resource usage, enabling deployment on resource-constrained devices while maintaining safety requirements

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent extracts and separates the complexity management aspect from the standard training process by introducing a dedicated complexity regularization component in the cost function. This extracted complexity control mechanism operates independently to prune or constrain the network architecture during training, removing unnecessary complexity while preserving essential functionality for safety-critical tasks

Inventive Principle:
Principle #2Taking out (Extraction)

2Measurement precision

If more training data and computing operations are used to improve model performance, then the learning accuracy is improved, but the resource consumption exceeds the capacity of conventional data processing systems

Engineering Contradiction:
Improvelearning accuracyVSAvoidresource consumption
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies partial action by implementing selective training strategies where not all possible training data or computing operations are executed. The complexity-regularized cost function enables partial utilization of training resources by focusing computation on the most informative data samples and operations, achieving satisfactory learning accuracy without exhaustively processing all available training data

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent modifies training parameters by incorporating complexity regularization terms in the cost function that control the trade-off between learning accuracy and resource consumption. By adjusting parameters such as regularization strength, batch size, and learning rate schedules, the system achieves optimal learning performance within constrained computational resources of mobile or embedded devices

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If the neural network architecture is optimized for performance, then the model accuracy is improved, but the model complexity exceeds the resource limitations of target devices

Engineering Contradiction:
Improvemodel accuracyVSAvoidmodel complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies parameter changes by modifying the cost function to include complexity regularization terms that penalize excessive model complexity. This allows the neural network to be trained with adjusted parameters (weight decay, dropout rates, architecture constraints) that balance performance and resource usage, enabling deployment on resource-constrained devices while maintaining safety requirements

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements feedback mechanisms where the complexity regularization term continuously monitors and adjusts the model complexity during training. The cost function provides feedback signals that guide the optimization process to maintain model accuracy while preventing complexity from exceeding device capabilities, creating a self-regulating training system

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20240177004A1Method for training an artificial neural network
Publication Date: 2024.05.30 ROBERT BOSCH GMBH
  • US20240177004A1 patent drawing

AI summary

A method for training an artificial neural network. The method includes the following steps: providing training data for training the artificial neural network; detecting at least one specification regarding available resources; ascertaining a cost function that, in addition to an actual learning task, also takes into account the at least one specification regarding available resources; and training the artificial neural network on the basis of the provided training data using the ascertained cost function.