摘要
Neural data compression based on nonlinear transform coding has made great progress over the last few years, mainly due to improvements in prior models, quantization methods and nonlinear transforms. A general trend in many recent works pushing the limit of rate-distortion performance is to use ever more expensive prior models that can lead to prohibitively slow decoding. Instead, we focus on more expressive transforms that result in a better rate-distortioncomputation trade-off. Specifically, we show that nonlinear transforms built on Swin-transformers can achieve better compression efficiency than transforms built on convolutional neural networks (ConvNets), while requiring fewer parameters and shorter decoding time. Paired with a compute-efficient Channel-wise Auto-Regressive Model prior, our SwinT-ChARM model outperforms VTM-12.1 by 3.68% in BD-rate on Kodak with comparable decoding speed. In P-frame video compression setting, we are able to outperform the popular ConvNet-based scalespace-flow model by 12.35% in BD-rate on UVG. We provide model scaling studies to verify the computational efficiency of the proposed solutions and conduct several analyses to reveal the source of coding gain of transformers over Conv-Nets, including better spatial decorrelation, flexible effective receptive field, and more localized response of latent pixels during progressive decoding. † Qualcomm AI Research is an initiative of Qualcomm Technologies, Inc. 1 In the extreme case when a latent-pixel-level spatial autoregressive prior is used, decoding of a single 512x768 image requires no less than 1536 interleaved executions of prior model inference and entropy decoding (assuming the latent is downsampled by a factor of 16x16). As main contributions, we 1) extend Swin-Transformer (Liu et al., 2021) to a decoder setting and build Swin-transformer based neural image codecs that attain better rate-distortion performance with lower complexity compared with existing solutions, 2) verify its effectiveness in video compression by enhancing scalespace-flow, a popular neural P-frame codec, and 3) conduct extensive analysis and ablation study to explore differences between convolution and transformers, and investigate potential source of coding gain. BACKGROUND & RELATED WORK Conv-Hyperprior The seminal hyperprior architecture (Ballé et al., 2018; Minnen et al., 2018) is a two-level hierarchical variational autoencoder, consisting of a pair of encoder/decoder g a , g s , and a pair of hyper-encoder/hyper-decoder h a , h s . Given an input image x, a pair of latent y = g a (x) and hyper-latent z = h a (y) is computed. The quantized hyper-latent ẑ = Q(z) is modeled and entropycoded with a learned factorized prior. The latent y is modeled with a factorized Gaussian distribution p(y|ẑ) = N (µ, diag(σ)) whose parameter is given by the hyper-decoder (µ, σ) = h s (ẑ). The quantized version of the latent ŷ = Q(y -µ) + µ is then entropy coded and passed through decoder g s to derive reconstructed image x = g s (ŷ). The tranforms g a , g s , h a , h s are all parameterized as ConvNets (for details, see Appendix A.1). Conv-ChARM (Minnen & Singh, 2020) extends the baseline hyperprior architecture with a channel-wise auto-regressive model (ChARM) 2 , in which latent y is split along channel dimension into S groups (denoted as y 1 , . . . , y S ), and the Gaussian prior p(y s |ẑ, ŷ<s ) is made autoregressive across groups where the mean/scale of y s depends on quantized latent in the previous groups ŷ<s . In practice, S = 10 provides a good balance of performance and complexity and is adopted here. Spatial AR models Most of recent performance advancements of neural image compression is driven by the use of spatial auto-regressive/context models. Variants include causal global prediction (Guo et al., 2021 ), 3D context (Ma et al., 2021), block-level context (Wu et al., 2020), nonlocal context (Li et al., 2020; Qian et al., 2021) . One common issue with these designs is that decoding cannot be parallelized along spatial dimensions, leading to impractical 3 decoding latency, especially for large resolution images.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 54 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Frequency-Aware Transformer for Learned Image Compression 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Frequency-Aware Transformer for Learned Image Compression 引用了 VCT: A Video Compression Transformer
- Frequency-Aware Transformer for Learned Image Compression 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Attention is not all you need: pure attention loses rank doubly exponentially with depth 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Perceiver IO: A General Architecture for Structured Inputs & Outputs 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- XCiT: Cross-Covariance Image Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- XCiT: Cross-Covariance Image Transformers 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- VCT: A Video Compression Transformer 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- VCT: A Video Compression Transformer 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- HiNeRV: Video Compression with Hierarchical Encoding-based Neural Representation 引用了 VCT: A Video Compression Transformer
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MLIC: Multi-Reference Entropy Model for Learned Image Compression 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
引用它的顶会 Paper54
- Lossy Image Compression with Conditional Diffusion ModelsRuihan Yang, Stephan MandtNeurIPS 2023 · 268 次引用
- VCT: A Video Compression TransformerFabian Mentzer, George Toderici, David Minnen, Sergi Caelles 等NeurIPS 2022 · 155 次引用
- HiNeRV: Video Compression with Hierarchical Encoding-based Neural RepresentationHo Man Kwan, Ge Gao, Fan Zhang, Andrew Gower 等NeurIPS 2023 · 132 次引用
- MLIC: Multi-Reference Entropy Model for Learned Image CompressionWei Jiang, Jiayu Yang, Yongqi Zhai, Peirong Ning 等ACM MM 2023 · 117 次引用
- Frequency-Aware Transformer for Learned Image CompressionHan Li, Shaohui Li, Wenrui Dai, Chenglin Li 等ICLR 2024 · 88 次引用
它引用的 Paper15
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Perceiver IO: A General Architecture for Structured Inputs & OutputsAndrew Jaegle, Sebastian Borgeaud, Jean-Baptiste Alayrac, Carl Doersch 等ICLR 2022 · 797 次引用
- XCiT: Cross-Covariance Image TransformersAlaaeldin Ali, Hugo Touvron, Mathilde Caron, Piotr Bojanowski 等NeurIPS 2021 · 692 次引用
- Attention is not all you need: pure attention loses rank doubly exponentially with depthYihe Dong, Jean-Baptiste Cordonnier, Andreas LoukasICML 2021 · 522 次引用
相关 Paper
- NVTC: Nonlinear Vector Transform CodingRunsen Feng, Zongyu Guo, Weiping Li, Zhibo ChenCVPR 2023
- Learned Image Compression with Mixed Transformer-CNN ArchitecturesJinming Liu, Heming Sun, Jiro KattoCVPR 2023
- MRT: Learning Compact Representations with Mixed RWKV-Transformer for Extreme Image CompressionHan Liu, Hengyu Man, Xingtao Wang, Wenrui Li 等AAAI 2026 · 2 次引用
- The Devil Is in the Details: Window-based Attention for Image CompressionRenjie Zou, Chunfeng Song, Zhaoxiang ZhangCVPR 2022 · 260 次引用
- Laplacian-guided Entropy Model in Neural Codec with Blur-dissipated SynthesisAtefeh Khoshkhahtinat, Ali Zafari, Piyush M. Mehta, Nasser M. NasrabadiCVPR 2024
