journal article·2025-12-09Open access

Exploring dual pathways for traditional pattern innovation: shape grammar and diffusion models

Tingting Xiong, Nanyi Wang

npj Heritage Science· Volume 13· Issue 1

Abstract

Traditional decorative motifs embody rich cultural heritage, yet innovating such patterns without eroding their essence remains challenging. This study systematically compares rule-based Shape Grammar and AI-driven Denoising Diffusion Probabilistic Models (DDPM) for “Baoxiang” pattern design. We assembled a dataset of Baoxiang images via Python scripts from online galleries and museum collections, then employed the Segment Anything Model (SAM) to isolate key motif elements. Both Shape Grammar and DDPM were used to generate novel designs, which were evaluated through a public survey assessing innovation, aesthetics, complexity, and cultural fidelity. ANOVA confirmed that Shape Grammar better preserves traditional structure, whereas DDPM delivers greater creative diversity. These findings highlight complementary strengths of each approach and inform future hybrid methodologies for culturally respectful pattern innovation.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Aesthetic Perception and Analysis · Color perception and design · Design Education and Practice

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (25)

Show source-provided references
1. McCullough M. Abstracting craft: The practiced digital hand[M]. MIT press (1998).
2. Raizman D. S. History of modern design: Graphics and products since the industrial revolution[M]. Laurence King Publishing (2003).
3. Alcaide-Marzal, J. & Diego-Mas, J. A. Computers as co-creative assistants. A comparative study on the use of text-to-image AI models for computer aided conceptual design. Computers Ind. 164, 104168 (2025).10.1016/j.compind.2024.104168 ↗
4. Zhang, H. Aesthetic contemplation of the Tang Dynasty Dunhuang frescoes elements on contemporary costume design. In Cross-Cultural Design. User Experience of Products, Services, and Intelligent Environments: 12th International Conference, CCD 2020, Held as Part of the 22nd HCI International Conference, HCII 2020, Copenhagen, Denmark, 2020, Proceedings, Part I 22 (pp. 431-440). Springer International Publishing (2020).10.1007/978-3-030-49788-0_32 ↗
5. Sun, Z. Excavating the Artistic Value of Tang Dynasty Gold and Silver Decorative Patterns and Its Guiding Significance for Modern Decoration. Mediterranean Archaeol. Archaeom. 23, 255–269 (2023).
6. Hu, T., Xie, Q., Yuan, Q., Lv, J. & Xiong, Q. Design of ethnic patterns based on shape grammar and artificial neural network. Alex. Eng. J. 60, 1601–1625 (2021).10.1016/j.aej.2020.11.013 ↗
7. Zheng, Y., Jiao, J., Ye, F., Zhou, Y. & Li, W. Fast style transfer for ethnic patterns innovation. Expert Syst. Appl. 249, 123627 (2024).10.1016/j.eswa.2024.123627 ↗
8. Hou, X., Gou, B., Chen, D. & Chu, J. A semantic data-driven knowledge base construction method to assist designers in design inspiration based on traditional motifs. Adv. Eng. Inform. 56, 101987 (2023).10.1016/j.aei.2023.101987 ↗
9. Sun, S. and Yuanchun X. Research on Chinese painting patterns generation method based on denoising diffusion probability model. International Conference on Computer Graphics, Artificial Intelligence, and Data Processing (ICCAID 2023). 13105. SPIE, 2024.10.1117/12.3026417 ↗
10. Wu, Y. & Kyungsun, K. Automatic generation of traditional patterns and aesthetic quality evaluation technology. Inf. Technol. Manag. 25.2, 125–143 (2024).10.1007/s10799-022-00356-w ↗
11. Stiny, G. Introduction to Shape and Shape Grammars[J]. Environ. Plan. B: Plan. Des. 7, 343–351 (1980).10.1068/b070343 ↗
12. Nasiri, S. & Ali Reza, S. Geometrical Origin of Generative Shape Grammars for Islamic Tectonics: Chapireh: The Transforming Element from Cubic Chambers to Spheric Domes. Nexus Netw. J. 26.1, 177–195 (2024).10.1007/s00004-023-00743-y ↗
13. Hu, T. et al. Design of ethnic patterns based on shape grammar and artificial neural network[J]. Alex. Eng. J. 60, 1601–1625 (2021).10.1016/j.aej.2020.11.013 ↗
14. Battini, C. et al. Automatic generation of synthetic heritage point clouds: Analysis and segmentation based on shape grammar for historical vaults. J. Cultural Herit. 66, 37–47 (2024).10.1016/j.culher.2023.10.003 ↗
15. Kirillov, A. et al. Segment anything[C]//Proceedings of the IEEE/CVF international conference on computer vision. 4015–4026 (2023).
16. He, K. et al. Mask r-cnn[C]//Proceedings of the IEEE international conference on computer vision. 2961–2969 (2017).
17. Zhao, X. et al. Fast segment anything. arXiv preprint arXiv:2306.12156 (2023).
18. Zhang, C. et al. Faster segment anything: Towards lightweight sam for mobile applications. arXiv preprint arXiv:2306.14289. (2023).
19. Bengesi, S. et al. Advancements in Generative AI: A Comprehensive Review of GANs, GPT, Autoencoders, Diffusion Model, and Transformers. IEEE Access. (2024).10.1109/ACCESS.2024.3397775 ↗
20. Nichol, A. et al. Glide: Towards photorealistic image generation and editing with text-guided diffusion models. arXiv preprint arXiv:2112.10741 (2021).
21. Ho, J. & Salimans, T. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598 (2022).
22. Po, R. et al. State of the art on diffusion models for visual computing. Computer Graph. Forum 43, e15063 (2024).10.1111/cgf.15063 ↗
23. Croitoru, F. A., Hondru, V., Ionescu, R. T. & Shah, M. Diffusion models in vision: A survey. IEEE Trans. Pattern Anal. Mach. Intell. 45, 10850–10869 (2023).10.1109/TPAMI.2023.3261988 ↗
24. Bai, N., Nourian, P., Luo, R. & Pereira Roders, A. Heri-graphs: a dataset creation framework for multi-modal machine learning on graphs of heritage values and attributes with social media. ISPRS Int. J. Geo-Inf. 11, 469 (2022).10.3390/ijgi11090469 ↗
25. Wu, J., Rao, Y., Zeng, S., & Zhang, B. Pre-trained SAM as data augmentation for image segmentation. CAAI Transactions on Intelligence Technology (2024).10.1049/cit2.12381 ↗