PeQuENet: Perceptual Quality Enhancement of Compressed Video with Adaptation- and Attention-based Network

Saiping Zhang, Luis Herranz, Marta Mrak, Marc Górriz Blanch, Shuai Wan, Fuzheng YangarXiv 2022 · DOI

Abstract

Lossy video compression standards like HEVC introduce significant visual artifacts, including blocking and blurring, which degrade the user experience. Traditional enhancement methods often focus on optimizing Peak Signal-to-Noise Ratio (PSNR), leading to over-smoothed results, or rely on local motion estimation that fails under heavy compression. This paper presents PeQuENet, a Generative Adversarial Network (GAN) framework that utilizes a global attention mechanism for robust temporal alignment and a QP-conditional adaptation module to handle multiple compression levels within a single model. Experimental results demonstrate that PeQuENet achieves superior perceptual quality and temporal stability compared to existing state-of-the-art methods.

The Challenge of Video Compression Artifacts

Video streaming relies heavily on compression standards (e.g., H.265/HEVC) to manage bandwidth. However, high compression ratios introduce artifacts such as blocking, blurring, and ringing. Existing enhancement techniques often suffer from two primary issues:

  1. The PSNR Trap: Mathematical optimization for PSNR often leads to visually "plastic" or over-smoothed textures that lack realistic detail.
  2. The Local Alignment Trap: Most models use optical flow or deformable convolutions for temporal alignment. These methods rely on local motion estimation, which frequently fails when compression artifacts are severe, resulting in temporal instability and flickering.

Furthermore, compression intensity is controlled by a Quantization Parameter (QP). Traditionally, a separate model would be required for every QP value, creating a significant storage and deployment burden.

The PeQuENet Architecture

PeQuENet addresses these challenges through a GAN-based architecture designed for perceptual realism and efficiency.

The overall architecture of PeQuENet, illustrating the Generator with integrated attention and adaptation modules alongside the PatchGAN Discriminator.

Global Attention Module

Traditional methods are limited to local search windows for temporal alignment. PeQuENet employs a non-local attention mechanism that considers the entire neighboring frame. This global receptive field allows the model to identify correlated pixels even when local motion vectors are obscured by heavy compression, ensuring much more robust temporal alignment.

Visualization of the global attention mechanism: the model identifies relevant features across frames to ensure robust temporal alignment despite heavy compression artifacts.

QP-Conditional Adaptation

To avoid the overhead of maintaining multiple models for different bitrates, PeQuENet incorporates the QP as a network input. A small sub-network encodes the QP into a modulation vector that adjusts feature maps via element-wise multiplication. This enables a single model to adapt its enhancement intensity dynamically based on the specific compression level of the input video.

Perceptual GAN Training

The framework utilizes a PatchGAN discriminator and a composite loss function. By combining adversarial loss, VGG-based perceptual loss, and feature matching loss, PeQuENet is incentivized to reconstruct realistic textures rather than just minimizing mean squared error.

Experimental Evaluation

The model was trained on 108 video sequences compressed at four QP levels (22, 27, 32, 37) and evaluated on the standard JCT-VC test sequences.

Key Results

  • Perceptual Superiority: PeQuENet consistently outperforms state-of-the-art models like MFQE 2.0 and STDF in perceptual metrics such as LPIPS and DISTS. At QP 32, it achieved an LPIPS score of 0.065, significantly better than competing GAN-based approaches.
  • Subjective Quality: Human preference tests (Mean Opinion Score) confirmed that PeQuENet produces more natural textures and reduces flickering artifacts compared to PSNR-oriented models.
  • Efficiency: The QP-adaptation strategy allows the model to cover the entire bitrate range with 75% fewer parameters than a multi-model deployment strategy.

Conclusion and Future Work

PeQuENet represents a significant step forward in perceptual video enhancement. By prioritizing global temporal context and adaptive feature modulation, it overcomes the limitations of local alignment and fixed-bitrate models. While the attention mechanism adds computational weight, it provides the robustness necessary for high-quality restoration. Future work will focus on optimizing the framework for real-time mobile deployment and extending processing to full-color YUV channels.

Reference: Zhang, S., et al. "PeQuENet: Perceptual Quality Enhancement of Compressed Video with Adaptation- and Attention-based Network." arXiv:2206.07893v1 [cs.CV].

Summary updated

BibTeX
@misc{zhang2022pequenet,
  author = {Saiping Zhang and Luis Herranz and Marta Mrak and Marc Górriz Blanch and Shuai Wan and Fuzheng Yang},
  title = {{PeQuENet: Perceptual Quality Enhancement of Compressed Video with Adaptation- and Attention-based Network}},
  year = {2022},
  eprint = {2206.07893},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.07893},
}
Figure