atlas

Research map / Architectures and efficiency / RNNs and normalization

L3TC: Leveraging RWKV for Learned Lossless Low-Complexity Text Compression

AAAI 2025 · Architectures and efficiency › RNNs and normalization · approach: Distributed LLM inference systems · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes L3TC, a low-complexity learned lossless text compressor built on a small RWKV model with an outlier-aware tokenizer and high-rank reparameterization (HiRA), reaching 48% bit saving over gzip on enwik9 with MB/s decoding.

Problem

Learned probabilistic compressors based on large language models achieve strong ratios but have prohibitive decoding complexity and model size, making them impractical for real-time text compression.

Approach

Use a small RWKV backbone for fast per-token prediction, pair it with a tokenizer that covers frequent tokens with a limited vocabulary while passing rare characters (outliers) through a raw UTF-8 bypass, and train with extra low-rank-style parallel branches (HiRA) that are merged into the weights for inference.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use L3TC-3.2M instead of gzipenwiki9 compression · enwiki9ACR (%): 32.26 -> 16.87Helped
Increase L3TC model size from 3.2M to 12M (ablation)L3TC · enwiki9CR (%): 16.23 -> 16.00No clear effect
Use L3TC-12M instead of gzipenwiki8 compression · enwiki8CR (%): 36.45 -> 11.24Helped
Use RWKV instead of Transformer or Transformer-XL200K-parameter language model · enwiki9Time per token: 8.61ms -> 0.34ms; 4.36ms -> 0.34msHelped
Set tokenizer coverage to 0.999 (ablation)outlier-aware tokenizer · enwik8 tokenizer evaluationbits per byteHelped
Increase vocabulary size beyond 16K (ablation)outlier-aware tokenizer · enwiki9CR (%)Hurt
Increase HiRA rank (ablation)RWKV with HiRA · enwiki9CR (%)Helped
Increase the number of HiRA branches (ablation)RWKV with HiRA · enwiki9CR (%)Helped
Add a linear shortcut (ablation)RWKV-200K · enwiki9CR (%): 24.36 -> 24.18 (-0.18)Helped
Add HiRA to RWKV with a linear shortcut (ablation)RWKV-200K + Linear · enwiki9CR (%): 24.18 -> 23.51Helped
Add HiRA while retaining the character-based tokenizer (ablation)RWKV-200K · iPhone12 ANEDecoding speed: 376 KB/s -> 376 KB/sNo clear effect
Replace the character-based tokenizer with the outlier-aware tokenizer (ablation)L3TC-200K · iPhone12 ANEDecoding speed: 376 to 842 KB/s; 2.2×Helped

Surprising findings

Limitations

Experimental setup

Datasets: enwik8 enwik9

Benchmarks: enwik9 enwik8

Metrics: compression ratio (CR) adjusted compression ratio (ACR) MACs decoding speed bits per byte

Baselines: gzip bzip2 zstd tszip Llama2-7B Llama2-13B Chinchilla RWKV-1.5B RWKV-7B Transformer Transformer-XL CMIX v20

Builds on: RWKV LoRA byte pair encoding NNCP LLMZip

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy