3D generation research index
3DPE
Real-time 3D-aware Portrait Editing from a Single Image
One-minute overview
3DPE edits a single portrait from a reference image or text description. It distills a 2D editor’s appearance changes and a 3D portrait model’s geometry into a feedforward encoder that predicts an edited triplane.
Research problem and inputs and outputs
Portrait editors can produce convincing single images, but rendering the edited face from new angles creates an additional geometry requirement. 3DPE aims to move recurring inference work into training so prompt-based editing can run feedforward.
§1 · Edit a face while retaining view consistency
- Inputs
- A source portrait and either an image prompt or a text prompt. Adapting to a custom style uses paired reference examples and a short fine-tuning run.
- Outputs
- An edited EG3D-compatible triplane radiance field and rendered views of the portrait from requested camera poses.
Original paper figure
Figure 2 · arXiv:2402.14000v3
Credit · Qingyan Bai et al.
Method step by step
The low-resolution Live3D encoder extracts structural features from the source portrait. It stays frozen to preserve the reconstruction prior.
§3.2 · Reuse the source portrait’s coarse geometryA masked autoencoder embeds image prompts and CLIP embeds text prompts. Cross-attention lets high-resolution source features query that embedding. A decoder combines the resulting appearance and geometry features into a triplane.
§3.2 · Condition appearance on a promptInstructPix2Pix generates edited 2D targets. The system uses the corresponding camera for image-level supervision. Pretrained Live3D also produces a teacher triplane and novel-view images and depths from the edited target, which supervise the edited field.
§3.2 · Distill editing and geometry jointlyAt inference, the encoder maps the portrait and prompt to an edited NeRF. The EG3D renderer samples that same field for each camera. For a custom prompt, the adaptation procedure updates the prompt encoder and decoder normalization layers.
§3.3 · Predict once and render from several cameras
Key design choices
Disabling the high-resolution branch retains coarse structure and loses detail, while disabling the low-resolution branch retains some texture but degrades structure. This motivates injecting prompts into the high-resolution branch.
Figure 3 · Separate structural and appearance featuresRemoving multiview 3D distillation makes the face flatter and harms side views. Removing 2D diffusion supervision weakens the requested appearance and produces visible artifacts in the shown examples.
Figure 6 · Examine the two supervision paths
How to read the experiments
Datasets and protocol
The authors generate 20,000 paired edits across 20 styles from FFHQ portraits and report the main comparison on 100 evaluation pairs. InstructPix2Pix supplies training pseudo-labels.
§4.1 · Train and evaluate on FFHQ-derived pairsBaselines
PTI and Live3D can be combined with StyleCLIP to edit after reconstruction. InstructPix2Pix followed by Live3D edits first. SPI plus StyleGAN-NADA appears in the qualitative comparisons.
§4.1 · Compare reconstruction-before-editing and editing-before-reconstructionMetrics
Identity preservation is ArcFace cosine similarity against the input portrait. Reference alignment is CLIP cosine similarity. The reported 3D score is identity similarity across views. Higher scores are preferred. Time averages 100 samples on one Nvidia A6000.
§4.1 · Distinguish identity, prompt alignment and consistencyResults
3DPE reports 0.47 identity, 0.73 reference alignment, 0.76 3D consistency and 0.04 seconds. InstructPix2Pix plus Live3D gives 0.44, 0.62, 0.75 and 10 seconds. Live3D plus StyleCLIP leads on identity at 0.63, with 30 seconds runtime.
Table 1 · Compare feedforward and staged editingTrade-offs
At five minutes, the LPIPS score in the 10-pair row is 0.4935 versus 0.5212 with two pairs and 0.4797 with 50. The comparison scores against edited reference targets.
Table 3 · Measure the custom-style data trade-off
Limitations and use boundaries
The authors attribute some changes in fine detail across rendered views to EG3D super-resolution. Applying the image model frame by frame to video can introduce flickering.
§5 · Watch for view-dependent detail and video flicker- Editorial reading
The Live3D plus StyleCLIP comparator preserves identity strongly while changing little in some examples. The authors omit CLIP alignment for baselines that optimize directly with CLIP. The 3D consistency score is an identity proxy across views rather than a geometric error measure.
Editorial · A high identity score can accompany a weak edit
Fixed version and section references
Read fixed-version paper · arXiv:2402.14000v3 · Source reviewed
Experiments were reported by the authors. The editorial analysis cites their evidence.
- Research problem and inputs and outputs §1 · Edit a face while retaining view consistency
- Method step by step §3.2 · Reuse the source portrait’s coarse geometry · §3.2 · Condition appearance on a prompt · §3.2 · Distill editing and geometry jointly · §3.3 · Predict once and render from several cameras
- Key design choices Figure 3 · Separate structural and appearance features · Figure 6 · Examine the two supervision paths
- How to read the experiments §4.1 · Train and evaluate on FFHQ-derived pairs · §4.1 · Compare reconstruction-before-editing and editing-before-reconstruction · §4.1 · Distinguish identity, prompt alignment and consistency · Table 1 · Compare feedforward and staged editing · Table 3 · Measure the custom-style data trade-off
- Limitations and use boundaries §5 · Watch for view-dependent detail and video flicker · Editorial · A high identity score can accompany a weak edit
- Original paper figure Figure in paper 2