Next Article in Journal
Comparative Epidemiology of Machine and Deep Learning Diagnostics in Diabetes and Sickle Cell Disease: Africa’s Challenges, Global Non-Communicable Disease Opportunities
Next Article in Special Issue
NERFlow: A Workflow-Based Subsystem of FIT4NER for LLM-Assisted Medical Named Entity Recognition
Previous Article in Journal
3D-Printed Cylindrical Dielectric Antenna Optimized Using Honey Bee Mating Optimization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Content-Preserving Image Style Transfer via Reversible Networks with Meta ActNorm

1
Department of Commerce Technology and Management, Chihlee University of Technology, New Taipei City 220305, Taiwan
2
Department of Computer Science and Information Engineering, Tamkang University, New Taipei City 251301, Taiwan
3
Department of Media and Image Technology, Faculty of Engineering, Tokyo Polytechnic University, Tokyo 164-0012, Japan
*
Authors to whom correspondence should be addressed.
Electronics 2026, 15(2), 395; https://doi.org/10.3390/electronics15020395
Submission received: 16 December 2025 / Revised: 12 January 2026 / Accepted: 13 January 2026 / Published: 16 January 2026

Abstract

Image style transfer aims to synthesize visually compelling images by blending the structural content of one image with the artistic style of another. While arbitrary style transfer methods such as AdaIN and WCT offer flexibility, they often suffer from content distortion and style leakage, particularly in complex or cross-domain scenarios. Recent approaches like ArtFlow address these issues through reversible architectures, effectively reducing distortion and leakage while providing consistent reconstruction. However, ArtFlow’s reliance on fixed normalization parameters limits adaptability across diverse content–style pairs, motivating further improvement. In this paper, we propose ISTMAF (Image Style Transfer based on Meta ArtFlow), a scalable and adaptive reversible framework that incorporates Meta ActNorm—a meta-network that dynamically generates input-specific normalization parameters. To further improve the integration of content and style, we introduce an algebraic–geometric parameter fusion strategy in the reverse process, along with a hierarchical aligned style loss to reduce artifacts and enhance visual coherence. Experiments on MS-COCO, WikiArt, and face datasets demonstrate that ISTMAF achieves superior content preservation and style consistency compared to recent state-of-the-art methods. Quantitative evaluations using SSIM and Gram difference further confirm its effectiveness. ISTMAF provides a flexible, high-fidelity solution for style transfer and shows strong generalization potential, paving the way for future extensions in multi-style fusion, video stylization, and 3D applications.

1. Introduction

Neural style transfer (NST) has gained significant attention due to its ability to synthesize visually compelling images by combining the structural content of one image with the artistic appearance of another [1,2,3,4,5,6,7,8,9]. Early and widely adopted methods such as AdaIN [7] and WCT [10] support arbitrary style transfer by aligning feature statistics between content and style images. Despite their flexibility and efficiency, these approaches often struggle with fine-grained content preservation and are prone to distortion and style leakage, particularly in complex scenes or cross-domain stylization.
To address these challenges, several studies have explored alternative architectures and optimization strategies. Among them, reversible and flow-based models [11] have emerged as a promising direction due to their inherent invertibility and information-preserving properties. ArtFlow [8], for example, employs a reversible image transformation framework to mitigate content distortion by reconstructing stylized features through inverse mapping. ArtFlow effectively reduces structural distortion and leakage compared to conventional encoder–decoder or statistic-based methods. However, its use of fixed normalization parameters limits adaptability to diverse content–style pairs, particularly in scenarios with highly varied structures or artistic styles.
More broadly, the use of static normalization parameters is a common limitation across many style transfer frameworks. Fixed designs reduce the ability to adapt dynamically to varying style intensities, structural complexity, or domain shifts—motivating the need for a more flexible normalization mechanism that preserves reversibility.
Recent advances also explore new paradigms for improving generalization and efficiency. For instance, Wei [1] employs a CycleGAN-based structure to stylize artworks more realistically, while Gim et al. [2] introduce a training-free content-adaptive strategy using vector-quantized autoencoders. Tu et al. [4] propose a split-and-transform approach to improve content preservation. However, most recent methods still rely on non-reversible designs or lack interpretability in stylization control.
While recent generative models such as diffusion and large vision–language frameworks demonstrate strong stylization abilities, they often operate as black-box systems, lacking interpretability and requiring substantial computational resources. In contrast, reversible architectures like ISTMAF offer explicit control, lower complexity, and precise content preservation. These characteristics make them better suited for specialized domains such as embedded vision systems, low-power edge computing, and style transfer tasks with explainability or reconstruction demands.
In this work, we propose ISTMAF (Image Style Transfer based on Meta ArtFlow), an enhanced reversible architecture that integrates meta-learning-based normalization. Specifically, we replace the fixed ActNorm in ArtFlow with Meta ActNorm, which dynamically generates scale and bias parameters conditioned on the input content and style images [12]. This modification allows ISTMAF to adapt to varied content and style combinations more effectively than ArtFlow, particularly in challenging cross-domain stylization scenarios. Additionally, we introduce an algebraic–geometric parameter fusion mechanism in the reverse process to improve content–style balance, and adopt a hierarchical aligned style loss [9] to reduce artifacts and enhance consistency across layers.
The main contributions of this work are summarized as follows:
  • Meta ActNorm module: We design a meta-network to generate input-specific normalization parameters, enhancing adaptability across diverse content–style pairs.
  • Algebraic–geometric parameter fusion: A novel strategy is proposed to fuse content and style parameters during the reverse process, effectively mitigating content leaking and improving reconstruction fidelity.
  • Hierarchical aligned style loss: We extend the hierarchical loss function [9] to style transfer, reducing ghosting artifacts and improving the quality of stylization.
  • Comprehensive evaluation: Extensive experiments on COCO [13], WikiArt [14], and face datasets [15,16] show that ISTMAF achieves superior performance in both content preservation (SSIM [17]) and style consistency (Gram difference [5]) compared to state-of-the-art methods.

2. Related Work

Image style transfer has developed along several major directions, each focusing on balancing content preservation and stylization quality. In this section, we categorize related literature into four representative groups: arbitrary style transfer, GAN-based stylization, flow-based reversible frameworks, and adaptive normalization techniques. This structured overview helps highlight common limitations in current methods and motivates the design of our proposed model.

2.1. Arbitrary Style Transfer via Statistic Matching

Early methods such as AdaIN [7] and WCT [10] introduced efficient and flexible style transfer by aligning content and style feature statistics in the latent space. AdaIN performs per-channel normalization using style mean and variance, enabling arbitrary style transfer in real time. WCT and its variants (e.g., LinearWCT [18], OptimalWCT [19]) extend this by applying whitening and coloring transforms to better match second-order statistics. While successful in speed and generality, these approaches often suffer from content distortion, style leakage, and poor adaptation to cross-domain or high-resolution settings.
Recent works such as CLAST [20] employ contrastive learning to enhance style–content separability in feature space, leading to improved stylization quality and representation robustness. However, these models still operate in feedforward architectures without reversible mappings or exact reconstruction capabilities.

2.2. GAN-Based Style Transfer

Generative adversarial networks (GANs) have been extensively applied to style transfer tasks, especially for improving visual realism and domain adaptation. CycleGAN [6], StarGAN [21], and MUNIT [22] represent key approaches that achieve unpaired image-to-image translation with adversarial supervision and domain conditioning. While GANs produce vivid stylizations, they often lack explicit mechanisms for content preservation, and their training instability may lead to mode collapse or artifacts.
Recent extensions such as StarGAN v2 [23] improve style controllability and diversity through reference-guided generation, while Wei [1] demonstrates stylistic realism by fine-tuning CycleGAN structures for artistic content. More recently, UniStyleDiff [24] introduces a unified framework for both image and video style transfer using diffusion models, demonstrating strong performance across modalities. However, these GAN- or diffusion-based methods often lack exact invertibility and do not explicitly address reconstruction fidelity, making them less interpretable or controllable compared to flow-based solutions like ours.

2.3. Flow-Based and Reversible Models

Flow-based models offer invertible mappings between image and feature space, enabling exact likelihood estimation and bidirectional transformation [11]. Glow [11] is a representative architecture in this domain, combining ActNorm, invertible 1 × 1 convolutions, and additive coupling layers. These models retain all input information and support image reconstruction and manipulation through latent interpolation. ArtFlow [8] extends Glow for image style transfer, embedding stylization modules such as WCT or AdaIN within a reversible framework. This structure mitigates content leaking by enabling consistent forward and backward transformation. However, ArtFlow uses fixed normalization parameters across all inputs, limiting adaptability to diverse content–style pairs. As a result, the system struggles in scenarios with complex structures or varied domain distributions. To improve upon these limitations, CAP-VSTNet [25] proposes content affinity-preserved reversible residual blocks for better structure preservation during stylization, though it does not incorporate dynamic normalization. Our ISTMAF builds on this line of work by embedding meta-learned, input-adaptive normalization within a reversible structure, enhancing both expressiveness and fidelity.

2.4. Adaptive Normalization and Meta-Learning

Adaptive normalization plays a central role in improving the flexibility of style transfer systems. Instance Normalization (IN) [26] removes instance-specific contrast and has been found essential for stylization. AdaIN [7] builds on this by matching content features to the style’s global statistics. However, both rely on hand-crafted or static designs, which lack adaptability to varying content–style characteristics.
To enhance input awareness, more recent approaches explore conditional normalization and meta-learning. Inspired by techniques such as Feature-wise Linear Modulation (FiLM) [27] and Conditional Batch Normalization, several methods use auxiliary networks to dynamically predict affine parameters for normalization based on conditioning inputs.
Meta-learning has further advanced this capability by enabling fast generalization to unseen styles or content distributions. For instance, Meta-AdaIN generates normalization parameters from meta-learned priors. In this context, we propose Meta ActNorm, a meta-network that generates scale and bias parameters conditioned on both content and style images. By embedding Meta ActNorm into a reversible architecture, our method retains the advantages of invertibility while improving adaptation and stability during stylization.
Other recent efforts such as Tu et al. [4] propose a split-and-transform scheme, where content structure and stylistic texture are disentangled and processed through separate branches before fusion. Similarly, Gim et al. [2] propose a training-free, content-adaptive approach using VQ-based autoencoders.
Notably, StyleDiffusion [28] explores controllable disentangled style transfer through diffusion models, showing promising results in stylization flexibility. However, like other diffusion-based approaches, it lacks reversible designs and does not guarantee exact reconstruction. Our proposed ISTMAF bridges this gap by combining meta-learning with invertible flow-based architectures, achieving robust, adaptive, and interpretable style transfer.

3. The Proposed Method

This paper improves the ArtFlow style transfer architecture by replacing the ActNorm transformation in the flow network with a meta network version, referred to as Meta ActNorm, which can generate input-specific parameters based on different images, significantly enhancing the adaptability of style transfer. In addition, unlike ArtFlow, which produces a single set of parameters for the input content and style images, the system proposed in this paper generates separate, independent parameter sets for each of the two input images. During the Backward process, the combined effect of these two parameter sets is utilized, which not only increases flexibility but also enhances the transformation performance. We refer to this improved architecture as ISTMAF (Image Style Transfer based on Meta ArtFlow). The following sections describe its structure and training details.

3.1. Overview of the Architecture

The proposed ISTMAF (Image Style Transfer based on Meta ArtFlow) extends ArtFlow [8] by incorporating an adaptive normalization mechanism and a parameter fusion strategy. As illustrated in Figure 1, ISTMAF consists of two primary components: (1) Invertible Feature Extraction (IFE): Based on Glow [11], it is composed of multiple blocks of reversible flows. Each flow includes Meta ActNorm, invertible convolution, and additive coupling. (2) Whitening and Coloring Transform (WCT): Aligns the statistics of content features with those of the style features [10].
The processing pipeline operates as follows: (1) the content and style images are encoded into latent features by the forward IFE; (2) the WCT module transfers style information; (3) the stylized features are decoded back into images using the reverse IFE process. Unlike ArtFlow, ISTMAF dynamically adapts to each input through Meta ActNorm and integrates both content and style parameters during reconstruction. To help readers distinguish the flow directions, Figure 1 uses different colored arrows: red and blue arrows indicate the forward process, while purple arrows represent the reverse process. This color-coded visualization highlights the bidirectional nature of ISTMAF’s architecture. The dotted-line boxes represent repeating flow blocks used in the encoder and decoder, and “×8” indicates that each block is repeated eight times.

3.2. Forward Process

The forward pass maps an input image to the latent feature space through three reversible operations.
Meta ActNorm: Traditional ActNorm uses fixed trainable parameters. We replace it with Meta ActNorm, where scale and bias parameters are dynamically generated by a meta-network conditioned on the input feature maps. Given input feature x, the transformation is shown in Equation (1), where s and b are produced by a meta-network composed of Conv–ReLU–Conv–ReLU–Conv–AdaptiveAvgPooling layers, as shown in Figure 2. Independent parameter sets (sc, bc) and (ss, bs) are generated for content and style images, and stored for the reverse process.
x a c t s x + b
s , b = N e t s b ( x )
Invertible Convolution: Channel-wise feature interaction is achieved by a 1 × 1 invertible convolution as shown in (3), where W is a learnable invertible weight matrix.
Additive Coupling: To ensure invertibility, each flow in the IFE module adopts an additive coupling transformation. Given an input feature map x , it is split along the channel dimension into two halves, ( x a , x b ), as shown in Equation (4). A lightweight sub-network N e t a c (⋅) (e.g., several 3 × 3 Conv–ReLU layers) takes x a as input and produces a residual with the same shape. This residual is added to the other part x b , as shown in Equation (5). The output is then obtained by concatenating the two parts along the channel dimension, as shown in Equation (6).
y = W × x
( x a , x b ) = s p l i t ( x )
y a = x a ,   y b = N e t a c ( x a ; θ ) + x b
y = c o n c a t ( x a , y b )
This design ensures exact reversibility: the forward step uses addition, and the inverse step simply subtracts the same transformation. The Jacobian of the additive coupling is triangular with determinant 1, meaning the log-determinant term is zero. To enable both partitions of the feature to be transformed across different layers, invertible 1 × 1 convolutions (or channel permutations) are inserted between coupling layers, ensuring sufficient information mixing and stronger representation power. The complete forward mapping is summarized in Algorithm 1.
Algorithm 1 Projection (Forward Pass)
Input:   feature   x ;   parameters   θ s b ,   θ ,     w
Output: feature y; parameters s, b
1.   #meta actnorm
2.      s ,   b   =   N e t s b ( x ; θ s b ) ;
3.    x a c t s x + b ;
4.    # invertible   1 × 1 conv
5.    x c o n v w x a c t ;
6.   #additive coupling
7.    x a , x b     s p l i t ( x c o n v ) ;
8.    y b N e t a c ( x a ; θ ) + x b ;
9.    y c o n c a t ( x a , y b )
10.    return y, s, b

3.3. Reverse Process

The reverse process reconstructs the stylized features back into image space by applying the inverse operations of the three components used in the forward pass: Meta ActNorm, invertible 1 × 1 convolution, and additive coupling. These operations are applied in reverse order and are elaborated below.
Inverse Additive Coupling: We first split the stylized feature tensor y into two equal parts, y a and y b , as defined in Equation (7). The inverse transformation then subtracts the learned transformation Net a c ( y a ; θ ) from y b , and concatenates the result with y a to reconstruct the feature map, as shown in Equation (8).
y a , y b = split ( y )
y ^ a c p l = concat ( y a , y b Net a c ( y a ; θ ) )
Inverse Invertible 1 × 1 Convolution: The second step reverses the invertible convolution. The transformed feature y ^ a c p l is multiplied by the inverse of the learned weight matrix W , as shown in Equation (9).
y ^ c o n v = W 1 y ^ a c p l
Inverse Meta ActNorm: The final step applies the inverse of the Meta ActNorm transformation. Given the scaling ( s ) and bias ( b ) parameters used in the forward pass, the original pixel value x i , j is recovered from the normalized feature y ^ i , j c o n v using Equation (10).
x i , j = y ^ i , j c o n v b s
In our method, the forward process simultaneously processes both content and style images, each producing its own set of Meta ActNorm parameters: s c , b c for the content image, and s s , b s for the style image.
Unlike ArtFlow, which uses a single set of fixed parameters ( s , b ) for the inverse normalization step, we introduce a parameter fusion mechanism that dynamically combines the parameters from both the content and style images. This design aims to better balance content preservation and style alignment during reconstruction. To achieve this, we propose two parameter fusion strategies: (1) Algebraic Fusion (AF): Computes a weighted arithmetic mean of the content and style parameters using a fusion coefficient α [ 0 , 1 ] , as defined in Equation (11). (2) Geometric Fusion (GF): Uses the geometric mean for the scale parameter, which is more appropriate given its multiplicative role, and applies the same operation to the bias for consistency, as shown in Equation (12). The complete reverse procedure is summarized in Algorithm 2.
s = α × s c + ( 1 α ) × s s ,     b = α × b c + ( 1 α ) × b s
s = s c × s s ,     b = b c × b s
Algorithm 2 Reversion (Reverse Process)
Input: feature y; parameters θ and w ; scalars s and b
Output: feature x
1.   #inverse additive coupling
2.      y a , y b s p l i t ( y ) ;
3.      y a c p l c o n c a t ( y a , y b N e t a c ( y a ; θ ) ) ;
4.   #invertible 1 × 1 conv
5.      y c o n v w 1 y a c p l ;
6.   #inverse meta actnorm
7.        x ( y c o n v b ) / s ;
8.   return x

3.4. ISTMAF Operation Process

The overall ISTMAF workflow integrates the above steps: (1) Encoding: The content and style images are sequentially fed into the forward IFE, generating latent features and storing Meta ActNorm parameters. (2) Style Transfer: The content and style features are aligned via the WCT module [10]. (3) Decoding: The stylized features are reconstructed through the reverse IFE process, using fused parameters ( s , b ). The complete pipeline is summarized in Algorithm 3.
Algorithm 3 ISTMAF Workflow
Input:  content   image   I c ,   style   image   I s
hyper - parameters :   fusion   factor :   α , no. of blocks: B, no. of flows in each block: n
learnable   parameters :   θ s b = { θ s b i } i = 1 ~ B × n , W = { w i } i = 1 ~ B × n ,   θ = { θ i } i = 1 ~ B × n
Output:  stylized   image   I c s
1.    f c 0 I c ; f s 0 I s ;
2.   for i 1   to   B × n  do
3.     if ( i   m o d   n   ) = 1 then
4.       f c i 1 S q u e e z e ( f c i 1 ) ;
5.       f s i 1 S q u e e z e ( f s i 1 ) ;
6.      f c i , s c i , b c i P r o j e c t i o n ( f c i 1 , θ s b i , θ i , w i ) ;
7.      f s i , s s i , b s i P r o j e c t i o n ( f s i 1   ,   θ s b i , θ i , w i ) ;
8.      s i s c i × s s i   ; #or s i α × s c i + ( 1 α ) × s s i ;
9.      b i α × b c i + ( 1 α ) × b s i ;
10.   end for
11.    f c f c B × n ;
12.    f s f s B × n ;
13.    f c s S T ( f c , f s ) ;
14.   for i B × n   downto   1  do
15.       f c s i 1 R e v e r s i o n ( f c s i , θ i ,   w i , s i , b i ) ;
16.      if  ( i   m o d   n ) = 1  then
17.       f c s i 1 U n q u e e z e ( f c s i 1 ) ;
18.   end for
19.    I c s f c s 0 ;
20.   return  I c s
Following Hierarchy Flow [9], we design a hierarchical loss function that combines content loss and aligned style loss. For content loss, the features are extracted through the activation function in the first layer of the four blocks in the VGG-19 network, represented by ψ 4 _ 1 ( · ) , and subsequently calculated. The features of the stylized image   ψ ( x ^ )   and content image ( x c ) are separately subjected to normalization ( N ), after which their L2 distance is calculated, as shown in Equation (13).
In the design of the style loss, features are extracted using VGG-19, taking the values of ReLU activation function from the first layer of blocks 1 to 4, denoted as   ψ i _ 1 , where   i = 1 ~ 4 . We separately extract the features from the stylized image and style image for the four layers mentioned above, and compute the mean distance   μ ( ψ i _ 1 ( x ^ ) j ) μ ( ψ i _ 1 ( x s ) j ) 2 and standard deviation distance   σ ( ψ i _ 1 ( x ^ ) j ) σ ( ψ i _ 1 ( x s ) j ) 2   between the two images are then calculated.
For each channel, the mean distance and standard deviation distance are sorted using increasing sorting, and the smallest distances in the top 80% (k = 0.8) are selected. The sum of these selected distances is then computed to obtain the so-called align style loss, as shown in (14), where   C μ   and   C σ   represent the sets of relative channels labels corresponding to the top 80% smallest mean and standard deviation distances, respectively. Total loss L t o t a l   is defined as the weighted sum of the content loss and aligned style loss, as shown in (15), where   w c   and w s   are the respective weights.
L c = N ( ψ 4 _ 1 ( x ^ ) ) N ( ψ 4 _ 1 ( x c ) ) 2
L s = i = 1 L j C μ μ ( ψ i _ 1 ( x ^ ) j ) μ ( ψ i _ 1 ( x s ) j ) 2 + i = 1 L j C σ σ ( ψ i _ 1 ( x ^ ) j ) σ ( ψ i _ 1 ( x s ) j ) 2
L t o t a l = w c L c + w s L s

4. Experimental Results

This section provides a comprehensive evaluation of the proposed ISTMAF framework. We first describe the experimental setup, followed by analyses of parameter fusion strategies, multiple transfer results, and additional visual examples. Finally, we compare ISTMAF with state-of-the-art style transfer methods using both qualitative and quantitative metrics.
The experiments are conducted on the MS-COCO 2014 dataset [13] as the content domain (82,783 training and 40,775 test images) and WikiArt [14] as the style domain (42,129 training and 10,628 test images). All images are resized to 512 × 512 and randomly cropped to 256 × 256. The model is trained for 60,000 iterations with a batch size of 2 using the Adam optimizer. The initial learning rate is 1.0 × 10−4 and updated according to a decay schedule, as shown in (16), where t is the iteration index and λ is the decay factor. All experiments are performed on a server with an NVIDIA RTX 2080 GPU and 256 GB RAM. The implementation is based on PyTorch. 2.9.0.
l r = l r 1 + r × t  

4.1. Transfer Results

In the reverse process, ISTMAF fuses the content and style parameters generated by Meta ActNorm. We examine the impact of algebraic fusion (Equation (10)) and geometric fusion (Equation (11)) for scale, with arithmetic averaging for bias. In addition, we test the hierarchical aligned style loss [9] with two configurations: retaining the smallest 80% of channel distances (k = 0.8) or using all channels (k = 1.0). Figure 3 shows the qualitative results under different settings. Both fusion strategies produce visually satisfactory results, with algebraic fusion at k = 0.8 offering the best trade-off between style fidelity and content preservation. Quantitative results (SSIM [17] and Gram difference [5]) confirm this observation, as reported in Section 4.2.
To evaluate robustness against repeated transformations, we apply ISTMAF sequentially from one to five rounds. As shown in Figure 4, even after multiple transfers, the structural integrity of the content is largely preserved and content leaking remains minimal. This demonstrates the stability of the reversible framework combined with Meta ActNorm.
Figure 5 presents more stylization results across diverse content–style pairs, highlighting ISTMAF’s ability to capture rich style characteristics without compromising content structure. Furthermore, we extend the evaluation to face images using FFHQ [15] as the content domain and MetFaces [16] as the style domain, as shown in Figure 6. Without retraining, the model successfully transfers artistic styles to faces, confirming its generalization ability across domains.

4.2. Ablation Study

Building upon the results of visual transfer quality, we further investigate the individual contributions of each component in ISTMAF. To this end, we conduct ablation studies by progressively removing key modules. The evaluated configurations are as follows:
  • Baseline: ArtFlow with fixed ActNorm, without Meta ActNorm or parameter fusion.
  • A1 (Meta ActNorm only): Replacing ActNorm with Meta ActNorm, without fusion strategy.
  • A2 (Fusion only): Using fixed ActNorm with the proposed parameter fusion (algebraic, α = 0.8 ).
  • A3 (Full ISTMAF): Including both Meta ActNorm and fusion strategy (algebraic, α = 0.8 ).
We measure Structural Similarity Index (SSIM) and Gram Difference (GD) to assess content preservation and style fidelity, respectively, as shown in Table 1. These results indicate that Meta ActNorm improves content preservation significantly, while parameter fusion enhances style alignment. The combination of both yields the best performance, confirming the effectiveness of our design. These quantitative improvements are further illustrated in Figure 7, where A3 consistently outperforms the baselines in both SSIM and Gram metrics, visually validating the benefits of combining Meta ActNorm and parameter fusion.

4.3. Comparison with Other Methods

After validating the internal components of ISTMAF, we now assess its performance against several state-of-the-art style transfer methods. These include StyleSwap [29], AdaIN [7], WCT [10], LinearWCT [18], OptimalWCT [19], Avatar-Net [30], Self-Contained [31], and ArtFlow [8]. Figure 8 presents the qualitative results. ISTMAF generates stylizations that better preserve structural details and achieve more consistent style application, outperforming ArtFlow and other baselines.
Table 2 reports quantitative results using SSIM (higher is better, indicating stronger content preservation) and Gram difference (lower is better, indicating closer style alignment). ISTMAF achieves the highest SSIM score (0.61) and the second-lowest Gram difference (0.00057), striking the best balance between content fidelity and style consistency. Although OptimalWCT obtains a slightly lower Gram difference, it suffers from severe content leaking, confirming the superiority of ISTMAF. While no explicit weighted cost function was used, we jointly interpret both metrics to reflect the trade-off between content and style, as both are essential in style transfer.
In addition to visual and numerical performance, we also evaluated the runtime and complexity of ISTMAF. On 512 × 512 resolution images, our model takes 0.143 s per inference on an NVIDIA RTX 3090, compared to 0.126 s for ArtFlow. This modest increase stems from the added Meta ActNorm and parameter fusion mechanisms. The total parameter count increases marginally from 51.8 M (ArtFlow) to 53.1 M. Despite this, ISTMAF maintains real-time efficiency while offering significantly better control over stylization quality and consistency.

5. Conclusions and Discussion

In this work, we presented ISTMAF (Image Style Transfer based on Meta ArtFlow), an enhanced reversible style transfer framework that improves upon ArtFlow by introducing dynamic normalization and parameter fusion strategies. The key novelty lies in the Meta ActNorm module, which generates input-specific parameters conditioned on both content and style images. By incorporating these adaptive parameters into the reversible architecture, ISTMAF effectively enhances flexibility and reduces content leakage. Furthermore, the algebraic–geometric parameter fusion mechanism enables balanced integration of style and content information during the reverse process, while the hierarchical aligned style loss further suppresses ghosting and improves stylization quality.
Through extensive experiments on MS-COCO, WikiArt, FFHQ, and MetFaces, we demonstrated that ISTMAF consistently outperforms state-of-the-art baselines in terms of both content preservation and style fidelity. Quantitative evaluations using SSIM and Gram difference confirmed that our method achieves the best overall balance among compared approaches, while visual comparisons highlighted superior robustness to multi-step transfers and cross-domain stylization.
Unlike recent black-box generative models such as diffusion and Large Language Models (LLMs), ISTMAF offers explicit interpretability, reversible control, and parameter-efficient design, making it suitable for embedded systems and edge applications where real-time inference and transparency are critical. Its general-purpose stylization capability is not meant to compete with text-driven generation, but rather to complement it by supporting domains requiring structure preservation, reconstruction consistency, or user-controllable stylization.
Despite these promising results, there remain opportunities for improvement. First, the current design focuses on single-style transfer. Extending the framework to multi-style fusion within a single transformation process would broaden its applicability. Second, while our experiments show strong robustness in images, extending ISTMAF to video style transfer requires explicit temporal modeling to ensure consistency across frames. Finally, the framework could be generalized to 3D content and depth-aware applications, enabling stylized rendering in more complex visual domains. Overall, ISTMAF provides a flexible, scalable, and robust solution for content-preserving style transfer. Its integration of meta-learning into reversible flows offers new insights for future research in both image generation and adaptive normalization.

Author Contributions

Conceptualization, Y.-T.K., H.J.L. and Y.T.; Methodology, Y.-T.K. and H.J.L.; Software, H.J.L. and K.-J.L.; Validation, Y.-T.K. and H.J.L.; Formal Analysis, H.J.L.; Investigation, Y.T.; Resources, K.-J.L.; Data Curation, K.-J.L.; Writing—Original Draft Preparation, H.J.L.; Writing—Review & Editing Y.-T.K. and Y.T.; Visualization, K.-J.L.; Supervision, Y.-T.K. and H.J.L.; Project Administration, H.J.L.; Funding Acquisition, H.J.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

These data were derived from the following resources available in the public domain: [MS-COCO [13]] https://arxiv.org/abs/1405.0312 (accessed on 30 June 2025). [WikiArt [14]] https://www.wikiart.org/ (accessed on 30 June 2025). [FFHQ [15]] https://www.kaggle.com/datasets/arnaud58/flickrfaceshq-dataset-ffhq (accessed on 30 June 2025). [MetFaces [16]] https://github.com/NVlabs/metfaces-dataset (accessed on 30 June 2025).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wei, Y. Artistic image style transfer based on cyclegan network model. Int. J. Image Graph. 2024, 24, 2450049. [Google Scholar] [CrossRef]
  2. Gim, J.; Park, J.; Lee, K.; Im, S. Content-adaptive style transfer: A training-free approach with vq autoencoders. In Proceedings of the Asian Conference on Computer Vision 2024 (ACCV 2024), Hanoi, Vietnam, 8–12 December 2024; pp. 187–204. [Google Scholar] [CrossRef]
  3. Hertzmann, A.; Jacobs, C.E.; Oliver, N.; Curless, B.; Salesin, D.H. Image analogies. In Proceedings of the 28th Annual Conference on Computer Graphics and Interactive Techniques (SIGGRAPH ‘01), Los Angeles, CA, USA, 12–17 August 2001; pp. 327–340. [Google Scholar] [CrossRef]
  4. Tu, C.-T.; Lin, H.J.; Tsai, Y.; Lin, Z.-J. Arbitrary Style Transfer System with Split-and-Transform Scheme. Multimed. Tools Appl. 2024, 83, 62497–62517. [Google Scholar] [CrossRef]
  5. Gatys, L.A.; Ecker, A.S.; Bethge, M. Image style transfer using convolutional neural networks. In Proceedings of the 2016 Conference on Computer Vision and Pattern Recognition (CVPR 2016), Las Vegas, NV, USA, 26 June–1 July 2016; pp. 2414–2423. [Google Scholar] [CrossRef]
  6. Zhu, J.-Y.; Park, T.; Isola, P.; Efros, A.A. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV 2017), Venice, Italy, 22–29 October 2017; pp. 2242–2251. [Google Scholar] [CrossRef]
  7. Huang, X.; Belongie, S. Arbitrary style transfer in real-time with adaptive instance normalization. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV 2017), Venice, Italy, 22–29 October 2017; pp. 1510–1519. [Google Scholar] [CrossRef]
  8. An, J.; Huang, S.; Song, Y.; Dou, D.; Liu, W.; Luo, J. ArtFlow: Unbiased image style transfer via reversible neural flows. In Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR 2021), Virtual, 19–25 June 2021. [Google Scholar] [CrossRef]
  9. Fan, W.; Chen, J.; Liu, Z. Hierarchy flow for high-fidelity image-to-image translation. arXiv 2023, arXiv:2308.06909v1. [Google Scholar] [CrossRef]
  10. Li, Y.; Fang, C.; Yang, J.; Wang, Z.; Lu, X.; Yang, M.-H. Universal style transfer via feature transforms. In Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017; pp. 385–395. [Google Scholar]
  11. Kingma, D.P.; Dhariwal, P. Glow: Generative flow with invertible 1 × 1 convolutions. In Proceedings of the Thirty-Second Annual Conference on Neural Information Processing Systems (NeurIPS 2018), Montréal, Canada, QC, 3–8 December 2018. [Google Scholar]
  12. Yao, F. A learning theory of meta learning. Natl. Sci. Rev. 2024, 11, nwae133. [Google Scholar] [CrossRef] [PubMed]
  13. Lin, T.-Y.; Maire, M.; Belongie, S.; Bourdev, L.; Girshick, R.; Hays, J.; Perona, P.; Ramanan, D.; Zitnick, C.L.; Dollár, P. Microsoft COCO: Common objects in context. arXiv 2015, arXiv:1405.0312v3. [Google Scholar] [CrossRef]
  14. Nichol, K. Painter by Numbers; Wikiart: Online, 2016; Available online: https://www.kaggle.com/c/painter-by-numbers (accessed on 30 June 2025).
  15. Karras, T.; Laine, S.; Aila, T. A style-based generator architecture for generative adversarial networks. In Proceedings of the 2020 IEEE International Conference on Computer Vision (ICCV 2020), Venice, Italy, 22 June 2020. [Google Scholar]
  16. Karras, T.; Aittala, M.; Hellsten, J.; Laine, S.; Lehtinen, J.; Aila, T. Training generative adversarial networks with limited data. In Proceedings of the 34th International Conference on Neural Information Processing Systems (NIPS 2020), Online, 6–12 December 2020; pp. 12104–12111. [Google Scholar]
  17. Binkowski, M.; Sutherland, D.J.; Arbel, M.; Gretton, A. Demystifying mmd gans. arXiv 2018, arXiv:1801.01401v5. [Google Scholar] [CrossRef]
  18. Li, X.; Liu, S.; Kautz, J.; Yang, M.-H. Learning linear transformations for fast arbitrary style transfer. In Proceedings of the 2019 Conference on Computer Vision and Pattern Recognition (CVPR 2019), Long Beach, CA, USA, 18–20 June 2019. [Google Scholar]
  19. Lu, M.; Zhao, H.; Yao, A.; Chen, Y.; Xu, F.; Zhang, L. A closed-form solution to universal style transfer. In Proceedings of the 2019 IEEE International Conference on Computer Vision (ICCV 2019), Seoul, Republic of Korea, 29 October–1 November 2019. [Google Scholar]
  20. Wang, X.; Wang, W.; Yang, S.; Liu, J. CLAST: Contrastive Learning for Arbitrary Style Transfer. IEEE Trans. Image Process. 2022, 31, 6761–6772. [Google Scholar] [CrossRef] [PubMed]
  21. Choi, Y.; Choi, M.; Kim, M.; Ha, J.W.; Kim, S.; Choo, J. StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2018), Salt Lake City, UT, USA, 19–21 June 2018. [Google Scholar]
  22. Huang, X.; Liu, M.Y.; Belongie, S.; Kautz, J. Multimodal Unsupervised Image-to-Image Translation. In Proceedings of the 15th European Conference on Computer Vision (ECCV 2018), Munich, Germany, 8–14 September 2018. [Google Scholar]
  23. Choi, Y.; Uh, Y.; Yoo, J.; Ha, J.-W. StarGAN v2: Diverse Image Synthesis for Multiple Domains. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Virtual, 14–19 June 2020; pp. 8188–8197. [Google Scholar] [CrossRef]
  24. Yang, S.; Ke, C.; Zhang, J.; Miao, C.; Liu, X.; Wu, S.; Xu, K.; Huang, D.; Fang, H. UniStyleDiff: A unified diffusion-driven framework for image and video style transfer. Expert Syst. Appl. 2026, 305, 130761. [Google Scholar] [CrossRef]
  25. Wen, L.; Gao, C.; Zou, C. CAP-VSTNet: Content Affinity Preserved Versatile Style Transfer. arXiv 2023, arXiv:2303.17867v1. [Google Scholar] [CrossRef]
  26. Ulyanov, D.; Vedaldi, A.; Lempitsky, V. Instance normalization: The missing ingredient for fast stylization. arXiv 2017, arXiv:1607.08022v3. [Google Scholar] [CrossRef]
  27. Perez, E.; Strub, F.; de Vries, H.; Dumoulin, V.; Courville, A. FiLM: Visual Reasoning with a General Conditioning Layer. In Proceedings of the AAAI Conference on Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018. [Google Scholar]
  28. Wang, Z.; Zhao, L.; Xing, W. StyleDiffusion: Controllable Disentangled Style Transfer via Diffusion Models. arXiv 2023, arXiv:2308.07863v1. [Google Scholar] [CrossRef]
  29. Chen, T.Q.; Schmidt, M. Fast patch-based style transfer of arbitrary style. arXiv 2016, arXiv:1612.04337v1. [Google Scholar] [CrossRef]
  30. Sheng, L.; Lin, Z.; Shao, J.; Wang, X. Avatar-net: Multi-scale zero-shot style transfer by feature decoration. In Proceedings of the 2018 IEEE International Conference on Computer Vision (ICCV 2018), Zurich, Switzerland, 15–16 January 2018. [Google Scholar]
  31. Chen, H.-Y.; Fang, I.-S.; Cheng, C.-M.; Chiu, W.-C. Self-contained stylization via steganography for reverse and serial style transfer. arXiv 2020, arXiv:1812.03910v3. [Google Scholar] [CrossRef]
Figure 1. Structure of ISTAMF.
Figure 1. Structure of ISTAMF.
Electronics 15 00395 g001
Figure 2. Structure of Meta Network N e t s b architecture.
Figure 2. Structure of Meta Network N e t s b architecture.
Electronics 15 00395 g002
Figure 3. Results under different settings (a) content, (b) style, (c) algebraic, k = 1.0, (d) algebraic, k = 0.8, (e) geometric, k = 1.0, (f) geometric, k = 0.8.
Figure 3. Results under different settings (a) content, (b) style, (c) algebraic, k = 1.0, (d) algebraic, k = 0.8, (e) geometric, k = 1.0, (f) geometric, k = 0.8.
Electronics 15 00395 g003
Figure 4. Multiple transfer results (a) content, (b) style, (c) 1 round, (d) 3 rounds, (e) 5 rounds.
Figure 4. Multiple transfer results (a) content, (b) style, (c) 1 round, (d) 3 rounds, (e) 5 rounds.
Electronics 15 00395 g004
Figure 5. Examples of style transfer using our method (a) content image, (b) style image (c) stylized image.
Figure 5. Examples of style transfer using our method (a) content image, (b) style image (c) stylized image.
Electronics 15 00395 g005
Figure 6. Examples of transfer using face images (a) content image, (b) style image (c) stylized image.
Figure 6. Examples of transfer using face images (a) content image, (b) style image (c) stylized image.
Electronics 15 00395 g006
Figure 7. Ablation study results of ISTMAF. Blue bars denote SSIM (higher is better), indicating content preservation, and are scaled according to the left y-axis, while orange bars denote Gram Difference (lower is better), reflecting style fidelity, and are scaled according to the right y-axis. The full ISTMAF model (A3) achieves the best balance between content and style performance.
Figure 7. Ablation study results of ISTMAF. Blue bars denote SSIM (higher is better), indicating content preservation, and are scaled according to the left y-axis, while orange bars denote Gram Difference (lower is better), reflecting style fidelity, and are scaled according to the right y-axis. The full ISTMAF model (A3) achieves the best balance between content and style performance.
Electronics 15 00395 g007
Figure 8. Style transfer result comparison: (a) content image, (b) style image, (cj) different transfer methods, (k) our method.
Figure 8. Style transfer result comparison: (a) content image, (b) style image, (cj) different transfer methods, (k) our method.
Electronics 15 00395 g008
Table 1. Ablation study results comparing different configurations of ISTMAF. SSIM reflects content preservation, while Gram Difference (GD) measures style alignment (↑ indicates higher is better; ↓ indicates lower is better).
Table 1. Ablation study results comparing different configurations of ISTMAF. SSIM reflects content preservation, while Gram Difference (GD) measures style alignment (↑ indicates higher is better; ↓ indicates lower is better).
ModelSSIM ↑Gram Diff ↓
Baseline0.530.00107
A10.580.00081
A20.550.00074
A3 (ISTMAF)0.610.00057
Table 2. Comparison of SSIM and Gram difference evaluation scores (↑ indicates higher is better; ↓ indicates lower is better).
Table 2. Comparison of SSIM and Gram difference evaluation scores (↑ indicates higher is better; ↓ indicates lower is better).
MethodSSIM ↑Gram Diff ↓
StyleSwap0.440.00482
AdaIN0.290.00127
WCT0.270.00074
LinearWCT0.350.00093
OptimalWCT0.210.00035
Avatar-Net0.310.00099
Self-Contained0.230.00473
ArtFlow + WCT0.470.00078
ArtFlow + AdaIN0.450.00098
Ours0.610.00057
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.

Share and Cite

MDPI and ACS Style

Kao, Y.-T.; Lin, H.J.; Lin, K.-J.; Tokuyama, Y. Content-Preserving Image Style Transfer via Reversible Networks with Meta ActNorm. Electronics 2026, 15, 395. https://doi.org/10.3390/electronics15020395

AMA Style

Kao Y-T, Lin HJ, Lin K-J, Tokuyama Y. Content-Preserving Image Style Transfer via Reversible Networks with Meta ActNorm. Electronics. 2026; 15(2):395. https://doi.org/10.3390/electronics15020395

Chicago/Turabian Style

Kao, Yang-Ta, Hwei Jen Lin, Kai-Jun Lin, and Yoshimasa Tokuyama. 2026. "Content-Preserving Image Style Transfer via Reversible Networks with Meta ActNorm" Electronics 15, no. 2: 395. https://doi.org/10.3390/electronics15020395

APA Style

Kao, Y.-T., Lin, H. J., Lin, K.-J., & Tokuyama, Y. (2026). Content-Preserving Image Style Transfer via Reversible Networks with Meta ActNorm. Electronics, 15(2), 395. https://doi.org/10.3390/electronics15020395

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop