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 ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 36 code samples harvested from 1 repository linked to this paper: 29 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 1 violated, 1 with no contract checked; 27 where Syntology's instrument failed) · 7 unverified. Where Syntology's instrument failed: 25 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 36 samples from 1 repository, 29 ran (2 with no instrument failure; 27 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

CI3LAB/Text2MBL found in paper text by SyntologySyntology: 36 samples, 29 ran (27 instrument-failed) · 7 unverified 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 (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 1 violated, 1 with no contract checked; 27 where Syntology's instrument failed) · 7 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · violated contract
25ran · our draft was wrong
2ran; the contract check could not run
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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

CI3LAB/Text2MBL found in paper text by Syntology 36 samples, 29 ran (27 instrument-failed) · 7 unverified
assign_rooms Data_and_code/utils/fully_synthetic.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 85d526d74c603a7d · report fixture: signature modules:list/1/str · returned dict · level recorded 2026-09-22
compare_list Data_and_code/utils/fully_synthetic.py ran · violated contract no licence file found · pointer only · 6ff603f4431aae28 · report fixture: signature lst_1:list/1/int, lst_2:list/1/int · returned bool · level recorded 2026-09-22
convert_list_to_str Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 58239a33feb7b387 · report fixture: signature lst:list/1/str, no_space:bool/0/bool · returned str · level recorded 2026-09-22
determine_remaining_space Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 068a87b0698a1fed · report fixture: signature module:dict/0/? · returned list · level recorded 2026-09-22
extract_list_from_str Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 61e536238dcc39a7 · report fixture: signature text:str/0/str · returned list · level recorded 2026-09-22
fulfill_for_hole Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 99230c6cde780fb1 · report fixture: signature parsed:dict/0/? · returned str · level recorded 2026-09-22
fulfill_for_merge Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 6fd01f356e743947 · report fixture: signature parsed:dict/0/? · returned str · level recorded 2026-09-22
fulfill_for_new_module Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 1de89e0a369ea417 · report fixture: signature parsed:dict/0/? · returned str · level recorded 2026-09-22
fulfill_for_new_unit Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 17af9631a96b5bda · report fixture: signature parsed:dict/0/? · returned str · level recorded 2026-09-22
fulfill_for_split Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · d1e206c0373e1156 · report fixture: signature parsed:dict/0/? · returned str · level recorded 2026-09-22
get_code_for_door Data_and_code/utils/fully_synthetic.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 5bc2352ab25665e6 · report fixture: signature current_modules:list/1/str, current_rooms:list/1/str · returned list · level recorded 2026-09-22
get_code_for_merge_modules Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 40b8794fc77f69d4 · report fixture: signature modules:list/1/str · returned list · level recorded 2026-09-22
get_code_for_modules Data_and_code/utils/fully_synthetic.py ran no licence file found · pointer only · 2cd9e34730d6eb31 · report fixture: returned tuple · level recorded 2026-09-22
get_code_for_split_module Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 588b8a88df919016 · report fixture: signature object_name:str/0/str · returned tuple · level recorded 2026-09-22
get_code_for_unit Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 6ecffab431c9f53f · report fixture: signature current_modules:list/1/str · returned tuple · level recorded 2026-09-22
get_code_values Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · ec0a205b9bfcdd6e · report fixture: signature d:dict/0/? · returned list · level recorded 2026-09-22
get_num in 7 papers Data_and_code/utils/fully_synthetic.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 4853296eefcf01c5 · report fixture: signature rrange:list/1/int · returned int · level recorded 2026-09-22
get_random_door_set Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 13252e8a6e05ad7e · report fixture: signature text:str/0/str, set:str/0/str, set_dimension:int/0/int · returned str · level recorded 2026-09-22
get_random_name Data_and_code/utils/fully_synthetic.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 090156e411a0413a · report fixture: signature name:str/0/str · returned str · level recorded 2026-09-22
get_random_name_for_unit Data_and_code/utils/fully_synthetic.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 9fbc479e45b68944 · report fixture: signature name:str/0/str · returned str · level recorded 2026-09-22
get_random_open Data_and_code/utils/fully_synthetic.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 7ecbb1291d1d1405 · report fixture: signature text:str/0/str, open:str/0/str · returned str · level recorded 2026-09-22
get_random_ratio Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · a9929f772db23ce5 · report fixture: signature ratio:str/0/str · returned str · level recorded 2026-09-22
get_random_split_direction Data_and_code/utils/fully_synthetic.py ran · our draft was wrong fingerprinted no licence file found · pointer only · c76734fb81555f04 · report fixture: signature direction:str/0/str · returned str · level recorded 2026-09-22
get_sample in 14 papers Data_and_code/utils/fully_synthetic.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · 6b4d21d29a26e4c1 · report fixture: signature rrange:list/1/int, k:int/0/int · returned list · level recorded 2026-09-22
get_split_list Data_and_code/utils/fully_synthetic.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · d4b8bf5bda207e01 · report fixture: signature lst:list/1/int, n:int/0/int · returned list · level recorded 2026-09-22
parse_csharp_line Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 54c093fc0fb03bf2 · report fixture: signature code:str/0/str · returned dict · level recorded 2026-09-22
parse_parametes Data_and_code/utils/fully_synthetic.py ran · our draft was wrong no licence file found · pointer only · 8684c455565c264b · report fixture: signature params_str:str/0/str · returned dict · level recorded 2026-09-22
snake2str Data_and_code/utils/fully_synthetic.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 92b98f2fe4d3d9a8 · report fixture: signature s:str/0/str · returned str · level recorded 2026-09-22
str2snake Data_and_code/utils/fully_synthetic.py ran · our draft was wrong fingerprinted no licence file found · pointer only · feb11ea865a05f87 · report fixture: signature s:str/0/str · returned str · level recorded 2026-09-22
convert_code_to_language Data_and_code/utils/fully_synthetic.py unverified no licence file found · pointer only · 9ab49ad5ee4c5b56 · report
fulfill_for_door Data_and_code/utils/fully_synthetic.py unverified no licence file found · pointer only · cfacd9e51eb1aec7 · report
fulfill_for_new_room Data_and_code/utils/fully_synthetic.py unverified no licence file found · pointer only · 67495dfcbea6b41b · report
fulfill_template Data_and_code/utils/fully_synthetic.py unverified no licence file found · pointer only · 213a596b56dd6652 · report
get_all_codes Data_and_code/utils/fully_synthetic.py unverified no licence file found · pointer only · d69c0a17387e74cb · report
get_code_for_hole Data_and_code/utils/fully_synthetic.py unverified no licence file found · pointer only · 3c26f0c5179c2a83 · report
get_code_for_room Data_and_code/utils/fully_synthetic.py unverified no licence file found · pointer only · a6067a1c70185d17 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for Text2MBL (graph method: Text2MBL). 36 bricks; individually on a fixture: 29 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 1 violated, 1 with no contract checked; 27 where Syntology's instrument failed) · 7 unverified. The assembly has not been run end-to-end.

  1. get_all_codes entry · level 0 · unverified · d69c0a17387e74cb
  2. convert_code_to_language helper · level 0 · unverified · 9ab49ad5ee4c5b56
  3. get_code_for_door helper · level 1 · ran · our draft was wrong · 5bc2352ab25665e6
  4. get_code_for_hole helper · level 0 · unverified · 3c26f0c5179c2a83
  5. get_code_for_modules helper · level 1 · ran · 2cd9e34730d6eb31
  6. get_code_for_room helper · level 0 · unverified · a6067a1c70185d17
  7. get_code_for_unit helper · level 1 · ran · our draft was wrong · 6ecffab431c9f53f
  8. fulfill_template helper · level 0 · unverified · 213a596b56dd6652
  9. get_code_values helper · level 1 · ran · our draft was wrong · ec0a205b9bfcdd6e
  10. parse_csharp_line helper · level 1 · ran · our draft was wrong · 54c093fc0fb03bf2
  11. get_num helper · level 1 · ran · our draft was wrong · 4853296eefcf01c5
  12. get_code_for_merge_modules helper · level 1 · ran · our draft was wrong · 40b8794fc77f69d4
  13. get_code_for_split_module helper · level 1 · ran · our draft was wrong · 588b8a88df919016
  14. get_sample helper · level 1 · ran; the contract check could not run (RAISES) · 6b4d21d29a26e4c1
  15. str2snake helper · level 1 · ran · our draft was wrong · feb11ea865a05f87
  16. assign_rooms helper · level 1 · ran · our draft was wrong · 85d526d74c603a7d
  17. snake2str helper · level 1 · ran · our draft was wrong · 92b98f2fe4d3d9a8
  18. get_split_list helper · level 1 · ran; the contract check could not run (RAISES) · d4b8bf5bda207e01
  19. fulfill_for_door helper · level 0 · unverified · cfacd9e51eb1aec7
  20. fulfill_for_hole helper · level 1 · ran · our draft was wrong · 99230c6cde780fb1
  21. fulfill_for_merge helper · level 1 · ran · our draft was wrong · 6fd01f356e743947
  22. fulfill_for_new_module helper · level 1 · ran · our draft was wrong · 1de89e0a369ea417
  23. fulfill_for_new_room helper · level 0 · unverified · 67495dfcbea6b41b
  24. fulfill_for_new_unit helper · level 1 · ran · our draft was wrong · 17af9631a96b5bda
  25. fulfill_for_split helper · level 1 · ran · our draft was wrong · d1e206c0373e1156
  26. parse_parametes helper · level 1 · ran · our draft was wrong · 8684c455565c264b
  27. determine_remaining_space helper · level 1 · ran · our draft was wrong · 068a87b0698a1fed
  28. compare_list helper · level 1 · ran · violated contract · 6ff603f4431aae28
  29. get_random_door_set helper · level 1 · ran · our draft was wrong · 13252e8a6e05ad7e
  30. get_random_name helper · level 1 · ran · our draft was wrong · 090156e411a0413a
  31. convert_list_to_str helper · level 1 · ran · our draft was wrong · 58239a33feb7b387
  32. extract_list_from_str helper · level 1 · ran · our draft was wrong · 61e536238dcc39a7
  33. get_random_open helper · level 1 · ran · our draft was wrong · 7ecbb1291d1d1405
  34. get_random_name_for_unit helper · level 1 · ran · our draft was wrong · 9fbc479e45b68944
  35. get_random_ratio helper · level 1 · ran · our draft was wrong · a9929f772db23ce5
  36. get_random_split_direction helper · level 1 · ran · our draft was wrong · c76734fb81555f04

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2509.23713") returns these assemblies with each brick's role and wiring (how to connect).

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