Multi-scale Attention-Guided Intrinsic Decomposition and Rendering Pass Prediction for Facial Images
Hossein Javidnia
TL;DR
This work tackles the ill-posed problem of single-image intrinsic decomposition for faces under unconstrained lighting by introducing MAGINet, a multi-scale attention-guided network that first estimates a light-normalized diffuse albedo at $512\times512$, refines it to $1024\times1024$ with RefinementNet, and then jointly predicts a complete six-pass PBR rendering stack via a Pix2PixHD-based translator. The three-stage pipeline yields state-of-the-art albedo accuracy and markedly improves the fidelity of the full rendering stack, enabling high-quality relighting and material editing of real faces. The approach leverages a dual-attention bottleneck, adaptive feature fusion, and carefully designed losses, trained on FFHQ-UV-Intrinsics with synthetic supervision, and is validated through extensive quantitative and synthetic-data experiments. The resulting six passes (A,N,S,T,D,AO) provide a practical, editable set of assets for professional rendering pipelines, bridging the gap between learning-based relighting and traditional inverse rendering.
Abstract
Accurate intrinsic decomposition of face images under unconstrained lighting is a prerequisite for photorealistic relighting, high-fidelity digital doubles, and augmented-reality effects. This paper introduces MAGINet, a Multi-scale Attention-Guided Intrinsics Network that predicts a $512\times512$ light-normalized diffuse albedo map from a single RGB portrait. MAGINet employs hierarchical residual encoding, spatial-and-channel attention in a bottleneck, and adaptive multi-scale feature fusion in the decoder, yielding sharper albedo boundaries and stronger lighting invariance than prior U-Net variants. The initial albedo prediction is upsampled to $1024\times1024$ and refined by a lightweight three-layer CNN (RefinementNet). Conditioned on this refined albedo, a Pix2PixHD-based translator then predicts a comprehensive set of five additional physically based rendering passes: ambient occlusion, surface normal, specular reflectance, translucency, and raw diffuse colour (with residual lighting). Together with the refined albedo, these six passes form the complete intrinsic decomposition. Trained with a combination of masked-MSE, VGG, edge, and patch-LPIPS losses on the FFHQ-UV-Intrinsics dataset, the full pipeline achieves state-of-the-art performance for diffuse albedo estimation and demonstrates significantly improved fidelity for the complete rendering stack compared to prior methods. The resulting passes enable high-quality relighting and material editing of real faces.
