EDPC: Accelerating Lossless Compression via Lightweight Probability Models and Decoupled Parallel Dataflow

Zeyi Lu, Xiaoxiao Ma, Yujun Huang, Minxiao Chen, Bin Chen, Baoyi An, Shu-Tao Xia

Abstract

Autoregressive Compression Models (ACMs) have demonstrated superior compression performance over traditional algorithms by leveraging neural networks to predict byte probabilities. However, their practical adoption is hindered by significant computational latency and high memory consumption. This paper introduces Efficient Dual-path Parallel Compression (EDPC), a framework designed to overcome these bottlenecks. By utilizing a multi-branch feature extraction architecture and a decoupled GPU-CPU pipeline, EDPC achieves a 3.2% improvement in compression ratio and a 2.7x increase in throughput compared to previous state-of-the-art neural compressors.

1. Introduction

As global data volumes explode in the 5G and cloud computing era, the demand for efficient lossless compression has never been higher. Traditional tools such as Gzip and Zstandard offer high speeds but lack the capacity to model the complex dependencies found in modern multimodal data. While neural Autoregressive Compression Models (ACMs) provide a powerful alternative, they are currently constrained by two major "walls":

  1. The Information Flow Bottleneck: Single-path architectures often fail to capture diverse, fine-grained features, leading to suboptimal compression ratios.
  2. The Efficiency Gap: The sequential nature of autoregressive processing causes significant hardware idling. In typical implementations, the GPU (responsible for probability prediction) and the CPU (responsible for entropy encoding) operate synchronously, leading to massive latency.

EDPC addresses these challenges through a combination of architectural refinement and system-level optimization.

2. Proposed Methodology

EDPC introduces three primary innovations to bridge the gap between neural modeling power and operational efficiency.

2.1 Multi-path Byte Refinement Block (MBRB)

To address the information flow bottleneck, the authors developed the Multi-path Byte Refinement Block. This architecture utilizes a dual-branch structure to enrich feature diversity. The design is grounded in a new metric called Information Flow Refinement (IFR), derived from mutual information theory. Analysis using IFR demonstrated that while a second branch significantly enhances the model's ability to capture complex data patterns, additional branches yield diminishing returns relative to their computational cost.

2.2 Latent Transformation Engine (LTE)

To mitigate the high memory overhead of deep neural networks, the Latent Transformation Engine (LTE) projects high-dimensional features into a compact latent space. This module employs a learnable Feature Distribution Matrix (FDM) to preserve critical correlations between features during the reduction process. This "mini-compression" of internal representations allows for a 75% reduction in total parameters with negligible impact on compression quality.

2.3 Decoupled Pipeline Compression Architecture (DPCA)

DPCA is a system-level overhaul of the compression workflow. In traditional ACMs, the CPU waits for the GPU to finish probability prediction before it begins encoding the current byte. DPCA decouples these tasks, allowing the GPU to predict probabilities for the next byte while the CPU simultaneously encodes the current one. Furthermore, DPCA utilizes multi-processing to partition the data stream into parallel chunks, maximizing hardware utilization across both processors.

3. Experimental Evaluation

3.1 Datasets and Setup

The framework was evaluated across seven diverse datasets to ensure robustness across different data types:

  • Text: BookCorpus (Book) and Wikipedia (Enwik9).
  • Scientific: Spitzer Space Telescope data (Float) and disk backup extracts (Backup).
  • Multimedia: Environmental audio (Sound) and ImageNet samples (Image).
  • General: The Silesia benchmark.

3.2 Performance Results

EDPC established new performance benchmarks for neural lossless compression:

  • Compression Ratio: EDPC outperformed all baselines, achieving a 3.2% gain over the previous state-of-the-art (PAC) and a 68.9% improvement over Gzip.
  • Throughput: The model achieved a throughput of 170.23 KB/s. This represents a 2.7x speedup over PAC and is more than 7x faster than Transformer-based models like TRACE.
  • Resource Efficiency: At high batch sizes, EDPC reduced GPU memory consumption by 48.1% and decreased the parameter count by up to 4x compared to standard ACM designs.

4. Discussion and Conclusion

EDPC represents a significant advancement in making neural compression viable for real-world applications. By identifying the "two-branch" sweet spot for feature extraction and implementing a decoupled dataflow to hide latency, the framework achieves a superior balance of density and speed.

Despite these gains, a performance gap remains when compared to traditional non-neural tools like Gzip, which operate in the MB/s range. Future research will focus on further optimizing parallel dataflow and exploring even more lightweight probability models to bring neural compression closer to the throughput standards required for real-time, high-speed applications.

Summary updated

BibTeX
@inproceedings{lu2025edpc,
  author = {Zeyi Lu and Xiaoxiao Ma and Yujun Huang and Minxiao Chen and Bin Chen and Baoyi An and Shu-Tao Xia},
  title = {{EDPC: Accelerating Lossless Compression via Lightweight Probability Models and Decoupled Parallel Dataflow}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3754739},
}
Figure