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 · DOI

Introduction

While 2D generative AI has seen rapid advancement, high-quality 3D content creation remains a significant bottleneck due to the scarcity of structured 3D data. Current state-of-the-art multi-view diffusion models, which generate consistent 2D images of an object from various angles, typically rely on a single input image. This reliance leads to the "blind spot" problem: models often lack information about unseen regions (e.g., the back of an object) and resort to replicating front-view textures, limiting creative control.

FlexGen addresses this gap by introducing a flexible framework that generates consistent 3D views from a single image, a text prompt, or a combination of both. By utilizing text as a semantic bridge, FlexGen allows users to precisely edit unseen regions and adjust material properties that traditional image-to-3D models cannot handle.

FlexGen enables precise editing of unseen regions and material properties by combining image and text inputs.

Methodology

FlexGen introduces two primary innovations to bridge the controllability gap in 3D generation.

1. 3D-Aware Captioning with GPT-4V

Traditional datasets often rely on simple 2D captions. FlexGen leverages GPT-4V to analyze four orthogonal views (front, back, left, right) of an object arranged in a 2x2 grid. This "tiled reasoning" approach allows the model to understand spatial relationships and generate "global-local" descriptions. These captions capture both the overall object structure and fine-grained details, providing a richer training signal than individual view descriptions.

2. Adaptive Dual-Control Module

The framework is built upon a modified Stable Diffusion 2.1 architecture. Central to its flexibility is the Adaptive Dual-Control Module, which incorporates a "condition switcher." This allows the model to accept image inputs, text inputs, or a hybrid of both.

The Adaptive Dual-Control Module uses a condition switcher and reference attention to integrate image and text prompts during the denoising process.

During the denoising process, a reference attention mechanism injects features from the input image into the self-attention layers. Simultaneously, cross-attention layers process detailed text prompts. This dual-stream approach ensures that the generated views remain structurally consistent with the reference image while adhering to the semantic modifications provided by the text.

3. Material and Attribute Control

FlexGen explicitly incorporates material attributes, such as metallicity and roughness, into its training prompts. By associating specific keywords with visual properties, the model enables users to adjust the "shininess" or surface texture of a 3D asset through simple text instructions.

Experimental Results

FlexGen was trained primarily on a filtered subset of 147,000 high-quality objects from the Objaverse dataset and evaluated against benchmarks like Google Scanned Objects (GSO).

Quantitative Performance

FlexGen demonstrates significant improvements over existing baselines. On the GSO dataset, it achieved a Peak Signal-to-Noise Ratio (PSNR) of 22.31, substantially outperforming Zero123++ (18.83). In pure text-to-multi-view tasks, FlexGen reached a Frechet Inception Distance (FID) of 35.56, surpassing MVDream's score of 44.42, indicating superior image quality and view consistency.

Qualitative Editing

The model's strength lies in its ability to perform semantic edits on 3D assets. Users can take a single image of a character and, via text, add complex features like a backpack or long hair, or even transform the character's identity (e.g., into "Mario") while maintaining perfect 3D consistency across all generated views.

Conclusion

FlexGen represents a shift toward more controllable 3D asset generation. By treating text and image inputs as complementary rather than mutually exclusive, it solves the "blind spot" problem inherent in single-view reconstruction. While the model currently faces challenges with highly complex, multi-step instructions, its ability to use text as a "filler" for unseen regions opens new possibilities for intuitive 3D content creation.

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