Enhancing the Sustainability of AI Technology in Architectural Design: Improving the Matching Accuracy of Chinese-Style Buildings
Abstract
:1. Introduction
1.1. Existing Problems
1.2. The Sustainability of This Technological Approach
1.3. Materials and Methods
1.4. The Significance of the Research
2. Literature Review
2.1. Cultural Significance of Traditional Chinese Architecture
2.2. Application of AI in Architectural Design
2.3. The Principles of Generative AI
Algorithm 1. Pseudo-code for Training a Diffusion Model |
Input: |
Pre-trained Stable Diffusion model |
Subject images ‘subject_images’ |
Class images ‘class_images’ |
Output: |
Fine-tuned model |
1: Load pre-trained Stable Diffusion model; |
2: Load images of subject and class; |
3: Generate text embeddings for subject and class using text encoder; |
4: for ‘epoch = 1, 2, …, num_epochs’ do |
5: for ‘subject_image’, ‘class_image’ in zip (subject_data, class_data) do |
6: Encode subject and class images into latent space; |
7: Add noise to the latents; |
8: Perform denoising step on the noisy latents using subject and class embeddings; |
9: Calculate loss for subject and class; |
10: Add regularization term to the class loss; |
11: Backpropagate and optimize; |
12: end for |
13: Print epoch loss; |
14: end for |
15: Save the fine-tuned model; |
Algorithm 2. GAN Training Process |
Input: Real samples S_real, Generator G, Discriminator D, Number of epochs num_epochs |
Output: Trained Generator G, Trained Discriminator D |
1. Initialize Generator G and Discriminator D |
2. Define loss function and optimizers for G and D |
3. for epoch = 1, 2, …, num_epochs do |
4. for each batch of real samples S_real do |
5. Generate random noise z = torch.randn(batch_size, noise_dim) |
6. Generate fake samples S_fake = G(z) |
7. Train Discriminator D: |
8. Calculate loss for real samples: |
loss_D_real = loss_function(D(S_real), real_labels) |
9. Calculate loss for fake samples: |
loss_D_fake = loss_function(D(S_fake.detach()), fake_labels) |
10. Total Discriminator loss: |
loss_D = (loss_D_real + loss_D_fake)/2 |
11. Update Discriminator D parameters: |
optimizer_D.zero_grad() |
loss_D.backward() |
optimizer_D.step() |
12. Train Generator G: |
13. Generate fake samples S_fake = G(z) |
14. Calculate Generator loss: |
loss_G = loss_function(D(S_fake), real_labels) |
15. Update Generator G parameters: |
optimizer_G.zero_grad() |
loss_G.backward() |
optimizer_G.step() |
16. end for |
17. Output training loss loss_D, loss_G |
18. end for |
Return: Trained Generator G, Trained Discriminator D |
3. The AI Training Method
- The original model has a poor response to this design style;
- The images used for training should have a clear and distinct design style;
3.1. Integration of Architectural Training Datas
3.2. Analysis of the Model-Training Convergence Process
3.3. The Selection of Experimental Subjects in DreamBooth
- (1)
- Although Gaudí’s career spans different stylistic periods, his works exhibit a unique “architectural marvel”, with a strong personal style. In world architecture history, Gaudí’s works are unparalleled. Thus, we use Gaudí’s works for AI model training and experimentation to intuitively assess our methodology’s effectiveness.
- (2)
- Gaudí’s era marked the transition from classical to modern architecture, blending both elements in his works. Similarly, this study aims to present Chinese traditional architectural styles using AI technology, inevitably incorporating modern features due to functional modernization. This fusion parallels Gaudí’s work.
4. Results
4.1. Visual Evaluation Metrics
4.2. Precision and Controllability Enhancement Comparison
4.3. Evaluation of Traditional Architectural Design
- Assessment of the restoration extent of the Huizhou architecture style and its landscape.
- Evaluation of whether the generated Huizhou architecture designs meet the rationality requirements for spatial structure as stipulated in the original project brief.
5. Discussion
5.1. Methodological Practices in the Application of Traditional Chinese Architecture
5.2. Challenges in Traditional Chinese Architectural Design
5.3. Evaluation of Spatial Rationality
5.4. Improving Design Efficiency
6. Conclusions
6.1. Application and Value
6.2. Future Research
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Steinhardt, N.S. Chinese architectural history in the twenty-first century. J. Soc. Archit. Hist. 2014, 73, 38–60. [Google Scholar] [CrossRef]
- Chen, F. Traditional architectural forms in market oriented Chinese cities: Place for localities or symbol of culture? Habitat Int. 2011, 35, 410–418. [Google Scholar] [CrossRef]
- Liu, Q.; Liao, Z.; Wu, Y.; Mulugeta Degefu, D.; Zhang, Y. Cultural sustainability and vitality of Chinese vernacular architecture: A pedigree for the spatial art of traditional villages in Jiangnan region. Sustainability 2019, 11, 6898. [Google Scholar] [CrossRef]
- Sicheng, L. Why Study Chinese Architecture? J. Soc. Archit. Hist. 2014, 73, 8–11. [Google Scholar] [CrossRef]
- Sun, L. The evolution of Liang Sicheng’s construction of Chinese architectural traditions in his drawings (1920s–1930s). Front. Archit. Res. 2023, 12, 319–336. [Google Scholar] [CrossRef]
- Wang, Y.; Woods, P.C.; Koo, A.C. Exploring the Evolution and Inheritance of Traditional Chinese Architectural Forms in Jiehua. Int. J. Technol. 2023, 14, 1196. [Google Scholar] [CrossRef]
- Keswick, M. The Chinese Garden: History, Art, and Architecture; Harvard University Press: Cambridge, CA, USA, 2003. [Google Scholar]
- Kim, Y.J.; Park, S. Tectonic Traditions in Ancient Chinese Architecture, and Their Development. J. Asian Archit. Build. Eng. 2017, 16, 31–38. [Google Scholar] [CrossRef]
- Zhang, D. Cultural Symbols in Chinese Architecture. Archit. Des. Rev. 2019, 1, 17. [Google Scholar]
- Wei, X.; Si, Z. Fully exploring traditional Chinese culture and promoting organic development of green city. Procedia Eng. 2017, 180, 1531–1540. [Google Scholar] [CrossRef]
- Li, L. The Impact of Artificial Intelligence Painting on Contemporary Art From Disco Diffusion’s Painting Creation Experiment. In Proceedings of the 2022 International Conference on Frontiers of Artificial Intelligence and Machine Learning (FAIML), Hangzhou, China, 19–21 June 2022; pp. 52–56. [Google Scholar]
- Ho, J.; Jain, A.; Abbeel, P. Denoising diffusion probabilistic models. Adv. Neural Inf. Process. Syst. 2020, 33, 6840–6851. [Google Scholar]
- Zhang, Z.; Fort, J.M.; Giménez Mateu, L. Decoding emotional responses to AI-generated architectural imagery. Front. Psychol. 2024, 15, 1348083. [Google Scholar] [CrossRef] [PubMed]
- Chen, J.; Shao, Z.; Hu, B. Generating interior design from text: A new diffusion model-based method for efficient creative design. Buildings 2023, 13, 1861. [Google Scholar] [CrossRef]
- Liao, W.; Lu, X.; Fei, Y.; Gu, Y.; Huang, Y. Generative AI design for building structures. Autom. Constr. 2024, 157, 105187. [Google Scholar] [CrossRef]
- Chen, J.; Wang, D.; Shao, Z.; Zhang, X.; Ruan, M.; Li, H.; Li, J. Using artificial intelligence to generate master-quality architectural designs from text descriptions. Buildings 2023, 13, 2285. [Google Scholar] [CrossRef]
- Li, C.; Zhang, T.; Du, X.; Zhang, Y.; Xie, H. Generative AI for Architectural Design: A Literature Review. arXiv 2024, arXiv:2404.01335. [Google Scholar]
- Jaruga-Rozdolska, A. Artificial intelligence as part of future practices in the architect’s work: MidJourney generative tool as part of a process of creating an architectural form. Architectus 2022, 3, 95–104. [Google Scholar] [CrossRef]
- Hegazy, M.; Mohamed Saleh, A. Evolution of AI role in architectural design: Between parametric exploration and machine hallucination. MSA Eng. J. 2023, 2, 262–288. [Google Scholar] [CrossRef]
- Sukkar, A.W.; Fareed, M.W.; Yahia, M.W.; Abdalla, S.B.; Ibrahim, I.; Senjab, K.A.K. Analytical Evaluation of Midjourney Architectural Virtual Lab: Defining Major Current Limits in AI-Generated Representations of Islamic Architectural Heritage. Buildings 2024, 14, 786. [Google Scholar] [CrossRef]
- Saharia, C.; Chan, W.; Saxena, S.; Li, L.; Whang, J.; Denton, E.L.; Ghasemipour, K.; Gontijo Lopes, R.; Karagol Ayan, B.; Salimans, T. Photorealistic text-to-image diffusion models with deep language understanding. Adv. Neural Inf. Process. Syst. 2022, 35, 36479–36494. [Google Scholar]
- Gan, R.; Wu, X.; Lu, J.; Tian, Y.; Zhang, D.; Wu, Z.; Sun, R.; Liu, C.; Zhang, J.; Zhang, P. iDesigner: A High-Resolution and Complex-Prompt Following Text-to-Image Diffusion Model for Interior Design. arXiv 2023, arXiv:2312.04326. [Google Scholar]
- Taiwo, R.; Bello, I.T.; Abdulai, S.F.; Yussif, A.-M.; Salami, B.A.; Saka, A.; Zayed, T. Generative AI in the Construction Industry: A State-of-the-art Analysis. arXiv 2024, arXiv:2402.09939. [Google Scholar]
- Qian, W.; Yang, F.; Mei, H.; Li, H. Artificial intelligence-designer for high-rise building sketches with user preferences. Eng. Struct. 2023, 275, 115171. [Google Scholar] [CrossRef]
- Zhao, L.; Song, D.; Chen, W.; Kang, Q. Coloring and fusing architectural sketches by combining a Y-shaped generative adversarial network and a denoising diffusion implicit model. Comput.-Aided Civ. Infrastruct. Eng. 2024, 39, 1003–1018. [Google Scholar] [CrossRef]
- Chen, R.; Zhao, J.; Yao, X.; He, Y.; Li, Y.; Lian, Z.; Han, Z.; Yi, X.; Li, H. Enhancing Urban Landscape Design: A GAN-Based Approach for Rapid Color Rendering of Park Sketches. Land 2024, 13, 254. [Google Scholar] [CrossRef]
- Petráková, L.; Šimkovič, V. Architectural alchemy: Leveraging Artificial Intelligence for inspired design–a comprehensive study of creativity, control, and collaboration. Archit. Pap. Fac. Archit. Des. STU 2023, 28, 3–14. [Google Scholar] [CrossRef]
- Pena, M.L.C.; Carballal, A.; Rodríguez-Fernández, N.; Santos, I.; Romero, J. Artificial intelligence applied to conceptual design. A review of its use in architecture. Autom. Constr. 2021, 124, 103550. [Google Scholar] [CrossRef]
- Ploennigs, J.; Berger, M. AI art in architecture. AI Civ. Eng. 2023, 2, 8. [Google Scholar] [CrossRef]
- Najafian, K. Maximalist AI Explorations Reimagine the Versailles Palace with Mesmerizing Gold Facades; Mango, Z., Ed.; Designboom: Milan, Italy; New York, NY, USA; Beijing, China; Tokyo, Japan, 2022; Available online: https://www.designboom.com/architecture/maximalist-ai-explorations-versailles-palace-gold-facades-kaveh-najafian-09-15-2022 (accessed on 14 July 2024).
- Khan, R. Midjourney Reinvents Ancient Ziggurat Pyramid as Modern Cultural Landmarks. 2023. Available online: https://www.designboom.com/architecture/midjourney-ancient-ziggurat-pyramid-temple-modern-arts-venue-rolando-cedeno-de-la-cruz-04-27-2023/ (accessed on 14 July 2024).
- Chen, J.; Shao, Z.; Zheng, X.; Zhang, K.; Yin, J. Integrating aesthetics and efficiency: AI-driven diffusion models for visually pleasing interior design generation. Sci. Rep. 2024, 14, 3496. [Google Scholar] [CrossRef]
- Sukkar, A.W.; Fareed, M.W.; Yahia, M.W.; Mushtaha, E.; De Giosa, S.L. Artificial Intelligence Islamic Architecture (AIIA): What Is Islamic Architecture in the Age of Artificial Intelligence? Buildings 2024, 14, 781. [Google Scholar] [CrossRef]
- Jin, S.; Tu, H.; Li, J.; Fang, Y.; Qu, Z.; Xu, F.; Liu, K.; Lin, Y. Enhancing Architectural Education through Artificial Intelligence: A Case Study of an AI-Assisted Architectural Programming and Design Course. Buildings 2024, 14, 1613. [Google Scholar] [CrossRef]
- Cudzik, J.; Nyka, L.; Szczepański, J. Artificial intelligence in architectural education-green campus development research. Glob. J. Eng. Educ. 2024, 26, 20–25. [Google Scholar]
- Mustoe, J.E. Artificial Intelligence and Its Application in Architectural Design. Ph.D. Thesis, University of Strathclyde Glasgow, Glasgow, UK, 1990. [Google Scholar]
- Zhang, Z.; Fort, J.M.; Mateu, L.G. Exploringthe Potential of Artificial Intelligence as a Tool for Architectural Design: A Perception Study Using Gaudí’sWorks. Buildings 2023, 13, 1863. [Google Scholar] [CrossRef]
- Albaghajati, Z.M.; Bettaieb, D.M.; Malek, R.B. Exploring text-to-image application in architectural design: Insights and implications. Archit. Struct. Constr. 2023, 3, 475–497. [Google Scholar] [CrossRef]
- Yoshimura, Y.; Cai, B.; Wang, Z.; Ratti, C. Deep learning architect: Classification for architectural design through the eye of artificial intelligence. Comput. Urban Plan. Manag. Smart Cities 2019, 16, 249–265. [Google Scholar]
- Indonesia, I.A.; Keprofesian, B. Pedoman Hubungan Kerja Antara Arsitek Dengan Pengguna Jasa; Badan Sistem Informasi Arsitektur, Ikatan Arsitek Indonesia: Kepulauan Riau, Indonesia, 2007. [Google Scholar]
- Fernandes, D.; Garg, S.; Nikkel, M.; Guven, G. A GPT-Powered Assistant for Real-Time Interaction with Building Information Models. Buildings 2024, 14, 2499. [Google Scholar] [CrossRef]
- Fareed, M.W.; Bou Nassif, A.; Nofal, E. Exploring the Potentials of Artificial Intelligence Image Generators for Educating the History of Architecture. Heritage 2024, 7, 1727–1753. [Google Scholar] [CrossRef]
- Beyan, E.V.P.; Rossy, A.G.C. A review of AI image generator: Influences, challenges, and future prospects for architectural field. J. Artif. Intell. Archit. 2023, 2, 53–65. [Google Scholar]
- Zhang, C.; Wang, W.; Pangaro, P.; Martelaro, N.; Byrne, D. Generative Image AI Using Design Sketches as input: Opportunities and Challenges. In Proceedings of the 15th Conference on Creativity and Cognition, Virtual, 19–21 June 2023; pp. 254–261. [Google Scholar]
- Brisco, R.; Hay, L.; Dhami, S. Exploring the role of text-to-image AI in concept generation. Proc. Des. Soc. 2023, 3, 1835–1844. [Google Scholar] [CrossRef]
- Lee, Y. The parametric design genealogy of Zaha Hadid. J. Asian Archit. Build. Eng. 2015, 14, 403–410. [Google Scholar] [CrossRef]
- Dhariwal, P.; Nichol, A. Diffusion models beat gans on image synthesis. Adv. Neural Inf. Process. Syst. 2021, 34, 8780–8794. [Google Scholar]
- Corvi, R.; Cozzolino, D.; Poggi, G.; Nagano, K.; Verdoliva, L. Intriguing properties of synthetic images: From generative adversarial networks to diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 17–24 June 2023; pp. 973–982. [Google Scholar]
- Bolojan, D.; Yousif, S.; Vermisso, E. Latent Design Spaces: Interconnected Deep Learning Models for Expanding the Architectural Search Space. In Architecture and Design for Industry 4.0: Theory and Practice; Barberio, M., Colella, M., Figliola, A., Battisti, A., Eds.; Springer International Publishing: Cham, Switzerland, 2024; pp. 201–223. [Google Scholar]
- Goodfellow, I.J.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.C.; Bengio, Y. Generative Adversarial Nets. In Proceedings of the Neural Information Processing Systems, Montreal, QC, Canada, 8–13 December 2014. [Google Scholar]
- Karras, T.; Laine, S.; Aittala, M.; Hellsten, J.; Lehtinen, J.; Aila, T. Analyzing and Improving the Image Quality of StyleGAN. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 14–19 June 2019; pp. 8107–8116. [Google Scholar]
- Zhu, J.-Y.; Park, T.; Isola, P.; Efros, A.A. Unpaired Image-to-Image Translation Using Cycle-Consistent Adversarial Networks. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 2242–2251. [Google Scholar]
- Zhang, L.; Rao, A.; Agrawala, M. Adding conditional control to text-to-image diffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 4–6 October 2023; pp. 3836–3847. [Google Scholar]
- Dhesikan, R.; Rajmohan, V. Sketching the Future (STF): Applying Conditional Control Techniques to Text-to-Video Models. arXiv 2023, arXiv:2305.05845. [Google Scholar]
- Isola, P.; Zhu, J.-Y.; Zhou, T.; Efros, A.A. Image-to-Image Translation with Conditional Adversarial Networks. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2016; pp. 5967–5976. [Google Scholar]
- Han, Q.; Yin, C.; Deng, Y.; Liu, P. Towards classification of architectural styles of Chinese traditional settlements using deep learning: A dataset, a new framework, and its interpretability. Remote Sens. 2022, 14, 5250. [Google Scholar] [CrossRef]
- Zhu, J. Architecture of Modern China: A Historical Critique; Routledge: London, UK, 2013. [Google Scholar]
- Xue, C.Q. Building a Revolution: Chinese Architecture Since 1980; Hong Kong University Press: Hong Kong, China, 2005; Volume 1. [Google Scholar]
- Loey, M.; Manogaran, G.; Khalifa, N.E.M. A deep transfer learning model with classical data augmentation and CGAN to detect COVID-19 from chest CT radiography digital images. Neural Comput. Appl. 2020, 1–13. [Google Scholar] [CrossRef] [PubMed]
- Peng, J.; Liu, D.; Xu, S.; Li, H. Generating diverse structure for image inpainting with hierarchical VQ-VAE. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, Nashville, TN, USA, 20–25 June 2021; pp. 10775–10784. [Google Scholar]
- Rosca, M.; Lakshminarayanan, B.; Warde-Farley, D.; Mohamed, S. Variational approaches for auto-encoding generative adversarial networks. arXiv 2017, arXiv:1706.04987. [Google Scholar]
- Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Proceedings of the Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, 5–9 October 2015; Proceedings, Part III 18. 2015; pp. 234–241. [Google Scholar]
- Alom, M.Z.; Hasan, M.; Yakopcic, C.; Taha, T.M.; Asari, V.K. Recurrent residual convolutional neural network based on u-net (r2u-net) for medical image segmentation. arXiv 2018, arXiv:1802.06955. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chen, F.; Mai, M.; Huang, X.; Li, Y. Enhancing the Sustainability of AI Technology in Architectural Design: Improving the Matching Accuracy of Chinese-Style Buildings. Sustainability 2024, 16, 8414. https://doi.org/10.3390/su16198414
Chen F, Mai M, Huang X, Li Y. Enhancing the Sustainability of AI Technology in Architectural Design: Improving the Matching Accuracy of Chinese-Style Buildings. Sustainability. 2024; 16(19):8414. https://doi.org/10.3390/su16198414
Chicago/Turabian StyleChen, Feiran, Mengran Mai, Xinyi Huang, and Yinghan Li. 2024. "Enhancing the Sustainability of AI Technology in Architectural Design: Improving the Matching Accuracy of Chinese-Style Buildings" Sustainability 16, no. 19: 8414. https://doi.org/10.3390/su16198414
APA StyleChen, F., Mai, M., Huang, X., & Li, Y. (2024). Enhancing the Sustainability of AI Technology in Architectural Design: Improving the Matching Accuracy of Chinese-Style Buildings. Sustainability, 16(19), 8414. https://doi.org/10.3390/su16198414