Scalable Facial Image Compression with Deep Feature Reconstruction

Shurun Wang, Shiqi Wang, Xinfeng Zhang, Shanshe Wang, Siwei Ma, Wen Gao

Abstract

Modern surveillance systems often struggle with a "compression dilemma": balancing the needs of automated AI analysis with those of human operators. This paper introduces a scalable facial image compression framework that utilizes a two-layer approach. A base layer transmits compact deep learning features for machine recognition and structural reconstruction, while an enhancement layer provides fine texture residuals for high-quality human viewing. Experimental results on the LFW dataset demonstrate that this approach outperforms traditional codecs like JPEG and JPEG2000 in both recognition accuracy and visual quality at low bitrates.

Introduction

In the context of smart cities, facial image data is typically processed in one of two ways: Compress-Then-Analyze (CTA) or Analyze-Then-Compress (ATC). CTA involves standard image compression (e.g., JPEG) followed by server-side analysis; however, heavy compression at low bitrates introduces artifacts that degrade AI performance. Conversely, ATC extracts and transmits only features, which is efficient for AI but leaves human monitors without a visual reference for identity verification.

The authors propose a scalable system that bridges this gap, offering the efficiency of feature-based coding with the visual fidelity required for human oversight.

Proposed Methodology

The framework employs a dual-layer architecture to handle structural and textural information separately.

The Base Layer: AI and Structural Reconstruction

The base layer focuses on machine-centric tasks. It utilizes FaceNet to extract a 128-dimension feature vector from the input face. This compact vector is quantized and transmitted, serving as the primary input for automated face recognition. To support human viewing, the system employs a Deep Feature Reconstruction (DFR) network. This network consists of several de-convolutional layers that "hallucinate" the basic facial structure from the 128-D vector, creating a recognizable template.

Overview of the proposed scalable facial image compression framework, showing the Encoder and Decoder architectures.

The Enhancement Layer: Texture Residuals

To achieve high visual fidelity, the enhancement layer captures the "residual"—the difference between the original image and the DFR-reconstructed structure. This residual contains fine details and unique textures. It is compressed using either standard codecs or a deep-learning-based model employing Generalized Divisive Normalization (GDN).

Training and Loss Functions

The DFR network is trained using a combination of Mean Absolute Error (MAE) and Perceptual Loss (derived from VGG-19). This ensures that the reconstructed "template" is not only mathematically close to the original but also structurally coherent to human perception.

Experimental Results

The model was trained on the VGG-Face2 dataset (3.3 million images) and evaluated using the Labeled Faces in the Wild (LFW) benchmark.

Rate-Accuracy and Rate-Distortion Performance

The proposed scheme maintains significantly higher face verification accuracy at ultra-low bitrates compared to JPEG and JPEG2000. When the enhancement layer is active, the system achieves superior Peak Signal-to-Noise Ratio (PSNR) and visual quality.

Qualitative and quantitative comparison of the proposed method against JPEG and JPEG2000 at various bitrates.

Visual Quality Analysis

As shown in the results, the "Deep" reconstruction (base layer only) provides a clear, albeit smoothed, version of the face. This is far more useful for human verification than the blocky, distorted images produced by standard JPEG at similar bitrates. The enhancement layer further refines this image to near-original quality.

Conclusion

This research demonstrates that deep features used for recognition contain sufficient spatial information to reconstruct facial templates. By leveraging this "blueprint," the scalable framework reduces redundancy and provides a flexible solution for modern surveillance. Future work will focus on extending this methodology to other objects, such as vehicles and pedestrians, and optimizing the computational efficiency of the decoder.

Summary updated

BibTeX
@inproceedings{wang2019scalable,
  author = {Shurun Wang and Shiqi Wang and Xinfeng Zhang and Shanshe Wang and Siwei Ma and Wen Gao},
  title = {{Scalable Facial Image Compression with Deep Feature Reconstruction}},
  booktitle = {ICIP},
  year = {2019},
  url = {https://openreview.net/forum?id=yXnbiVrWhu},
}
Figure