NIC
End-to-End Learnt Image Compression Codec
Install / Use
/learn @NJUVISION/NICREADME
NIC
End-to-End Learnt Image Compression via Non-Local Attention Optimization and Improved Context Modeling
<sup>1</sup>Vision Lab, Nanjing University
<sup>2</sup>New York University
Tong Chen<sup>1</sup>, Haojie Liu<sup>1</sup>, Zhan Ma<sup>1</sup>, Qiu Shen<sup>1</sup>, Xun Cao<sup>1</sup> and Yao Wang<sup>2</sup>
Abstract
This paper proposes an end-to-end learnt lossy image compression approach which is built on top of the deep nerual network (DNN)-based variational auto-encoder (VAE) structure with Non-Local Attention optimization and Improved Context modeling (NLAIC). Our NLAIC 1) embeds non-local network operations as non-linear transforms in both main and hyper coders for deriving respective latent features and hyperpriors by exploiting both local and global correlations, 2) applies attention mechanism to generate implicit masks that are used to weigh the features for adaptive bit allocation, and 3) implements the improved conditional entropy modeling of latent features using joint 3D convolutional neural network (CNN) based autoregressive contexts and hyperpriors. Towards the practical application, additional enhancements are also introduced to speed up the computational processing (e.g., parallel 3D CNN-based context prediction), decrease the memory consumption (e.g., sparse non-local processing) and reduce the implementation complexity (e.g., a unified model for variable rates without re-training). The proposed model outperforms existing learnt and conventional (e.g., BPG, JPEG2000, JPEG) image compression methods, on both Kodak and Tecnick datasets with the state-of-the-art compression efficiency, for both PSNR and MS-SSIM distortion measurements.
Performance

<img src="./images/Tecnick_PSNR.png" alt="PSNR_Tec" width="400"/><img src="./images/Tecnick_MSSSIM.png" alt="MSSIM_Tec" width="400"/>
Materials
Citation
@ARTICLE{9359473,
author={Chen, Tong and Liu, Haojie and Ma, Zhan and Shen, Qiu and Cao, Xun and Wang, Yao},
journal={IEEE Transactions on Image Processing},
title={End-to-End Learnt Image Compression via Non-Local Attention Optimization and Improved Context Modeling},
year={2021},
volume={30},
number={},
pages={3179-3191},
doi={10.1109/TIP.2021.3058615}}
Acknowledgments
We are grateful for the constructive comments from anonymous reviewers. The corresponding author is Prof. Zhan Ma (mazhan@nju.edu.cn).
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.1kCommit, push, and open a PR
