Skip to main content
QUICK REVIEW

[論文レビュー] LLaMA-Mesh: Unifying 3D Mesh Generation with Language Models

Z. Maggie Wang, Jonathan Lorraine|arXiv (Cornell University)|Nov 14, 2024
3D Shape Modeling and AnalysisEngineering被引用数 3
ひとこと要約

LLaMA-Mesh は、頂点座標と面定義を OBJ 形式のプレインテキストとして表現することで、大規模言語モデル(LLM)がテキストから直接 3D メッシュを生成・理解できる統合フレームワークを導入する。教師ありテキスト-3D ペairデータセットおよび入れ違い対話データで微調整した結果、専用モデルと同等のメッシュ生成品質を達成するとともに、強力なテキスト生成能力を維持し、ボキャブラリ拡張や新しいトークナイザーの導入なしに 3D メッシュ生成を統合した最初の成功例である。

ABSTRACT

This work explores expanding the capabilities of large language models (LLMs) pretrained on text to generate 3D meshes within a unified model. This offers key advantages of (1) leveraging spatial knowledge already embedded in LLMs, derived from textual sources like 3D tutorials, and (2) enabling conversational 3D generation and mesh understanding. A primary challenge is effectively tokenizing 3D mesh data into discrete tokens that LLMs can process seamlessly. To address this, we introduce LLaMA-Mesh, a novel approach that represents the vertex coordinates and face definitions of 3D meshes as plain text, allowing direct integration with LLMs without expanding the vocabulary. We construct a supervised fine-tuning (SFT) dataset enabling pretrained LLMs to (1) generate 3D meshes from text prompts, (2) produce interleaved text and 3D mesh outputs as required, and (3) understand and interpret 3D meshes. Our work is the first to demonstrate that LLMs can be fine-tuned to acquire complex spatial knowledge for 3D mesh generation in a text-based format, effectively unifying the 3D and text modalities. LLaMA-Mesh achieves mesh generation quality on par with models trained from scratch while maintaining strong text generation performance.

研究の動機と目的

  • 大規模言語モデル(LLM)の能力をテキスト生成を超えて、直接的な 3D メッシュ生成へと拡張すること。
  • LLM とのシームレスな統合を実現するため、ボキャブラリの拡張やトークナイザーの変更なしに 3D メッシュデータをトークン化する課題に対処すること。
  • 1 つの統合モデルが会話的で入れ違いの出力形式で、テキストと 3D メッシュの両方を生成できることを可能にすること。
  • 3D タスクの微調整中に、ベース LLM の強力な言語理解および生成能力を維持すること。
  • LLM がテキスト形式での数値的メッシュ表現を学習することで、複雑な空間的知識を習得できることを示すこと。

提案手法

  • 3D メッシュを標準的な OBJ ファイル形式を用いてプレインテキストとして表現し、頂点座標と面インデックスを数値およびキーワードのシーケンスとしてエンコードする。
  • 新たなトークナイゼーション方式を導入しないことでボキャブラリ拡張を回避し、数値的メッシュデータを生テキストとして扱い、LLM に直接入力可能にする。
  • 指示微調整用の教師あり微調整(SFT)データセットを構築し、テキスト-3D メッシュペア例および入れ違いのテキスト-3D 対話データを含める。
  • 収集済みの SFT データセット上で LLaMA-3.1-8B-Instruct モデルを微調整し、テキストからメッシュ生成、メッシュ理解、会話型 3D コンテンツ作成を可能にする。
  • 事前学習段階でテキスト形式の 3D チュートリアルやドキュメンテーションを学習することで、空間的推論能力を向上させる。
  • テキストとメッシュ出力の両方を一括で学習することで、1 回の推論プロセスで両モodal を同時に生成できるようにする。
Figure 2 : Overview of our method. Llama-Mesh unifies text and 3D mesh in a uniform format by representing the numerical values of vertex coordinates and face definitions of a 3D mesh as plain text. Our model is trained using text and 3D interleaved data end-to-end. Therefore, with a single, unified
Figure 2 : Overview of our method. Llama-Mesh unifies text and 3D mesh in a uniform format by representing the numerical values of vertex coordinates and face definitions of a 3D mesh as plain text. Our model is trained using text and 3D interleaved data end-to-end. Therefore, with a single, unified

実験結果

リサーチクエスチョン

  • RQ1大規模言語モデルは、トークナイザーもボキャブラリも変更せずに、自然言語プロンプトから直接 3D メッシュを生成できるか?
  • RQ2LLM がプレインテキスト形式の 3D メッシュデータを処理することで、空間的推論や幾何的構造をどれほど習得できるか?
  • RQ3統合された LLM は、高品質な 3D メッシュ生成能力を習得しながらも、強力なテキスト生成パフォーマンスを維持できるか?
  • RQ4テキスト-3D 対話データで微調整した後、LLM は自然言語を用いて 3D メッシュをどれほど理解し、記述できるか?
  • RQ5事前学習済み LLM に対して微調整のみで、完全に訓練されたモデルと同等のメッシュ生成品質を達成できるか?

主な発見

  • LLaMA-Mesh は、MeshXL や Unique3D といった専用モデルと同等のメッシュ生成品質を、定性的および定量的比較によって裏付けられた。
  • モデルは、芸術家のようなトポロジーを備えた多様で高品質な 3D メッシュを、テキストプロンプトから生成し、細かな幾何的ディテールや複雑な形状を再現できる。
  • SFT データセットでの微調整により、会話形式の文脈でテキストと 3D メッシュの入れ違い出力を生成できるようになり、インタラクティブな 3D コンテンツ作成を支援する。
  • メッシュデータに対して大規模なトランスフォーマー モデルを完全から訓練するのと比較して、トレーニングの計算コストを削減でき、事前学習済み LLM を効率的に活用できる。
  • 微調整後も言語生成パフォーマンスは強く維持されているが、わずかな言語能力の低下が観察されたため、より優れた指示データで改善の余地があることが示唆された。
  • 本手法により、1 つのモデル内で 3D メッシュ生成と言語理解が統合され、アーキテクチャ的・ボキャブラリ的変更なしにマルチモーダル生成の実現可能性が示された。
Figure 3 : Gallery of generations from Llama-Mesh . We can generate high-quality and diverse meshes with artist-like created topology.
Figure 3 : Gallery of generations from Llama-Mesh . We can generate high-quality and diverse meshes with artist-like created topology.

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。