NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Disentangling and Fusing Networks for Face Completion Under Structured Occlusions

Zhihang Li, Yibo Hu, Ran He

TL;DR

This paper introduces DF-GAN, a novel Generative Adversarial Network that tackles the challenging problem of face completion under structured occlusions (like masks or glasses). By treating face completion as a process of disentangling clean faces from occlusions and then fusing them back, DF-GAN achieves impressive results without needing paired clean and occluded face images for training.

What Problem Does This Paper Address?

Face completion, the task of filling in missing or occluded parts of a face image, is crucial for many applications like face alignment and verification. However, it's a difficult problem due to the high variability in human faces. Traditional image completion methods often struggle with complex textures or require paired data (clean and occluded images), which is hard to obtain in real-world scenarios. This paper specifically addresses face completion under structured occlusions, where the missing parts follow a discernible pattern, and aims to do so without relying on paired training data.

Methods

The core of the proposed method is the Disentangling and Fusing Generative Adversarial Network (DF-GAN). It operates on three domains: occluded faces (X), clean faces (Y), and structured occlusions (Z).

  • Disentangling Network (G): This network takes an occluded face and decomposes it into two latent representations: one for the clean face and one for the occlusion. It uses an encoder-decoder structure. The key idea is to enforce an "exclusiveness constraint" on the latent space, ensuring that the clean face and occlusion representations are distinct.
  • Fusing Network (F): This network performs the reverse operation. It takes latent representations of a clean face and an occlusion and fuses them to generate a complete, occluded face. This also uses an encoder-decoder architecture.
  • Domain-Specific Discriminators (Dx, Dy, Dz): Three discriminators are used, one for each domain, to ensure that the generated images are realistic and adhere to the distribution of real data in that domain.
  • Dual Learning Framework: The disentangling and fusing networks are trained together in a "dual learning" framework. This allows images to be transferred between domains and back, creating a closed loop that helps learn robust transformations without paired data. The cycle consistency loss ensures that transforming a face from domain X to Y and Z, and then fusing them back, reconstructs the original occluded face.
  • Adversarial Training: The generators (G and F) are trained to fool the discriminators, while the discriminators are trained to distinguish real from generated images, leading to progressively more realistic outputs.

Datasets

The paper evaluates DF-GAN on four datasets:

  • AR Face Database: Contains frontal view faces with varying expressions, lighting, and occlusions.
  • CMU MultiPIE Face Database: A large dataset for face recognition under different poses, illuminations, and expressions.
  • Color FERET Database: Images taken under controlled conditions with different poses.
  • LFW (Labeled Faces in the Wild) Database: Used for evaluating performance in unconstrained, real-world conditions.

For training, the paper uses the AR, MultiPIE, and Color FERET datasets. For LFW, it trains on the CelebA dataset and tests on LFW. The authors also generate "MeshFace" images by adding random mesh-like occlusions to clean faces from these datasets to simulate structured occlusions.

Key Insights and Ideas

  • Decomposition as Disentanglement: The novel idea of treating face completion as a disentangling process (separating clean face from occlusion) and a fusing process (recombining them) is central. This allows the model to explicitly learn the structure of occlusions.
  • Unpaired Training is Sufficient: By employing a dual learning framework across three domains, the model can learn effective face completion without requiring the difficult-to-obtain paired clean/occluded face images.
  • Occlusion Structure Matters: The method explicitly models the structure of occlusions, which is crucial for generating realistic completions, unlike methods that only focus on filling missing pixels.
  • Latent Space Manipulation: The encoder-decoder structure in both networks allows for manipulation in the latent space, enabling direct control over the generated occlusions and clean faces.

Key Results

  • Improved Face Verification: DF-GAN significantly improves face verification performance on corrupted (MeshFace) images compared to using corrupted images directly or using CycleGAN. For example, on the MultiPIE dataset, it achieves substantial gains in True Positive Rate (TPR) at various False Positive Rates (FPR).
  • State-of-the-Art Performance: The method achieves state-of-the-art results on AR, MultiPIE, and Color FERET datasets for face verification after completion.
  • Close to Upper Bound: The performance of DF-GAN on recovered faces is very close to the performance on clean faces, indicating that it effectively preserves identity information.
  • Visual Quality: Qualitative results (Figure 3) show that DF-GAN generates visually plausible and complete faces, outperforming CycleGAN in terms of realism and detail.
  • Mesh Separation: The disentangling network can effectively separate photorealistic random patterns (occlusions) from MeshFaces, demonstrating it learns the distribution of occlusions rather than memorizing specific patterns.

Limitations and Future Work

  • Generalization to Unseen Occlusions: While the paper shows DF-GAN can separate arbitrary random patterns, its ability to generalize to entirely novel types of structured occlusions not seen during training might be limited.
  • Computational Cost: Training GANs is generally computationally intensive.
  • Future Work: The authors suggest that DF-GAN is general and can be extended to other style transfer tasks, such as zebras and horses, which is a focus for their future work.

Summary updated

BibTeX
@article{li2017learning,
  author = {Zhihang Li and Yibo Hu and Ran He},
  title = {{Learning Disentangling and Fusing Networks for Face Completion Under Structured Occlusions}},
  journal = {Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=cDKEX9fkpp},
}
Figure