Neural Network Training with Auxiliary Loss to Reduce Discretization Bias

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Neural networks suffer from discretization bias, leading to low accuracy in trained models due to the inherent discretization of output results.

Innovation Solution

A method and device for data processing that involves inputting labeled training and verification data into a preset model, updating model parameters, determining verification and auxiliary loss values, and deciding whether to stop training based on these values to achieve a trained model that reduces discretization bias.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If neural network output is discretized, then the model structure is simplified, but the accuracy of the trained model decreases due to discretization bias

Engineering Contradiction:
Improvemodel structure complexityVSAvoidmodel accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent introduces an auxiliary loss function as an intermediary mechanism that bridges the discretized output structure and continuous learning requirements. This auxiliary loss function computes gradients based on the difference between discretized output and target values, enabling continuous parameter updates while maintaining discretized output structure, thus resolving the contradiction between simplified structure and high accuracy

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameter optimization approach by introducing auxiliary loss values that modify the gradient computation process. Instead of directly optimizing discrete outputs, the system optimizes continuous parameters through auxiliary loss functions that guide parameter changes to reduce discretization bias, thereby improving accuracy without increasing structural complexity

Inventive Principle:
Principle #35Parameter changes

2Ease of manufacture

If traditional training methods are used, then the training process is simple, but the model accuracy remains low due to discretization bias

Engineering Contradiction:
Improvetraining process simplicityVSAvoidmodel accuracy
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The patent implements a feedback mechanism where auxiliary loss values are computed from the difference between discretized output and target values, and this feedback is used to guide parameter updates. The auxiliary loss function provides continuous feedback signals that help the model learn to reduce discretization bias while maintaining the simplicity of the overall training framework

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary computation of auxiliary loss values before the main parameter update step. By pre-computing the auxiliary loss and its gradients, the system prepares correction signals in advance that will be applied during parameter updates, improving accuracy without significantly complicating the training process

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12210942B2Method and device for data processing, and storage medium
Publication Date: 2025.01.28 BEIJING XIAOMI PINECONE ELECTRONICS CO LTD
  • US12210942B2 patent drawing
  • US12210942B2 patent drawing
  • US12210942B2 patent drawing

AI summary

Provided are a method and device for data processing and a storage medium. The method includes: inputting labeled training data in a training set into a preset model to be trained and updating the model parameters of the preset model; inputting labeled verification data in a verification set into the preset model after the model parameters are updated to obtain a first prediction label; obtaining a verification loss value based on a difference between the first prediction label and a marked label of the labeled verification data; determining an auxiliary loss value based on current structural parameters of the preset model; determining whether to stop training the preset model based on the verification loss value and the auxiliary loss value; and classifying data to be classified based on a target network model constructed by a network structure included in the trained preset model to obtain a classification result.