Weight quantization method and device based on hybrid segment coding and server
By employing a hybrid segmented encoding weight quantization method, which segments the floating-point weights based on the Laplace distribution, the problem of large quantization errors in existing technologies is solved, achieving high-precision quantization and adaptive enhancement for neural networks.
Patent Information
- Application Number
- CN202511517510.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-23
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2045-10-23
AI Technical Summary
Existing quantization methods tend to introduce significant quantization errors when there are large differences in the numerical distribution between channels, resulting in low quantization accuracy and an inability to effectively adapt to non-uniform weight distributions within channels.
A weight quantization method based on hybrid segmented coding is adopted. The floating-point weights are segmented and quantized by Laplace distribution, which divides them into the main peak region, the medium sparse region and the positive value interval. The multiplication and addition calculation is performed by using the flag bit and the multiplication coefficient to improve the quantization accuracy.
While maintaining the same compression ratio, it significantly reduces quantization error, improves the quantization accuracy of neural networks, and enhances their adaptability to non-uniform weight distribution within channels.