FlexGen: Flexible Multi-View Generation from Text and Image Inputs

Xinli Xu, Wenhang Ge, Jiantao Lin, Jiawei Feng, Lie Xu, hanfeng Zhao, Shunsi Zhang, Ying-Cong Chen · Submission to ICLR 2025 · Withdrawn

TL;DR

FlexGen is a multi-view diffusion framework that generates consistent four-view ($2 \times 2$ grid) images conditioned on a single input image, a text prompt, or both simultaneously. By leveraging GPT-4V to annotate 3D-aware, spatially grounded captions and introducing an Adaptive Dual-Control Module, FlexGen enables fine-grained control over unseen object regions, textures, and material properties (e.g., metallic and roughness).

What Problem Does This Paper Address?

Generating multi-view consistent images from a single view is a crucial step for fast 3D reconstruction in gaming, animation, and AR/VR. However, existing multi-view diffusion models suffer from two major pain points:

  1. Lack of multi-modal controllability: Most existing models are rigid—they either accept only an image (e.g., Zero123++, SyncDreamer) or only text (e.g., MVDream). When given an image, they blindly extrapolate hidden, occluded sides by mirroring the front or relying on generic visual priors.
  2. Superficial 3D captions: Prior captioning pipelines (like Cap3D) describe views independently using 2D captioners (BLIP-2) and aggregate them with LLMs, which misses 3D spatial coherence, fine-grained part descriptions, and material physical properties.

FlexGen bridges this gap by allowing text and image inputs to cooperate seamlessly, letting users explicitly guide unseen parts and physical appearance via descriptive text.

Methods

FlexGen generates a $2 \times 2$ tiled image ($512 \times 512$ per view: front, left, back, right at a fixed $5^\circ$ elevation) based on Stable Diffusion 2.1. Its pipeline features three core technical components:

  • 3D-Aware Global-to-Local Captioning via GPT-4V: Instead of captioning single views, FlexGen feeds a tiled $2 \times 2$ composite image of four orthogonal rendered views into GPT-4V. This enables the model to reason about true 3D spatial relationships, emitting both global context and fine-grained local parts (e.g., "sword in right hand, shield in left"). Additionally, physical material descriptors (e.g., "high-metallic", "low-roughness") are appended to match Blender rendering parameters.
  • Adaptive Dual-Control Module: FlexGen builds on reference attention mechanisms. An auxiliary UNet processes the reference image noisy latent, interacts with CLIP-encoded text tokens via cross-attention, and appends the resulting key ($K$) and value ($V$) matrices into the main denoising UNet’s self-attention layers. This ensures faithful image identity retention alongside flexible text-guided modifications.
  • Unified Condition Switcher: To allow seamless operation across image-only, text-only, dual-input, or unconditional modes, training randomly switches conditioning scenarios (30% image + text, 30% image-only, 30% text-only, and 10% unconditional via empty text/black image).

Datasets

  • Training: Curated subset of Objaverse containing 147k high-quality 3D assets (filtering out meshes without textures or with low polygon counts). Models were rendered in Blender with varied camera poses (elevations between $-30^\circ$ and $30^\circ$, full azimuth range) at $512 \times 512$.
  • Evaluation: Evaluated on Google Scanned Objects (GSO) across 300 randomly sampled objects for novel view synthesis (NVS), sparse-view 3D reconstruction, and text-to-multi-view generation.

Key Insights and Ideas

  • Holistic 2D grids teach 3D relationships: Feeding multi-view composite images directly to a vision-language model (GPT-4V) eliminates the view-aggregation artifacts of older captioners, unlocking accurate spatial grounding (left vs. right components, backside decorations).
  • Cross-modality attention prevents prompt neglect: Merely prepending reference image features often causes the diffusion model to ignore text. Explicitly fusing CLIP text embeddings into the reference stream via cross-attention allows user prompts to direct what happens on unseen surfaces without degrading reference fidelity.
  • Material attributes can be prompt-engineered: Because rendering engines expose exact roughness and metallic parameters, explicitly associating these parameters with text tokens during diffusion training allows users to edit material properties at inference time simply by prompting "high-metallic, low-roughness".

Key Results

  • Novel View Synthesis & Reconstruction (GSO): FlexGen outperforms existing image-to-multiview baselines:
  • PSNR: 22.31 dB vs. 21.12 dB (Ours w/o caption), 18.83 dB (Zero123++), 18.52 dB (Era3D), and 17.66 dB (SyncDreamer).
  • LPIPS: 0.12 vs. 0.16 (Zero123++) and 0.21 (SyncDreamer).
  • 3D Mesh Quality (via InstantMesh): Achieves the lowest Chamfer Distance (0.076) and highest [email protected] (0.928).
  • Text-to-Multi-View: Compared to MVDream, FlexGen achieves lower FID (35.56 vs. 44.42), higher Inception Score (13.41 vs. 12.98), and higher CLIP similarity (0.83 vs. 0.79).
  • Ablations: Removing cross-attention drops PSNR from 22.31 to 21.89; swapping GPT-4V annotations for Cap3D drops PSNR to 21.68 and weakens prompt-directed editing.

Limitations and Future Work

  • Complex Multi-Step Instructions: While FlexGen handles attribute adjustments (materials, unseen accessories, color modifications), it can struggle with complex, multi-clause user prompts.
  • Dataset Scale: The authors note that relying on 147k assets limits the breadth of fine-grained instructions; scaling up high-quality 3D datasets with rich annotations remains a primary direction for future work.

Summary updated

BibTeX
@misc{xu2024flexgen,
  author = {Xinli Xu and Wenhang Ge and Jiantao Lin and Jiawei Feng and Lie XU and hanfeng Zhao and Shunsi Zhang and Ying-Cong Chen},
  title = {{FlexGen: Flexible Multi-View Generation from Text and Image Inputs}},
  year = {2024},
  eprint = {2410.10745},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.10745},
}
Figure