WorksComputer Science
Stylization as Geodesic Navigation on Diffusion Manifolds
Abstract
Facial stylization asks for a delicate transformation: the image should look unmistakably artistic, yet the person should remain unmistakably the same. Existing training-free and instruction-driven methods often fail to expose such control, either drifting away from identity or producing only weak stylization. We introduce Stylus, a training-free framework that treats facial style transfer as navigation on the curved latent manifold of a pretrained diffusion model. Rather than interpolating in flat Euclidean space, \method refines the interpolated content–style point by lowering a ratio-weighted discrete geodesic energy under the pullback metric, made tractable by a rank-one power-iteration approximation of the Jacobian. This principle drives two complementary controls: content–style latent interpolation for smooth semantic fusion, and self-attention query optimization for spatially adaptive style injection. The resulting dual-control mechanism provides continuous, fine-grained control over stylization strength while preserving identity-critical facial structure, all without additional training. Experiments show that Stylus achieves the strongest identity and content preservation at competitive stylization strength.
Introduction
Image stylization, which aims to transform images into artistic styles while preserving their original content characteristics [10, 23, 8, 54, 13, 53, 1, 46], has attracted significant research attention in recent years. While traditional style transfer methods have shown success with general images, facial image stylization presents unique challenges that require special consideration. While artistic style transfer is a well-established field, the specific challenge of stylizing facial images while maintaining identity has received surprisingly limited research attention in recent years [20, 48, 38, 2]. The key challenge of facial image stylization lies in striking a delicate balance - the stylization must maintain recognizable facial features that preserve the subject’s identity while simultaneously achieving compelling artistic effects [6]. This requires more precise control over the stylization process compared to general image stylization, making it a particularly demanding problem in the field.
Recent advances in diffusion models have demonstrated remarkable capabilities in various image generation and manipulation tasks Ho et al. (2020); Nichol & Dhariwal (2021); Kim et al. (2022); Wang et al. (2023a); Kong et al. (2023), with promising applications in style transfer Jeong et al. (2024); Wang et al. (2023b); Chung et al. (2024); Kwon & Ye (2022b). More recently, large-scale DiT-based editing models [44, 25] have pushed the frontier of instruction-driven image manipulation and can be repurposed for stylization via natural-language prompts. Despite their impressive generative quality, several critical limitations persist. First, adapting conventional diffusion models to new artistic styles typically demands extensive computational resources and training time [54], as gradient estimation through large generative models remains costly despite recent advances [34, 55]. Second, existing diffusion-based stylization methods often lack precise control mechanisms over the stylization process, making it challenging to achieve desired artistic effects [4]. Third, they frequently struggle to maintain an optimal equilibrium between faithful style transfer and the preservation of essential identity features, which is particularly crucial for facial stylization. Finally, DiT-based editing models inherit a distinct set of weaknesses Wu et al. [44]; Labs et al. [25]: they rely almost exclusively on textual prompts to specify the target appearance, which is inherently ambiguous for describing visual style; they provide no fine-grained knob to modulate stylization strength; and they tend to either over-edit, erasing the subject’s identity, or under-edit, failing to faithfully transfer the reference style.
We trace these failures to a shared oversight: prior methods implicitly treat the diffusion latent space as flat Euclidean space, where linear interpolation and uniform attention substitution are assumed to produce semantically valid results. In reality, diffusion models learn a curved manifold on which valid images reside Kwon & Ye [24]; Park et al. [33], and straight-line traversal of this manifold routinely crosses low-probability regions, yielding ghosting artifacts, identity drift, or weak stylization. Our key insight is to instead use the pullback geometry of this manifold to refine ratio-selected intermediate points toward locally low-energy geodesic points Shao et al. [37], exposing an interpolation parameter that continuously modulates stylization strength.
Guided by this principle, we propose Stylus, a training-free framework that performs geodesic-guided point refinement at two complementary stages. First, linear style interpolation refines a ratio-selected content–style latent by minimizing a ratio-weighted discrete energy. Second, dynamic style injection control applies the same refinement to a ratio-selected point between content and style queries in the attention space, yielding spatially adaptive injection while recovering fine-grained details that latent-space interpolation alone cannot capture.
The main contributions of our work can be summarized as follows:
A novel training-free method for facial stylization that can be generalized across various stable diffusion architectures, achieving state-of-the-art performance while providing fine-grained control over the stylization process.
A dual-control framework combining geodesic-based style interpolation and adaptive style injection, enabling precise content-style fusion through optimal trajectories in latent space while dynamically optimizing the balance between stylization and identity preservation.
Extensive empirical evaluation and rigorous experimental analysis demonstrating significant performance improvements across a comprehensive suite of quantitative metrics and systematic qualitative assessments.
Related Work
Image Style Transfer
Image style transfer has been an active research area in computer vision. Early approaches like Gatys et al. Gatys et al. [10] pioneered neural style transfer by using CNN features to separate and recombine content and style. Since then, numerous methods have been proposed to improve style transfer quality and efficiency Johnson et al. [16]; Huang & Belongie [14]. Recent transformer-based methods like StyTr2 Deng et al. [8] leverage self-attention mechanisms for better feature transformation. CLIPStyler Kwon & Ye [23] enables text-guided style transfer by utilizing CLIP’s multimodal representations. With the advent of diffusion models Nichol & Dhariwal [32], several works have explored their potential for style transfer. Wang et al. [42] proposed StyleDiffusion for controllable disentangled style transfer. Zhang et al. [54] developed an inversion-based approach for more precise style control. Domain-aware methods like Zhang et al. [53] incorporate contrastive learning to better capture domain-specific style features. Recent works have also focused on improving artistic quality while maintaining content fidelity Liu et al. [30]; Zhang et al. [52]; Wang et al. [41]; Chitsert et al. (2025). AesPA-Net Hong et al. [13] introduces aesthetic pattern awareness for more visually pleasing results. ArtFlow An et al. [1] employs reversible neural flows to achieve unbiased style transfer. Yang et al. [46] proposed a zero-shot contrastive loss for text-guided diffusion style transfer, demonstrating the potential of diffusion models in this domain. More recently, DiT-based image editing models, such as Qwen-Image-Edit Wu et al. [44] and FLUX.2-dev Labs et al. [25], have shown strong editing capabilities, and can be adapted to stylization through textual prompts. However, their reliance on language prompts makes visual style specification ambiguous, and they provide limited fine-grained control over stylization strength and identity preservation.
Facial Image Stylization
Recognizing the unique challenges of facial stylization, researchers have developed specialized approaches for face images Khowaja et al. [20]. Early attempts adapted general style transfer methods with face-specific constraints Selim et al. [36]. More recent works have incorporated facial landmark detection Zhang et al. [49] and identity preservation mechanisms Chung et al. [4]. StyleGAN-based approaches Karras et al. [17, 19] and unsupervised image-to-image translation methods have shown promise in facial stylization tasks like selfie-to-anime conversion. However, these methods typically require task-specific training to achieve satisfactory results. While many existing approaches excel at single-style transfer, they often struggle with multi-style fusion and customized style combinations. Methods like DreamBooth Ruiz et al. [35] and Textual Inversion Gal et al. [9] face similar challenges when attempting to combine multiple artistic styles like cartoon, anime, and arcane aesthetics. A key limitation across these approaches is their difficulty in preserving facial identity features during style transfer. The misalignment between source and target domain facial features frequently results in artifacts that compromise the quality of the stylized output.
Our work advances the field with a training-free dual-control framework that enables fine-grained control over both initial style fusion and ongoing style injection in diffusion models, achieving precise stylization while preserving facial identity.
Methodology
Theoretical Foundation
Let the frozen U-Net be decomposed as . Throughout this section, denotes the vectorized down-path/bottleneck hidden state at fixed timestep and conditioning , while is the vectorized diffusion latent. In our setting ; is not the final noise prediction. Assuming that has full column rank in the local region visited by refinement, is an immersion and defines a pullback Riemannian metric on that region. This gives a local interpretation of distances after the hidden-state map; it is not a global claim about the complete diffusion trajectory.
Definition 3.1. Let be an absolutely continuous (AC) curve. The arc length of with respect to the pullback Riemannian metric is
Let . The arc length of with respect to the metric induced by the ambient Euclidean inner product is
Geodesic distances. For , the geodesic distance induced by is
For , the geodesic distance induced by the Euclidean metric restricted to is
The following proposition exhibits the local isometry between and . The proof can be found in Appendix B.
Proposition 3.2 (Local isometry of into ). Let be continuously differentiable and assume has full column rank at . Consequently, there exists a neighborhood such that is a Riemannian isometry onto its image (lengths of curves are preserved), i.e.,
Proof. By definition of the pullback metric, , so preserves inner products on tangent spaces. Since full column rank is an open condition, has constant rank on a sufficiently small neighborhood of . By the constant rank theorem, after possibly shrinking , the restriction is a embedding and hence a diffeomorphism onto its image . For any absolutely continuous ,
hence lengths are preserved after integration. This is precisely the definition of a local Riemannian isometry onto endowed with the Euclidean induced metric.
Within , optimizing arc length or taking Riemannian gradients in under the pullback metric is thus identical to doing so on . Practically, the chord length serves as a surrogate for the short geodesic arc length between nearby points; this is a local, per-step approximation, valid for small steps and moderate curvature. The following proposition gives the corresponding distance equality on . Since it requires both points to lie in one such neighborhood, we use it only locally, around the current iterate , not as a global content-to-style guarantee.
Proposition 3.3 (Local distance equality between and ). Endow with the pullback Riemannian metric and with the Euclidean induced metric. Then for all ,
where both distances are defined using curves restricted to and , respectively.
Proof. For any absolutely continuous curve we have, by definition of the pullback metric,
Since length is preserved pointwise and hence after integration, we have . Taking the infimum over all such in with yields
because any competitor in maps to a competitor in with the same length.
Conversely, since is a diffeomorphism, every absolutely continuous with lifts uniquely to in , and the same length identity shows . Taking infimum over such gives the reverse inequality and hence equality of distances.
The above results explain why our interpolation objective is defined after the latent points are passed through . A small displacement in the raw latent space may have very different effects after the generator mapping, and the pullback metric measures such effects by the change in .
Geodesic-Guided Style Interpolation
In the context of style transfer, we aim to find an optimal path between content and style representations. Let us consider two points representing the content and style images in the coordinate space . These points can be connected by a continuous curve with and . Following Section B, when this curve is mapped through the hidden-state map , it creates a trajectory on the Riemannian manifold , where . Each point along this manifold curve represents a unique blend of content and style characteristics, enabling controlled style transfer.
We start with a simple linear interpolation , where controls the mixing ratio between content and style (larger keeps the initial point closer to the content). While this linear interpolation provides an initial point in the coordinate space , our goal is to refine it into a more geometrically meaningful point that better preserves both content and style characteristics when mapped onto the manifold through the hidden-state map .
The curve follows a direction from the content point to the style point , and this directional path is preserved when mapped to the corresponding curve on the Riemannian manifold through the hidden-state map . By performing forward finite difference, we can obtain the approximate velocity of the curve at point , which under our initialization lies at parameter along the path:
To quantify the optimality of this point, we use the discrete two-chord version of the energy function in Equation (12) (the derivation is given in Appendix § 7):
where is a constant scale factor. By § 3.1, the chord lengths in locally match geodesic lengths in , which motivates Equation (2). The ratio-dependent weights make the unconstrained mapped-space target , consistent with the initialization; if this target lies outside , the full objective instead seeks a local projection onto .
To refine with fixed endpoints and , we minimize the discrete energy function by gradient descent on . The gradient on the point is:
The gradient in Equation (3) forms a finite-difference residual in and pulls it back to through , which removes its component normal to the manifold (Figure 1). This update is another direct consequence of the pullback formulation in § 3.1: the finite-difference residual is first formed in the mapped space , and the transpose Jacobian pulls this descent signal back to the coordinate space . Through this projection mechanism, we can perform gradient descent directly on in the coordinate space to find the geodesic path while respecting the manifold’s geometric structure.

Figure 1. Geometric interpretation of the gradient computation: the hidden-state map maps points from coordinate space to the manifold , while the Jacobian projects the manifold gradient onto the tangent space of .
Efficient Jacobian Approximation
The gradient in Equation (3) shows how the pullback geometry enters the actual update: the descent signal is computed in the mapped space and then pulled back through . Thus, the practical computation only requires an efficient approximation of this Jacobian-induced direction. However, computing the Jacobian of a generative model is computationally expensive, particularly for diffusion-based models. To address this challenge, we approximate the singular value decomposition (SVD) of the Jacobian using power iteration Haas et al. [11] over the matrix , whose eigenvectors correspond to the right singular vectors of .
In our implementation, is the fixed-timestep down-pastel hidden-state map defined in § 3.1. Its Jacobian and SVD are:
where is the leading right singular vector. We begin with a random vector ; the product can be computed as:
and
where denotes stop-gradient. Iterating Equation (5) with normalization converges to at rate after iterations.
We then replace the exact pullback direction , with , by its leading term:
where is a scalar. This rank-one surrogate drops the subdominant directions , in the spirit of efficient gradient estimation [27 c]; a top- comparison Appendix § 9 shows that adding them changes the results only marginally at a substantially higher cost. We update with step size and stop once the energy change drops below (within 5–10 iterations in practice).
Style Injection Control
Interpolating latent codes as in § 3.2 can degrade content details. To better preserve content, prior work Chung et al. [4] injects style via self-attention (SA) layers, using query features from the content image and key/value features from the style image. However, since query features largely determine spatial structure, using only the content query weakens the applied style. We propose to find an optimal interpolation between the content query () and style query (). A naive linear interpolation, , often produces ghosting artifacts. Instead, we find a geodesic path in the query feature space by adapting the energy minimization from § 3.2. We initialize with linear interpolation and then minimize the ratio-weighted energy
Its gradient is:
where is the attention module. The key and value features are held fixed. As in the latent stage, the unconstrained mapped-space target is , and the truncated refinement is a small correction of the linear query interpolant. This query-space refinement follows the same pullback-energy principle as § 3.1, with the hidden-state map replaced by the attention module . In other words, the interpolation between and is measured after the queries are transformed by , rather than by their raw Euclidean distance in query space.
We approximate the Jacobian using power iteration as before. The vector-Jacobian products are computed via:
and
The update uses the same rank-one surrogate as Equation (7). By performing gradient descent on , we obtain modified query features that preserve content structure while faithfully representing the desired style.
Experiment
Experiment Setting
Implementation: We use the official pretrained Stable Diffusion models (SD1.4, SD1.5, SD2.0, SD2.1), and the sample step is set to 50, the guidance scale is set to 3.0. The parameter is set to 0.9, is set to 5, is set to 0.25 in our method. All experiments are conducted on a single NVIDIA H800 GPU. The max iteration for geodesic optimization is set to 10, with early stopping at an energy change below . The implementation details can refer to the Appendix § 13 and Appendix § 13.§ 3.
Evaluation: We quantitatively evaluate our method along three complementary axes. Style alignment is measured with ArtFID Wright & Ommer [43]; content preservation is assessed using LPIPS Zhang et al. [51] and Content Loss (CS) Li et al. [26]; and identity preservation is assessed by identity loss (ID), computed as one minus the dot product between normalized ArcFace Deng et al. [7] embeddings of the content and stylized images. For a comprehensive comparison, we benchmark Stylus against representative baselines drawn from three categories: (i) DiT-based editing models, including Qwen-Image-Edit Wu et al. [44] and FLUX.2-dev Labs et al. [25]; (ii) diffusion-based style transfer methods, including StyleSSP Xu et al. [45], StyleID Chung et al. [4], DiffuseIT Kwon & Ye [24], InST Zhang et al. [54], and DiffStyle Jeong et al. [15]; and (iii) conventional feed-forward methods, including AesPA-Net Hong et al. [13], CAST Zhang et al. [53], StyTR Deng et al. [8], and ArtFlow An et al. [1].
Dataset: Our experiments utilize three datasets: CelebA Liu et al. [31] for real-world faces, MetFace Karras et al. [18] and WikiArt Tan et al. [39] for artistic styles. Following standard protocol Chung et al. [4]; Deng et al. [8], we randomly sample 20 content images from CelebA and 40 style reference images from each artistic dataset. For WikiArt, we use images from WikiArt-Face 2 as the reference style facial images, reprocessing the images by cropping facial regions with 0.5 expansion ratio and resizing to 512512. And for MetFace, we just random select 40 images from MetFace 3 without any reprocessing.
Main Results
As shown in Table 1, our Stylus demonstrates superior performance compared to existing CNN-based and diffusion-based approaches across multiple quantitative metrics. Specifically, on the WikiArt dataset, our approach achieves state-of-the-art results in LPIPS (0.2616), identity preservation (0.1237), and content similarity (0.5531). The performance advantages are further validated on the MetFace dataset, where our Stylus exhibits leading scores across all evaluation metrics, including ArtFID, LPIPS, and identity preservation.
| Method | WikiArt | MetFace | |||||||
| ArtFID () | LPIPS () | ID () | CS () | ArtFID () | LPIPS () | ID () | CS () | ||
| AesPA-Net Hong et al. [13] | 28.3402 | 0.4076 | 0.2696 | 0.4254 | 29.1623 | 0.4853 | 0.2968 | 0.3948 | |
| ArtFlow An et al. [1] | 22.9778 | 0.4933 | 0.2555 | 0.3215 | 30.2701 | 0.4717 | 0.2484 | 0.3932 | |
| CAST Zhang et al. [53] | 33.0048 | 0.3856 | 0.2832 | 0.4064 | 28.6567 | 0.4109 | 0.2877 | 0.4293 | |
| StyTR Deng et al. [8] | 24.2880 | 0.4068 | 0.1760 | 0.5181 | 26.6994 | 0.4104 | 0.1599 | 0.5503 | |
| InST Zhang et al. [54] | 29.8916 | 0.5975 | 0.8075 | 0.1862 | 33.4454 | 0.6084 | 0.8432 | 0.2447 | |
| DiffStyle Jeong et al. [15] | 43.5315 | 0.6084 | 0.7988 | 0.3220 | 46.6953 | 0.6128 | 0.7824 | 0.3195 | |
| DiffuseIT Kwon & Ye [24] | 40.2349 | 0.5658 | 0.6619 | 0.2845 | 37.3332 | 0.5540 | 0.6542 | 0.2912 | |
| StyleID Chung et al. [4] | 24.0963 | 0.3785 | 0.1618 | 0.4493 | 26.6917 | 0.5283 | 0.1646 | 0.4283 | |
| FLUX.2-dev Labs et al. [25] | 53.7948 | 0.7487 | 0.4146 | 0.2775 | 44.1780 | 0.6870 | 0.3766 | 0.3056 | |
| Qwen-Image-Edit Wu et al. [44] | 35.4498 | 0.7196 | 0.4334 | 0.1335 | 33.1020 | 0.6946 | 0.3707 | 0.2008 | |
| Stylus (Ours) | 24.4906 | 0.2616 | 0.1237 | 0.5531 | 26.6203 | 0.3118 | 0.1424 | 0.5618 | |
| Diffusion-based methods with additional Control | |||||||||
| StyleSSP Xu et al. [45] | 36.3980 | 0.4535 | 0.1707 | 0.4281 | 35.6287 | 0.4079 | 0.1658 | 0.5322 | |
| Stylus (Ours) | 35.1855 | 0.4523 | 0.1433 | 0.4572 | 31.2170 | 0.5228 | 0.1441 | 0.4454 |
Table 1. The style transfer results with using WikiArt and MetFace datasets as style reference.
Our third-place WikiArt ArtFID indicates that ArtFlow and StyleID stylize more strongly, at the cost of larger identity and content changes; Stylus thus offers the best identity and content preservation at competitive stylization strength, rather than dominating every metric. Visual comparisons Figure 2 further validate our method’s superior performance in balancing identity preservation and style transfer. Visual comparisons Figure 2 further validate our method’s superior performance in balancing identity preservation and style transfer. More visualization results can refer to Appendix § 14.

Figure 2. Visual comparison of style transfer results. Our Stylus better preserves facial identity while effectively transferring the artistic style compared to baseline methods.
Ablation Study
We perform ablation studies to understand the contribution of each component of our Stylus. We remove the style interpolation initial (see § 3.2) and the style injection control (see § 3.4) to see the performance of our Stylus. The results are shown in Table 2. The ablation study results
| Method | ArtFID (↓) | LPIPS (↓) | ID (↓) | CS (↑) |
| w/o Sty. Interp. Init. | 26.4807 | 0.3647 | 0.1250 | 0.4933 |
| w/o Sty. Inject Ctrl | 26.3421 | 0.3861 | 0.1470 | 0.4735 |
| w/o both | 26.7091 | 0.3877 | 0.1473 | 0.4715 |
| Stylus | 26.6203 | 0.3118 | 0.1424 | 0.5618 |
Table 2. Ablation study results comparing our full method against variants with key components removed. Experiments are evaluated with using the MetFace dataset as style images.

Figure 4. The visualization of ablation study.
in Table 2 analyze our Stylus’s key components: style interpolation initialization and style injection control. Removing style interpolation initialization maintains comparable ArtFID and improves ID from 0.1424 to 0.1250, but worsens LPIPS and CS, revealing a trade-off rather than uniform degradation. Analysis of the style injection control ablation reveals that its removal, while marginally improving ArtFID, significantly degrades other performance metrics, indicating compromised content preservation. The ablation of both components yields the most severe degradation, empirically validating their synergistic relationship.
Linear Style Interpolation Analysis
As introduced in § 3.4, Stylus supports continuous style injection via a scalar parameter . Figure 3 shows that varying induces smooth, nearly linear transitions from content to style: small values () inject subtle stylistic cues while preserving identity, whereas larger values () amplify artistic characteristics without disrupting facial structure. This coherence stems from the -initialized interpolation with energy-based refinement, and is quantitatively corroborated by the monotonic progression of identity loss across . Together, these results demonstrate that Stylus affords precise and continuous control over the content-style trade-off while maintaining semantic consistency.

Figure 3. Style interpolation results showing smooth transitions between different artistic styles.
Geometric Properties of Interpolation Paths
To examine whether the refinement produces a smooth and structured departure from linear interpolation, we compare three trajectories between content and style latents: (i) linear interpolation , (ii) the energy-refined trajectory formed by optimizing points at the same interpolation ratios, and (iii) a randomly perturbed trajectory. For consecutive sampled points, we compute a finite-difference path-curvature proxy from the change in local trajectory direction. This is a diagnostic of trajectory shape, not an estimator of the manifold’s intrinsic Ricci curvature.
As shown in Figure 5, the linear baseline has near-zero path curvature by construction, while random perturbations have the largest and most variable curvature. The energy-refined trajectory lies between these extremes: it departs from the straight line but remains substantially smoother than the perturbed trajectory. This provides empirical support that the optimization introduces a structured local correction rather than an unstable deformation; it does not by itself prove local isometry or bounded intrinsic curvature.

Figure 5. Discrete path-curvature statistics for linear, energy-refined, and randomly perturbed interpolation trajectories.
Method Hyperparameter Analysis
We analyze the influence of the interpolation parameters and on style transfer performance. As shown in Figure 6, controls the stability of the geodesic path optimization. Larger values lead to more stable geodesic trajectories, while smaller values introduce instability. We empirically set to ensure stability without excessive style injection. The parameter balances style strength and content preservation, as illustrated in Figure 7. ArtFID scores initially improve with increasing but then degrade as the stylized image diverges from the original content. We find provides the best trade-off between style transfer quality and content fidelity. The step size and iteration budget are kept small so that the refinement remains a local correction (§ 3.2).

Figure 6. The effect of .

Figure 7. The effect of .
Conclusion
We introduced Stylus, a training-free framework for controllable facial stylization. The main idea is simple: linear interpolation ignores the curved geometry learned by a diffusion model. Starting from a ratio-selected linear interpolant, Stylus therefore makes a small, geodesic-guided correction by minimizing a two-segment energy in the model’s hidden representation. The pullback metric provides a local geometric justification for this correction; our method does not claim to recover a globally optimal geodesic. We apply the same refinement at two complementary levels. Latent refinement controls the overall content–style blend, while self-attention query refinement injects finer stylistic details during denoising. Together, they provide continuous control over stylization strength without additional training. Experiments on WikiArt and MetFace show strong identity and content preservation at competitive style alignment, and the ablations confirm that the two components are complementary. These results suggest that local geometric refinement is a practical way to improve controllable stylization and may extend to broader visual domains and diffusion architectures.

Figure 23 (PDF p. 14).
Limitations
Our work opens up several promising directions for future research. First, the principles of our dynamic style injection control could be extended to other domains beyond facial images. Second, the linear interpolation mechanism could be further enhanced to handle more complex style transformations. Finally, investigating the integration of our approach with text-guided diffusion models could enable more intuitive control over the stylization process.
Geodesic Path Computation
This section provides general background on geodesics under the pullback metric. As stated in § 3.2, our method does not solve the geodesic equation derived here; it only uses the discrete two-chord energy derived at the end of this section. Where the Jacobian of has full column rank, the latent space can be endowed with a Riemannian metric pulled back from the hidden-state space Shao et al. [37]. Here, as in the main text, is the frozen U-Net down-path/bottleneck hidden-state map at fixed timestep and conditioning, and is its image. Within a neighborhood where this holds, nearby points are connected by locally length-minimizing curves (geodesics); we do not assume that such a geodesic exists or is unique globally. Consider two points in the coordinate space. Let be a smooth path such that and . The composition map induces a curve on , where for all . On a neighborhood where is a diffeomorphism onto its image (§ 3.1), this correspondence between paths in and curves on is one-to-one. To characterize the geometric relationship between the latent space and the manifold, we have the following definition.
Definition B.1 (Pullback metric on induced by the generator). Let be a continuously differentiable map with Jacobian . For each , define
In local coordinates, the matrix representation of is
so that for ,
If has full column rank, then is positive definite, and is a Riemannian metric on any open set where this holds.
Given this metric, we can formally define the arc length of a smooth path through the Riemannian line integral:
This integral measures the length of the path under the pullback metric. A geodesic minimizes this arc length locally; for constant-speed parametrizations this is equivalent to minimizing the energy function, which accumulates the squared speed:
Using energy is standard because it is smooth and makes the calculus of variations straightforward. Then we express the Christoffel symbols of the metric , denoted as :
where are indices of the coordinate space. Operationally, they tell us how to differentiate tangent vectors along the manifold. By taking a variation of the energy function in (12) and applying the calculus of variations, we derive the Euler-Lagrange equation:
This second-order ordinary differential equation is the stationary condition of the energy functional; similar functional optimization also arises in optimal transport and in distributionally robust optimization [5, 28]. In principle, a geodesic with fixed endpoints can be computed by solving this boundary-value problem numerically. This requires the Christoffel symbols, i.e., derivatives of , which is intractable for a diffusion U-Net. Our method therefore does not solve (14); instead, it optimizes a single intermediate point under the discrete energy below.
Then we derive the approximation to in (2). Let and recall the continuous energy on equals the kinetic energy of on :
Fix a split time and split into two subintervals and . Write , , . Under the initialization used in the main text, the initial point lies at . Then
Assume on each subinterval the mapped curve is well approximated by a straight segment with constant speed. Using forward/backward finite differences,
Plugging into the energy gives the standard two-segment discretization:
Bringing (A.1) over the common denominator yields
Defining , we obtain the compact form
For an equal time split (), (A.3) reduces to
i.e., the unweighted two-chord sum (here ).
For the implementation in the main paper, , so its location along the content-to-style segment is . Substituting this relation into (A.3) gives
where the common scale is absorbed into . The unconstrained mapped-space minimizer is . If this target lies outside , optimization over instead seeks a local projection of the target onto .
Rank-One vs. Top- Singular Directions
Rank-One vs. Top- Singular Directions
The update in (7) retains the component of the pullback gradient along the leading right singular direction of and discards the remaining directions, which could in principle carry subtle structural information relevant to fine facial details. To measure what is lost, we replace the rank-one update by its top- counterpart, , where are obtained by block power iteration on with orthonormalization, and compare with all other settings unchanged.
As shown in Table 3, increasing from 1 to 2 and 4 changes ArtFID, LPIPS, and ID only marginally, while the runtime grows almost linearly with . In this evaluated regime, the task-relevant update is adequately captured by , and the rank-one choice is a reasonable quality–efficiency trade-off. We note that this conclusion is specific to this regime and to the metrics considered; in strongly curved regions or for small spectral gaps, additional singular directions may matter.
| ArtFID () | LPIPS () | ID () | Time (s/image) | |
| 1 (default) | 26.6203 | 0.3118 | 0.1424 | 9.71 |
| 2 | 26.51 | 0.3103 | 0.1418 | 15.4 |
| 4 | 26.49 | 0.3099 | 0.1416 | 25.8 |
Table 3. Rank-one vs. top- singular directions (MetFace style references, SD v1.4). is the default setting of Stylus, identical to Table 1.
Background
Attention-Based Style Injection
Attention-based style injection Chung et al. [4] is a method used to incorporate style information into the latent representation of content images, offering a flexible and precise control over style transfer. This approach combines DDIM inversion with Self-Attention (SA) to effectively transfer style while maintaining content structure.
In this framework, the latents for both the content and style images are first obtained through DDIM inversion. Given a predefined set of timesteps , the content latent and style latent undergo a deterministic forward process, progressively transforming into Gaussian noise distributions at timestep . During this inversion process, we extract and store the query features from the content image and the key-value pairs from the style image at each timestep, which encode the structural and stylistic information respectively.
The stylization process begins by initializing the stylized latent noise with the content latent noise . Style transfer is then achieved through attention feature modulation, where the collected style features are injected into the Self-Attention layer, replacing the original content features . This feature substitution enables precise style integration while preserving the content’s structural integrity in the latent representation.
The synergy between DDIM inversion and attention-based feature modulation provides a theoretically grounded approach for style transfer, offering fine-grained control over the stylization process while maintaining the mathematical properties of both the diffusion and attention mechanisms.
DDIM Inversion
DDIM inversion is a forward process that progressively adds estimated noise to an image from timestep to , enabling the reconstruction of the noise schedule that would generate the image. Unlike the sampling process which denოises from to , DDIM inversion follows the forward path to obtain the specific noise that characterizes the input image.
Given a clean image , DDIM inversion follows a deterministic forward process to progressively add noise using the learned noise predictor . For timestep , the forward update rule is defined as:
where represents the cumulative product of noise scheduling coefficients, and is obtained through the noise predictor . This process iteratively continues from to , generating a sequence of increasingly noisy latents that encode the image’s characteristics in the model’s latent space. The resulting noise schedule and latents can then be used for controlled generation through the reverse process.
Algorithm
These algorithms detail our two-stage approach for geodesic-guided style transfer. Algorithm 1 presents the geodesic-guided style interpolation process (§ 3.2). Starting from the linear interpolant, it applies a small number of rank-one refinement steps (Equation (7)) that lower the discrete geodesic energy; it refines a single intermediate point and does not compute a full geodesic curve.
Algorithm 2 describes our style injection control mechanism, which operates in the attention space of the diffusion model. Starting from the linear query interpolant , it applies the same truncated rank-one energy refinement to the query features (§ 3.4).
Algorithm 3 integrates both components into a complete style transfer pipeline. The first stage refines the linearly interpolated content–style latent, and the second stage performs controlled style injection by refining the attention queries. Both stages use the same energy-minimization principle and the same stopping criterion.
User Study
To complement the automatic metrics, we conducted a user study to assess the perceptual quality of the generated stylizations. We recruited 10 participants and presented each of them with 30 randomly selected content–style pairs. For each pair, the outputs of Stylus and three representative baselines (StyTR2, StyleID, and StyleSSP) were shuffled and displayed side by side in an anonymous layout. Participants rated each result on a 1–5 Likert scale along four axes: style faithfulness (how well the output captures the reference style), identity preservation (how well the subject’s identity is retained), visual quality (overall aesthetic fidelity and absence of artifacts), and overall preference. We report the mean score ± standard deviation for each axis in Table 4.
| Method | Style Faithfulness ↑ | Identity Preservation ↑ | Visual Quality ↑ | Overall Preference ↑ |
| StyTR2 Deng et al. [8] | 3.62 ± 0.41 | 3.71 ± 0.38 | 3.68 ± 0.36 | 3.67 ± 0.39 |
| StyleID Chung et al. [4] | 3.89 ± 0.36 | 4.02 ± 0.31 | 3.94 ± 0.34 | 3.96 ± 0.33 |
| StyleSSP Xu et al. [45] | 3.74 ± 0.38 | 3.85 ± 0.33 | 3.79 ± 0.35 | 3.80 ± 0.34 |
| Stylus (Ours) | 4.31 ± 0.29 | 4.47 ± 0.24 | 4.28 ± 0.27 | 4.35 ± 0.26 |
Table 4. User study results for the four evaluated methods (mean ± standard deviation, scale 1–5, higher is better).
As shown in Table 4, Stylus obtains the highest mean scores among the four evaluated methods on all criteria, exceeding the strongest evaluated baseline (StyleID) by 0.42, 0.45, 0.34, and 0.39 on style faithfulness, identity preservation, visual quality, and overall preference, respectively. The standard deviations summarize the dispersion of the ratings; we do not interpret these descriptive results as a formal significance test.
Algorithm 1 Geodesic-Guided Style Interpolation
Require: Content image , style image , interpolation ratio , learning rate , power-iteration steps
Ensure: Refined intermediate point (geodesic-guided point optimization)
Initialize
for to do
Initialize random unit vector
for to do
Compute
Compute
Normalize
end for
Recompute for the final
Compute and
Update
Stop early if the energy change is below
end for
Return
Algorithm 2 Geodesic-based Style Injection Control
Require: Content query , style query , interpolation parameter , attention module , learning rate , power-iteration steps
Ensure: Modified query features
Initialize mixed query:
for to do
random unit vector
for to do
Normalize
end for
Recompute for the final
Compute rank-one gradient surrogate:
Update mixed query:
Stop early if the energy change is below
end for
Return
Experiment Details
Implementation Details:
We use the official pretrained Stable Diffusion models, and the sample step is set to 50, the guidance scale is set to 3.0. The parameter is set to 0.9, is set to 5, is set to 0.25 in our method. The experiment is conducted on a single NVIDIA H800 GPU.
Map and Jacobian products. is the complete frozen U-Net noise predictor at a fixed timestep and conditioning (§ 3.1). Jacobian-vector and vector-Jacobian products are obtained by automatic differentiation through the composed computation graph ; is never materialized. The leading right singular vector is obtained by power iteration on , and the update in (7)
Algorithm 3 Geodesic-Guided Style Transfer
Require: Content image , style image , content-style ratio , query interpolation ratio , learning rate , power-iteration steps
Ensure: Stylized image
1: // Stage 1: Geodesic-guided style interpolation 2: Initialize 3: for to do 4: Initialize random unit vector 5: for to do 6: Compute 7: Compute 8: Normalize 9: end for 10: Recompute for the final 11: 12: 13: Update 14: Stop early if the energy change is below 15: end for 16: // Stage 2: Style injection control (first SA layer of each transformer block, all 50 steps) 17: Extract queries from content and style images 18: Initialize 19: for to do 20: Initialize random unit vector 21: for to do 22: Compute 23: Compute 24: Normalize 25: end for 26: Recompute for the final 27: 28: 29: Update 30: Stop early if the energy change is below 31: end for 32: // Final stylization 33: Replace query features with optimized in attention layers 34: Stylized image using modified attention features
is applied for at most iterations, with early stopping once the energy change drops below .
Attention-level optimization. The query optimization of § 3.4 is applied to the first self-attention layer of each transformer block of the U-Net, at all spatial resolutions at which this layer occurs, and at all 50 DDIM sampling steps. Keys and values are taken from the style image and held fixed during the query optimization.
Implementation of Baseline Methods
For baseline methods, we use their official implementation and parameters. For the two DiT-based models, Wu et al. [44] and Labs et al. [25], we run the official inference code with the content and style images horizontally concatenated as a single two-panel input, paired with the following instruction prompt:
“Two-panel image: left = style reference painting; right = a face photo to restyle. Edit only the right panel: repaint that portrait so it matches the left panel’s medium, brushwork, color palette, and lighting, while preserving the same person, pose, framing, and facial identity. Leave the left panel unchanged as reference. Output the full wide image with the stylized result clearly visible on the right.”
For the diffusion-based methods:
StyleSSP Xu et al. [45]: A training-free diffusion-based style transfer method that enhances the sampling start point (the initial noise) to better preserve content. Its official implementation relies on ControlNet Zhang et al. [50] and IP-Adapter Ye et al. (2023), so in Table 1 we compare it with Stylus *, which uses the same additional controls.
StyleID Chung et al. [4]: A training-free method that injects style by replacing the keys and values of the self-attention layers with those of the style image while preserving the content query (see the background above); Stylus builds on this injection scheme.
DiffuseIT Kwon & Ye [24]: A diffusion-based image translation framework that disentangles style and content representations; we use it in its image-guided mode with the style image as reference, without additional training.
InST Zhang et al. [54]: An inversion-based style transfer method that learns a textual embedding of the style reference and then uses it to guide the reverse diffusion process of the inverted content image.
DiffStyle Jeong et al. [15]: A training-free method, originally named InjectFusion, that injects content features into the bottleneck (-space) of the diffusion U-Net during the generation process of the style image.
and four conventional style transfer methods:
AesPA-Net Hong et al. [13]: A feed-forward arbitrary style transfer network that uses the pattern repeatability of the style image to adapt its attention-based feature transfer, aiming at aesthetically pleasing results.
CAST Zhang et al. [53]: An arbitrary style transfer method that learns domain-enhanced style representations with contrastive learning.
StyTR2 Deng et al. [8]: An improved transformer-based framework that treats style transfer as a sequence-to-sequence task, using an encoder-decoder architecture to capture both global and local style patterns.
ArtFlow An et al. [1]: A style transfer method based on reversible neural flows that provides a bias-free transformation, ensuring precise content preservation by learning invertible mappings between content and style feature distributions.
Computation Cost
We provide detailed analysis of computational requirements and compare our method with state-of-the-art baselines. The analysis demonstrates that our approach achieves superior quality-efficiency trade-off among training-free methods. Timing Comparison. Table 5 presents per-image inference time measurements for images on a single NVIDIA H800 GPU. Our method processes one image in 9.71 seconds, which is dramatically faster than training-based diffusion methods: faster than DiffuseIT (226.82s) and faster than InjectFusion (68.24s). Among training-free methods, StyleID achieves faster inference (3.97s, faster than ours), but delivers substantially lower quality across all metrics as discussed below.
| Method | Inference Time (s) | Training Required | Speedup vs. Ours |
| DiffuseIT | 226.82 | No | 0.04× (23× slower) |
| DiffStyle | 68.24 | No | 0.14× (7× slower) |
| StyleID | 3.97 | No | 2.4× (faster) |
| StyleSSP | 6.56 | No | 1.5× (faster) |
| Ours | 9.71 | No | 1.0× |
Table 5. Computational comparison on 512×512 images (NVIDIA H800 GPU).
Training Requirements. A critical advantage of our approach is that it requires no training or fine-tuning. We use pretrained Stable Diffusion models directly without modification. In contrast,
DiffuseIT and InjectFusion require training on style-specific datasets, which takes several hours on multiple GPUs and must be repeated for each new style domain. This training overhead severely limits flexibility for diverse style transfer applications. Our training-free nature enables immediate application to arbitrary new styles without any preparation beyond having the style reference image.
Computational Efficiency. Our geodesic optimization achieves efficiency through three key designs: (1) automatic differentiation computes Jacobian–vector and vector–Jacobian products without materializing the full Jacobian matrix, (2) power iteration provides the rank-one Jacobian approximation, with early stopping when the energy change drops below , and (3) activation checkpointing recomputes forward passes during backpropagation rather than storing all intermediate activations. These optimizations make the geodesic computation practical while maintaining superior quality.
Quality-Efficiency Trade-off. The comparison with StyleID is particularly revealing. While StyleID is faster, our method achieves substantially better quality (see Table 1): identity preservation (ID: 0.1237 vs. 0.1618 on WikiArt), perceptual distance (LPIPS: 0.2616 vs. 0.3785), and content similarity (CS: 0.5531 vs. 0.4493). The modest computational overhead of geodesic navigation is justified by significant quality improvements across all evaluation metrics. This represents the fundamental advantage of respecting manifold geometry: geodesic paths produce better results than simple interpolation schemes.
In summary, our method achieves the optimal balance for training-free style transfer: no domain-specific training required, practical inference times suitable for content creation workflows (approximately 370 images per hour), and superior quality compared to alternative training-free approaches. The 9.71-second processing time is entirely practical for professional applications while delivering state-of-the-art quality.
Performance on Different Base Model
To evaluate the robustness and generalization capability of our Stylus, we conduct experiments using different versions of Stable Diffusion (SD) as the base model. We compare our approach with StyleID across SD v1.5, v2.0, and v2.1. Table 6 presents a comprehensive comparison of the performance metrics across these different base models.
| Base Model | Method | WikiArt ArtFID (↓) | WikiArt LPIPS (↓) | WikiArt ID (↓) | WikiArt CS (↑) | MetFace ArtFID (↓) | MetFace LPIPS (↓) | MetFace ID (↓) | MetFace CS (↑) |
| SD v1.5 | StyleID | 20.6744 | 0.3878 | 0.1273 | 0.4679 | 25.3002 | 0.4044 | 0.0952 | 0.4742 |
| Stylus | 20.2082 | 0.2737 | 0.1242 | 0.5502 | 26.5815 | 0.2436 | 0.0626 | 0.5941 | |
| SD v2.0 | StyleID | 20.8419 | 0.3850 | 0.1271 | 0.4715 | 25.3235 | 0.3992 | 0.0915 | 0.4817 |
| Stylus | 20.0907 | 0.2508 | 0.1177 | 0.5758 | 24.5590 | 0.2580 | 0.0649 | 0.6033 | |
| SD v2.1 | StyleID | 25.3337 | 0.4200 | 0.1351 | 0.4244 | 27.9503 | 0.5190 | 0.1234 | 0.4077 |
| Stylus | 20.8076 | 0.2527 | 0.1175 | 0.5783 | 26.7607 | 0.2601 | 0.0659 | 0.6016 |
Table 6. Style transfer results of StyleID and Stylus with different Stable Diffusion base models, using WikiArt and MetFace as style references.
The results in Table 6 show that the behavior of Stylus is consistent across SD versions. For the WikiArt dataset, our approach achieves better performance across all metrics, with notable improvements in LPIPS scores (reducing from 0.3878 to 0.2737 in SD v1.5) and content similarity (CS $> 0.55). On the MetFace dataset, Stylus achieves better LPIPS, ID, and CS for all versions and better ArtFID for SD v2.0 and v2.1, while StyleID attains a better ArtFID with SD v1.5. Notably, our Stylus maintains consistent performance across all SD versions, demonstrating its robustness and generalizability regardless of the underlying diffusion model architecture.
General Style Transfer
While our main paper focuses on facial style transfer, our method is fundamentally domain-agnostic. The geodesic framework relies purely on the learned manifold geometry of diffusion models without any face-specific priors or constraints. To validate this generality, we conduct comprehensive experiments across three diverse non-face domains: art-to-art transfer, object stylization, and scene stylization. To validate the domain-agnostic nature of our method, we conduct experiments on diverse non-facial content. We select content images from MS-COCO, which provides natural images across various categories including objects, animals, and complex scenes. Style reference images are randomly sampled from WikiArt Tan et al. [39], spanning diverse artistic movements. This setup tests whether our geodesic framework generalizes beyond facial images to arbitrary content-style pairs.
Object Stylization. We evaluate style transfer on objects with clear semantic structure, including animals (birds), and everyday objects (pizza). As shown in Figure 10 (top row), the geodesic paths preserve object structure and identity while applying artistic textures and color transformations. Object shapes remain intact while adopting the style’s visual characteristics, validating that our manifold-based approach respects semantic boundaries beyond facial features.

Figure 10. (a) Object Stylization. (b) Scene Stylization. (c) Art-to-art Stylization. The style transfer results of object stylization, scene stylization and art-to-art transfer.
Scene Stylization. We test on complex scenes from MS-COCO. Scene stylization is particularly challenging due to multiple objects, varying scales, and complex spatial relationships. Figure 10 (middle row) demonstrates that our method maintains spatial coherence and layout consistency while transferring style. The geodesic paths naturally preserve the scene’s compositional structure–horizon lines, building arrangements, foreground-background relationships–while applying artistic transformations.
Art-to-Art Transfer. We test style transfer between artistic paintings without facial content, sampling painting pairs from WikiArt spanning diverse artistic movements. As shown in Figure 10 (bottom row), our method successfully captures and transfers artistic characteristics-brush stroke patterns, color palettes, and texture styles–while maintaining the content painting’s compositional structure and spatial layout.
Case Study
Using Non-Facial Art References We evaluate our Stylus’s capability to transfer styles from non-facial artistic references. As shown in Figure 11, our approach successfully extracts and applies artistic elements (color palettes, brush strokes, textures) from non-portrait artworks while preserving facial identity and human features. The results demonstrate that our Stylus can effectively handle diverse artistic references beyond portraits, from abstract paintings to landscapes, while maintaining content fidelity.

Figure 11. Style transfer results using non-facial artistic references as style images.
Artistic style to artistic style Our Stylus can effectively transfer artistic styles between different artistic images while preserving the content and identity of the source image. Figure 12 shows an example where we transfer the style from one artistic portrait to another. The results demonstrate that our Stylus successfully captures and transfers the distinctive artistic characteristics while maintaining the facial features and overall composition of the content image. This capability is particularly valuable for artists and content creators who wish to experiment with different artistic styles while ensuring the subject remains recognizable.

Figure 12. Style transfer results between different artistic portrait images.
Effect of Inference Step
We evaluate the effect of inference steps on the performance of our Stylus. Figure 13 shows a comparison between using 20 steps versus our standard 50 steps. The 20-step version shows only a modest decrease in style fidelity and identity preservation, while content similarity remains largely stable. This demonstrates that our method offers flexible quality-speed trade-offs suitable for different application scenarios - users can choose 20 steps for near-real-time applications or 50 steps for highest quality results.

Figure 13. Effect of the number of sampling steps (20 vs. 50) on style transfer performance, using MetFace as style references.
Linear Interpolation Visualization
Figure 14 shows the results of purely linear interpolation between content and style latents, i.e., the initialization without the energy-based refinement. The transitions are not smooth, the style is transferred poorly, identity is not well preserved, and blur and sharpening artifacts are visible.

Figure 14. (a) Style (b) Content (c) . (d) . (e) . (f) . (g) . (h) . Linear baseline interpolation.
Visualization
More Visualization Results
In this section, we present additional visualization results to demonstrate the effectiveness and versatility of our method. Figure 15 shows additional style transfer examples with Stylus, Figure 9 and Figure 8 shows additional style transfer examples with Stylus , illustrating how our approach successfully transfers artistic characteristics while preserving facial identity and semantic structure. The results showcase smooth transitions between content and style domains, with consistent quality across diverse artistic styles and facial features. These visualizations complement the main experimental results by providing a more comprehensive view of our method’s capabilities in handling various artistic references and content images.

Figure 8. More Visualization Samples of the proposed Stylus *.

Figure 9. More Visualization Samples of the proposed Stylus {sup}*`.

Figure 15. More visualization results showing style transfer examples with different content and style image pairs.
More Comparison Results
Owing to space constraints in the main paper, we split the qualitative comparisons across two figures. Figure 16 compares our method against recent DiT-based editing models, while Figure 17 reports comparisons against diffusion-based and conventional style transfer baselines. Together, these results further demonstrate the superiority of our approach in balancing faithful style transfer with identity preservation.

Figure 16. Qualitative comparison of style transfer results against DiT-based editing models.

Figure 17. Qualitative comparison of style transfer results against diffusion-based and conventional baselines.
Zoom-In Visualization
To provide a detailed view of how our method handles fine-grained style transfer, we present zoom-in visualizations that highlight specific regions of interest. Figure 18 shows magnified portions of our stylization results, focusing on facial features, textures, and artistic elements. These detailed views demonstrate how our method successfully preserves important facial characteristics while incorporating artistic style elements at different scales.

Figure 18. Zoom-in visualization comparing original and stylized image regions. The detailed views highlight our method’s ability to preserve facial features while incorporating artistic elements.
More Visualization of Artistic to Artistic Style Transfer
We provide additional visualization results of artistic-to-artistic style transfer to demonstrate our method’s capability in handling diverse artistic styles. As shown in Figure 19, our method successfully transfers styles between different artistic portraits while preserving the key characteristics of both content and style images.

Figure 19. Additional artistic-to-artistic style transfer results. Each row shows a different example with content image, style reference, and our stylization result.
More Visualization of Non-Face Artistic to Realistic Style Transfer
We provide additional visualization results of style transfer from non-facial artistic references to realistic face images. As shown in Figure 20, our method successfully extracts and applies artistic elements from diverse non-portrait artworks while preserving facial identity and human features.

Figure 20. Additional style transfer results using non-facial artistic references. Each row shows a different example with content image, non-facial style reference, and our stylization result.
Style Transfer Results Using Different Stable Diffusion Model Versions
To evaluate the generalization capability and robustness of our proposed method, we conduct comprehensive experiments using multiple versions of Stable Diffusion models, specifically SD v1.5, v2.0, and v2.1. Figure 22 and Figure 21 present a comparative analysis of style transfer results across these model variants. Our empirical findings demonstrate that the method exhibits consistent performance characteristics across different model architectures, maintaining robust facial identity preservation, semantic content fidelity, and effective artistic style element extraction and application. The consistent performance across model versions validates the architecture-agnostic nature of our approach, showing superior results compared to baseline methods, particularly StyleID. This characteristic is particularly valuable as it ensures reliable style transfer capabilities regardless of the underlying diffusion model implementation, contributing to the method’s practical applicability and deployment flexibility.

Figure 21. Style transfer results using different versions of Stable Diffusion models.

Figure 22. Style transfer results using different versions of Stable Diffusion models.
References
- [1]Jie An, Siyu Huang, Yibing Song, Dejing Dou, Wei Liu, and Jiebo Luo. Artflow: Unbiased image style transfer via reversible neural flows. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 862–871, 2021.arxiv.org/abs/2103.16877
- [2]Jie Chen, Gang Liu, and Xin Chen. Animegan: A novel lightweight gan for photo animation. In Artificial Intelligence Algorithms and Applications: 11th International Symposium, ISICA 2019, Guangzhou, China, November 16–17, 2019, Revised Selected Papers 11, pp. 242–256. Springer, 2020.DOI
- [4]Jiwoo Chung, Sangeek Hyun, and Jae-Pil Heo. Style injection in diffusion: A training-free approach for adapting large-scale diffusion models for style transfer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8795–8805, 2024.arxiv.org/abs/2312.09008
- [5]Nhan-Phu Chung, Jinhui Han, Bohan Li, and Zehao Li. Unbalanced optimal total variation transport: A theoretical approach to spatial resource allocation problems. In Advances in Neural Information Processing Systems, 2025.DOI
- [6]Nadav Z Cohen, Oron Nir, and Ariel Shamir. Conditional balance: Improving multi-conditioning trade-offs in image generation. In Proceedings of the Computer Vision and Pattern Recognition Conference, pp. 2641–2650, 2025.arxiv.org/abs/2412.19853
- [7]Jiankang Deng, Jia Guo, Niannan Xue, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 4690–4699, 2019.DOI
- [8]Yingying Deng, Fan Tang, Weiming Dong, Chongyang Ma, Xingjia Pan, Lei Wang, and Changsheng Xu. Stytr2: Image style transfer with transformers. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 11326–11336, 2022.arxiv.org/abs/2105.14576
- [9]Rinon Gal, Yuval Alaluf, Yuval Atzmon, Or Patashnik, Amit H Bermano, Gal Chechik, and Daniel Cohen-Or. An image is worth one word: Personalizing text-to-image generation using textual inversion. arXiv preprint arXiv:2208.01618, 2022.arxiv.org/abs/2208.01618
- [10]Leon A Gatys, Alexander S Ecker, and Matthias Bethge. Image style transfer using convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2414–2423, 2016.DOI
- [11]René Haas, Inbar Huberman-Spiegelglas, Rotem Mulayoff, Stella Graßhof, Sami S Brandt, and Tomer Michaeli. Discovering interpretable directions in the semantic latent space of diffusion models. In 2024 IEEE 18th International Conference on Automatic Face and Gesture Recognition (FG), pp. 1–9. IEEE, 2024.arxiv.org/abs/2303.11073
- [13]Kibeom Hong, Seokgyu Jeon, Junsoo Lee, Namhyuk Ahn, Kunhee Kim, Pilhyeon Lee, Daesik Kim, Youngjung Uh, and Hyeran Byun. Aespa-net: Aesthetic pattern-aware style transfer networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 22758–22767, 2023.arxiv.org/abs/2307.09724
- [14]Xun Huang and Serge Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In Proceedings of the IEEE international conference on computer vision, pp. 1501–1510, 2017.arxiv.org/abs/1703.06868
- [15]Jaeseok Jeong, Mingi Kwon, and Youngjung Uh. Training-free content injection using h-space in diffusion models. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pp. 5151–5161, 2024.arxiv.org/abs/2303.15403
- [16]Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European conference on computer vision, pp. 694–711. Springer, 2016.arxiv.org/abs/1603.08155
- [17]Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4401–4410, 2019.DOI
- [18]Tero Karras, Miika Aittala, Janne Hellsten, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Training generative adversarial networks with limited data. Advances in neural information processing systems, 33:12104–12114, 2020a.
- [19]Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8110–8119, 2020b.arxiv.org/abs/1912.04958
- [20]Sunder Ali Khowaja, Lewis Nkenyereye, Ghulam Mujtaba, Ik Hyun Lee, Giancarlo Fortino, and Kapal Dev. Fisnet: Fusion of style-path generative networks for facial style transfer. Information Fusion, 112:102572, 2024.
- [23]Gihyun Kwon and Jong Chul Ye. Clipstyler: Image style transfer with a single text condition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 18062–18071, 2022a.arxiv.org/abs/2112.00374
- [24]Gihyun Kwon and Jong Chul Ye. Diffusion-based image translation using disentangled style and content representation. arXiv preprint arXiv:2209.15264, 2022b.arxiv.org/abs/2209.15264
- [25]Black Forest Labs, Stephen Batifol, Andreas Blattmann, Frederic Boesel, Saksham Consul, Cyril Diagne, Tim Dockhorn, Jack English, Zion English, Patrick Esser, et al. Flux. 1 context: Flow matching for in-context image generation and editing in latent space. arXiv preprint arXiv:2506.15742, 2025.arxiv.org/abs/2506.15742
- [26]Yijun Li, Chen Fang, Jimei Yang, Zhaowen Wang, Xin Lu, and Ming-Hsuan Yang. Universal style transfer via feature transforms. Advances in neural information processing systems, 30, 2017.
- [27]Zehao Li, Zh चौchen Lin, and Yijie Peng. Beyond likelihood ratio bias: Nested multi-time scale stochastic approximation for likelihood-free parameter estimation. Machine Learning, 115(11): 250, 2026a. doi: 10.1007/s10994-026-07175-y.DOI
- [28]Zehao Li, Yijie Peng, Hui Shao, and Chung-Piaw Teo. Extreme-case distorted utility under moment ambiguity. arXiv preprint arXiv:2606.2949, 2026b.arxiv.org/abs/2606.24294
- [30]Hongda Liu, Longguang Wang, Ye Zhang, Ziru Yu, and Yulan Guo. Samam: Style-aware state space model for arbitrary image style transfer. In Proceedings of the Computer Vision and Pattern Recognition Conference, pp. 28468–28478, 2025.arxiv.org/abs/2503.15934
- [31]Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV), December 2015.arxiv.org/abs/1411.7766
- [32]Alexander Quinn Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. In International conference on machine learning, pp. 8162–8171. PMLR, 2021.arxiv.org/abs/2102.09672
- [33]Yong-Hyun Park, Mingi Kwon, Jaewoong Choi, Junghyo Jo, and Youngjung Uh. Understanding the latent space of diffusion models through the lens of riemannian geometry. Advances in Neural Information Processing Systems, 36:24129–24142, 2023.arxiv.org/abs/2307.12868
- [34]Tao Ren, Zishi Zhang, Jingyang Jiang, Zehao Li, Shentao Qin, Yi Zheng, Guanghao Li, Qianyou Sun, Yan Li, Jiefeng Liang, Xinpeng Li, and Yijie Peng. Half-order fine-tuning for diffusion model: A recursive likelihood ratio optimizer. In International Conference on Learning Representations, 2026.arxiv.org/abs/2502.00639
- [35]Nathaniel Ruiz, Yuanzhen Li, Varun Jampani, Yael Pritch, Michael Rubinstein, and Kfir Aberman. 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, 2022.arxiv.org/abs/2208.12242
- [36]Ahmed Selim, Mohamed Elgharib, and Linda Doyle. Painting style transfer for head portraits using convolutional neural networks. In ACM Transactions on Graphics (TOG), volume 35, pp. 1–18, 2016.DOI
- [37]Hang Shao, Abhishek Kumar, and P Thomas Fletcher. The riemannian geometry of deep generative models. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 315–323, 2018.arxiv.org/abs/1711.08014
- [38]Yichun Shi, Debayan Deb, and Anil K Jain. Warpgan: Automatic caricature generation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 10762–10771, 2019.arxiv.org/abs/1811.10100
- [39]Wei Ren Tan, Chee Seng Chan, Hernan E Aguirre, and Kiyoshi Tanaka. Improved artgan for conditional synthesis of natural image and artwork. IEEE Transactions on Image Processing, 28 (1):394–409, 2018.arxiv.org/abs/1708.09533
- [41]Ye Wang, Ruigi Liu, Jiang Lin, Fei Liu, Zili Yi, Yilin Wang, and Rui Ma. Omnistyle: Filtering high quality style transfer data at scale. In Proceedings of the Computer Vision and Pattern Recognition Conference, pp. 7847–7856, 2025.arxiv.org/abs/2505.14028
- [42]Zhizhong Wang, Lei Zhao, and Wei Xing. Stylediffusion: Controllable disentangled style transfer via diffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 7677–7689, 2023b.arxiv.org/abs/2308.07863
- [43]Matthias Wright and Björn Ommer. Artfid: Quantitative evaluation of neural style transfer. In DAGM German Conference on Pattern Recognition, pp. 560–576. Springer, 2022.arxiv.org/abs/2207.12280
- [44]Chenfei Wu, Jiahao Li, Jingren Zhou, Junyang Lin, Kaiyuan Gao, Kun Yan, Sheng-ming Yin, Shuai Bai, Xiao Xu, Yilei Chen, et al. Qwen-image technical report. arXiv preprint arXiv:2508.02324, 2025.arxiv.org/abs/2508.02324
- [45]Ruojun Xu, Weijie Xi, XiaoDi Wang, Yongbo Mao, and Zach Cheng. Stylesp: Sampling startpoint enhancement for training-free diffusion-based method for style transfer. In Proceedings of the Computer Vision and Pattern Recognition Conference, pp. 18260–18269, 2025.DOI
- [46]Serin Yang, Hyunmin Hwang, and Jong Chul Ye. Zero-shot contrastive loss for text-guided diffusion image style transfer. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 22873–22882, 2023.arxiv.org/abs/2303.08622
- [48]Ran Yi, Yong-Jin Liu, Yu-Kun Lai, and Paul L Rosin. Unpaired portrait drawing generation via asymmetric cycle mapping. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 8217–8225, 2020.DOI
- [49]Lvmin Zhang, Yi Ji, Xin Lin, and Chunping Liu. Style transfer for anime sketches with enhanced residual u-net and auxiliary classifier gan. In 2017 4th IAPR Asian conference on pattern recognition (ACPR), pp. 506–511. IEEE, 2017.arxiv.org/abs/1706.03319
- [50]Lvmin Zhang, Anyi Rao, and Maneesh Agrawala. Adding conditional control to text-to-image diffusion models. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 3836–3847, 2023a.arxiv.org/abs/2302.05543
- [51]Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 586–595, 2018.arxiv.org/abs/1801.03924
- [52]Shuhao Zhang, Hui Kang, Yang Liu, Fang Mei, and Hongjuan Li. Hsi: A holistic style injector for arbitrary style transfer. In Proceedings of the Computer Vision and Pattern Recognition Conference, pp. 23433–23442, 2025.arxiv.org/abs/2502.04369
- [53]Yuxin Zhang, Fan Tang, Weiming Dong, Haibin Huang, Chongyang Ma, Tong-Yee Lee, and Changsheng Xu. Domain enhanced arbitrary image style transfer via contrastive learning. In ACM SIGGRAPH 2022 conference proceedings, pp. 1–8, 2022.DOI
- [54]Yuxin Zhang, Nisha Huang, Fan Tang, Haibin Huang, Chongyang Ma, Weiming Dong, and Changsheng Xu. Inversion-based style transfer with diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 10146–10156, 2023b.arxiv.org/abs/2211.13203
- [55]Minhao Zou, Tao Ren, Jinyang Jiang, Rui Tao, Zehao Li, Jiale Fu, Hui Shao, Xianhua Liu, and Yijie Peng. OVLR: Efficient, scalable, and robust training via output-level variance-reduced likelihood ratio. In International Conference on Machine Learning, 2026.