FaceGPT: Self-supervised Learning to Chat about 3D Human Faces

Haoran Wang, Mohit Mendiratta, Christian Theobalt, Adam Kortylewski · DOI

Introduction

Traditional 3D face reconstruction has long been treated as a "black box" geometry problem. Specialized algorithms can estimate 3D shapes from 2D images, but they lack semantic understanding. They cannot explain why a person looks angry or follow complex natural language instructions like "generate a 3D model of a man with a square jaw and a slight smile."

Conversely, Large Vision-Language Models (VLMs), such as LLaVA or GPT-4V, excel at semantic reasoning but lack a structured, physical understanding of 3D objects. They process pixels rather than geometry, albedo (skin reflectance), or lighting. FaceGPT bridges this gap by giving VLMs a "3D brain," allowing them to reason about and generate 3D faces while maintaining mathematical rigor.

FaceGPT enables multi-modal interaction, including text-to-3D, image-to-3D, and general scene understanding.

Technical Framework

FaceGPT is built upon the LLaVA-1.5-7B architecture. The core innovation lies in treating 3D geometric parameters as a language that the model can "speak." The framework relies on three technical pillars:

  1. The <FACE> Token: The researchers extended the VLM’s vocabulary with a specialized <FACE> token. When this token is generated, its hidden state is projected through a Multi-Layer Perceptron (MLP) to predict 257 parameters defining a 3D face, including shape, expression, texture, lighting, and camera position.
  2. Inverse Graphics Pipeline: To avoid the need for expensive 3D ground-truth data, FaceGPT utilizes a differentiable renderer. The model predicts 3D parameters, renders them back into a 2D image, and compares the result to the original input. This "analysis-by-synthesis" loop enables fully self-supervised learning.
  3. 3DMM Integration: The predicted parameters correspond to the Basel Face Model (BFM), a standard 3D Morphable Model (3DMM). This ensures that the output is a valid, manipulatable 3D mesh rather than a hallucinated 2D image.
The FaceGPT architecture utilizes a self-supervised inverse rendering loop to learn 3DMM parameters from 2D images.

Training and Datasets

To ensure the model became a "face specialist" without losing its "generalist" capabilities (avoiding catastrophic forgetting), the authors used a balanced data mixture:

  • CelebA-HQ: High-quality face images used for self-supervised reconstruction.
  • LLaVA-v1.5-mix665k: Standard multimodal instruction-tuning data to maintain general conversational skills.
  • Self-Generated Text-to-Face Data: Since few datasets link complex text to 3D meshes, the authors used an existing VLM to describe CelebA-HQ images, then trained FaceGPT to map these descriptions back to 3DMM parameters.

Key Results

FaceGPT demonstrates significant advancements in both reconstruction and instruction following:

  • Image-to-3D Reconstruction: FaceGPT achieves competitive results in monocular 3D face reconstruction, outperforming specialized models like DECA in photometric error (0.106 vs 0.216) and showing superior landmark accuracy compared to standard VLM baselines.
  • Text-to-3D Generation: The model excels at generating faithful 3D reconstructions from complex, multi-sentence descriptions. It achieved an L2 shape error of 4.04, a massive improvement over the baseline's 12.10.
  • Generalist Performance: Despite its specialized training, FaceGPT maintained a high score of 84.6 on the LLaVA-Bench, proving it can still describe general scenes (like volcanic craters) as effectively as the base model.

Limitations and Future Outlook

While FaceGPT represents a leap forward, it currently handles only one face per image and is constrained by the representational limits of the Basel Face Model. Future work aims to scale training data and extend this "VLM + Inverse Graphics" approach to other categories, such as full human bodies and general 3D objects.

Summary updated

BibTeX
@misc{wang2024facegpt,
  author = {Haoran Wang and Mohit Mendiratta and Christian Theobalt and Adam Kortylewski},
  title = {{FaceGPT: Self-supervised Learning to Chat about 3D Human Faces}},
  year = {2024},
  eprint = {2406.07163},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.07163},
}
Figure