DCNGAN: A Deformable Convolution-Based GAN with QP Adaptation for Perceptual Quality Enhancement of Compressed Video

Saiping Zhang, Luis Herranz, Marta Mrak, Marc Górriz Blanch, Shuai Wan, Fuzheng Yang

Abstract

Video compression standards like H.265/HEVC are essential for streaming but often introduce visual artifacts such as blurring and blocking at low bitrates. Traditional enhancement methods often focus on mathematical pixel accuracy (PSNR) at the expense of perceptual realism or require separate models for different compression levels. We present DCNGAN, a Deformable Convolutional-based Generative Adversarial Network that restores visual "crispness" through a single, QP-adaptive model. By leveraging deformable convolutions for efficient frame alignment and embedding quantization parameters directly into the network, DCNGAN achieves state-of-the-art perceptual quality and computational efficiency.

Introduction

As high-definition video streaming becomes ubiquitous, the demand for efficient compression is higher than ever. However, aggressive compression using algorithms like H.265/HEVC discards high-frequency data, leading to noticeable quality degradation. Existing deep-learning-based enhancement tools face three primary challenges: the "perception-distortion tradeoff," where PSNR-optimized models produce blurry outputs; the "model zoo" problem, necessitating different models for different Quantization Parameters (QP); and the high computational cost of temporal alignment using traditional optical flow.

DCNGAN addresses these hurdles by prioritizing perceptual metrics and utilizing a flexible architecture that adapts to varying compression intensities within a single framework.

Proposed Method

The DCNGAN architecture is divided into a Generator and a Discriminator, designed to work in tandem to reconstruct realistic high-frequency textures.

The Generator and Frame Alignment

The Generator serves as the primary restoration engine. It features a Frame Alignment Module powered by Deformable Convolutions (DCN). Unlike rigid convolutional grids or computationally heavy optical flow methods, DCN learns to dynamically shift its receptive field to align three consecutive frames simultaneously. This approach is not only more efficient but also captures richer temporal information.

Following alignment, the Quality Enhancement Module utilizes nine residual blocks to process the features. To solve the "model zoo" problem, the network incorporates QP Adaptation. The QP value is one-hot encoded and passed through a fully connected layer with a softplus activation to modulate the residual blocks. This allows the model to adjust its restoration strength dynamically based on the specific bitrate of the input video.

Figure 1: The DCNGAN architecture featuring the Frame Alignment Module and the Quality Enhancement Module with QP Adaptation.

The Discriminator

The Discriminator acts as a critic, pushing the Generator toward realistic outputs. It employs a patch-based design, evaluating small sections of the video to distinguish between authentic high-frequency textures and synthetic artifacts. The system is trained using a composite loss function that includes adversarial loss, VGG perceptual loss, and feature matching loss.

Experimental Results

Datasets and Metrics

The model was trained on 106 video sequences and evaluated using the standard JCT-VC test sequences (Classes A-E). Videos were compressed using H.265/HEVC at four QP levels: 22, 27, 32, and 37. Performance was measured primarily using perceptual metrics like LPIPS and DISTS, which better reflect human visual judgment than traditional PSNR.

Performance Analysis

DCNGAN consistently outperformed existing state-of-the-art models, including MFQE 2.0, STDF, and VPE-GAN. Qualitative results demonstrate that while competing methods often blur out artifacts, DCNGAN successfully reconstructs fine details, such as the texture of a horse's coat or the grain of a wooden floor.

Figure 2: Qualitative comparison of DCNGAN against other state-of-the-art methods across various test sequences.

Key insights from the experiments include:

  • Efficiency: Deformable convolutions proved significantly faster and more accurate than optical flow-based alignment (e.g., SpyNet), as they process multiple frames in a single pass.
  • Dynamic Modulation: By treating the QP as a feature, the network learns a continuous space of restoration intensities, making it highly practical for deployment on consumer hardware like smart TVs.
  • Perceptual Fidelity: The model prioritizes high-frequency details that are often lost in PSNR-centric approaches, leading to significantly lower LPIPS scores.

Conclusion

DCNGAN represents a significant step forward in perceptual video enhancement. By combining efficient DCN-based alignment with a novel QP-adaptation mechanism, it provides a single-model solution that outperforms multi-model ensembles in both speed and visual quality. Future work will focus on extending this framework to include chroma (color) enhancement and exploring larger temporal windows to further improve action-heavy sequences.

Summary updated

Abstract

In this paper, we propose a deformable convolution-based generative adversarial network (DCNGAN) for perceptual quality enhancement of compressed videos. DCNGAN is also adaptive to the quantization parameters (QPs). Compared with optical flows, deformable convolutions are more effective and efficient to align frames. Deformable convolutions can operate on multiple frames, thus leveraging more temporal information, which is beneficial for enhancing the perceptual quality of compressed videos. Instead of aligning frames in a pairwise manner, the deformable convolution can process multiple frames simultaneously, which leads to lower computational complexity. Experimental results demonstrate that the proposed DCNGAN outperforms other state-of-the-art compressed video quality enhancement algorithms.
BibTeX
@inproceedings{zhang2022dcngan,
  author = {Saiping Zhang and Luis Herranz and Marta Mrak and Marc Górriz Blanch and Shuai Wan and Fuzheng Yang},
  title = {{DCNGAN: A Deformable Convolution-Based GAN with QP Adaptation for Perceptual Quality Enhancement of Compressed Video}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=8vy6hP6eXF},
}
Figure