Full Binary Tree Codebooks for Low-Resource Data Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current codebook generation systems are computationally intensive and inefficient, leading to significant waste as most generated codebooks are discarded, and struggle with the trade-off between codebook size and coverage, limiting compression efficiency in resource-constrained environments.

Innovation Solution

A system and method for generating full binary tree codebooks using a modified Shannon-Fano coding algorithm that sorts sourceblocks by probability, calculates normalized probabilities, and assigns codeword lengths to ensure every bit pattern represents a valid codeword, requiring minimal computational resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional codebook generation systems create multiple codebooks for different sourceblock lengths and evaluate their performance through test encoding operations, then comprehensive codebook coverage is achieved, but computational complexity increases by orders of magnitude

Engineering Contradiction:
Improvecodebook coverageVSAvoidcomputational complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts only the essential probability information from sourceblocks and uses it to directly construct codeword lengths without generating complete test codebooks. This selective extraction approach achieves near-optimal compression without the computational burden of comprehensive codebook evaluation.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs preliminary probability calculation and sorting of sourceblocks before codebook construction. By pre-processing the probability distribution and ordering sourceblocks by decreasing probability, the system establishes the foundation for direct codeword length assignment without requiring subsequent test encoding operations.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If comprehensive codebooks that encode all possible sourceblocks are created, then complete coverage is achieved, but codebook size becomes prohibitively large

Engineering Contradiction:
Improvecodebook coverageVSAvoidcodebook size
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent applies local quality by assigning shorter codewords to high-probability sourceblocks and longer codewords to low-probability sourceblocks. This probability-based differentiation creates a compact codebook that focuses storage and transmission resources on the most frequently occurring patterns, achieving efficient compression without requiring exhaustive coverage of all possible sourceblocks.

Inventive Principle:
Principle #3Local quality

3Quantity of substance

If more compact codebooks that focus on frequently occurring patterns are used, then codebook size is reduced, but many sourceblocks remain unaddressed

Engineering Contradiction:
Improvecodebook sizeVSAvoidsourceblock coverage
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The system changes the parameter of codeword length based on the probability parameter of sourceblocks. By calculating codeword lengths as ceiling(-log2(probability)), the system dynamically adjusts codebook entry sizes to match the actual frequency distribution of sourceblocks, ensuring that both common and rare patterns are covered with appropriate encoding efficiency.

Inventive Principle:
Principle #35Parameter changes

4Productivity

If Huffman coding with complex tree structures and floating-point operations is used, then optimal compression ratios are achieved, but computational resources exceed available capacity on ultra-low-power microcontrollers

Engineering Contradiction:
Improvecompression ratioVSAvoidcomputational resources
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent replaces complex floating-point arithmetic and sophisticated tree structures with simple integer-based probability calculations and direct codeword length assignment. This simplified approach uses computationally inexpensive operations that can be executed efficiently on resource-constrained devices while maintaining near-optimal compression performance.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Solution Approach 2:

The system substitutes the mechanical complexity of Huffman tree construction and floating-point probability calculations with a streamlined algorithm using integer arithmetic. By replacing complex computational mechanisms with simpler integer-based operations, the patent enables optimal compression on ultra-low-power microcontrollers that lack floating-point units.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20250291485A1System and Method for Generating Full Binary Tree Codebooks with Minimal Computational Resources
Publication Date: 2025.09.18 ATOMBEAM TECH INC
  • US20250291485A1 patent drawing
  • US20250291485A1 patent drawing
  • US20250291485A1 patent drawing

AI summary

A system and method for generating full binary tree codebooks for encoding data within one bit of the optimal expected word length. The system modifies the Shannon-Fano coding algorithm to create complete binary trees with minimal computational requirements. By sorting sourceblocks by probability, then calculating normalized probabilities that redistribute “lost” probability from previously processed symbols, the system assigns codeword lengths that ensure every bit pattern of a given length represents a valid codeword. This approach simplifies encoding and decoding while maintaining near-optimal compression ratios. The method requires only four integer registers beyond sourceblock occurrence counters, eliminating the need for complex tree structures and floating-point operations typically associated with Huffman coding. This lightweight implementation enables advanced compression on ultra-low-power microcontrollers and embedded systems, extending data compression benefits to resource-constrained environments where traditional approaches are computationally prohibitive.