Improving Video Compression With Deep Visual-Attention Models

Vitaliy Lyudvichenko, Mikhail Erofeev, Alexander Ploshkin, Dmitriy S. VatolinarXiv 2019

Abstract

Video traffic is projected to dominate global IP traffic, necessitating more efficient compression techniques. While new standards offer improvements, their hardware adoption is slow. This paper presents a saliency-aware video encoding approach that leverages deep learning visual-attention models to optimize the widely-used H.264 standard. By redistributing bitrates toward regions of high human interest, the proposed method achieves up to 25% bitrate savings while maintaining perceived quality, remaining fully compatible with existing hardware decoders.

Introduction

The rapid growth of video data poses a significant challenge for network infrastructure. Traditional encoders treat all image regions with uniform importance, failing to account for the human visual system's tendency to focus on specific "salient" areas. Saliency-aware compression aims to bridge this gap by prioritizing bits for focal points like faces or moving objects. This research explores integrating state-of-the-art deep saliency models into the x264 encoder to enhance compression efficiency without requiring new hardware standards.

Methods

The proposed system integrates a saliency prediction module with a modified x264 encoding module to create a perception-driven compression pipeline.

System architecture of the saliency-aware video encoder.

Saliency Prediction

Three deep learning architectures were evaluated for their ability to predict human gaze:

  • SAM-ResNet: A static model pre-trained on large-scale image datasets (SALICON).
  • OM-CNN: A dynamic model specifically designed for temporal video features.
  • ACL: A hybrid attention-based model trained on both images and video.

These models were fine-tuned on the SAVAM dataset, which includes eye-tracking data from 50 observers across 45 videos, to improve generalization to real-world content.

Encoding Integration

The predicted saliency maps guide the encoder's macroblock delta-quantization parameters. A specific update rule allocates a higher quality setting to the most salient pixels. Specifically, the researchers found that allocating 70% of the bitrate to the 80% least-salient pixels effectively redistributed resources without introducing noticeable artifacts. Crucially, the resulting bitstream remains a standard H.264 file, ensuring universal compatibility with existing playback devices.

Results

The performance was evaluated using objective metrics (EWSSIM) and a subjective study with 301 participants.

Objective Performance

The SAM-ResNet model demonstrated superior generalization, likely due to the diversity of its image-based pre-training data. As shown in the bitrate-quality curves, the saliency-aware approach significantly outperforms the regular x264 baseline.

EWSSIM vs. Bitrate showing significant bit-rate savings compared to regular x264.

Key findings include:

  • Bitrate Savings: The method achieved a 25% objective bitrate reduction and a 17% subjective bitrate saving. For example, a 1250 kbps saliency-aware stream was perceived by human observers as equivalent to a 1500 kbps standard stream.
  • Model Accuracy: Deep saliency models reached a level of accuracy comparable to "single-observer" ground truth maps, indicating that AI can effectively mimic human gaze patterns for compression tasks.

Discussion and Future Work

A primary challenge identified is temporal consistency; rapid fluctuations in saliency maps between frames can negatively impact inter-frame compression efficiency. Future research will focus on stabilizing these predictions over time and extending the methodology to newer standards like HEVC (H.265) and VP9. By focusing on human perception, this approach offers a practical path to immediate bandwidth savings across existing video delivery infrastructure.

Summary updated

BibTeX
@misc{lyudvichenko2019improving,
  author = {Vitaliy Lyudvichenko and Mikhail Erofeev and Alexander Ploshkin and Dmitriy S. Vatolin},
  title = {{Improving Video Compression With Deep Visual-Attention Models}},
  year = {2019},
  eprint = {1903.07912},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.07912},
}
Figure