Faster and Stronger Lossless Compression with Optimized Autoregressive Framework

Более быстрое и эффективное сжатие без потерь с оптимизированной авторегрессионной архитектурой
Yu Mao, Jingzong Li, Yufei Cui, Chun Jason Xue
2023-07-09

Neural AutoRegressive (AR) frameworkbatch-location-aware individual blockindividual-blockmix-blockprogressive AR-based compression (PAC)
Neural AutoRegressive (AR) framework has been applied in general-purpose lossless compression recently to improve compression performance. However, this paper found that directly applying the original AR framework causes the duplicated processing problem and the in-batch distribution variation problem, which leads to deteriorated compression performance. The key to address the duplicated processing problem is to disentangle the processing of the history symbol set at the input side. Two new types of neural blocks are first proposed. An individual-block performs separate feature extraction on each history symbol while a mix-block models the correlation between extracted features and estimates the probability. A progressive AR-based compression framework (PAC) is then proposed, which only requires one history symbol from the host at a time rather than the whole history symbol set. In addition, we introduced a trainable matrix multiplication to model the ordered importance, replacing previous hardware-unfriendly Gumble-Softmax sampling. The in-batch distribution variation problem is caused by AR-based compression’s structured batch construction. Based on this observation, a batch-location-aware individual block is proposed to capture the heterogeneous in-batch distributions precisely, improving the performance without efficiency losses. Experimental results show the proposed framework can achieve an average of 130% speed improvement with an average of 3% compression ratio gain across data domains compared to the state-of-the-art.
1
A batch-location-aware individual block is proposed to capture heterogeneous in-batch distributions, mitigating the in-batch distribution variation problem without efficiency loss.
2
A trainable matrix multiplication is introduced to model ordered importance, replacing hardware-unfriendly Gumbel-Softmax sampling.
3
Directly applying original neural autoregressive (AR) framework to lossless compression causes duplicated processing and in-batch distribution variation, degrading compression performance.
4
Disentangling history symbol processing at the input side addresses duplicated processing by using two new block types: an individual-block for separate feature extraction per history symbol and a mix-block to model correlations and estimate probabilities.
5
Experimental results: the proposed framework achieves on average 130% speed improvement and an average 3% compression ratio gain across data domains versus the state-of-the-art.
6
The proposed progressive AR-based compression framework (PAC) requires only one history symbol from the host at a time instead of the whole history set, reducing redundant computation.

Neural autoregressive lossless compression framework (progressive AR-based compression framework with individual and mix blocks and batch-location-aware components)

Design and evaluation of architectural and training modifications (disentangled history processing via individual/mix blocks, progressive single-history-symbol processing, trainable matrix for ordered importance, and batch-location-aware blocks) to improve compression speed and compression ratio and to address duplicated processing and in-batch distribution variation problems

Publication Details
Publication Date
2023-07-09
Journal
Publisher
ISSN
Cited by
12
Access Type
Author Information
Authors
Yu Mao
Jingzong Li
Yufei Cui
Chun Jason Xue
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%