L3TC: Leveraging RWKV for Learned Lossless Low-Complexity Text Compression
Learning-based probabilistic models can be combined with an entropy coder for data compression. However, due to the high complexity of learning-based models, their practical application as text compressors has been largely overlooked. To address this issue, our work focuses on a low-complexity design while maintaining compression performance. We introduce a novel Learned Lossless Low-complexity Text Compression method (L3TC). Specifically, we conduct extensive experiments demonstrating that RWKV models achieve the fastest decoding speed with a moderate compression ratio, making it the most suitable backbone for our method. Second, we propose an outlier-aware tokenizer that uses a limited vocabulary to cover frequent tokens while allowing outliers to bypass the prediction and encoding. Third, we propose a novel high-rank reparameterization strategy that enhances the learning capability during training without increasing complexity during inference. Experimental results validate that our method achieves 48% bit saving compared to gzip compressor. Besides, L3TC offers compression performance comparable to other learned compressors, with a 50x reduction in model parameters. More importantly, L3TC is the fastest among all learned compressors, providing real-time decoding speeds up to megabytes per second.
Authors
- Guoxing Lu (ORCID: https://orcid.org/0000-0002-4187-616X)
- Yan Zhao (ORCID: https://orcid.org/0000-0001-6477-3705)
- Shihao Wang (ORCID: https://orcid.org/0000-0002-8688-1034)
- Lixin Song (ORCID: https://orcid.org/0000-0003-3318-5673)
- Junxuan Zhang
- Dajiang Zhou
- Zhi‐Lin Cheng (ORCID: https://orcid.org/0000-0003-3164-5883)
Institutions
- Shanghai Jiao Tong University (CN)
Publication Details
- Journal
- Proceedings of the AAAI Conference on Artificial Intelligence
- Published
- 2025-04-11
- DOI
- https://doi.org/10.1609/aaai.v39i12.33446
- Citations
- 3
- Primary Topic
- Algorithms and Data Compression
- Type
- article
- Field-Weighted Citation Impact
- 2.66
Funders
- Ant Group
- National Natural Science Foundation of China
- Fundamental Research Funds for the Central Universities