Hanfei Li โ ยท โ Anle Ke โ ยท โ Junqi Shi โ ยท โ Tong Chen โ ยท โ Zhan Ma
Nanjing University
We propose a VAR-based framework for ultra-low-rate progressive image compression with enhanced semantic preservation and reconstruction quality.
- 2026.10.25 โ Our paper is now available on IEEE Xplore (Early Access)!
- 2026.10.14 โ Our paper has been accepted by IEEE JETCAS!
We evaluate our method on DIV2K and CLIC in terms of LPIPS, DISTS, FID, CLIP-Sem, and DINO-Sem across different bitrates.
Visual comparisons at extremely low bitrates. Our method preserves plausible visual structures and semantic content at compression ratios up to 76,000ร.
Our pretrained checkpoints are available on ModelScope.
The following models are required for inference:
| Model | Checkpoint | Source |
|---|---|---|
| Stage-1 BSQ-VAE | stage1_bsqvae.ckpt |
ModelScope |
| Stage-2 Infinity-2B | stage2_infinity.pth |
ModelScope |
| Flan-T5-XL | google/flan-t5-xl |
Hugging Face |
Download our checkpoints using ModelScope:
pip install modelscope
modelscope download \
--model LiHanfei/Hierarchical-Visual-Compression \
stage1_bsqvae.ckpt stage2_infinity.pth \
--local_dir ./checkpointsDownload Flan-T5-XL separately:
hf download google/flan-t5-xl \
--local-dir ./checkpoints/flan-t5-xlOur inference environment is based on Python 3.10.19, PyTorch 2.8.0, and CUDA 12.8. Experiments were conducted on NVIDIA A100 GPUs.
conda create -n hvc python=3.10 -y
conda activate hvc
pip install torch==2.8.0 torchvision==0.23.0 \
--index-url https://download.pytorch.org/whl/cu128
pip install -r requirements.txt
pip install flash-attn==2.8.2 --no-build-isolationWe evaluate our method on DIV2K and CLIC. All images are preprocessed to 1024 ร 1024 by resizing the shorter side to 1024 while preserving the aspect ratio, followed by a center crop.
Image captions are generated using BLIP-2. We provide dataset/DIV2K.jsonl and dataset/CLIC.jsonl, containing image filenames and their corresponding captions.
Please specify the directory of preprocessed images using --image-root.
Run inference and evaluate BPP, LPIPS, and DISTS on one image:
python eval.py \
--vae-ckpt ./checkpoints/stage1_bsqvae.ckpt \
--infinity-ckpt ./checkpoints/stage2_infinity.pth \
--t5-path ./checkpoints/flan-t5-xl \
--dataset-jsonl ./dataset/DIV2K.jsonl \
--image-root /path/to/DIV2K/images \
--output-dir ./results/DIV2K \
--pn 1M \
--max-images 1Set --max-images 0 to evaluate the entire dataset.
The script performs progressive compression and reconstruction across 13 scales and reports the corresponding bitrate and perceptual quality.
The reconstructed images and evaluation results are saved under the specified output directory.
Our training pipeline consists of two stages:
- Stage 1 โ BSQ-VAE Training
- Stage 2 โ Infinity Training
The pretrained VAE and Infinity initialization checkpoints are obtained from the official Infinity repository. The Stage-1 trained VAE checkpoint is subsequently used to initialize Stage 2.
Both stages use preprocessed proc_memmap datasets. Please prepare the training and validation data and configure their local paths before training.
Stage 1:
export PROC_DIR=/path/to/train_memmap export PROC_VAL_DIR=/path/to/val_memmap export PRETRAINED_CKPT=/path/to/infinity_vae_pretrained.pth bash train_stage1.sh
Stage 2:
export PROC_DATA_PATH=/path/to/train_memmap export VAE_CKPT=/path/to/stage1_trained.ckpt export INFINITY_INIT_CKPT=/path/to/infinity_pretrained.pth bash train_var_flip_prefix.sh
This work builds upon Infinity. We thank the authors for their valuable contributions.
If you find our work useful, please consider citing:
@article{Li2026Hierarchical, author = {Li, Hanfei and Ke, Anle and Shi, Junqi and Chen, Tong and Ma, Zhan}, title = {Hierarchical Visual Description Learning for Ultra-low Rate Progressive Image Compression}, journal = {IEEE Journal on Emerging and Selected Topics in Circuits and Systems}, year = {2026}, doi = {10.1109/JETCAS.2026.3746235}, url = {https://doi.org/10.1109/JETCAS.2026.3746235} }


