A Fast Transformer-based General-Purpose Lossless Compressor
Not on the map. Why?
Abstract (arXiv)
Deep-learning-based compressor has received interests recently due to much improved compression ratio. However, modern approaches suffer from long execution time. To ease this problem, this paper targets on cutting down the execution time of deep-learning-based compressors. Building history-dependencies sequentially (e.g., recurrent neural networks) is responsible for long inference latency. Instead, we introduce transformer into deep learning compressors to build history-dependencies in parallel. However, existing transformer is too heavy in computation and incompatible to compression tasks. This paper proposes a fast general-purpose lossless compressor, TRACE, by designing a compression-friendly structure based on a single-layer transformer. We first design a new metric to advise the selection part of compression model structures. Byte-grouping and Shared-ffn schemes are further proposed to fully utilize the capacity of the single-layer transformer. These features allow TRACE to achieve competitive compression ratio and a much faster speed. In addition, we further accelerate the compression procedure by designing a controller to reduce the parameter updating overhead. Experiments show that TRACE achieves an overall ~3x speedup while keeps a comparable compression ratio to the state-of-the-art compressors. The source code for TRACE and links to the datasets are available at https://github.com/mynotwo/A-Fast-Transformer-based-General-Purpose-LosslessCompressor.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 12 of its 44 references that are in the map. First posted on arXiv 30 Mar 2022.
Builds on
12 of 44 references.
References · 12
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2019Practical Lossless Compression with Latent Variables using Bits Back Codingcited by 85
- 2019Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variablescited by 51
- 2020IDF++: Analyzing and Improving Integer Discrete Flows for Lossless Compressioncited by 35
- 2020Sub-Linear Memory: How to Make Performers SLiMcited by 18
- 2019DZip: improved general-purpose lossless compression based on novel neural network modelingcited by 6
- 2020Not all parameters are born equal: Attention is mostly what you needcited by 6
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 10; 2025: 7; 2026: 6.
26 papers.
Sort:
By area:
- 2023Language Modeling Is Compressioncited by 225
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Datacited by 13
- 2025NTIRE 2025 Challenge on Image Super-Resolution (x4): Methods and Resultscited by 12
- 2022GeneFormer: Learned Gene Compression using Transformer-based Context Modelingcited by 10
- 2023Approximating Human-Like Few-shot Learning with GPT-based Compressioncited by 7
- 2024Towards Optimal Learning of Language Modelscited by 7
- 2024GenDDS: Generating Diverse Driving Video Scenarios with Prompt-to-Video Generative Modelcited by 5
- 2024On the Compressibility of Quantized Large Language Modelscited by 4
- 2025Lossless Compression of Large Language Model-Generated Text via Next-Token Predictioncited by 4
- 2024Debiasing Machine Unlearning with Counterfactual Examplescited by 3
- 2024NeurLZ: An Online Neural Learning-Based Method to Enhance Scientific Lossy Compressioncited by 3
- 2025WISE: A Framework for Gigapixel Whole-Slide-Image Lossless Compressioncited by 3
14 more
- 2024Ranking LLMs by compressioncited by 2
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Modelscited by 2
- 2025PMKLC: Parallel Multi-Knowledge Learning-based Lossless Compression for Large-Scale Genomics Databasecited by 2
- 2024EcoSense: Energy-Efficient Intelligent Sensing for In-Shore Ship Detection through Edge-Cloud Collaborationcited by 1
- 2025An Efficient Compression of Deep Neural Network Checkpoints Based on Prediction and Context Modelingcited by 1
- 2026In-Context Source and Channel Codingcited by 1
- 2026AgentGC: Evolutionary Learning-based Lossless Compression for Genomics Data with LLM-driven Multiple Agentcited by 1
- 2024RW-NSGCN: A Robust Approach to Structural Attacks via Negative Samplingcited by 0
- 2025Easz: An Agile Transformer-based Image Compression Framework for Resource-constrained IoTscited by 0
- 2025Lossless Compression: A New Benchmark for Time Series Model Evaluationcited by 0
- 2026A Model-Driven Lossless Compression Algorithm Resistant to Mismatchcited by 0
- 2026Efficient Learned Data Compression via Dual-Stream Feature Decouplingcited by 0
- 2026Lossless Compression via Chained Lightweight Neural Predictors with Information Inheritancecited by 0
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Codingcited by 0
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Coding6 Jun 2026
- 2026Lossless Compression via Chained Lightweight Neural Predictors with Information Inheritance16 Apr 2026
- 2026Efficient Learned Data Compression via Dual-Stream Feature Decoupling8 Apr 2026
- 2026A Model-Driven Lossless Compression Algorithm Resistant to Mismatch25 Jan 2026
- 2026AgentGC: Evolutionary Learning-based Lossless Compression for Genomics Data with LLM-driven Multiple Agent20 Jan 2026
- 2026In-Context Source and Channel Coding15 Jan 2026
- 2025Lossless Compression: A New Benchmark for Time Series Model Evaluation25 Sep 2025
- 2025PMKLC: Parallel Multi-Knowledge Learning-based Lossless Compression for Large-Scale Genomics Database17 Jul 2025
- 2025An Efficient Compression of Deep Neural Network Checkpoints Based on Prediction and Context Modeling13 Jun 2025
- 2025Lossless Compression of Large Language Model-Generated Text via Next-Token Prediction7 May 2025
- 2025Easz: An Agile Transformer-based Image Compression Framework for Resource-constrained IoTs3 May 2025
- 2025NTIRE 2025 Challenge on Image Super-Resolution (x4): Methods and Results20 Apr 2025
14 more
- 2025WISE: A Framework for Gigapixel Whole-Slide-Image Lossless Compression23 Mar 2025
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Models15 Dec 2024
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Data7 Oct 2024
- 2024NeurLZ: An Online Neural Learning-Based Method to Enhance Scientific Lossy Compression9 Sep 2024
- 2024GenDDS: Generating Diverse Driving Video Scenarios with Prompt-to-Video Generative Model28 Aug 2024
- 2024RW-NSGCN: A Robust Approach to Structural Attacks via Negative Sampling13 Aug 2024
- 2024Ranking LLMs by compression20 Jun 2024
- 2024Debiasing Machine Unlearning with Counterfactual Examples24 Apr 2024
- 2024EcoSense: Energy-Efficient Intelligent Sensing for In-Shore Ship Detection through Edge-Cloud Collaboration20 Mar 2024
- 2024On the Compressibility of Quantized Large Language Models3 Mar 2024
- 2024Towards Optimal Learning of Language Models27 Feb 2024
- 2023Language Modeling Is Compression19 Sep 2023
- 2023Approximating Human-Like Few-shot Learning with GPT-based Compression14 Aug 2023
- 2022GeneFormer: Learned Gene Compression using Transformer-based Context Modeling16 Dec 2022
- 2024Debiasing Machine Unlearning with Counterfactual Examples24 Apr 2024
- 2023Language Modeling Is Compressioncited by 225
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Datacited by 13
- 2025NTIRE 2025 Challenge on Image Super-Resolution (x4): Methods and Resultscited by 12
- 2022GeneFormer: Learned Gene Compression using Transformer-based Context Modelingcited by 10
- 2023Approximating Human-Like Few-shot Learning with GPT-based Compressioncited by 7
- 2024Towards Optimal Learning of Language Modelscited by 7
- 2024On the Compressibility of Quantized Large Language Modelscited by 4
- 2024NeurLZ: An Online Neural Learning-Based Method to Enhance Scientific Lossy Compressioncited by 3
- 2025WISE: A Framework for Gigapixel Whole-Slide-Image Lossless Compressioncited by 3
- 2024Ranking LLMs by compressioncited by 2
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Modelscited by 2
- 2025PMKLC: Parallel Multi-Knowledge Learning-based Lossless Compression for Large-Scale Genomics Databasecited by 2
12 most cited of 22 All 22 (JSON)
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Coding6 Jun 2026
- 2026Lossless Compression via Chained Lightweight Neural Predictors with Information Inheritance16 Apr 2026
- 2026Efficient Learned Data Compression via Dual-Stream Feature Decoupling8 Apr 2026
- 2026A Model-Driven Lossless Compression Algorithm Resistant to Mismatch25 Jan 2026
- 2026In-Context Source and Channel Coding15 Jan 2026
- 2025Lossless Compression: A New Benchmark for Time Series Model Evaluation25 Sep 2025
- 2025PMKLC: Parallel Multi-Knowledge Learning-based Lossless Compression for Large-Scale Genomics Database17 Jul 2025
- 2025An Efficient Compression of Deep Neural Network Checkpoints Based on Prediction and Context Modeling13 Jun 2025
- 2025Easz: An Agile Transformer-based Image Compression Framework for Resource-constrained IoTs3 May 2025
- 2025NTIRE 2025 Challenge on Image Super-Resolution (x4): Methods and Results20 Apr 2025
- 2025WISE: A Framework for Gigapixel Whole-Slide-Image Lossless Compression23 Mar 2025
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Models15 Dec 2024
12 newest of 22 All 22 (JSON)