Introduction
Creating 3D wireframes—the "skeletons" of 3D models—is a fundamental task in computer graphics and architecture. While generative AI has revolutionized image and text synthesis, 3D wireframe generation remains a significant challenge. Traditional models often treat vertices and edges as independent sequences, leading to structural incoherence like "floating" lines or disconnected rooms. Furthermore, geometric primitives lack a natural inherent order, unlike the sequential nature of language.
This research introduces a novel autoregressive model that addresses these issues by treating wireframes as sequences of "wires" (line segments) organized by topological connectivity and semantic meaning.
Methodology: From Points to Wires
The proposed approach moves away from point-by-point generation toward a "wire-based" pipeline consisting of two primary stages.
Stage 1: Learning the Wire Vocabulary
Instead of predicting raw coordinates, the model first learns a discrete "vocabulary" of line segments using a Graph-based Autoencoder. A Graph Convolutional Network (GCN) captures local geometry, while a Local Multi-Head (LMH) Attention mechanism models global relationships between wires. To discretize this complex 3D geometry for a Transformer, the researchers employ Lookup-Free Quantization (LFQ), mapping wires to indices in a learned codebook.
Stage 2: The Semantic Transformer
With a learned vocabulary, a Transformer-based decoder predicts the next wire in a sequence. To solve the ordering problem, the wireframe is treated as a graph, and a Breadth-First Search (BFS) traversal is used to sequence the wires. This ensures the model generates all parts of a single semantic component (e.g., a specific room) before moving to the next, maintaining structural logic throughout the generation process.
Key Insights: Topology as Language
A core innovation of this work is the realization that modeling line segments as primary units inherently maintains connectivity. By using BFS to sequence these wires, the model effectively translates 3D spatial relationships into a 1D sequence that a Transformer can process without losing neighborhood context.
Because the model generates components in a structured sequence, the resulting wireframes are "pre-segmented." This semantic awareness allows for easy manipulation of specific architectural elements, such as toggling the roof or modifying internal room layouts independently.
Datasets and Evaluation
To train and validate the model, the authors developed the 3D House Wireframe Dataset, comprising approximately 78,000 high-quality wireframes derived from 2D RPLAN layouts using "straight skeleton" algorithms for roof generation. They also utilized a subset of the ABC Dataset to test generalization to non-architectural planar shapes.
The model significantly outperforms existing baselines like PolyGen and MeshGPT. In terms of structural validity, the model achieved a "Three-Line-Connected Vertex Proportion" (3L-CVP) of 99.26%, compared to 70-75% for baselines. Furthermore, in blind user studies, participants preferred the topological rationality of this model's outputs over 80% of the time.
Conclusion and Future Work
By integrating semantic structure and topological ordering into the generative process, this research provides a robust framework for creating complex, structurally sound 3D wireframes. Future work aims to expand the model's capabilities to include conditioning on 2D images or point clouds and integrating deeper architectural constraints, such as building codes and multi-story dependencies.
Summary updated