$D$-ary Bounded-Length Huffman Coding
Michael B. Baer

TL;DR
This paper generalizes the Package-Merge algorithm for length-limited Huffman coding to include a minimum codeword length, nonbinary codes, and additional objectives, enabling faster and more versatile optimal prefix coding solutions.
Contribution
The paper introduces a generalized Package-Merge algorithm that handles minimum codeword length, nonbinary codes, and new objective functions without increasing complexity.
Findings
Generalized algorithm works for binary and nonbinary codes.
Achieves faster solutions for codes with limited fringe.
Reduces complexity for finding optimal codes with constraints.
Abstract
Efficient optimal prefix coding has long been accomplished via the Huffman algorithm. However, there is still room for improvement and exploration regarding variants of the Huffman problem. Length-limited Huffman coding, useful for many practical applications, is one such variant, in which codes are restricted to the set of codes in which none of the codewords is longer than a given length, . Binary length-limited coding can be done in time and O(n) space via the widely used Package-Merge algorithm. In this paper the Package-Merge approach is generalized without increasing complexity in order to introduce a minimum codeword length, , to allow for objective functions other than the minimization of expected codeword length, and to be applicable to both binary and nonbinary codes; nonbinary codes were previously addressed using a slower dynamic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Natural Language Processing Techniques · RNA and protein synthesis mechanisms
