rANS Compression With Markov Probability Tables for Better Ratios

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data compression methods, such as ANS, face challenges with static probability distributions, high computational costs, and inefficiencies in handling large datasets and inter-symbol redundancy, leading to suboptimal compression ratios and speed.

Innovation Solution

The use of Markov modeling to construct dynamic probability distribution tables for rANS encoding, allowing for iterative refinement and the incorporation of an escape code to handle unexpected symbols, along with SIMD processing for efficient lookup and compression of these tables.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If static probability distribution is used in rANS encoding, then encoding speed is improved, but compression ratio deteriorates

Engineering Contradiction:
Improveencoding speedVSAvoidcompression ratio
Core Design Contradiction:
SpeedVSLoss of information

Solution Approach 1:

The patent applies dynamics by transitioning from static probability distributions to dynamic Markov models that adapt to local data patterns. The Markov models are constructed iteratively from subsets of data and updated as encoding progresses, allowing the probability distribution to evolve and capture inter-symbol dependencies while maintaining encoding speed through efficient table-based lookup structures.

Inventive Principle:
Principle #15Dynamics

2Loss of information

If probability distribution table is constructed on full dataset, then compression ratio is improved, but computational cost and time increase

Engineering Contradiction:
Improvecompression ratioVSAvoidmodel construction time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent segments the full dataset into multiple subsets for iterative Markov model construction. Instead of building one large model on the entire dataset, the approach divides data into manageable portions, constructs models on each subset, and combines them progressively. This segmentation reduces memory requirements and computational overhead while maintaining compression effectiveness through the escape code mechanism.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses partial action by constructing Markov models on subsets rather than the complete dataset upfront. The iterative refinement process builds models progressively on portions of data, using escape codes to handle symbols not covered by current models. This approach achieves good compression ratios without the prohibitive cost of processing the entire dataset at once.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of information

If Markov model is used to capture inter-symbol redundancy, then compression ratio is improved, but device complexity increases

Engineering Contradiction:
Improvecompression ratioVSAvoidmodel construction complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent implements feedback through iterative Markov model construction where the encoding process itself informs model refinement. As symbols are encoded, the Markov models are updated based on observed data patterns, creating a feedback loop that improves compression ratios by capturing inter-symbol dependencies. The escape code mechanism provides feedback when symbols fall outside current model predictions, triggering model updates.

Inventive Principle:
Principle #23Feedback

4Reliability

If escape code is added to handle unexpected symbols, then reliability is improved, but encoding overhead increases

Engineering Contradiction:
Improveencoding reliabilityVSAvoidcompression ratio
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent applies beforehand cushioning by pre-allocating escape codes in the probability distribution tables before encoding begins. These escape codes serve as pre-prepared buffers to handle unexpected symbols that fall outside the current Markov model predictions. By having escape codes ready in advance, the system ensures reliable encoding of all possible symbols without corruption, while the escape code overhead is minimized through efficient table construction.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS9847791B2System and method for compressing data using asymmetric numeral systems with probability distributions
Publication Date: 2017.12.19 PETAGENE LTD
  • US9847791B2 patent drawing
  • US9847791B2 patent drawing
  • US9847791B2 patent drawing

AI summary

A data compression method using the range variant of asymmetric numeral systems to encode a data stream, where the probability distribution table is constructed using a Markov model. This type of encoding results in output that has higher compression ratios when compared to other compression algorithms and it performs particularly well with information that represents gene sequences or information related to gene sequences.