Papers › Text-to-Code Generation for Modular Building Layouts in Building Information Modeling

Text-to-Code Generation for Modular Building Layouts in Building Information Modeling

28 Sep 2025NeurIPSarXiv:2509.23713added by Syntology

Yinyi Wei, Xiao Li

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

We present Text2MBL, a text-to-code generation framework that generates executable Building Information Modeling (BIM) code directly from textual descriptions of modular building layout (MBL) design. Unlike conventional layout generation approaches that operate in 2D space, Text2MBL produces fully parametric, semantically rich BIM layouts through on-the-fly code instantiation. To address MBLs' unique challenges due to their hierarchical three-tier structure: modules (physical building blocks), units (self-contained dwellings), and rooms (functional spaces), we developed an object-oriented code architecture and fine-tuned large language models to output structured action sequences in code format. To train and evaluate the framework, we curated a dataset of paired descriptions and ground truth layouts drawn from real-world modular housing projects. Performance was assessed using metrics for executable validity, semantic fidelity, and geometric consistency. By tightly unifying natural language understanding with BIM code generation, Text2MBL establishes a scalable pipeline from high-level conceptual design to automation-ready modular construction workflows. Our implementation is available at https://github.com/CI3LAB/Text2MBL.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2509.23713")

Code

Syntology Ran 29 of 36 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · violated contract; 25 ran · our draft was wrong; 2 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: found in paper text by Syntology: 36 samples from 1 repository, 29 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

CI3LAB/Text2MBL found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

36 samples harvested; 29 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
25ran · our draft was wrong
2ran · fixture could not drive it
1ran
7unverified

Licence: 36 of the 36 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from CI3LAB/Text2MBL. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

assign_rooms CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 85d526d74c603a7d · report
compare_list CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · violated contract no licence file found · pointer only · 6ff603f4431aae28 · report
convert_list_to_str CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 58239a33feb7b387 · report
determine_remaining_space CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 068a87b0698a1fed · report
extract_list_from_str CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 61e536238dcc39a7 · report
fulfill_for_hole CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 99230c6cde780fb1 · report
fulfill_for_merge CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 6fd01f356e743947 · report
fulfill_for_new_module CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 1de89e0a369ea417 · report
fulfill_for_new_unit CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 17af9631a96b5bda · report
fulfill_for_split CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · d1e206c0373e1156 · report
get_code_for_door CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 5bc2352ab25665e6 · report
get_code_for_merge_modules CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 40b8794fc77f69d4 · report
get_code_for_modules CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran no licence file found · pointer only · 2cd9e34730d6eb31 · report
get_code_for_split_module CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 588b8a88df919016 · report
get_code_for_unit CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 6ecffab431c9f53f · report
get_code_values CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · ec0a205b9bfcdd6e · report
get_num CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 4853296eefcf01c5 · report
get_random_door_set CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 13252e8a6e05ad7e · report
get_random_name CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 090156e411a0413a · report
get_random_name_for_unit CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 9fbc479e45b68944 · report
get_random_open CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 7ecbb1291d1d1405 · report
get_random_ratio CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · a9929f772db23ce5 · report
get_random_split_direction CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · c76734fb81555f04 · report
get_sample CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · 6b4d21d29a26e4c1 · report
get_split_list CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · d4b8bf5bda207e01 · report
parse_csharp_line CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 54c093fc0fb03bf2 · report
parse_parametes CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 8684c455565c264b · report
snake2str CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 92b98f2fe4d3d9a8 · report
str2snake CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · feb11ea865a05f87 · report
convert_code_to_language CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology unverified no licence file found · pointer only · 9ab49ad5ee4c5b56 · report
fulfill_for_door CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology unverified no licence file found · pointer only · cfacd9e51eb1aec7 · report
fulfill_for_new_room CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology unverified no licence file found · pointer only · 67495dfcbea6b41b · report
fulfill_template CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology unverified no licence file found · pointer only · 213a596b56dd6652 · report
get_all_codes CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology unverified no licence file found · pointer only · d69c0a17387e74cb · report
get_code_for_hole CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology unverified no licence file found · pointer only · 3c26f0c5179c2a83 · report
get_code_for_room CI3LAB/Text2MBL/Data_and_code/utils/fully_synthetic.py found in paper text by Syntology unverified no licence file found · pointer only · a6067a1c70185d17 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2509.23713, was issued in September 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections