Adaptive Huffman coding system and method
By constructing a Huffman binary tree and optimizing node data mapping, the problem of high memory bandwidth usage of adaptive Huffman coding on hardware is solved, and efficient coding storage and memory optimization are achieved, which is suitable for edge model inference.
Patent Information
- Application Number
- CN202210366617.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-08
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2042-04-08
AI Technical Summary
Existing adaptive Huffman coding suffers from hardware issues such as high memory bandwidth usage, a tree-like data structure that is not conducive to memory storage, and high computational costs, making it difficult to efficiently perform lossless data compression during edge model inference.
By constructing a Huffman binary tree and using fixed address access to optimize node data mapping, configuring continuous memory to store internal node and leaf node information, dynamically updating node weights and swapping nodes, and using binary tree memory address remapping technology, memory usage is optimized and bandwidth usage is reduced.
It achieves efficient access to encoded data structures on hardware, optimizes storage space and provides memory flexibility, reduces memory bandwidth usage per unit time, and is suitable for hardware environments with memory constraints.