数据处理方法、电子设备、存储介质和程序产品

By introducing learnable compensation parameters in low-bit quantization training and combining them with historical data, the scaling factor is dynamically corrected, which solves the quantization error and training instability problems caused by relying on historical maximum values ​​in existing technologies, and improves the stability and accuracy of the model.

CN121166074BActive Publication Date: 2026-07-17SHANGHAI BIREN TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI BIREN TECH CO LTD
Filing Date
2025-11-21
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies rely solely on historical maximum values ​​to estimate scaling factors, leading to increased quantization errors and unstable model training during low-bit quantization training, especially with decreased accuracy when outliers occur.

Method used

A learnable compensation parameter is introduced, which is updated by the loss value of the model training. This parameter is then combined with a scaling factor based on historical data to dynamically adjust the scaling factor to adapt to the current data distribution. The final scaling factor is determined by a linear summation operation.

Benefits of technology

It improves the accuracy of quantization, reduces quantization error, enhances the stability and final accuracy of model training, and adapts to dynamic changes in data distribution and the impact of outliers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121166074B_ABST
    Figure CN121166074B_ABST
Patent Text Reader

Abstract

本发明涉及人工智能技术领域,提供一种数据处理方法、电子设备、存储介质和程序产品,其中方法包括:基于预存的历史数据信息,确定第一缩放因子;基于所述第一缩放因子和补偿参数,确定用于量化目标数据的第二缩放因子,所述补偿参数是在模型训练过程中,基于模型训练的损失值更新得到的;采用所述第二缩放因子对所述目标数据进行量化,得到量化后数据。本发明通过采用一个基于模型训练的损失值预先学习得到的补偿参数,实现了对量化过程中基于历史信息确定的缩放因子的精确校正,从而可以显著提升数据量化的准确性,进而增强模型训练的稳定性与推理性能。
Need to check novelty before this filing date? Find Prior Art