TCDiff: Triple Condition Diffusion Model with 3D Constraints for Stylizing Synthetic Faces
Bernardo Biesseck, Pedro Vidal, Luiz Coelho, Roger Granada, David Menotti|
TL;DR
The paper addresses privacy-driven limits on real face data by introducing TCDiff, a Triple Condition Diffusion Model that stylizes synthetic identities with real-world style under 2D and 3D constraints. It combines a 2D style embedding and 3DMM-based shape constraints within a diffusion-based face mixer, optimizing with a mixed loss $L_T = L_{MSE} + \lambda_{id} L_{ID} + \lambda_{3D} L_{3D}$. Empirically, TCDiff improves intra-class identity consistency and synthetic-data quality, achieving competitive FR performance on standard benchmarks for small-to-moderate class regimes and highlighting a trade-off between consistency and inter-class variance. The work provides code for reproducible synthesis of high-fidelity, identity-consistent synthetic faces and points to future extensions involving pose/expression constraints to broaden applicability.
Abstract
A robust face recognition model must be trained using datasets that include a large number of subjects and numerous samples per subject under varying conditions (such as pose, expression, age, noise, and occlusion). Due to ethical and privacy concerns, large-scale real face datasets have been discontinued, such as MS1MV3, and synthetic face generators have been proposed, utilizing GANs and Diffusion Models, such as SYNFace, SFace, DigiFace-1M, IDiff-Face, DCFace, and GANDiffFace, aiming to supply this demand. Some of these methods can produce high-fidelity realistic faces, but with low intra-class variance, while others generate high-variance faces with low identity consistency. In this paper, we propose a Triple Condition Diffusion Model (TCDiff) to improve face style transfer from real to synthetic faces through 2D and 3D facial constraints, enhancing face identity consistency while keeping the necessary high intra-class variance. Face recognition experiments using 1k, 2k, and 5k classes of our new dataset for training outperform state-of-the-art synthetic datasets in real face benchmarks such as LFW, CFP-FP, AgeDB, and BUPT. Our source code is available at: https://github.com/BOVIFOCR/tcdiff.
