AGRNet: Adaptive Graph Representation Learning and Reasoning for Face Parsing

Gusi Te, Wei Hu, Yinglu Liu, Hailin Shi, Tao Mei

Introduction

Face parsing involves assigning semantic labels to every pixel in a facial image, such as "nose," "eyes," or "lips." Despite advancements in deep learning, two primary challenges persist: the neglect of anatomical correlations between facial components and the ambiguity of boundaries between adjacent regions. Traditional convolutional neural networks (CNNs) often treat regions independently, failing to capture the global structural context inherent in human faces. AGRNet (Adaptive Graph Representation Network) addresses these issues by modeling facial components as vertices in a graph, enabling long-range reasoning and sharper boundary delineation.

Methodology

AGRNet transitions from the standard pixel-grid domain to a graph-based representation to better model facial structure. The architecture consists of several key modules designed to capture both local detail and global context.

Adaptive Graph Projection

Unlike conventional methods that use fixed spatial pooling, AGRNet employs an adaptive projection mechanism. It utilizes a preliminary "raw" parsing map to identify representative pixels for each facial component, which are then aggregated into graph vertices in a differentiable manner. This ensures that the graph nodes are semantically meaningful and accurately represent the actual facial features.

Overview of the AGRNet pipeline, illustrating the transition from input image to adaptive graph projection, reasoning, and final parsing map.

Edge-Aware Reasoning and GCNs

To combat boundary ambiguity, the model integrates an Edge Perceiving Module. During the projection phase, pixels identified as part of an edge are assigned higher weights, ensuring the graph vertices encapsulate critical structural transitions. Once the face is represented as a graph of component vertices, a Graph Convolutional Network (GCN) propagates information across the nodes. This allows the model to learn dependencies—such as the relationship between eye shape and mouth expression—capturing the underlying anatomy. A discriminative loss is also applied to ensure that vertices for distinct parts remain separable in the feature space.

Experimental Results

The model was rigorously evaluated on benchmarks including LaPa, Helen, CelebAMask-HQ, and LIP. AGRNet achieved state-of-the-art performance, notably reaching a 92.3% Mean F1 score on the LaPa dataset. Visualizations demonstrate that the model produces significantly cleaner boundaries and handles occlusions better than standard CNNs by leveraging its learned understanding of facial structure.

Ablation Study

The effectiveness of each module was validated through an ablation study. The inclusion of adaptive projection, edge-aware features, and graph reasoning consistently improved metrics across Mean F1, IoU, and Accuracy, with the full model (Model 6) achieving the highest performance.

Ablation study showing the performance gains contributed by the ResNet backbone, adaptive projection, edge modules, and graph reasoning.

Conclusion

AGRNet demonstrates that moving beyond local convolutions to adaptive graph-based reasoning significantly enhances face parsing. By capturing long-range dependencies and prioritizing boundary information, the network achieves superior accuracy and visual quality. The framework's success on the LIP human parsing task further suggests its generalizability to other component-based segmentation tasks.

Summary updated

BibTeX
@article{te2021agrnet,
  author = {Gusi Te and Wei Hu and Yinglu Liu and Hailin Shi and Tao Mei},
  title = {{AGRNet: Adaptive Graph Representation Learning and Reasoning for Face Parsing}},
  journal = {IEEE Trans. Image Process.},
  year = {2021},
  doi = {10.1109/tip.2021.3113780},
}
Figure