
论文:ChatHouseDiffusion:提示词引导的建筑平面图生成与编辑方法
DOI:https://doi.org/10.11918/202505066
3分钟视频介绍:
0
太长不看版
房子的建筑平面图往往需要建筑师和业主来回沟通、不断修改图纸,例如“卧室最好靠近客厅”,“卧室里面再增加一个储藏间”。反复改图成为设计师和业主矛盾的焦点,“完成版”、“最终版”、“最最终版”、“绝对不改版”、“绝对不改版1”、“绝对不改版2”、“最终确定不改版”、“打死不改版”等等名梗成为每位设计师心中永远的痛。
为了满足建筑平面设计和修改的需求,ChatHouseDiffusion融合大语言模型、图神经网络与扩散模型,把用户自然语言表达的设计需求转化为AI设计的输入信息,并提取房间拓扑关系信息,最后自动生成平面图,并支持局部替换和反复迭代修改,大幅提高了设计效率。

1
研究背景
建筑平面图是建筑设计的起点,也是最需要频繁修改的环节。以往设计中,建筑师需要依赖CAD工具一点点绘制,每次修改都要耗费大量时间。而对于普通业主而言,一般只能提出一些类似“书房采光要好”“卧室要安静”这样的自然语言描述需求,需要和设计师反复沟通和修改才能转化为最终的设计图纸。

房间布局设计调整过程繁琐复杂(本插图由GPT 5生成)
近年来,人工智能已经在平面图生成领域取得不少进展:生成对抗网络方法能自动生成房间布局;扩散模型则让布局生成更稳定、更自然;还有部分研究尝试引入交互功能,比如添加或删除房间。但现存方法仍然存在以下不足:(1)输入门槛高,通常需要用户先画好拓扑关系图,操作复杂;(2)交互能力弱,难以理解自然语言这种更直观的需求表达;(3)局部修改难,修改一个房间,往往会导致整体重新生成,难以保持一致性。针对这些问题,我们提出ChatHouseDiffusion以提高设计效率。
2
数据驱动AI在智能优化中的应用
ChatHouseDiffusion方法如图所示,主要可以分为两个部分:(1)基于大语言模型对自然语言房间设计条件的理解与解析;(2)基于扩散模型进行建筑平面图的条件生成与编辑。

2.1 设计意图解析
用户只需输入一句话需求,系统就会调用大语言模型,将其转化为JSON格式的结构化信息,清晰记录房间位置、大小和连接关系。

2.2 建筑平面图生成
为了理解房间之间的拓扑关系,本研究引入了Graphormer来捕捉房间之间的拓扑关系,并将其编码后作为设计条件输入扩散模型,在房间外轮廓约束下,扩散模型负责一步步“去噪”,逐渐生成符合需求的平面图。它不仅能保证整体布局合理,还能使细节呈现更为自然逼真

2.3 建筑平面图编辑
在ChatHouseDiffusion中,平面图是通过扩散模型一步步“去噪”生成的,过程里依赖交叉注意力图来确定“卧室”“厨房”等词对应的区域。如果采用传统方法,一旦修改条件(如把卧室挪到北边),就会导致整张图重画,其他房间也被打乱。因此ChatHouseDiffusion在生成时保存注意力图,编辑时在初始去噪阶段沿用原始注意力图,随后再启用修改后的注意力图,从而保证整体布局不受影响。

3
方法效果
在开源RPLAN数据集上,ChatHouseDiffusion展现出显著优势,其生成房间布局与建筑师设计房间布局基本一致。特别是在对设计输入进行人工解析的情况下,生成结果与真实标注的IoU达到0.8以上,这意味着随着大语言模型的持续进步,ChatHouseDiffusion的效果还会进一步提升。此外,它在生成之外还具有很强的修改能力。添加房间、删除房间、移动位置都能快速高效完成,且整体布局保持稳定,真正实现了人机协作。

4
开源平台
我们基于ChatHouseDiffusion搭建了一个开源平台,用户只需手绘外轮廓并输入简单的文字需求,系统就能快速生成建筑平面图,并支持后续的交互式编辑。平台集成了绘图、文本输入、自动生成与局部修改等功能,操作直观,轻松易用。相关代码可参考GitHub仓库:https://github.com/ChatHouseDiffusion/chathousediffusion

5
结语
ChatHouseDiffusion让建筑平面设计走向了“所言即所得”。从一句话到一张平面图,从整体生成到局部修改,它不仅展示了AI在建筑领域的潜力,也为我们勾勒出一个更高效、更自由的设计未来。
随着大语言模型的不断发展,我们也将继续探索大语言模型在建筑和结构设计中应用的可能性,欢迎各位专家、老师、同学共同交流探讨。
QQ群:
AI-structure-交流群:741840451
联络邮箱:
--End--
QQ群,AI-structure-交流群:741840451
商务问题请联系:
黄盛楠([email protected])
技术问题请联系:
廖文杰([email protected])
手把手教你使用AIstructure-Copilot-V0.4.0的新功能:(2) 剪力墙结构智能设计与优化(20250913)
手把手教你使用AIstructure-Copilot-V0.4.0的新功能:(1) 基于智能识图的CAD图纸前处理(20250912)
AIstructure-Copilot-V0.3.9:框架和框架-核心筒智能设计模块增加一键导出PKPM/YJK模型功能(20250828)
AIstructure-Copilot-V0.3.7:框架结构智能设计新增半框梁和次梁智能设计功能,软件用户界面设计更新(20250703)
2500→3000!AIstructure用户设计项目数突破3000个(20250609)
AIstructure-Copilot-V0.3.6:新增框架结构智能设计功能(20250606)
AIstructure用户设计项目数突破2500个!(20250314)
论文:生成式智能结构设计在建筑投标中的应用案例(20250218)
大家一起玩AI | AIstructure-API开放生态秀:基准方中参数化工具TigerKin实现智能生成设计(20250212)
AI-structure.com 2024年终总结(20241228)
0→2000!AIstructure用户设计项目突破2000个(2024/12/02)
独AI不如众AI,AIstructure二次开发接口API开放试用!(20241104)
AIstructure-Copilot V0.3.0 增加图层自动提取功能,墙梁联合优化改进设计效果(20241018)
AIstructure官网全面升级,英文版上线(20240909)
AIstructure-Copilot-V0.2.9 梁布置设计算法改进(20240830)
AIstructure-Copilot-v0.2.8软件全过程操作演示视频(20240809)
AIstructure-Copilot-V0.2.8软件使用温馨小贴士(20240726)
结构生成式智能设计AI-structure 2024上半年小结(20240628)
AIstructure-Copilot-v0.2.7技术背景(1):基于PKPM API的自动化建模和计算分析(20240522)
AIstructure-Copilot-v0.2.7:新增后处理功能,云端完成PKPM结构计算和AIstructure优化(20240520)
AIstructure-Copilot-v0.2.6:给马儿换上精饲料,AIstructure设计效果持续改善(20240511)
AIstructure-Copilot-v0.2.2:梁布置设计功能更新(20240308)
AIstructure-Copilot-v0.1.7功能更新:实现多标准层的PKPM/YJK自动建模(20231222)
AIstructure-Copilot实现“三驾马车”驱动:Diffusion Model智能设计上线!(20231103)
AIstructure-Copilot-v0.1.2更新:精细化考虑抗震设计条件影响的全新GNN版本,请您来试试(20230928)
ai-structure.com:剪力墙结构材料用量AI预测模块上线测试(20230731)
AIstructure-Copilot:嵌入CAD平台的结构智能设计助手(20230711)
建筑结构生成式智能设计在日内瓦国际发明展上获“评审团特别嘉许金奖”(20230519)
ai-structure.com:土木工程自然语言规则AI解译模块上线测试(20230513)
AI剪力墙设计问卷调查结果(20230508)
相关论文
Liao WJ, Lu XZ, Huang YL, Zheng Z, Lin YQ, Automated structural design of shear wall residential buildings using generative adversarial networks, Automation in Construction, 2021, 132: 103931. DOI: 10.1016/j.autcon.2021.103931.
Lu XZ, Liao WJ, Zhang Y, Huang YL, Intelligent structural design of shear wall residence using physics-enhanced generative adversarial networks, Earthquake Engineering & Structural Dynamics, 2022, 51(7): 1657-1676. DOI: 10.1002/eqe.3632.
Zhao PJ, Liao WJ, Xue HJ, Lu XZ, Intelligent design method for beam and slab of shear wall structure based on deep learning, Journal of Building Engineering, 2022, 57: 104838. DOI: 10.1016/j.jobe.2022.104838.
Liao WJ, Huang YL, Zheng Z, Lu XZ, Intelligent generative structural design method for shear-wall building based on “fused-text-image-to-image” generative adversarial networks, Expert Systems with Applications, 2022, 118530, DOI: 10.1016/j.eswa.2022.118530.
Fei YF, Liao WJ, Zhang S, Yin PF, Han B, Zhao PJ, Chen XY, Lu XZ, Integrated schematic design method for shear wall structures: a practical application of generative adversarial networks, Buildings, 2022, 12(9): 1295. DOI: 10.3390/buildings1209129.
Fei YF, Liao WJ, Huang YL, Lu XZ, Knowledge-enhanced generative adversarial networks for schematic design of framed tube structures, Automation in Construction, 2022, 144: 104619. DOI: 10.1016/j.autcon.2022.104619.
Zhao PJ, Liao WJ, Huang YL, Lu XZ, Intelligent design of shear wall layout based on attention-enhanced generative adversarial network, Engineering Structures, 2023, 274: 115170. DOI: 10.1016/j.engstruct.2022.115170.
Zhao PJ, Liao WJ, Huang YL, Lu XZ, Intelligent beam layout design for frame structure based on graph neural networks, Journal of Building Engineering, 2023, 63, Part A: 105499. DOI: 10.1016/j.jobe.2022.105499.
Zhao PJ, Liao WJ, Huang YL, Lu XZ, Intelligent design of shear wall layout based on graph neural networks, Advanced Engineering Informatics, 2023, 55:101886, DOI: 10.1016/j.aei.2023.101886
Liao WJ, Wang XY, Fei YF, Huang YL, Xie LL, Lu XZ, Base-isolation design of shear wall structures using physics-rule-co-guided self-supervised generative adversarial networks, Earthquake Engineering & Structural Dynamics, 2023, 52(11): 3281-3303. DOI:10.1002/eqe.3862.
Feng YT, Fei YF, Lin YQ, Liao WJ, Lu XZ, Intelligent generative design for shear wall cross-sectional size using rule-embedded generative adversarial network, Journal of Structural Engineering-ASCE, 2023, 149(11). 04023161. DOI:10.1061/JSENDH.STENG-12206.
Fei YF, Liao WJ, Lu XZ, Guan H, Knowledge-enhanced graph neural networks for construction material quantity estimation of reinforced concrete buildings, Computer-Aided Civil and Infrastructure Engineering, 2024, 39(4): 518-538. DOI: 10.1111/mice.13094.
Zhao PJ, Fei YF, Huang YL, Feng YT, Liao WJ, Lu XZ, Design-condition-informed shear wall layout design based on graph neural networks, Advanced Engineering Informatics, 2023, 58: 102190. DOI: 10.1016/j.aei.2023.102190.
Fei YF, Liao WJ, Lu XZ, Taciroglu E, Guan H, Semi-supervised learning method incorporating structural optimization for shear-wall structure design using small and long-tailed datasets, Journal of Building Engineering, 2023, 79: 107873. DOI:10.1016/j.jobe.2023.107873
Liao WJ, Lu XZ, Fei YF, Gu Y, Huang YL, Generative AI design for building structures, Automation in Construction, 2024, 157: 105187. DOI: 10.1016/j.autcon.2023.105187
Zhao PJ, Liao WJ, Huang YL, Lu XZ, Beam layout design of shear wall structures based on graph neural networks, Automation in Construction, 2024, 158: 105223. DOI: 10.1016/j.autcon.2023.105223
Qin SZ, Liao WJ, Huang SN, Hu KG, Tan Z, Gao Y, Lu XZ, AIstructure-Copilot: assistant for generative AI-driven intelligent design of building structures, Smart Construction, 2024, DOI: 10.55092/sc20240001
Gu Y, Huang YL, Liao WJ, Lu XZ, Intelligent design of shear wall layout based on diffusion models, Computer-Aided Civil and Infrastructure Engineering, 2024, 39(23):3610-3625. DOI: 10.1111/mice.13236
Fei YF, Liao WJ, Zhao PJ, Lu X*, Guan H, Hybrid surrogate model combining physics and data for seismic drift estimation of shear-wall structures, Earthquake Engineering & Structural Dynamics, 2024, 53(10): 3093-3112. DOI: 10.1002/eqe.4151
Han J, Lu XZ, Gu Y, Cai Q, Xue HJ, Liao WJ, Optimized data representation and understanding method for the intelligent design of shear wall structures, Engineering Structures, 2024, 315: 118500. DOI: 10.1016/j.engstruct.2024.118500
Qin SZ, Guan H, Liao WJ, Gu Y, Zheng Z, Xue HJ, Lu XZ, Intelligent design and optimization system for shear wall structures based on large language models and generative artificial intelligence, Journal of Building Engineering, 2024, 95: 109996. DOI: 10.1016/j.jobe.2024.109996
Wang ZH, Yue Y, Chen Y, Liao WJ, Li CS, Hu KG, Tan Z, Lu XZ. Expert experience-embedded evaluation and decision-making method for intelligent design of shear wall structures. Journal of Computing in Civil Engineering-ASCE, 2025, 39(1). DOI: 10.1061/JCCEE5.CPENG-6076
Tan Z, Qin SZ, Hu KG, Liao WJ, Gao Y, Lu XZ, Intelligent generation and optimization method for the retrofit design of RC frame structures using buckling-restrained braces, Earthquake Engineering & Structural Dynamics, 2025, 54(2): 530-547. DOI: 10.1002/eqe.4268
Yu Y, Chen Y, Liao WJ, Wang ZH, Zhang SL, Kang YJ, Lu XZ, Intelligent generation and interpretability analysis of shear wall structure design by learning from multidimensional to high-dimensional features, Engineering Structures, 2025, 325: 119472. DOI: 10.1016/j.engstruct.2024.119472
Qin SZ, Liao WJ, Huang YL, Zhang Shulu, Gu Y, Han J, Lu XZ, Intelligent design for component size generation in reinforced concrete frame structures using heterogeneous graph neural networks, Automation in Construction, 2025, 171: 105967.
Xia JK, Liao WJ, Han B, Zhang SL, Lu XZ, Intelligent co-design of shear wall and beam layouts using a graph neural network, Automation in Construction, 2025, 172: 106024.
Qin SZ, Liao WJ, Tan Z, Hu KG, Gao Y, Lu XZ, Comparative analysis of intelligent retrofit design methods of RC frame structures using buckling-restrained braces. Bulletin of Earthquake Engineering, 2025, DOI: 10.1007/s10518-025-02164-3
Liao WJ, Zhang ZL, Liu B, Lu XZ, Liu DF, Liu Q, Duan ZJ, Liu C, Intelligent zoning design of concrete-faced rockfill dams using image-parameter fusion enhanced generative adversarial networks, Engineering Structures, 2025, 339: 120662. DOI: 10.1016/j.engstruct.2025.120662
Qin SZ, Fei YF, Liao WJ, Lu XZ*, Leveraging data-driven artificial intelligence in optimization design for building structures: A review, Engineering Structures, 2025, 341: 120810. DOI: 10.1016/j.engstruct.2025.120810
Fei YF, Lu XZ, Liao WJ, Guan H, Data enhancement for generative AI design of shear wall structures incorporating structural optimization and diffusion models, Advances in Structural Engineering, 2025, DOI: 10.1177/13694332251353614

学术报告视频
论文和专利
---End--