Skip to Content
BuildingsBuildings
  • Article
  • Open Access

5 December 2026

21 Pages

Layered Visual Knowledge Injection for the Generative Representation of Ming and Qing Palatial Heritage: Capabilities and Limits of Text-to-Image Models

,
,
and
College of Civil Engineering, Architecture and Environment, Hubei University of Technology, Wuhan 430068, China
*
Author to whom correspondence should be addressed.
Buildings2026, 16(23), 4880;https://doi.org/10.3390/buildings16234880 
(registering DOI)
This article belongs to the Special Issue Architectural History, Modern Built Heritage, Conservation Repair and Renovation

Abstract

Digital approaches to architectural heritage increasingly extend beyond geometric documentation and information preservation to the representation and communication of architectural knowledge. Although text-to-image models can reproduce the visual appearance of traditional buildings, they may fail to represent architectural rank, component configurations, and spatial relationships consistently. This study develops a hierarchical visual knowledge-injection framework for Ming and Qing palatial architecture using Stable Diffusion and staged low-rank adaptation (LoRA). Architectural information is organized into four categories—style, components, rank, and relationships—and incorporated into task-specific training stages. Model performance is evaluated across three tasks—overall composition, rank response, and localized roof-ridge control—using CLIPScore, LPIPS, reference-image feature similarity, and architectural rule checks. Results show task-dependent performance rather than consistent improvement across stages. Stage I obtained the highest mean rule-check score for overall composition, and Stage II for rank response. In the localized task, Stage III had a higher mean CLIPScore than Stage 2.5, while both models showed persistent errors in figurine counts and spatial relationships. These findings indicate that visually plausible outputs and favorable automated evaluation metrics do not necessarily establish conformity with traditional architectural rules. The study provides evidence for evaluating the reliability of AI-generated architectural heritage imagery and highlights the importance of architectural rule verification in digital heritage interpretation.

1. Introduction

1.1. Research Background

The digital preservation of historic architecture has expanded beyond foundational activities such as surveying, modeling, and archival preservation to include applications in digital management, public engagement, and the representation of architectural knowledge [1]. With the development of diffusion models and generative artificial intelligence, text-to-image technologies are increasingly being applied to digital heritage interpretation and the generation of visual content [2]. For images of ordinary buildings or scenes, evaluation often focuses primarily on how closely the generated result resembles the overall appearance. However, when the subject is a highly rule-governed architectural type such as Ming and Qing palatial architecture, evaluation should extend beyond overall visual similarity to examine whether architectural rules are represented consistently. Ming and Qing palaces are characterized not only by such overall visual features as red walls, yellow-glazed tiles, roof profiles, and axial order, but also by observable rules concerning roof types, the number of eaves, the relationships among the platform, building body, and roof, and the number and arrangement of ridge ornaments. Although generic prompts can generate images that resemble historic architecture, they provide limited control over these specific relationships.
Previous studies have demonstrated the potential of Stable Diffusion and related variants for generating images of architecture, cities, and traditional culture [3,4,5,6,7]. Latent Diffusion performs the diffusion process in latent space, reducing computational costs while maintaining high image quality [8]. Low-rank adaptation (LoRA) freezes pretrained weights and introduces low-rank matrices, substantially reducing the number of trainable parameters and offering a practical approach to parameter-efficient task adaptation [9]. In architectural heritage conservation, Stable Diffusion has been used to generate historic streetscape façades [6], while structure-aware enhancement methods have also been explored for traditional architectural ornament design [5]. Existing studies have focused primarily on façade styles, decorative appearance, or historic building types in general, with comparatively little attention to subjects such as Ming and Qing palaces, whose architectural rank and component rules are clearly defined. Accordingly, this study examines the labeling and organization of visible architectural knowledge in Ming and Qing palaces, changes in model capabilities following staged fine-tuning, and the characteristics of localized component control.

1.2. Related Work

1.2.1. Diffusion Models, Parameter-Efficient Fine-Tuning, and Few-Shot Adaptation

Early image-generation studies demonstrated the effectiveness of conditional and unpaired image translation for visual generation using methods such as pix2pix and CycleGAN [10,11]. These methods can learn mappings between specific input and output domains, but remain limited in handling complex textual conditions, generating high-quality images in open domains, and controlling fine details. Diffusion models subsequently emerged as an important approach to high-quality image synthesis. Rombach et al. introduced the Latent Diffusion Model (LDM), which moves the diffusion process into latent space [8]. DreamBooth and related work further showed that text-to-image diffusion models can be customized to generate specific subjects from only a small number of examples [12]. For parameter-efficient fine-tuning, LoRA injects low-rank matrices into a pretrained network, enabling adaptation to downstream tasks by updating only a small number of parameters [9]. LoRA has also been used for domain-specific fine-tuning in architectural image generation [6,7]. Related studies have noted that few-shot LoRA fine-tuning is prone to overfitting, and that appropriate sparsification or dropout regularization can help improve generalization [13]. Building on these methods, this study uses a Stable Diffusion base model and LoRA to conduct few-shot adaptation experiments on images of Ming and Qing palatial architecture.

1.2.2. Architectural Image Generation and Heritage-Oriented AIGC

In the fields of architecture and cultural heritage, generative models are increasingly being applied to visual-generation tasks involving specific subjects and use cases, moving beyond the generation of general styles. Previous studies have shown that these models can support applications such as urban visual audits, façade conservation in historic districts, traditional architectural ornament design, and the reproduction of cultural imagery [3,4,5,6]. For example, Kuang et al. combined Stable Diffusion, LoRA, prompt engineering, and ControlNet to generate traditional arcade façades, emphasizing the importance of dataset construction and quantitative evaluation [6]. Yang and Wang improved structural consistency in traditional architectural ornament generation by introducing a structure-aware module and dual-path text enhancement [5]. Beyond overall style, the generation of traditional architectural images also raises more specific questions concerning subject features, label design, and control strategies. For Ming and Qing palatial architecture, particular attention should be paid to whether roof forms, eave configurations, rank-related cues, and relationships among local components can be represented consistently. Accordingly, the evaluation of generated images should also take architectural rules and spatial relationships into account.

1.2.3. Evaluation of Generated Architectural Images

The evaluation of architectural images should extend beyond visual similarity alone. CLIPScore measures semantic compatibility between an image and its text description [14]. LPIPS measures perceptual distance between images; in this study, it is used to compare within-group variation among outputs generated from the same prompt with different random seeds [15]. Feature similarity based on the CLIP image encoder is used to assess the proximity of generated images to reference samples in terms of high-level visual features [12,16]. Previous research on text-to-image evaluation has shown that different automated metrics vary in their agreement with human preferences [17]. For images of Ming and Qing palatial architecture, a high CLIPScore does not establish that the roof type is correct, and a low LPIPS does not indicate that the eave configuration or rank-related features conform to architectural rules. Research on historic façade generation has therefore combined automated metrics with human evaluation to assess image quality, text alignment, and practical usability [6]. Accordingly, in addition to automated metrics, this study conducts an architectural rule check, assessing the completeness of the main building, roof form, eave configuration, rank-related features, and the relationship between the roof ridge and its ornaments.

1.3. Research Objectives and Overall Framework

This study examines the representation of Ming and Qing palatial architecture in images generated through staged LoRA fine-tuning, focusing on overall composition, rank-related features, and localized component relationships. Architectural information is organized into style, components, rank, and relationships to guide image annotation and stage-specific training. Comparisons with a single-stage LoRA model and the base model characterize the capabilities and recurring errors associated with the evaluated training configurations.
Models obtained at different training stages are expected to exhibit task-dependent performance. The analysis examines whether changes in automated scores are accompanied by changes in architectural rule compliance, particularly in local counts and spatial relationships. The comparisons are conducted under standardized inference conditions across the overall-composition, rank-response, and localized roof-ridge tasks.
Photographs and architectural illustrations supply visual training examples whose accompanying text labels describe style, components, rank-related features, and spatial relationships. LoRA parameters are learned from these image–text pairs. During inference, text prompts guide image generation under standardized sampling conditions. Model outputs are assessed using automated metrics and architectural rule checks, with reference images assigned to the feature-similarity evaluation as described in Section 4.1 and Table S7. Figure 1 presents the training and evaluation workflow.
Figure 1. Technical workflow.

2. Hierarchical Visual Knowledge System and Dataset Construction

2.1. Decomposition of Identifiable Visual Information

This study organizes directly observable visual information in images of Ming and Qing palatial architecture into four analytical categories consisting of style, components, rank, and relationships. This four-category organization is a study-specific analytical framework developed for image annotation and model conditioning. It is informed by observable architectural features documented in the cited Palace Museum materials and architectural literature, including roof forms, eave configurations, ridge ornaments, and construction hierarchy [18,19,20,21]. The category boundaries and label structure were defined in this study to make these features and their spatial relationships suitable for annotation and testing. The style level covers overall features such as red walls and yellow-glazed tiles, roof profiles, building proportions, and axial symmetry. The component level includes major elements such as platforms, building bodies, column grids, dougong bracket sets, roof ridges, eave columns, and ridge ornaments. The rank category includes roof form and eave configuration [18,19], together with ridge-beast counts [21] and the platform and ornamental features considered during annotation. The relationship category concerns the positions and configurations of architectural components. Examples include the main hall’s central position, the vertical arrangement of the platform, building body, and roof [20], the placement of dougong beneath the eaves, and the distribution of ridge ornaments along roof ridges and at roof corners.
This framework organizes visual information about Ming and Qing palatial architecture into labels for image annotation and model conditioning. The labels guide stage-specific training and support architectural rule checking of the generated outputs. Figure 2 illustrates the four categories and their encoding as text labels.
Figure 2. Decomposition of visual knowledge in images of Ming and Qing palatial architecture and its encoding as text labels.

2.2. Label System and Text Encoding

This study defines four categories of labels: base style, components, rank, and relationships. Each label is formulated as a composable phrase for input into Stable Diffusion. Labels for overall images can describe the architectural subject, image composition, colors, roof type, and component relationships. Examples include “Ming and Qing palace architecture,” “axial symmetry,” “red walls and yellow-glazed tiles,” “double-eaved hip-and-gable roof,” “raised platform,” and “centrally positioned main hall.” During training, all labels are written as English phrases to ensure a consistent prompt format.
The training dataset comprises full-building images and detail images. Full-building images are used to learn architectural rank and overall structure, while detail images supplement the training data on the number and positions of ridge beasts (ridge figurines) and their relationship to the roof ridge. Because detail images alone cannot fully convey architectural rank, only samples whose rank cues correspond consistently to those in the full-building images are retained. The Palace Museum describes the number of ridge beasts on glazed buildings as a feature that generally corresponds to building rank. It gives the Hall of Supreme Harmony, the Palace of Heavenly Purity, the Hall of Mental Cultivation, and the eastern and western palaces as examples with 10, 9, 7, and 5 ridge beasts, respectively [21]. In this study, these documented examples provide the reference basis for the rank-related labels. For the experimental comparison, the available samples were organized into three study-specific strata according to their observable rank-related cues. The highest experimental stratum included images associated with 10 or 9 ridge beasts, the second-highest experimental stratum included images associated with 7 ridge beasts, and the intermediate experimental stratum included images associated with 5 ridge beasts. The 9- and 10-figurine examples were grouped under a common highest-rank label to keep the experimental labeling scheme consistent. Rank labels for complete-building images were further assessed using roof form, eave configuration, platform hierarchy, ornamentation, and ridge-beast count, as described in Section 2.4. Figure 3 shows examples of the different sample types and their corresponding image and task-specific labels.
Figure 3. Examples of images of Ming and Qing palatial architecture and their hierarchical labels.

2.3. Data Sources and Preprocessing

The image corpus used for LoRA training comprised publicly available images, photographs of actual buildings, and two illustrations from architectural literature. The stage-wise counts refer to image instances used in the corresponding training stage. Stage I included 24 distinct image files, all showing complete building elevations. Stage II included 194 training image files, comprising publicly available images, photographs of actual buildings, and two illustrations from architectural literature. Of the 19 publicly available images used in this stage, 15 showed complete buildings. Both literature illustrations also showed complete buildings. Stage 2.5 included 14 distinct image files: six publicly available images, four of which showed complete buildings, and photographs of actual buildings. Stage III included 19 image–label training instances, comprising 13 publicly available images and six photographs of actual buildings. Some Stage III images were reused from Stages I and II with stage-specific labels. Across the stage-specific source lists, 62 public-image instances were counted. Because some images were reused across stages, this figure represents stage-specific instances rather than 62 unique public files across the complete corpus.
Image selection considered subject visibility, clarity of architectural labels, usefulness of the viewpoint, and overall image quality. Images were excluded when they contained severe occlusion, excessive cropping of the main subject, pronounced perspective distortion, abnormal exposure, or substantial interference from modern facilities. Among the complete-building images, preference was given to samples representing different building subjects. When the same building appeared in more than one image, views were retained when differences in camera position, shooting distance, or viewing angle provided additional information about the building’s appearance. Most complete-building images represented different buildings, whereas repeated views of the same building supplemented information about framing, scale, visible detail, and perspective. Local detail images were selected separately according to the visibility and clarity of the architectural features under investigation. The retained images underwent minor perspective correction, standardized cropping, and resizing. Distracting elements, including protective netting, watermarks, borders, and strong reflections, were reduced or removed when they interfered with the architectural subject. The images were treated as separate image instances for training, whereas repeated views of the same building were not considered additional building subjects. After preprocessing, file names and labels were checked against the visual content of each image.
The available samples consist mainly of frontal views and oblique views from below, with relatively few side elevations and close-up details. Accordingly, the overall image-generation task focuses primarily on evaluating frontal and oblique views, while side-elevation results serve as supplementary references for examining the model’s performance from other viewpoints. To ensure label consistency, images with clearly visible subjects and unambiguous labels are prioritized before training, and the format and meaning of labels are standardized. Staged LoRA fine-tuning is then conducted, with the training parameters detailed in Section 3.3.
During manuscript preparation, Codex (OpenAI; model: GPT-6 Sol) was used with image-generation tools to assist with the visual design of selected schematic elements in Figure 1. The prompts requested illustrative elements and compositional suggestions to accompany the workflow text. The authors used the outputs as references, redrew and arranged the selected elements, and integrated them into a framework constructed by the authors. The data displays, experimental images, and annotations included in the figure were reviewed and processed by the authors. ChatGPT Work and Codex (OpenAI; model: GPT-6 Sol) also assisted with drafting and language editing of selected manuscript passages and with preparing scripts for the statistical procedures described in Section 5. The authors reviewed and edited the AI-assisted material and take full responsibility for the content of this publication.

2.4. Classification of Rank Labels

Rank labels are assigned from the combined visible features of full-building images, including roof form, eave configuration, platform features, and ornamentation. The roof-form and eave distinctions are supported by the Palace Museum descriptions [18,19]. Ridge-beast counts provide supplementary rank-related information through the documented building examples [21]. The labels highest, second-highest, and intermediate identify the three experimental groups defined in Section 2.2. The count mapping in that section connects the local annotations to these full-building groups. Detail images supply information on ridge-beast number and position within this annotation scheme. Samples with insufficient representation or ambiguous rank-related features are excluded. The rank-response task examines whether prompts for these groups produce corresponding differences in generated architectural forms.

3. Hierarchical Visual Knowledge Injection with Three-Stage LoRA

3.1. Base Model and LoRA Fine-Tuning Framework

This study uses “LaoWang_Architectural_MIX V0.5,” an architectural diffusion base model built on Stable Diffusion 1.5, for staged LoRA training. During training, the text encoder and the base model’s original weights are frozen, and only the LoRA parameters injected into the U-Net are updated. LoRA enables parameter-efficient adaptation by freezing pretrained weights and learning low-rank weight updates [9]. The training stages are described in Section 3.2, and the training parameters are provided in Section 3.3. Training uses the noise-prediction objective commonly employed in diffusion models [8]. Given a noisy latent variable zt, a time step t, and a text condition c, the model predicts the noise added to the latent variable. The loss function is defined as follows:
LSD = Ez 0 , ε , t , c [ ∥ ε − ε θ ( z t , t , c ) ∥ 2 2 ]
where ε denotes the added random noise, and εθ(zt, t, c) is the noise prediction produced by the U-Net from the noisy latent variable, time step, and text condition.
LoRA learns weight updates through two low-rank matrices [9]:
W = W 0 + Δ W ,                             Δ W = α r BA
where A and B are the low-rank matrices updated during training, r is the LoRA rank, and α is the scaling coefficient.

3.2. Staged Training Pathway

The hierarchical knowledge-injection framework is implemented through checkpoint inheritance and stage-specific label emphases. Image annotations combine a basic description of the subject, architectural type, viewpoint, and image content with labels selected for the current training task. The main training pathway proceeds from Stage I to Stage II and then to Stage III, with each subsequent stage initialized from the selected checkpoint of the preceding stage. Stage 2.5 forms a separate local-training branch initialized from Stage II. Checkpoint inheritance carries forward the learned LoRA parameters, and the stage-specific labels determine the architectural information emphasized during further training.
The four categories defined in Section 2.1 and Section 2.2 organize architectural knowledge for annotation. The training stages draw on these categories according to their task requirements. Stage I emphasizes style, Stage II combines components and their relationships, and Stage III emphasizes rank-related features. Stage 2.5 concentrates on localized roof-ridge components and their relationships. These stage-specific label combinations connect the conceptual knowledge organization with the training procedure described below.
Stage I uses full-building images and style labels. The labels include features such as red walls and yellow-glazed tiles, axial symmetry, frontal views, roof profiles, and Ming and Qing palace style. This stage primarily trains the model to learn the overall appearance, common compositions, and color characteristics of Ming and Qing palatial architecture; it does not include specific component- or rank-control tasks.
Stage II continues training from the selected weights obtained in Stage I, with labels shifted to descriptions of components and their relationships. Component labels include columns, sparrow braces, dougong bracket sets, eaves, roof ridges, and glazed tiles. Relationship labels specify the positions of columns relative to sparrow braces, dougong relative to the eaves, and the different parts of the building relative to one another. This stage examines whether the components appear clearly in the images and whether their positions conform to the label descriptions. The style-specific labels used in Stage I are not retained as a complete label combination.
Stage 2.5 uses 14 training images, including four full-building images and local detail views of roof ridges, eave corners, and ridge figurines. The full-building images provide architectural context for the local features. The stage-specific labels emphasize figurine number, arrangement, proportions, and attachment positions. This stage examines the representation of roof ridge–ridge figurine relationships through local fine-tuning. Stage 2.5 is a separate branch initialized from the selected Stage IIcheckpoint (mingqinggongdian_stage2-000041). Its weights are not used to initialize Stage III, which continues directly from Stage II.
Stage III starts from the selected weights obtained in Stage II, with training labels shifted to rank-related content. Labels for full-building images specify the highest, second-highest, and intermediate ranks, along with rank-related features such as double eaves, roof type, platform, and ornamentation. Labels for detail images supplement this information with figurine-count labels based on the rank–ridge figurine mapping described in Section 2.2. Architectural rank continues to be determined from full-building images; the component- and relationship-specific labels used in Stage II are not carried forward.

3.3. Training Parameters and Stage-Specific Adjustments

All three main stages use “LaoWang_Architectural_MIX V0.5,” an architectural diffusion base model built on Stable Diffusion 1.5. LoRA is applied to the U-Net, with both the rank and alpha set to 16. The text encoder is frozen during training. The optimizer is AdamW [22], the loss function is L2, the min-SNR gamma is set to 5 [23], and the training random seed is 1337. The same base model and LoRA configuration are used across all three stages, while the training samples, task-specific labels, and optimization parameters are adjusted for each stage.
Stage I is trained at a resolution of 512 × 512, with a batch size of 4, gradient accumulation of 2, and an initial learning rate of 3 × 10−5. The learning rate follows a cosine schedule with a 30-step warmup, and training runs for 75 epochs. Stage II continues from the selected checkpoint obtained in Stage I. The training resolution, batch size, and gradient accumulation remain unchanged; the learning rate is set to 2 × 10−5, with a cosine schedule and a 40-step warmup, and training runs for 60 epochs. Stage III starts from the selected checkpoint obtained in Stage II. The training resolution remains 512 × 512, while the batch size is reduced to 2 and gradient accumulation to 1. The learning rate is lowered to 1 × 10−5. This stage uses a constant-with-warmup schedule with a 20-step warmup and runs for 18 epochs.
Stage 2.5 uses 14 training images comprising full-building images and local detail views. Its complete training parameters are provided in the Supplementary Materials.

4. Experimental Design and Evaluation Tasks

4.1. Evaluation Tasks and Comparison Settings

This study defines three evaluation tasks: overall composition, rank response, and localized roof-ridge control. The overall-composition task compares Stages I, II, and III, the single-stage LoRA, and the base model in generating complete main halls. It primarily examines the building subject, roof profile, central-axis structure, and overall composition. The rank-response task compares Stages II and III, the single-stage LoRA, and the base model in response to prompts for the highest, second-highest, and intermediate ranks, focusing on rank-related features such as roof type, eave configuration, platform, and ornamentation. The localized roof-ridge task compares the results of Stage 2.5 and Stage III in terms of the number, arrangement, and proportions of ridge figurines and their positions on the roof. In the figures, the rank-response task is labeled “Grade-response”. Its highest, second-highest, and intermediate experimental groups are labeled “Highest”, “Secondary”, and “Middle”, respectively.
The base model was evaluated without the LoRA trained in this study to characterize its performance under the corresponding task settings. The single-stage LoRA uses the relevant labels in a single training run, allowing comparison between single-stage training and the staged weight-inheritance pathway. Stage 2.5 serves as a localized-control comparator in the roof-ridge task.
The training sets for Stages I, II, III, and 2.5 contain 24, 194, 19, and 14 image instances, respectively. The Stage III set includes image–label pairs and reuses some images from earlier stages. Within the 19 publicly available images used in Stage II, 15 show complete buildings. Across the complete-building images used in the study, most samples represent different building subjects. When the same building appeared in more than one image, the images were selected from different camera positions, shooting distances, or viewing angles when they provided complementary information. This composition provides variation in building subjects, framing, scale, visible detail, and perspective.
Eight reference-image files were used in the reference-image feature-similarity analysis, with four assigned to the overall-composition task and four to the rank-response task. The reference sets comprised images of different buildings and alternative views of some buildings, including images used for LoRA training. The resulting similarity scores characterize agreement with these in-domain visual exemplars. All models within each recorded prompt group were compared with the same assigned reference set. Table S7 documents the reference-file inventory and task-specific assignments. The overall-composition, rank-response, and localized roof-ridge tasks produced 40, 48, and 16 generated images, respectively. Models were evaluated using automated metrics together with architectural rule checks.
Four fixed random seeds and common sampling parameters were used for all evaluated models. The overall-composition task used two prompt groups, the rank-response task used three groups corresponding to the highest, second-highest, and intermediate ranks, and the localized roof-ridge task used two groups corresponding to the highest and intermediate ranks. Negative prompts were adapted to the objectives of each task. The recorded text conditions for each task and model group are provided in Table S6.

4.2. Checkpoint Selection and Model Freezing

Multiple checkpoints are saved at fixed intervals during each training stage. The final checkpoints are selected based on the training-loss curves recorded in TensorBoard, with attention to the downward trend in loss, the degree of fluctuation, and whether the curve enters a stable range in the later stages of training. The final-epoch weights are not selected automatically. Standardized generation results, automated metrics, and architectural rule checks are not used to select checkpoints. The loss curves are used only to determine which checkpoints to retain; actual generation quality is evaluated using the metrics described below.
The final checkpoints selected for Stages I, II, and III are mingqinggongdian_stage1-000060, mingqinggongdian_stage2-000041, and mingqinggongdian_stage3_v1-000011, respectively. After the weights were frozen, evaluation was conducted using task-specific prompts, four fixed random seeds, and common sampling parameters, as described in Section 4.1 and Table S6.

4.3. Inference Settings and Evaluation Metrics

Training is conducted on Windows 11 using the SD-Trainer Mikazuki GUI and lora-scripts-v1.12.0. Inference is performed with SD Forge. The main hardware comprises an NVIDIA GeForce RTX 4080 SUPER GPU with 16 GB of memory and 64 GB of system memory. The complete software environment, dependency versions, training parameters, checkpoint identifiers, standardized prompts, and inference settings are provided in the Supplementary Materials.
All evaluation tasks use “LaoWang_Architectural_MIX V0.5” as the inference base model and vae-ft-mse-840000-ema-pruned.safetensors as the VAE. Sampling uses DPM++ 2M SDE with the Exponential noise schedule, 30 sampling steps, a CFG scale of 7, an output resolution of 768 × 512, a batch size of 1, and a fixed LoRA(lora-scripts v1.12.0) weight of 0.7. The four random seeds are 1337, 2024, 3407, and 4096. Negative prompts were adapted to the objectives of the individual tasks, and the settings used for each task and model group are documented in Table S6.
Automated evaluation uses CLIPScore, LPIPS, and reference-image feature similarity. Architectural rule checks are defined separately for the three tasks. The calculation scope, direction of interpretation, and scoring procedures for each metric are described in Section 5.

5. Evaluation Metrics and Architectural Rule Checks

Automated Metrics and Their Interpretation

CLIPScore and reference-image feature similarity were computed using CLIP ViT-B/32 (openai/clip-vit-base-patch32) through the Transformers library (versions 4.41.2 and 4.51.3). LPIPS was computed using the lpips package (version 0.1.4), with an AlexNet backbone and the default version 0.1 calibration weights. This study uses CLIPScore, LPIPS, and reference-image feature similarity for automated evaluation. CLIPScore measures semantic alignment between a generated image and its input text prompt. In this study, it was implemented as the cosine similarity between L2-normalized image and text embeddings from openai/clip-vit-base-patch32, without an additional scaling factor. LPIPS measures perceptual differences among images generated from the same prompt with different random seeds and describes cross-seed output variation. Reference-image feature similarity uses the CLIP image encoder to compare each generated image with the reference images assigned to its prompt group. The cosine similarities are averaged to obtain one reference-similarity score for each generated image. The task-specific reference sets are documented in Section 4.1 and Table S7. Reference images enter the feature-similarity calculation, while CLIPScore and LPIPS use image–text pairs and generated-image pairs, respectively. The localized roof-ridge task is evaluated using CLIPScore, LPIPS, and architectural rule checks.
Lower LPIPS values indicate smaller perceptual differences among outputs generated from the same prompt with different random seeds. Similar outputs can nevertheless share errors in roof form or component arrangement. Architectural rule checks examine these features directly and complement the information provided by LPIPS, CLIPScore, and reference-image feature similarity. Statistical analyses were performed separately for each task and metric. CLIPScore, reference-image feature similarity, and architectural rule-check scores were reported as means with 95% percentile bootstrap confidence intervals based on 20,000 resamples. Model comparisons were paired using the task-group and random-seed identifiers in the evaluation records. Overall differences among three or more model groups were evaluated using the Friedman test, with Kendall’s W reported as the effect size. Pairwise comparisons used exact paired permutation tests based on complete sign enumeration of the nonzero paired differences. The test statistic was the absolute mean paired difference, and the p-value was calculated as the proportion of enumerated outcomes at least as extreme as the observed statistic. Holm correction was applied within each task and metric. The two-model localized comparisons used the same exact paired procedure. LPIPS was first averaged across the six seed-pair distances within each prompt group and then summarized using the mean and observed range of the prompt-group means. The overall-composition, rank-response, and localized tasks contained two, three, and two prompt groups, respectively. Pairwise tests were two-sided, and the significance level was 0.05.5.2.
Architectural Rule Checks and Scoring Method
Automated metrics capture text–image alignment and visual-feature differences. The architectural rule-check framework translates documented architectural features into reproducible image-level indicators for the three generation tasks. The checked features include roof form, eave configuration, the hierarchy among the platform, building body, and roof, rank-related ornamentation, and the number, sequence, and attachment positions of ridge beasts. These indicators were formulated by the authors with reference to the architectural sources discussed in Section 2.1 and Section 2.2 and Section 2.4 [18,19,20,21]. The resulting scores provide a structured assessment of observable architectural consistency across the compared models. Specialist assessment can provide an additional validation layer when the historical interpretation of generated images is examined. The criteria are detailed in Table 1. The overall-composition and rank-response tasks use positive scoring, whereas the localized roof-ridge task counts failure items. For the first two tasks, outputs that fail the task-completion criterion receive a total score of zero; the remaining criteria are left unscored. Mean total scores include all generated outputs. Itemized scores for each generated image are provided in Tables S1–S3.
Table 1. Rule-check criteria and scoring procedures for the three evaluation tasks.

6. Results and Discussion

6.1. Stage-Specific Performance Across Tasks

Validation results are reported for the three tasks: overall composition, rank response, and localized roof-ridge control. Figure 4 presents representative generated images for each task, while Figure 5, Figure 6, Figure 7 and Figure 8 show the results of the architectural rule checks and automated metrics.
Figure 4. Representative generated outputs and localized failure cases for the three evaluation tasks.
Figure 5. Summary of architectural rule-check results for the three evaluation tasks.
Figure 6. CLIPScore summaries for (A) overall composition, (B) rank response, and (C) localized roof-ridge control.
Figure 7. LPIPS summaries for (A) overall composition, (B) rank response, and (C) localized roof-ridge control. In panels (a), circles indicate means, horizontal error bars represent ±1 standard deviation, and numbered circles indicate rankings in ascending order of mean LPIPS. Numerical annotations report mean ± standard deviation. In panels (b), small dots represent individual pairwise distances, diamonds indicate means (μ), black vertical lines indicate medians, and shaded boxes span the 25th–75th percentiles. Whiskers extend to the most extreme observations within 1.5 interquartile ranges of the box boundaries. Colors identify models: blue, Stage I; orange, Stage II; green, Stage III; purple, Stage 2.5; gold, single-stage LoRA; and gray, base model. Four seed-generated outputs yield six pairwise distances per prompt, giving 12, 18, and 12 distances per model in tasks A, B, and C, respectively. Distances within each prompt group share generated images. Lower LPIPS indicates smaller perceptual variation across seeds.
Figure 8. Model-level mean CLIPScore and reference-image feature similarity for the two overall-composition prompts (a,b) and the three rank-response prompts (c–e).
In the overall-composition task, Stage I obtained the highest mean architectural rule-check score, with a mean of 4.25 out of 5 (95% CI: 3.00–5.00). The Friedman test indicated an overall difference among the five model groups (χ2(4) = 12.60, p = 0.013, Kendall’s W = 0.394). After Holm correction, the pairwise comparisons did not identify a statistically significant model pair. Stage I showed the strongest descriptive performance in main-building completeness, central-axis stability, roof form, and the three-part relationship among the platform, building body, and roof (Figure 5A; Table S1). The automated metrics showed a similar descriptive pattern. Stage I achieved the highest mean CLIPScore at 0.3328 (95% CI: 0.3270–0.3384) and the highest mean reference-image feature similarity at 0.9038 (95% CI: 0.8407–0.9394). The Friedman tests indicated overall differences among models for CLIPScore (χ2(4) = 10.30, p = 0.036, Kendall’s W = 0.322) and reference-image feature similarity (χ2(4) = 11.50, p = 0.021, Kendall’s W = 0.359). After Holm correction, the pairwise comparisons did not remain statistically significant. Stage I therefore showed the highest mean CLIPScore and reference-image feature similarity in this task. Its LPIPS value was 0.6210, indicating relatively small cross-seed variation under the present evaluation setting (Figure 6A and Figure 7A). Figure 8a,b shows the condition-specific distributions of CLIPScore and reference-image feature similarity for the two overall-composition prompts. The base model’s overall mean CLIPScore is 0.3106, so it is not the lowest among the five model groups. A general architectural base model can already generate palace-like scenes from text prompts. However, Figure 5A shows that its rate of compliance with architectural rules remains low. Semantic similarity between text and image cannot substitute for checking the main-hall structure and architectural relationships.
In the rank-response task, Stage II obtained the highest mean architectural rule-check score among the four model groups, with a mean of 3.08 (95% CI: 1.92–4.17). The Friedman test yielded χ2(3) = 6.71, p = 0.082, and Kendall’s W = 0.186. Stage II showed higher mean scores for roof type, eave configuration, and rank-related features, although the overall test did not reach the 0.05 significance level. The base model achieved a relatively high task-completion rate but showed lower agreement with the specified roof type, eave configuration, and rank-related features (Figure 5B; Table S2).
Stage II had a mean CLIPScore of 0.3237 (95% CI: 0.3164–0.3300), which was close to the single-stage LoRA value of 0.3233 (95% CI: 0.3153–0.3307) (Figure 6B). The Friedman test did not indicate an overall significant difference among the four models (χ2(3) = 7.40, p = 0.060, Kendall’s W = 0.206). One Holm-adjusted pairwise comparison between the single-stage LoRA and Stage III reached the significance threshold (p = 0.041), whereas the remaining pairwise comparisons did not. Given the small number of matched prompt–seed units and the non-significant omnibus result, this isolated pairwise difference is interpreted cautiously.
Stage II had the highest mean reference-image feature similarity at 0.9055 (95% CI: 0.8867–0.9222). The corresponding Friedman test was significant (χ2(3) = 17.50, p < 0.001, Kendall’s W = 0.486). After Holm correction, the base model had lower reference-image feature similarity than the single-stage LoRA (p = 0.015), Stage II (p = 0.003), and Stage III (p = 0.018). Differences among the three trained models were not statistically significant. Stage II had a descriptive LPIPS value of 0.6173, indicating relatively small cross-seed variation in this task (Figure 7B). Figure 8c–e show condition-specific variation across the highest, second-highest, and intermediate rank prompts.
The localized roof-ridge task compares Stage 2.5 with Stage III. Both models can generate close-up images of roof ridges and ridge figurines. Figure 4C shows representative local failure cases. Failures in forming the main subject are relatively uncommon, while errors in figurine counts and sequential arrangement remain prominent in both stages. The specific frequency of each error type is reported in Figure 5C and Table S3.
Stage III had a higher mean CLIPScore than Stage 2.5, with values of 0.3505 (95% CI: 0.3383–0.3648) and 0.3329 (95% CI: 0.3022–0.3582), respectively. The paired comparison did not reach statistical significance (p = 0.297). Stage III also showed a lower descriptive LPIPS value than Stage 2.5, 0.6741 versus 0.7123. Because LPIPS was summarized from prompt-level seed-pair distances, this difference is reported descriptively (Figure 6C and Figure 7C).
The localized rule-check scores were similar between Stage 2.5 and Stage III. The mean failure counts were 3.38 and 3.13, respectively, and the paired comparison was not statistically significant (p = 0.500). Both models therefore showed continuing difficulty in controlling figurine counts, sequential order, and attachment positions. The automated metrics reflected prompt responsiveness and cross-seed variation, while the architectural rule checks provided the direct assessment of these local relationships (Figure 5C; Table S3).

6.2. Stage Differences and Interpretive Limits

The three tasks show different patterns of stage-specific performance. Stage I is the most stable in the overall-composition task. Stage II performs more evenly across overall composition and rank response. Some localized automated metrics improve in Stage III, but its architectural rule-check scores do not improve accordingly. The evaluated training configurations exhibited task-specific performance profiles. The complete confidence intervals, omnibus tests, and Holm-adjusted pairwise comparisons are provided in Table S8. The statistical results support task-specific differences in the observed performance patterns, while the small number of matched prompt–seed units limits the strength of model-level generalization. The findings are therefore interpreted as comparisons under the present experimental conditions.
The observed performance differences should be interpreted in light of differences in sample size, image composition, viewpoint distribution, cross-stage image reuse, label content, and optimization settings. Across the stage-wise datasets, most complete-building images represented different building subjects. A smaller number of repeated views of the same building provided complementary information through changes in camera position, shooting distance, or viewing angle. These two forms of variation contribute differently to the training data. Different building subjects broaden the coverage of architectural appearance, whereas repeated views provide additional information about framing, scale, visible detail, and perspective. Image-instance counts therefore describe the number of training examples, while the number of distinct building subjects describes subject-level diversity. These two measures are related but not interchangeable. The larger Stage II dataset may provide more stable parameter updates, whereas the smaller Stage III and Stage 2.5 datasets may be more sensitive to overfitting and sample-specific effects.
Because sample size, image composition, label content, and optimization parameters changed simultaneously, the observed performance differences represent comparisons among complete training configurations. The four fixed random seeds used during inference were treated as matched evaluation conditions and do not constitute independent training replications. The confidence intervals and statistical tests should therefore be interpreted as conditional comparisons under the present data, prompts, and inference settings. Future studies should use matched sample sizes, building-level data separation, and repeated training seeds to improve the causal interpretation and reliability of the comparisons. From the perspective of digital representation of architectural heritage, the difficulty of representing architectural information in generative models varies across levels. In addition to overall appearance, traditional architecture involves rule-based information such as component configurations, rank hierarchies, and spatial relationships. Models can generate overall forms relatively well, but they still struggle to reproduce these fine-grained architectural rules consistently. Future generation methods therefore need more direct structural constraints and controls based on architectural rules.

6.3. Failure Patterns and Possible Causes in the Localized Roof-Ridge Task

Roof ridge–ridge figurine relationships are among the most difficult aspects to control consistently in this study. The models can generate basic elements such as roof ridges, eave corners, and ridge figurines, but errors remain common in count patterns, arrangement order, and attachment positions. Generating the basic local forms has not yet translated into reliable control over their number, sequence, and attachment relationships.
These problems may be related to the data and control methods. The dataset contains relatively many images of complete main halls, but few detail images that clearly show the sequence and attachment relationships of ridge figurines. The images are also concentrated on frontal and upward oblique views, in which perspective, occlusion, and changes in scale can affect the appearance of some figurines. Text labels can specify counts, categories, and approximate positions, but provide weaker constraints on proportions, sequence, and local geometric relationships.
Because the experiment did not independently control for sample size, viewpoint distribution, and training parameters, it cannot establish the independent effect of each factor. The results show that, under the current data and training conditions, text labels and few-shot LoRA still provide unstable control over the number, sequence, and attachment relationships of roof ridge figurines.

6.4. Directions for Future Improvement

Future experiments could add standardized detail images of roof ridges and ridge figurines, with particular emphasis on oblique side views that clearly show their number, arrangement, and attachment positions. Using comparable sample sizes and optimization parameters across stages would also help isolate the effects of label content. Comparisons with base models could likewise be conducted under consistent data, labeling, and inference conditions.
For localized roof-ridge generation, edge maps and line drawings could preserve the ridge line, eave-corner geometry, and attachment positions of ridge beasts. Segmentation maps could distinguish the roof ridge, glazed tiles, and ridge beasts, allowing the structural condition to focus on the local components under investigation. ControlNet could impose these spatial conditions during diffusion, while T2I-Adapter could provide lightweight feature-level conditioning [6,24,25]. These conditions would mainly strengthen geometric and component-level guidance. Accurate representation of figurine counts and sequences would also benefit from count-aware labels, object-level or graph-based constraints, and standardized detail images. A combined design integrating structural conditions, local labels, and architectural rule checks could provide a more direct basis for evaluating control over figurine number, order, proportions, and attachment positions. For applications involving specific architectural ranks, component rules, or historical interpretation, specialist assessment would complement the image-level rule-check framework used in this study. Image inpainting could extend this approach to the visual comparison of restoration alternatives for damaged palace roofs and missing ridge ornaments. A proposed workflow would combine architectural labels and LoRA adaptation with photographs of the surviving structure, masks of missing regions, and structural cues derived from measured drawings or historical photographs [8,24,25]. Performance could be tested by concealing known regions in photographs of intact buildings outside the fine-tuning dataset and comparing the generated completions with the original images. Relevant criteria include agreement in roof outlines, continuity with the visible structure, and the number, sequence, and attachment positions of ridge figurines. For genuinely damaged buildings, archival and measured evidence would guide the comparison of candidate appearances, with specialists assessing their historical plausibility.
In architectural education, generated examples could serve as material for examining the reliability of AI representations. Students would consult documented photographs and textbook descriptions to identify errors in roof forms, eave configurations, and ridge-figurine relationships, then compare their annotations with the itemized records and automated scores reported in this study (Figure 4, Figure 5, Figure 6 and Figure 7; Tables S1–S3). This comparison directs attention to the relationship between visual plausibility, metric values, and architectural correctness. A teaching pilot could assess changes in error recognition and the use of architectural evidence through comparable unseen examples presented before and after the activity. The same checklist could guide the selection and annotation of generated illustrations for heritage public communication.

7. Conclusions

This study organized observable visual information in images of Ming and Qing palatial architecture into four categories comprising style, components, rank, and relationships, and incorporated task-specific labels through staged LoRA fine-tuning. Comparisons with the base model and single-stage LoRA revealed task-dependent performance across the evaluated configurations. Stage I obtained the highest mean architectural rule-check score for overall composition, and Stage II for rank response. The combined evaluation showed that text–image alignment and cross-seed consistency can coexist with errors in architectural features. In the localized roof-ridge task, both Stage 2.5 and Stage III generated the basic forms of roof ridges and ridge figurines, while the figurines’ number, arrangement, proportions, and attachment positions remained inconsistent. Stage III had descriptively higher CLIPScore and lower LPIPS than Stage 2.5, but the paired CLIPScore comparison did not reach statistical significance. The architectural rule-check results were also similar between the two stages. These findings show that automated metrics can describe prompt responsiveness and cross-seed variation, while direct rule checks remain necessary for evaluating localized architectural relationships. Under the current sample and training conditions, text labels and few-shot LoRA handle overall composition and some rank-related features more effectively than localized counts and spatial relationships. These findings are based on small and unequal stage-wise datasets, with images concentrated in frontal and upward oblique views. Sample composition, label content, and optimization settings varied across stages, so the comparisons describe the performance of the evaluated training configurations. Evaluation with balanced datasets, broader viewpoint coverage, and repeated training runs would help establish how consistently these patterns extend to other settings.
The findings provide evidence for evaluating generated heritage imagery and developing local completion methods that address the errors observed here. Applying image inpainting to damaged roof regions would require comparison with surviving fabric, measured drawings, and historical photographs, followed by specialist assessment of the proposed appearance. The recorded examples also offer material for assessing AI-generated architecture against established architectural sources in teaching, with their educational effectiveness to be examined through teaching trials.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/buildings16234880/s1, Table S1; image-by-image architectural rule scores for the overall-composition task; Table S2; image-by-image architectural rule scores for the rank-response task; Table S3; image-by-image failure-item records for the localized roof-ridge task; Table S4; LoRA training parameters and the final checkpoints used for the main stages; Table S5; software, hardware, and standardized inference parameters; Table S6; standardized positive prompts for the three evaluation tasks; Table S7; the reference-file inventory and task-specific assignments; and Table S8, confidence intervals and statistical comparisons for the automated metrics and architectural rule-check scores.

Author Contributions

Conceptualization, Y.H. and Y.K.; methodology, Y.K. and Y.H.; software, Y.K.; validation, Y.K., M.C. and H.W.; formal analysis, Y.K.; investigation, Y.K., M.C. and H.W.; resources, Y.H.; data curation, Y.K. and M.C.; writing—original draft preparation, Y.K.; writing—review and editing, Y.H., M.C. and H.W.; visualization, Y.K.; supervision, Y.H.; project administration, Y.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the 2025 Wuhan Municipal Social Science Fund Post-Funding Program (Key Project, Grant No. 2025018), under the project entitled “Research on Digital-Intelligent Conservation and Revitalization and Utilization Pathways of Wuhan Architectural Heritage in the Context of Urban Renewal”.

Data Availability Statement

The image-by-image architectural rule-check records, training and inference parameters, standardized prompts, and reference-image list for this study are provided as Supplementary Materials. Other related data and intermediate generated samples are available from the corresponding author upon reasonable request.

Acknowledgments

The authors thank the Department of Architecture, School of Civil Engineering, Architecture and Environment, Hubei University of Technology, for academic and technical support during this study. During manuscript preparation, the authors used ChatGPT Work and Codex (OpenAI; model: GPT-6 Sol), including its image-generation functionality, to assist in preparing and refining conceptual schematic illustrations. The authors reviewed and edited the outputs and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ma, H.; Zhou, Z.; Wang, Y. Digital Preservation and Development of Architectural Heritage from a Virtual Perspective: A Systematic Review. npj Herit. Sci. 2025, 13, 594. [Google Scholar] [CrossRef] [Scilit]
  2. Xu, J.; Yan, L.; Zhang, R.; Zhou, M. A Review of the Development and Application of Generative Technology in Digital Museums. npj Herit. Sci. 2025, 13, 589. [Google Scholar] [CrossRef] [Scilit]
  3. Liu, Z.; Li, T.; Ren, T.; Chen, D.; Li, W.; Qiu, W. Day-to-Night Street View Image Generation for 24-Hour Urban Scene Auditing Using Generative AI. J. Imaging 2024, 10, 112. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Meng, J.; Fang, X.; Xu, J.; Zhang, Z. Research on the Innovative Application of Song Dynasty Boundary Painting in Interior Soft Decoration Design Based on AIGC. Buildings 2025, 15, 1067. [Google Scholar] [CrossRef] [Scilit]
  5. Yang, J.; Wang, G. Structure-Aware Stable Diffusion for Traditional Architectural Decoration Design. Mach. Learn. Appl. 2025, 22, 100735. [Google Scholar] [CrossRef] [Scilit]
  6. Kuang, Z.; Zhang, J.; Li, Y.; Fukuda, T. Preserving Architectural Heritage in Urban Renewal: A Stable Diffusion Model Framework for Automated Historical Facade Generation. npj Herit. Sci. 2025, 13, 256. [Google Scholar] [CrossRef] [Scilit]
  7. Li, Z.; Song, Z.; Lu, S. How to Generate a Museum Floor Plan: LoRA for Diffusion Models, or GANs? Front. Archit. Res. 2026, 15, 1040–1058. [Google Scholar] [CrossRef] [Scilit]
  8. Rombach, R.; Blattmann, A.; Lorenz, D.; Esser, P.; Ommer, B. High-Resolution Image Synthesis with Latent Diffusion Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 19–24 June 2022; pp. 10674–10685. [Google Scholar] [CrossRef] [Scilit]
  9. Hu, E.J.; Shen, Y.; Wallis, P.; Allen-Zhu, Z.; Li, Y.; Wang, S.; Wang, L.; Chen, W. LoRA: Low-Rank Adaptation of Large Language Models. In Proceedings of the International Conference on Learning Representations (ICLR), Virtual, 25–29 April 2022; Available online: https://openreview.net/forum?id=nZeVKeeFYf9 (accessed on 14 December 2024).
  10. Isola, P.; Zhu, J.-Y.; Zhou, T.; Efros, A.A. Image-to-Image Translation with Conditional Adversarial Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 5967–5976. [Google Scholar] [CrossRef] [Scilit]
  11. Zhu, J.-Y.; Park, T.; Isola, P.; Efros, A.A. Unpaired Image-to-Image Translation Using Cycle-Consistent Adversarial Networks. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 2242–2251. [Google Scholar] [CrossRef] [Scilit]
  12. Ruiz, N.; Li, Y.; Jampani, V.; Pritch, Y.; Rubinstein, M.; Aberman, K. DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 18–22 June 2023; pp. 22500–22510. [Google Scholar] [CrossRef] [Scilit]
  13. Lin, Y.; Ma, X.; Chu, X.; Jin, Y.; Yang, Z.; Wang, Y. LoRA Dropout as a Sparsity Regularizer for Overfitting Reduction. Knowl.-Based Syst. 2025, 329, 114241. [Google Scholar] [CrossRef] [Scilit]
  14. Hessel, J.; Holtzman, A.; Forbes, M.; Le Bras, R.; Choi, Y. CLIPScore: A Reference-Free Evaluation Metric for Image Captioning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing (EMNLP), Punta Cana, Dominican Republic, 7–11 November 2021; pp. 7514–7528. (accessed on 6 June 2024). [Google Scholar] [CrossRef] [Scilit]
  15. Zhang, R.; Isola, P.; Efros, A.A.; Shechtman, E.; Wang, O. The Unreasonable Effectiveness of Deep Features as a Perceptual Metric. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–22 June 2018; pp. 586–595. [Google Scholar] [CrossRef] [Scilit]
  16. Radford, A.; Kim, J.W.; Hallacy, C.; Ramesh, A.; Goh, G.; Agarwal, S.; Sastry, G.; Askell, A.; Mishkin, P.; Clark, J.; et al. Learning Transferable Visual Models From Natural Language Supervision. In Proceedings of the 38th International Conference on Machine Learning (ICML), Virtual, 18–24 July 2021; Proceedings of Machine Learning Research. Volume 139, pp. 8748–8763. Available online: https://proceedings.mlr.press/v139/radford21a.html (accessed on 22 August 2026).
  17. Kirstain, Y.; Polyak, A.; Singer, U.; Matiana, S.; Penna, J.; Levy, O. Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generation. In Proceedings of the Advances in Neural Information Processing Systems 36 (NeurIPS 2023), New Orleans, LA, USA, 10–16 December 2023; pp. 36652–36663. [Google Scholar] [CrossRef] [Scilit]
  18. The Palace Museum. Wudian Roof [庑殿顶]. Available online: https://www.dpm.org.cn/lemmas/241669.html (accessed on 22 August 2026). (In Chinese)
  19. The Palace Museum. Xieshan Roof [歇山顶]. Available online: https://www.dpm.org.cn/lemmas/241941.html (accessed on 22 August 2026). (In Chinese)
  20. Wang, M. On the Hierarchical System of Ancient Chinese Architectural Construction [谈中国古代建筑构造等级制]. Shanxi Archit. 2013, 39, 8–9. (In Chinese) [Google Scholar]
  21. The Palace Museum. Research on the Value and Scientific Conservation of Glazed Components in Ancient Architecture [古代建筑琉璃构件价值揭示与科技保护研究]. 18 October 2012. Available online: https://www.dpm.org.cn/forum_detail/100133.html (accessed on 22 August 2026). (In Chinese)
  22. Loshchilov, I.; Hutter, F. Decoupled Weight Decay Regularization. In Proceedings of the 7th International Conference on Learning Representations (ICLR), New Orleans, LA, USA, 6–9 May 2019; Available online: https://openreview.net/forum?id=Bkg6RiCqY7 (accessed on 22 August 2026).
  23. Hang, T.; Gu, S.; Li, C.; Bao, J.; Chen, D.; Hu, H.; Geng, X.; Guo, B. Efficient Diffusion Training via Min-SNR Weighting Strategy. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 2–6 October 2023; pp. 7407–7417. [Google Scholar] [CrossRef] [Scilit]
  24. 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 (ICCV), Paris, France, 2–6 October 2023; pp. 3813–3824. [Google Scholar] [CrossRef] [Scilit]
  25. Mou, C.; Wang, X.; Xie, L.; Wu, Y.; Zhang, J.; Qi, Z.; Shan, Y. T2I-Adapter: Learning Adapters to Dig Out More Controllable Ability for Text-to-Image Diffusion Models. Proc. AAAI Conf. Artif. Intell. 2024, 38, 4296–4304. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.