2.5.1. Baseline Models and Evaluation Protocol
The proposed framework was compared with four representative baseline methods: StyleGAN2, AdaIN, linear style transfer, and SPADE. These methods were selected because they represent the main methodological categories most closely related to the proposed framework: semantically unconstrained generation, feature-statistics-based style transfer, linear feature transformation, and semantic-guided generation. The comparison was designed as a category-based and reproducible evaluation protocol rather than as a claim that these baselines exhaust all recent generative systems. StyleGAN2 was used as a semantically unconstrained generative baseline, providing a reference for latent-space image synthesis without explicit semantic layout preservation [
24]. AdaIN was selected as a representative arbitrary style-transfer method based on adaptive instance normalization, in which the mean and variance of content features are aligned with those of style features [
29]. Linear style transfer was included because it learns feature transformation matrices for fast arbitrary image and video style transfer, thereby representing a stronger feature-transformation baseline than simple global statistics matching [
30]. SPADE was used as a semantic-guided synthesis baseline because it uses semantic maps to modulate normalization parameters and preserve spatial correspondence between semantic layouts and generated images [
23]. These methods provide controlled reference points for examining whether the proposed combination of semantic masks, boundary maps, semantic embeddings, and controllable style modulation improves the structure–style balance in interior style generation.
Because StyleGAN2 does not explicitly take semantic maps or content layouts as input, it was used as a semantically unconstrained reference rather than as a fully content-conditioned style-transfer model. Its results were evaluated using the same post-generation semantic parsing and perceptual evaluation pipeline. Therefore, structure-related results involving StyleGAN2 should be interpreted as a reference for the absence of semantic conditioning, while direct content-aligned comparisons are mainly supported by AdaIN, linear style transfer, SPADE, and the proposed framework. This distinction prevents the StyleGAN2 comparison from being overinterpreted as a one-to-one content-preservation test.
All baseline methods and the proposed framework were evaluated on the same test subset of 500 indoor images. The preprocessing settings, input resolution, semantic label mapping, style reference categories, and evaluation procedures were kept consistent across methods. For fair comparison, all methods were evaluated under the same 256 × 256 resolution and the same four style domains: modern minimalist, Nordic, industrial, and neoclassical. For trainable models or experimental variants, the training and evaluation followed the same data split described in
Section 2.2; for non-trainable or pre-trained style-transfer baselines, the same test subset and evaluation pipeline were applied. This setup ensured that performance differences mainly reflected the effects of semantic-conditional injection and controllable style modulation rather than differences in input preparation, dataset split, or evaluation protocol.
Table 6 summarizes the baseline models, their core mechanisms, and their corresponding structural and stylistic control strategies.
The evaluation protocol included both objective and subjective components. Objective evaluation was organized around three dimensions: structure preservation, style controllability, and perceptual quality. Structure preservation was assessed using semantic boundary offset, semantic region consistency, semantic boundary consistency, and geometric misalignment ratio. Semantic boundary offset measures the average pixel displacement between generated semantic boundaries and input semantic boundaries. Semantic region consistency evaluates the agreement between generated semantic regions and the corresponding input semantic masks. Semantic boundary consistency provides a normalized measure of boundary alignment, while geometric misalignment ratio measures the proportion of regions showing visible layout distortion or object-position mismatch.
Style controllability was evaluated using style response amplitude, style consistency score, style-domain separability, and style diversity score. Style response amplitude measures the degree of visual change produced by different style intensity coefficients. Style consistency score measures the similarity between generated image features and target style-domain features. Style-domain separability evaluates whether generated samples from different styles form distinguishable clusters in the style-feature space, while style diversity score reflects intra-domain variation under the same style category. Perceptual quality was measured using LPIPS, edge sharpness, and texture-pattern detail score. LPIPS measures learned perceptual distance using deep visual features and has been widely used to evaluate perceptual similarity in image generation tasks [
31]. Edge sharpness reflects contour clarity, and the texture-pattern detail score evaluates image-level local texture richness and high-frequency detail representation rather than physical material accuracy.
Table 7 lists the evaluation dimensions, metrics, units or scales, interpretations, and desired directions used in the experiments.
The desired direction of each metric was specified to ensure consistent interpretation of the quantitative results reported in the subsequent analysis. In particular, lower values indicate better performance for semantic boundary offset, geometric misalignment ratio, and LPIPS, whereas higher values indicate better performance for semantic region consistency, semantic boundary consistency, style-related scores, perceptual detail metrics, and subjective ratings. For metrics reported in figures, the corresponding unit or normalized scale was indicated in the axis label or figure caption to avoid ambiguity in quantitative interpretation.
In addition to quantitative metrics, a qualitative comparison layout was designed to organize visual outputs from different methods in a consistent format. As shown in
Figure 2, each row corresponds to one test sample, and the columns include the content image, semantic map, style reference, StyleGAN2 output, AdaIN output, linear style-transfer output, SPADE output, and the proposed output. For StyleGAN2, the displayed result should be interpreted as a semantically unconstrained visual reference rather than as a content-aligned transformation of the same input scene. Including all baseline outputs in the same visual layout allows the qualitative comparison to correspond directly to the baseline protocol summarized in
Table 6 and the quantitative evaluation metrics listed in
Table 7. This layout was used to guide qualitative inspection of typical visual differences in structure preservation, boundary stability, and style expression across methods.
Subjective evaluation was conducted with 20 participants. The group included eight participants with backgrounds in interior design or environmental art, six with backgrounds in computer science, digital media, or artificial intelligence, and six general users without professional design training. This mixed composition was used to balance design-oriented judgment, technical image-quality assessment, and general visual perception. Each participant evaluated the same set of paired outputs generated by the proposed framework and the control model under identical content, semantic-layout, and style-reference conditions. The model identities were concealed, and the presentation order of the image pairs was randomized to reduce ordering and method-recognition bias. Participants rated each output independently for realism, style expression, and structural consistency using a five-point scale. The evaluation was conducted anonymously; no sensitive personal information was collected, and informed consent was obtained before participation. All subjective scores were normalized to the range of 0–1 for comparative analysis.
All objective and subjective results reported in the subsequent Results section were obtained under the settings described above. The reported values therefore refer to the same test subset, input resolution, semantic label mapping, style reference categories, and evaluation protocol. This consistency is important for ensuring that the comparative findings reflect differences in model behavior rather than differences in experimental setup.
2.5.2. Implementation and Metric Calculation Procedure
To improve methodological transparency and support independent reproduction of the evaluation procedure, all quantitative metrics were calculated using a fixed post-generation evaluation pipeline. The proposed framework and all baseline methods were evaluated on the same held-out test subset of 500 indoor images under the inference settings described in
Section 2.5.1. For each test case, the input consisted of a content image
, its corresponding semantic label map
, and a target style-reference image
. The generated stylized image is denoted by
.
The semantic label map is represented as
, where
and
denote the image height and width, respectively, and
is the number of harmonized semantic categories. Let
denote the fixed semantic parsing network used in the post-generation evaluation pipeline. In this study,
was implemented as a U-Net [
32] with a ResNet50 encoder [
33] using the segmentation_models_pytorch library (version 0.3.0; Pavel Iakubovskii) [
34]. The encoder was initialized with ImageNet-pre-trained weights by setting encoder_name = “resnet50” and encoder_weights = “imagenet”, whereas the U-Net decoder and the
-class segmentation head were initialized by the library and subsequently optimized together with the encoder using the harmonized semantic annotations in the training subset. The segmentation head contained
output channels corresponding to the harmonized semantic categories defined in
Section 2.2.
The complete segmentation model—not only its ImageNet-pre-trained encoder—was trained for semantic parsing. The checkpoint achieving the highest validation mIoU of 0.68 across the harmonized semantic categories was retained for evaluation. Validation loss was monitored during training as an auxiliary indicator but was not used as the primary criterion for model selection. No images from the held-out test subset were used for parameter optimization or checkpoint selection.
During metric calculation, all parameters of
were frozen, and the same checkpoint was applied to the generated outputs of every evaluated method. Each generated
RGB image was processed to obtain a
-channel pixel-wise logit map. The softmax function was applied across the
semantic categories to obtain the corresponding probability map. The predicted semantic label at pixel
was determined as
Here, denotes the predicted probability of semantic category at pixel . The input semantic map and the predicted map were evaluated at the same -pixel resolution.
Semantic boundary offset measures the average spatial displacement between the semantic boundaries of the generated image and those of the input scene. Unlike region-level overlap measures, it directly quantifies boundary drift in pixels.
The ground-truth boundary set
and predicted boundary set
were extracted from the corresponding categorical label maps. A pixel was classified as a semantic boundary pixel when at least one pixel in its eight-connected neighborhood had a different semantic label:
Here,
denotes the image domain and
denotes the eight-connected neighborhood of pixel
. The same procedure was applied to
to obtain
. To account for both displaced and missing boundaries, semantic boundary offset was calculated as the symmetric average distance between the two boundary sets:
In Equation (16), and are two-dimensional pixel coordinates and and denote the numbers of pixels in the respective boundary sets. A lower value indicates smaller boundary displacement and stronger structural preservation.
Semantic region consistency evaluates the region-level agreement between the generated semantic layout and the corresponding input semantic layout. It was calculated as the sample-level macro Intersection over Union across the semantic categories present in either the input or predicted semantic map.
Let
and
denote the binary masks of semantic category
in
and
, respectively. The set of valid categories for test sample
is defined as
Semantic region consistency was then calculated as
Here, is a small constant used to ensure numerical stability. The score ranges from 0 to 1, with a higher value indicating stronger semantic region correspondence and better overall layout preservation.
Semantic boundary consistency provides a tolerance-based measure of the proportion of semantic boundaries reproduced by the generated image. It complements semantic boundary offset: Equation (16) measures average displacement distance, whereas semantic boundary consistency measures whether predicted and ground-truth boundary pixels correspond within an acceptable spatial tolerance.
For a tolerance
, boundary precision
was defined as the proportion of predicted boundary pixels located within
pixels of a ground-truth boundary:
Boundary recall
was defined as the proportion of ground-truth boundary pixels for which a predicted boundary occurred within the same tolerance:
The semantic boundary consistency score was calculated as the harmonic mean of boundary precision and recall:
Here,
denotes the indicator function. The tolerance was fixed at
pixels, corresponding approximately to 0.75% of the diagonal length of a
-pixel image and following established boundary-based semantic-segmentation evaluation practice [
35]. The resulting score ranges from 0 to 1, with a higher value indicating stronger semantic boundary alignment.
Geometric misalignment ratio measures the proportion of the input image occupied by semantic components that are substantially displaced, merged, or missing after style transformation. Connected components were extracted separately for each semantic category in the input and predicted label maps.
Let
denote the set of connected semantic components in
. For an input component
, the corresponding predicted component was selected from components with the same semantic label according to maximum IoU:
Here,
denotes the semantic category of component
. If no predicted component of the same category existed, the corresponding IoU was set to zero. A component was classified as geometrically misaligned when its maximum matched IoU was below the predefined threshold
. The geometric misalignment ratio was calculated as
Here, denotes the area of component in pixels. A lower value indicates that a smaller proportion of the scene exhibits severe geometric distortion.
Let
denote the fixed style-feature extractor used throughout the evaluation. Specifically, an ImageNet-pre-trained VGG-19 network was employed to extract multi-scale feature maps from layers relu1-1, relu2-1, relu3-1, relu4-1, and relu5-1 [
36,
37]. For image
, the activation tensor obtained from layer
was reshaped as
, where
,
, and
denote the number of channels, height, and width of the feature map, respectively. The normalized Gram matrix of layer
was calculated as
Each Gram matrix was vectorized and
-normalized before concatenation:
where
. The VGG-19 parameters remained fixed throughout metric calculation. This feature representation was applied consistently in calculating style response amplitude, style consistency, style-domain separability, and style diversity.
Style response amplitude quantifies the magnitude of the visual change produced as the style-intensity coefficient
varies. Let
denote the image generated at intensity
, and let
denote the image generated from the same content–style pair with the style-intensity coefficient set to zero. The relative style-feature displacement was calculated as
A bounded style response amplitude was then obtained as
The score lies in the interval . A higher value indicates that changing the style-intensity coefficient produces a stronger response in the extracted style-feature representation. This metric measures responsiveness rather than style correctness and was therefore interpreted together with style consistency and structure-preservation measures.
Style consistency measures the similarity between the style features of a generated image and the reference feature distribution of its target style category. For style category
, the reference centroid was calculated as
Here, is the number of reference images belonging to target style category , and denotes its -th reference image.
For a generated test image
conditioned on target style category
, the per-sample style consistency score was calculated as
Here, denotes the style consistency of generated sample in target style category . The transformation maps cosine similarity from to . A higher value indicates stronger correspondence between the generated image and the reference feature distribution of its target style category.
The category-level style consistency score was subsequently calculated as
Here, is the number of generated test samples conditioned on target style category . When an overall style consistency result was required, the four category-level scores were macro-averaged so that each target style category contributed equally. The per-sample scores defined in Equation (27a) were retained for the calculation of standard deviations, confidence intervals, and paired statistical comparisons.
Style-domain separability evaluates the discriminability of generated samples belonging to different target style domains in the predefined style-feature space. It is measured as the average pairwise Euclidean distance between the feature centroids of different style domains, reflecting the extent to which the generated style domains form distinguishable clusters in the style-feature representation.
For style domain
, its generated-feature centroid is defined as
where
is the number of generated samples assigned to style domain
,
is the fixed VGG-19-based style-feature representation defined in Equation (23), and
is the total number of target style domains. Style-domain separability is calculated as
A higher value indicates a greater average distance between the generated style-domain centroids and, consequently, stronger separability among the target style domains. This metric evaluates between-domain separation and should be interpreted together with the style consistency and style diversity scores.
Style diversity measures the intra-domain variation among generated images belonging to the same style category. It was calculated from the normalized pairwise distance between style-feature representations:
Here, is the number of generated images in style category . The overall diversity score was obtained by averaging across the target style categories. A higher value indicates greater intra-domain variation, whereas a very low value may indicate that the generator produces excessively similar outputs within the same style category.
Edge sharpness measures the average local gradient magnitude of the generated image. Each generated RGB image was first converted to grayscale luminance using
, with luminance values retained on the 0–255 scale. Horizontal and vertical gradients,
and
, were calculated using the
Sobel operator, and the gradient magnitude at pixel
was defined as
The edge-sharpness score was calculated as
A higher value indicates greater average edge strength and contour definition. Because gradient magnitude may also increase in the presence of noise or high-frequency artifacts, this measure was interpreted jointly with LPIPS, semantic boundary measures, and qualitative outputs rather than as an independent measure of perceptual quality.
Texture-pattern detail score measures the relative high-frequency content of the generated image. The luminance image
was processed using a discrete
Laplacian operator. The raw high-frequency response was calculated as
where
denotes the discrete Laplacian operator. To obtain a comparable score between 0 and 1, the raw response was normalized using the minimum and maximum responses observed across all outputs included in the fixed evaluation protocol:
Here, and were fixed after applying the same calculation to the generated outputs of all evaluated methods. A higher value indicates stronger high-frequency texture-pattern representation. As with edge sharpness, this score was not interpreted independently as evidence of image quality because noise and high-frequency artifacts may also increase the response.
Learned Perceptual Image Patch Similarity (LPIPS) was used to measure the perceptual distance between each generated stylized image and its corresponding original content image [
31]. The official LPIPS implementation with an AlexNet backbone and learned linear calibration layers (net = ‘alex’) was used consistently for all evaluated methods. Before feature extraction, the generated and content images were converted to RGB, resized to
pixels, and normalized to the input range required by the official implementation. For the fixed test subset of
content–generation pairs, the mean LPIPS score was calculated as
Here, denotes the learned perceptual distance computed using the AlexNet-based LPIPS feature extractor. A lower value indicates that the generated image maintains greater perceptual correspondence with the original content image. LPIPS was therefore interpreted as a measure of perceptual content preservation rather than as a direct measure of target-style similarity.
Sample-level metrics, including semantic boundary offset, semantic region consistency, semantic boundary consistency, geometric misalignment ratio, per-sample style consistency, edge sharpness, texture-pattern detail score, and LPIPS, were first calculated separately for each test case. Dataset-level values were subsequently summarized as the arithmetic mean and standard deviation across the fixed test subset. Style response amplitude was calculated separately for each content–style pair at each tested style-intensity coefficient and then summarized across the corresponding test pairs. For style-category-specific sample-level metrics, values were first summarized within each style category and then macro-averaged across the four categories to prevent disproportionate influence from any single style domain. Style diversity was calculated separately within each style domain and then averaged across the four domains, whereas style-domain separability was calculated from the feature centroids of all four generated style domains.
Because the same content–style test pairs were evaluated across the compared methods, statistical comparisons were based on paired observations. For evaluation settings involving more than two paired methods or model variants, overall differences were examined using the Friedman test. When an omnibus difference was detected, the proposed or complete framework was compared with the strongest corresponding comparator using the Wilcoxon signed-rank test [
38], with Holm correction [
39] applied within each family of pairwise comparisons to control the family-wise error rate. Two-model comparisons were evaluated directly using paired Wilcoxon signed-rank tests. For metrics evaluated at multiple style-intensity settings, sample-level values were averaged across the tested settings before inferential comparison. Statistical significance was evaluated at
. Kendall’s
was used as the omnibus effect-size measure, and matched rank-biserial correlation was reported for paired comparisons. In addition, 95% confidence intervals for the mean paired improvements were estimated by paired bootstrap resampling of the test cases. These bootstrap confidence intervals were not adjusted for multiple comparisons, whereas the reported Wilcoxon
p-values were adjusted using the Holm procedure.
The unified calculation procedure ensured that all evaluated methods were compared using identical semantic parsing, style-feature extraction, image preprocessing, metric definitions, and statistical aggregation rules. Consequently, differences in the reported results reflect differences in model outputs under the standardized evaluation protocol rather than differences in metric implementation.