arXiv:2611.03143cs.CVNov 2026

Manuscript Offprint

arXiv:2611.03143

Visual-to-Executable Procedural Reconstruction of Buildings

Zichong Zhu, Zhihao Liu, Andrei Sharf, Zhanglin Cheng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Procedural modeling offers compact, editable, and reusable representations for architectural content, but building such models still depends heavily on manually authored grammars. We study image-based procedural building reconstruction from in-the-wild images, with the goal of recovering an executable procedural description that can be instantiated as an editable 3D building asset. Because a single image provides only partial and view-dependent evidence, we focus on recovering the dominant visible facade(s) and attach the recovered facade program to a simple mass model for building-level instantiation. Our method decomposes this task into two structured prediction stages. First, a Global Structure Layout Tree recovers facade-scale split-and-repeat organization through a fine-tuned layout model with render-guided visual-symbolic reflection. Second, a Component Parameterization schema maps representative facade tiles to structured procedural attributes for local architectural component synthesis. These two representations are then deterministically compiled into executable Computer Generated Architecture (CGA) programs, avoiding the brittleness of direct low-level program generation. Experiments show that the proposed framework handles both regular facades and challenging in-the-wild images, while maintaining high structural consistency, procedural executability, and fine-grained architectural detail. The recovered programs further enable controllable and reusable 3D building asset generation.

1 Introduction

Procedural modeling is a compelling paradigm for architectural content creation. Buildings are naturally composed of repeated elements, hierarchical subdivisions, and parameterized components, making procedural descriptions particularly well-suited to their structure [Wonka et al., 2003, Müller et al., 2006]. Compared with explicit geometry or purely neural representations [Mildenhall et al., 2021, Kerbl et al., 2023, Poole et al., 2023], procedural descriptions are compact, editable, and reusable, making them attractive for scalable and controllable 3D building asset generation. Yet, constructing such models still largely depends on manually authored grammars and domain expertise, which severely limits their practical scalability.

In this paper, we study image-based procedural building reconstruction from an in-the-wild image. Our goal is to recover an executable and editable procedural description that can be instantiated as a 3D building asset. Since a single image provides only partial and view-dependent evidence, we focus on the dominant visible facade(s) and treat the recovered program as a procedural interface for controllable building asset generation, while unseen geometry is instantiated using simple procedural completion rules.

*Corresponding author: zl.cheng@siat.ac.cn

Preprint.

Existing approaches only partially address this goal. Facade parsing methods recover semantic labels or dense structural cues, but do not produce editable or executable procedural programs. Classical inverse procedural modeling methods exploit architectural regularity, but typically assume rectified views, segmented layouts, or predefined grammar families. More recently, learning-based and LLM/VLM-based approaches suggest the possibility of image-to-program prediction, yet direct low-level program generation remains brittle because valid procedural programs are non-unique, tightly constrained by grammar validity, and hard to verify during prediction.

Our key observation is that the difficulty of this problem lies not only in generating code, but in bridging ambiguous visual evidence and execution-constrained procedural representations. The same building facade may admit multiple valid procedural decompositions with no single correct answer, while in-the-wild images further introduce perspective distortion, occlusion, and partial visibility, making it difficult to infer a clean orthogonal split-and-repeat scaffold directly from raw RGB evidence. We therefore avoid direct low-level image-to-code generation and instead cast the problem as verifiable image-to-structure and image-to-attributes prediction, followed by deterministic compilation into executable programs.

This formulation raises four coupled challenges. First, facade-scale organization is hierarchical and non-unique: the same facade may admit different split orders, repeat abstractions, or grouping strategies, making direct supervision on a single low-level program unstable. Second, in-the-wild images provide incomplete and view-distorted observations: perspective effects, occlusion, illumination variation, and partial visibility make it difficult to infer a clean orthogonal split-and-repeat scaffold from a non-rectified image. Third, local architectural elements such as windows, entrances, arches, sills, stairs, and hardware must be recovered as procedural parameters rather than merely detected as visual instances. Fourth, the recovered global scaffold and local components must be compositionally compatible and directly executable. A visually plausible output is insufficient if it violates grammar constraints or cannot be compiled.

To address these challenges, we propose a hierarchical neuro-symbolic framework with two structured intermediate representations. At the global level, we recover a Global Structure Layout Tree that captures facade-scale split-and-repeat organization and is iteratively refined through a render-guided visual-symbolic reflection process, making structural mismatches easier to identify and correct than direct symbolic comparison would allow. At the local level, we recover a Component Parameterization for representative repeated elements, mapping tile crops to structured attributes rather than raw procedural code. This design turns under-specified local geometry into a constrained and verifiable prediction problem.

The two levels are then assembled by deterministic compilers into executable CGA programs, producing a procedural building representation that is both editable and directly instantiable as a 3D asset. By separating global structural reasoning, local procedural grounding, and deterministic execution, our framework improves verifiability, robustness, and executability over direct low-level code generation.

Our contributions are threefold:

  1. We formulate in-the-wild image-based procedural building reconstruction as a two-level neuro-symbolic prediction problem and introduce a representation bridge consisting of a Global Structure Layout Tree and a Component Parameterization schema.

  2. We develop a render-guided visual feedback and symbolic repair mechanism for recovering global facade structure from incomplete and non-rectified observations.

  3. We develop a component-level inverse parameterization and deterministic compilation pipeline that assembles the recovered structure and local components into executable CGA programs for procedural 3D building asset generation.

References (13)