VP-LLM: Text-Driven 3D Volume Completion with Large Language Models through Patchification

Jianmeng Liu, Yichen Liu, Yuyao Zhang, Zeyuan Meng, Yu-Wing Tai, Chi-Keung Tang · DOI

Introduction

Real-world 3D scans are frequently incomplete, suffering from noise or significant occlusions. While 3D shape completion is a well-studied field, traditional methods often struggle with complex, nuanced text instructions and computational efficiency. Existing models typically rely on encoders like CLIP or BERT, which are effective for simple category labels but lack the reasoning depth required to interpret detailed descriptions, such as "a Fender Stratocaster electric guitar with an asymmetrical neck." Furthermore, diffusion-based approaches can be slow and prone to "hallucinations" that deviate from user specifications.

VP-LLM (Volume Patch Large Language Model) addresses these challenges by treating 3D geometry as a sequence of tokens, allowing it to leverage the extensive "world knowledge" and reasoning capabilities of Large Language Models (LLMs) to reconstruct missing geometry with high precision.

The VP-LLM Framework

The core innovation of VP-LLM is Patchification. Instead of processing a massive 3D grid as a single entity, the framework decomposes the 3D voxel volume into small $8 \times 8 \times 8$ cubes called patches. This approach allows the model to handle spatial relationships similarly to how an LLM processes grammatical relationships in text.

Overview of the VP-LLM pipeline for 3D volume completion.

The pipeline consists of several integrated stages:

  1. Encoding and Tokenization: A Variational Autoencoder (VAE) compresses each 3D patch into a compact latent vector. These vectors are then mapped into the LLM's embedding space via a linear input projection layer.
  2. LLM Core: The model utilizes pre-trained LLMs (such as Mistral-7B or Gemma-2B) fine-tuned with Low-Rank Adaptation (LoRA). The LLM receives a combined input of the text prompt and the sequence of incomplete 3D tokens.
  3. Output Projection and Decoding: A specialized Transformer-based layer converts the LLM's hidden states back into 3D patch features. Finally, the VAE decoder reconstructs these features into a complete, high-resolution 3D voxel grid.
The patch-wise VAE architecture used for 3D tokenization and reconstruction.

Experimental Setup and Datasets

The researchers evaluated VP-LLM using a subset of ShapeNetCore, a standard 3D object dataset. To provide the model with high-quality natural language descriptions, they employed Cap3D, which utilizes BLIP and GPT-4 to generate detailed captions. This setup enabled the model to move beyond simple labels to descriptive prompts like "a yellow Dodge Viper SRT10 sports car."

To ensure robustness, the model was trained using three distinct masking strategies: random patch removal, plane masking (slicing the model in half), and the addition of random voxel noise.

Results and Key Insights

VP-LLM demonstrates significant improvements over state-of-the-art diffusion models like SDFusion and label-conditioned models like 3DQD.

  • Geometric Accuracy: Measured by Chamfer Distance (CD), VP-LLM achieved a score of 10.96 on a 20% segmented model, vastly outperforming SDFusion's score of 95.44.
  • Instruction Following: The model consistently achieved higher CLIP-s scores, indicating that the generated 3D models align more closely with complex text descriptions.
  • Denoising Capabilities: Unlike baseline models, VP-LLM proved capable of cleaning extremely noisy data (1-2% voxel inversion), a task where previous methods often failed.
  • Iterative Refinement: An emergent property of the model is its ability to perform iterative refinement. Feeding the output of one pass back into the system allows for further denoising and detail enhancement.

Conclusion and Future Work

VP-LLM successfully demonstrates that LLMs can be taught to "fill in the blanks" in 3D space by treating geometry as a language. By leveraging pre-trained semantic knowledge, the model can infer missing details that purely geometric approaches might overlook.

While currently limited to voxel resolutions of $64^3$ and $72^3$, the patchification method is inherently scalable. Future research may explore larger LLM scales (70B+ parameters) and alternative 3D representations such as Neural Radiance Fields (NeRFs) or 3D Gaussian Splatting to further enhance resolution and fidelity.

Summary updated

BibTeX
@misc{liu2024vp,
  author = {Jianmeng Liu and Yichen Liu and Yuyao Zhang and Zeyuan Meng and Yu-Wing Tai and Chi-Keung Tang},
  title = {{VP-LLM: Text-Driven 3D Volume Completion with Large Language Models through Patchification}},
  year = {2024},
  eprint = {2406.05543},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.05543},
}
Figure