🤖 AI Summary
Large language models (LLMs) struggle to generate industrial manufacturing simulation scenes that satisfy precise dimensional and spatial constraints.
Method: This paper proposes an encoder-based agent framework for industrial scene generation. It innovatively transforms LLMs into C# code-generation agents, integrating structured layout planning, automated constraint validation, and iterative refinement. We construct SceneInstruct—a domain-specific instruction-tuning dataset for industrial scenes—and perform lightweight fine-tuning on Llama3.1-70B.
Contribution/Results: The approach enables computationally grounded, verifiable, and iterative scene modeling. On real-world industrial tasks, it achieves an 81.0% scene generation success rate—approaching the performance of GPT-4o—while significantly improving geometric and spatial fidelity. All code and data are publicly released.
📝 Abstract
The modeling of industrial scenes is essential for simulations in industrial manufacturing. While large language models (LLMs) have shown significant progress in generating general 3D scenes from textual descriptions, generating industrial scenes with LLMs poses a unique challenge due to their demand for precise measurements and positioning, requiring complex planning over spatial arrangement. To address this challenge, we introduce SceneGenAgent, an LLM-based agent for generating industrial scenes through C# code. SceneGenAgent ensures precise layout planning through a structured and calculable format, layout verification, and iterative refinement to meet the quantitative requirements of industrial scenarios. Experiment results demonstrate that LLMs powered by SceneGenAgent exceed their original performance, reaching up to 81.0% success rate in real-world industrial scene generation tasks and effectively meeting most scene generation requirements. To further enhance accessibility, we construct SceneInstruct, a dataset designed for fine-tuning open-source LLMs to integrate into SceneGenAgent. Experiments show that fine-tuning open-source LLMs on SceneInstruct yields significant performance improvements, with Llama3.1-70B approaching the capabilities of GPT-4o. Our code and data are available at https://github.com/THUDM/SceneGenAgent .