Primal Dual Neural Network Training via Lagrangian Loss

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network training methods face challenges in handling multi-objective tasks, as they require setting predefined relative weights for objectives, which can be difficult to optimize and may not be suitable for cases where threshold values need to be satisfied, especially when dealing with objectives of different units.

Innovation Solution

The use of a primal network and a dual network trained alternately using a Lagrangian loss function, where the primal network minimizes the loss function and the dual network maximizes it, allowing for the representation of multiple objectives without predefined weights, enabling improved performance in tasks like automated response generation and text summarization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If predefined relative weights are used for multiple objectives, then the training process becomes simpler, but it becomes difficult to optimize and may not be suitable for cases where threshold values need to be satisfied

Engineering Contradiction:
ImproveEase of trainingVSAvoidAbility to satisfy threshold values
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The patent introduces Lagrange multipliers as intermediary variables that mediate between the multiple objectives and the optimization process. These multipliers act as dynamic weights that are automatically adjusted during training, eliminating the need for manual weight tuning while enabling the system to satisfy threshold constraints through the KKT conditions.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transforms the static predefined weights into dynamic parameters (Lagrange multipliers) that change during the training process. By using gradient ascent to update the multipliers based on constraint violations, the system adapts the objective weights automatically, allowing it to satisfy threshold values while maintaining training simplicity.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If predefined weights are set for objectives of different units, then the training can proceed, but the weight optimization becomes difficult and arbitrary

Engineering Contradiction:
ImproveTraining efficiencyVSAvoidWeight optimization
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent enables the system to self-adjust the objective weights through automatic Lagrange multiplier updates. The training algorithm automatically computes gradient ascent updates for the multipliers based on constraint satisfaction levels, eliminating the need for manual intervention in weight optimization and making the process independent of arbitrary weight settings.

Inventive Principle:
Principle #25Self-service

3Device complexity

If multiple objectives with different units are handled using predefined weights, then a single-objective formulation is achieved, but the relative scaling becomes arbitrary and difficult to tune

Engineering Contradiction:
ImproveFormulation simplicityVSAvoidObjective balancing accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent transforms the static weight formulation into a dynamic system where Lagrange multipliers are continuously updated during training. This dynamic approach allows the system to automatically balance objectives with different units and scales, eliminating arbitrary scaling issues while maintaining the mathematical simplicity of the single-objective Lagrangian formulation.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11281867B2Performing multi-objective tasks via primal networks trained with dual networks
Publication Date: 2022.03.22 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11281867B2 patent drawing
  • US11281867B2 patent drawing
  • US11281867B2 patent drawing

AI summary

An example system includes a processor to receive data for a multi-objective task. The processor is to also perform the multi-objective task on the received data via a trained primal network. The primal network and a dual network are trained for a multi-objective task using a Lagrangian loss function representing a number of objectives. The primal network is trained to minimize the Lagrangian loss function and the dual network is trained to maximize the Lagrangian loss function.