Manuscript Offprint
arXiv:2608.29280RAGDiffusion++: From Macro-Retrieval to Micro-Fidelity Alignment for Garment Generation
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
1
RAGDiffusion++: From Macro-Retrieval to Micro-Fidelity Alignment for Garment Generation
Yuhan Li*, Xianfeng Tan*, Fangao Zeng, Wenxiang Shang, Pipei Huang, Hao Zhou, Zhiyu Jin, Wenjun Zhang, Bingbing Ni
Abstract—Standard clothing asset generation—restoring forward-facing flat-lay garment images from diverse real-world contexts—holds immense commercial value yet demands both macroscopic topological accuracy and microscopic physical fidelity. Although our previous work RAGDiffusion effectively eradicated large-scale structural hallucinations via retrieval-augmented macro-constraints, achieving industrial-grade micro-texture realism remains an unsolved bottleneck. We formally identify this limitation as High-Frequency Trajectory Collapse: supervised fine-tuning (SFT) converges to the conditional mean of the training distribution, which is dominated by smooth, low-frequency textures, causing high-frequency patterns (e.g., fabric weaves, intricate logos) to become nearly un-sampleable. Naively applying Reinforcement Learning (RL) post-training further triggers Artifact Hacking, where models exploit semantic biases in generic reward models by generating deceptive checkerboard noise. Our key insight is that RL can fundamentally reshape the sampling distribution of flow models—elevating the probability of high-fidelity trajectories under accurate reward guidance—while adversarial regularization prevents exploitation of reward blind spots. Realizing this principle requires three prerequisites: (i) inherent capacity, established through a 27,725-pair high-complexity garment dataset (STGarment-Plus) and a Dual-Image-Stream FLUX architecture upgrade; (ii) perceptive reward, provided by a novel attribute-aware reward model (Garment-RM) trained on 500K images via fine-grained contrastive learning, achieving 84.67% human preference accuracy; and (iii) hacking prevention, enforced by our Adversarial-Regularized GRPO (AR-GRPO) strategy that integrates a dynamic discriminator into the RL sampling trajectory to penalize artifacts while enriching authentic high-frequency details. Extensive experiments demonstrate that RAGDiffusion++ reduces FID by 14.3% and KID by 34.2% over our preliminary RAGDiffusion, surpasses the best open-source baseline by 51.0% in KID, and outperforms the large-scale commercial model Nano Banana by 10.9% in FID, setting a new benchmark for commercial-grade garment synthesis. We will open-source the STGarment-Plus dataset and the pre-trained Garment-RM to facilitate future research.
Index Terms—Diffusion Model, Post-training, Reinforcement Learning, Garment Generation

Fig. 1. High-Frequency Trajectory Enhancement via Distribution Reshaping. Left: Current SFT-based models regress to the conditional mean, smoothing out textures. Right: RL elevates probability in true high-frequency modes, enabling various and high-fidelity sampling.
ages) demands not only visual plausibility but also absolute fidelity to both the macro-topology and micro-textures of the reference images. In our preliminary work, RAGDiffusion [6], we effectively constrained the macroscopic geometry (e.g., sleeve length, silhouette) by introducing a Retrieval-Augmented Generation (RAG) paradigm [7], thereby eradicating large-scale structural hallucinations. Nevertheless, the final and most formidable barrier to commercial deployment remains: enabling the model to stably sample fully faithful garment assets with accurate fabric textures and patterns (e.g., high-frequency tweed textures, intricate brand logos).
To investigate this micro-level fidelity, we conducted empirical observations by generating dozens of candidates for the same condition using state-of-the-art supervised fine-tuning (SFT) flow models [8]. Alarmingly, the results consistently collapsed into smooth fabrics with stochastic, blurry logos in our task. This empirical evidence demonstrates that faithful high-frequency expression is merely a “rare” event in the latent space; [9], [10], as SFT results in Fig. 1 and 2. We define this fundamental probabilistic flaw as High-Frequency Trajectory Collapse (HFTC, frequency bias is illustrated in Fig. 3). Conceptually, HFTC is the conditional generation manifestation of the well-known regression-to-the-mean phenomenon in image restoration and super-resolution (SR) [11], [12], where pixel-wise reconstruction objectives provably converge to the conditional expectation and thereby suppress high-frequency details. However, prior remedies—such as adversarial losses or perceptual constraints in SR—operate at the pixel level and cannot be trivially transferred to flow-matching-based Diffusion Transformers (DiTs), where
Yuhan Li, Wenjun Zhang and Bingbing Ni are with Shanghai Jiao Tong University, Shanghai, P.R.China.
Xianfeng Tan, Fangao Zeng, Wenxiang Shang, Pipei Huang, Hao Zhou, and Zhiyu Jin are with Alibaba Group, P.R.China.
Equal Contribution. Corresponding author: Bingbing Ni.
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
2
FID vs Training Hours (5~14 days)

SFT Results
Std. GRPO
AR-GRPO
Robust Structure
Detail-rich Fabrics
Faithful Patterns
Fig. 2. Breaking the SFT saturation bottleneck with AR-GRPO. During the SFT phase, the generative model reaches a performance plateau, while extending the training duration or scaling the data yields diminishing returns. The introduction of AR-GRPO triggers a sharp decline in FID, successfully breaking this bottleneck. The visual comparisons demonstrate SFT's limitations in capturing high-frequency physical details (e.g., complex fabric textures and intricate patterns) and the significant enhancements brought by RL optimization.
the trajectory itself is the optimization target. As systematically categorized in Fig. 1 and 2, this collapse manifests in multiple distinct failure modes: systematic texture smoothing where complex weaves degrade into flat plastic surfaces, logo dissolution, and pattern periodicity loss where regular stripes or checks become irregular.
We propose AR-GRPO (Adversarial-Regularized Group Relative Policy Optimization), a new Reinforcement Learning (RL) post-training paradigm that performs distribution reshaping with adversarial safeguard at the trajectory level to fundamentally resolve High-Frequency Trajectory Collapse. Its effectiveness rests on the fact that SFT and RL operate on qualitatively different levels: SFT, via flow matching, regresses to the conditional mean of the velocity field and is therefore confined to the smooth, low-frequency mode of the training distribution—which is precisely the regression-to-the-mean trap that produces HFTC. RL fundamentally departs from this objective: by replacing the deterministic Ordinary Differential Equation (ODE) inference of flow matching with Stochastic Differential Equation (SDE) sampling and reweighting trajectories with reward-driven policy gradients, it elevates low-probability but physically correct high-frequency patterns into the sampleable regime. In other words, rather than smoothing pixels post hoc, RL reshapes the trajectory-level probability mass at its source, which is the mechanism required to escape the conditional-mean attractor.
Therefore, for RL to succeed in resolving High-Frequency Trajectory Collapse, three prerequisites emerge as logical consequences of this single principle:
-
Inherent Capacity: The generative foundation must possess the latent ability to sample high-fidelity textures—RL cannot amplify a probability of zero.
-
Perceptive Reward: A precise reward function that genuinely comprehends fine-grained garment attributes (local craftsmanship, fabrics, material textures), rather than high-level semantic similarity.
-
Hacking Prevention: A robust adversarial mechanism that detects and penalizes exploitation of reward blind spots, ensuring that RL-driven exploration enriches only authentic details.
Obviously, current paradigms fail on all three fronts. First, existing garment generation models lack crucial material priors and high-complexity training data (Fig. 9). Second, existing generic rewards (e.g., PickScore [13], HPSv2 [14], DINO similarity [15]) are inherently biased towards high-level semantic similarity—their human preference accuracy on garment evaluation falls below 50%—lacking the capacity to comprehend fine-grained garment attributes. Third, when the reward signal contains blind spots, RL inevitably discovers and amplifies them and degrades the quality of generation, which has been studied as reward hacking in language-model Reinforcement Learning [16]. We term its specific incarnation in our setting Artifact Hacking: dense checkerboard noise, regular grid patterns, and high-frequency speckles that hijack the texture-insensitive blind spots of vision rewards to achieve spuriously high scores while degrading visual quality (Fig. 8). Without an explicit hacking-prevention mechanism, RL post-training degenerates into Artifact Hacking rather than authentic detail enrichment.
Centered on AR-GRPO as the core optimization strategy, we instantiate the distribution-reshaping paradigm into a unified framework, RAGDiffusion++, that is built upon the macro-constraints of our preliminary RAG [6] and is equipped with three dedicated components, each satisfying one of the three prerequisites identified above. These components, together with the quantitative outcomes they deliver, constitute the core contributions of this work:
• Data & Architecture Leap for Inherent Capacity (Prerequisite i): We construct STGarment-Plus, a 27,725-pair high-difficulty garment dataset focused on high-frequency materials, and upgrade the generative backbone from SDXL [17] to a Dual-Image-Stream FLUX [8]
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
3

(a) Frequency-domain comparison between generated and real images.
(b) Radially spectral error curves.
Fig. 3. (a) shows Frequency-domain comparison between the base (SFT) model generation , AR-GRPO results , and real images . Compared with the Base model, RL yields lower spectral discrepancy and weaker directional bias. (b) shows radially averaged spectral error curves with respect to the real-image spectrum. The RL model shows lower error over a broad middle-to-high frequency range.
architecture for pure visual feature injection. This leap enriches the generative foundation’s latent capability to sample high-fidelity textures—the very probability mass that AR-GRPO subsequently reshapes and amplifies.
-
Attribute-Aware Garment-RM for Perceptive Reward (Prerequisite ii): We pre-train Garment-RM, a fine-grained reward model, on 500K garment images via contrastive learning over 12 fine-grained attributes. It overcomes the semantic bias of generic vision foundation models, achieving 84.67% human preference accuracy—far surpassing PickScore, HPSv2, and DINO similarity. Within RAGDiffusion++, Garment-RM thereby supplies AR-GRPO with an accurate, attribute-aware optimization direction, steering the trajectory-level distribution reshaping toward genuinely faithful textures rather than spurious semantic shortcuts.
-
Adversarial-Regularized GRPO for Hacking Prevention (Prerequisite iii): At the heart of RAGDiffusion++, AR-GRPO integrates a dynamic GAN discriminator [18] into the RL sampling trajectory as a “texture police” that detects and penalizes low-level artifacts, while Garment-RM supplies the directional reward. This is the first work to formally expose the Artifact Hacking phenomenon in flow-based RL post-training and to neutralize it with adversarial regularization, ensuring that RL exploration enriches only authentic high-frequency details.
Extensive experiments on all three benchmarks demonstrate that RAGDiffusion++ achieves consistent state-of-the-art performance, synthesizing garments that are simultaneously structurally and texturally faithful. Quantitatively, RAGDiffusion++ reduces FID by 14.3% and KID by 34.2% over our preliminary RAGDiffusion, surpasses the best open-source Qwen-ImageEdit baseline by 51.0% in KID, and outperforms the large-scale commercial model Nano Banana by 10.9% in FID. The full STGarment-Plus dataset and Garment-RM will be open-sourced upon acceptance.
II. RELATED WORKS
Controllable text-to-image diffusion models. To attain conditional control in text-to-image diffusion models, ControlNet [19], T2I-Adapter [20], and IP-Adapter [21] incorporate additional trainable modules to fuse conditions on feature maps. Additionally, recent investigations have utilized a variety of prompt engineering techniques [22]–[24] and implemented cross-attention constraints [25]–[28] to facilitate more controllable generative processes. However, these methods primarily rely on the generic associative capabilities of pre-trained diffusion backbones. While effective for general stylistic or spatial control, they struggle to guarantee absolute pixel-level fidelity when synthesizing high-frequency physical materials (e.g., complex fabric weaves or intricate craftsmanship). Relying on such generic associative generation inevitably leads to texture over-smoothing and the catastrophic loss of high-frequency physical fidelity.
Garment restoration. Standard clothing generation involves restoring flat-lay garment images from real-world contexts. TileGAN [29] pioneered a two-stage GAN [18] framework, suffering from backbone capability limitations. Recent works including TryOffDiff [4], TryOffAnyone [5], and IGR [30] have adopted pretrained SD as base backbones, yielding obvious improvements through enhanced generative priors. While our preliminary work RAGDiffusion [6] addressed the structural inaccuracies ignored by these methods, existing frameworks still face the formidable High-Frequency Trajectory Collapse. Devoid of high-frequency physical priors, they fail to render authentic micro-materials (e.g., tweed, intricate logos), typically producing an over-smoothed “AI-generated plastic feel”.
Reinforcement learning in image generation. Reinforcement learning (RL) has recently emerged as a powerful paradigm to align generative models with human preferences, moving beyond standard maximum likelihood estimation. Foundational works such as DDPO [31] and DPOK [32] first formulated the iterative denoising process of diffusion models as a Markov Decision Process (MDP), enabling the direct optimization of non-differentiable rewards like ImageReward [33] or Aesthetic scores. With the evolution towards continuous-time flow models, recent studies have adapted more advanced RL algorithms. For instance, Flow-GRPO [34] extends group relative policy optimization to normalizing flows, while DANCE [35] and Mix-GRPO [36] focus on blending multiple reward signals for comprehensive prompt-following. Additionally, SRPO [37] introduces step-wise preference optimization to enhance visual appeal. While these methods achieve remarkable success in
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
4

Fig. 4. Overall framework of our previous work RAGDiffusion. StructureNet provides latent structural embeddings, while SLLE facilitates the embedding fusion along with landmark retrieval. The generative model synthesizes multiple conditions to achieve omni-level high-fidelity generation.
generic text-to-image enhancements, they predominantly rely on generic reward models (e.g., PickScore [13], HPSv2 [14]) that are inherently biased towards high-level semantic alignment. When applied to industrial-grade physical rendering, these semantic-biased rewards lack the granularity to supervise high-frequency material details (e.g., complex fabric weaves). Consequently, directly applying these generic RL frameworks to garment synthesis fails to resolve the High-Frequency Trajectory Collapse and possibly triggers Artifact Hacking, where models generate deceptive checkerboard noise to exploit reward vulnerabilities. In contrast, our framework introduces a specialized Garment-RM and an adversarial GRPO strategy to ensure RL optimization strictly adheres to physical fidelity.
III. PRELIMINARY WORK REVISED: RAGDIFFUSION
Before delving into the micro-alignment reinforcement learning paradigm proposed in this paper, we first briefly revisit our preliminary work, RAGDiffusion [6], which serves as the macro-topological constraint of our system.
Unlike conventional virtual try-on paradigms [38], [39], industrial-grade garment synthesis is a highly demanding and sampling-constrained process. It necessitates strict standard structures and frontal positioning, which intrinsically limit the stylistic flexibility and confines the generative sampling to a narrow manifold of high-specification garment distributions. Furthermore, the profound complexity of in-the-wild conditions—such as severe occlusions, multi-layer outfits, and extreme lateral viewpoints—notably exacerbates structural uncertainty and pattern ambiguity. Consequently, existing methods fail to achieve practical usability thresholds. They typically suffer from pathological structure hallucinations [6], manifesting as severely inaccurate structure, fitness, and length estimations under challenging scenes.
To circumvent these limitations, RAGDiffusion introduces a Retrieval-Augmented Generation (RAG) paradigm [7] that assimilates explicit external priors to anchor macroscopic geometry and eradicate structural hallucinations. An overview of the RAGDiffusion is presented in Fig. 4. The backbone employs SDXL [40]. A dual tower StructureNet extracts latent structure embeddings by contrastive learning as detailed in Sec. III-A, and SLLE retrieves and fuses structure embeddings and landmarks as in Sec. III-B. The conditional generative pipeline is described in Sec. III-C.
A. Dual-tower embeddings extraction
To eliminate background interference and force the model to focus on the pure physical structure of garments, we designed a dual-tower StructureNet, denoted as , to extract latent structural embeddings. We adopt a contrastive learning paradigm [41] to capture structural consistency. Specifically, during training, we construct batches of N image pairs consisting of in-the-wild clothing and standard flat-lay clothing . Positive pairs are formulated using garments that share similar edge contours (Canny responses) but possess drastically different textures.
To comprehensively capture the structural semantics and eliminate the semantic deficiencies and ambiguities present in pure vision, we leverage a Large Language Model (LLM) [42], [43] to extract 10 types of discrete structural attributes (e.g.,
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
5
Category, FitType, CollarTechnique). We then assign a learnable embedding to each discrete attribute. Simultaneously, the visual structure features are extracted by a twin ViT [44] encoder. These visual features are concatenated with the attribute embeddings and processed through a non-linear Resampler [21] head to formulate the final latent structure embeddings .
Optimized via the InfoNCE loss [45], StructureNet learns a robust multi-modal embedding space by maximizing the cosine similarity of the N matched positive pairs (denoted with superscript +) while pushing apart the structurally dissimilar incorrect pairs (denoted with superscript -). The objective function is formulated as:
where denotes the cosine similarity between two vectors, N is the batch size, and is a temperature scalar. Through this rigorous alignment, given a complex in-the-wild garment image during inference, this module robustly extracts a clean structural embedding with environmental noise and texture variations thoroughly filtered out.
B. Retrieval-based structure aggregation
Due to the limited spatial perception inherent in the SD [46], [47], it often struggles to accurately represent the length and contours of clothing, particularly in hard cases (occlusions, multi-layer, lateral viewpoints, etc). Furthermore, relying solely on StructureNet may yield out-of-distribution (OOD) errors for extreme in-the-wild samples. To circumvent this, we establish an external feature memory database D. This database stores a massive collection of high-quality standard flat-lay structural embeddings and their precisely corresponding silhouette landmarks , formulated as retrieval pairs .
To seamlessly map the potentially noisy features extracted from in-the-wild scenes onto the reliable feature manifold of standard garments, we propose the Structure Locally Linear Embedding (SLLE) algorithm [48], [49]. This retrieval-augmented process operates in two steps to mathematically anchor the macroscopic skeleton. First, given an extracted in-the-wild cloth query embedding , we utilize cosine similarity to retrieve the K-nearest standard reference embeddings and their paired silhouette landmarks from the database D [50].
Subsequently, assuming the local manifold is approximately linear, SLLE calculates the optimal barycentric weights for a locally linear combination by minimizing the reconstruction error. This is formulated as a least-squares optimization problem:
Solving Eq. 2 yields the optimal weights . To mitigate information loss while forcefully pulling the OOD back to the in-domain target space, the final rectified structure representation is obtained through a linear fusion of the original embedding and the reconstructed one:
where controls the trade-off and is empirically set to 0.5. The final landmark is also fused with optimal weights. Through this precise local reconstruction, the SLLE algorithm effectively eliminates structural outliers and mathematically guarantees macroscopic geometric fidelity before the generation phase.
C. Conditional generative pipeline
Upon acquiring the rectified structural embedding and silhouette landmark from the retrieval module, the preliminary RAGDiffusion integrates these priors into the generation pipeline to strictly constrain the macro-topology. Specifically, an Embedding Prompt Adapter (EP-Adapter) [21] is employed to inject via parallel cross-attention layers, acting as a soft semantic constraint. Concurrently, a spatial Landmark Guider [51] processes the silhouette mask to align with the latent space as an explicit hard constraint.
To further preserve the coarse patterns of the garment, an isomorphic ReferenceNet [51] is utilized. It extracts intermediate key and value features from the in-the-wild garment image. These are concatenated with the MainNet features along the sequence dimension to form , which then guides the self-attention mechanism:
where represents the query features from the MainNet. This attention sharing plays a crucial role in preserving the basic patterns of complicated garments.
Limitations of the Preliminary Pipeline. While the aforementioned SDXL-based pipeline effectively eradicated macroscopic structural hallucinations, it encountered a bottleneck in micro-detail faithfulness (e.g., intricate brand logos and high-frequency fabrics). This degradation was partly exacerbated by the severe information loss of the SDXL VAE. In RAGDiffusion, we attempted to heuristically mitigate this by proposing a Parameter Gradual Encoding Adaption (PGEA) module to forcefully align the SDXL UNet with a higher-capacity VAE.
However, this patching strategy remained bounded by the intrinsic frequency expression bottleneck of the diffusion architecture (in Fig. 2 and Fig. 3). It merely alleviated decoding loss but failed to fundamentally avert the High-Frequency Trajectory Collapse during the denoising sampling. Recognizing that heuristic patches cannot cure foundational generative flaws, in this work, we introduce a training paradigm leap to an adversarial RL framework, complemented by a native pure-visual Dual Image-Stream DiT, to establish a definitive solution for micro-texture fidelity. These limitations directly motivate the three prerequisites for micro-fidelity RL post-training—inherent capacity, perceptive reward, and hacking prevention—that we systematically address in the following section.
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
6
AR-GRPO Framework

Fig. 5. AR-GRPO training framework consists of four phases: Phase 1 generates diverse trajectories via SDE sampling; Phase 2 trains the discriminator adversarially to establish an authenticity reward; Phase 3 computes combined advantages from Garment-RM, LPIPS, and discriminator; Phase 4 updates the generative policy. This adversarial regularization ensures the model achieves high fidelity while avoiding artifacts.
IV. METHOD
Given an in-the-wild clothing condition image , RAGDiffusion++ aims to synthesize an authentic standard flat-lay garment image that strictly preserves both macroscopic topology and microscopic physical materials. Before detailing each component, we articulate the core insight that unifies our framework.
Core Insight: RL as Distribution Reshaping. SFT via flow matching trains the model to predict the conditional mean of the velocity field, which by definition converges to the mode of the training distribution. In garment generation, this mode is dominated by smooth, low-frequency textures—statistically more prevalent and robust to denoising noise—while high-frequency patterns (tweed weaves, intricate logos, knitted ribs) occupy a thin distributional tail. Since SFT employs deterministic ODE inference, the same noise always produces the same smoothed output; the model is structurally incapable of exploring beyond this modal collapse—the probabilistic root cause of High-Frequency Trajectory Collapse (Fig. 3). RL breaks this trap through a qualitatively different mechanism: replacing ODE with stochastic SDE sampling enables trajectory exploration beyond the SFT mode, and reward-weighted policy gradients then systematically up-weight trajectories that produce high-frequency-faithful outputs, effectively elevating low-probability but physically correct patterns into the sampleable regime. However, this distribution reshaping is only as good as the reward signal—an imprecise or semantically biased reward leads the model to exploit reward blind spots, triggering Artifact Hacking. Three prerequisites therefore emerge as logical consequences:
• Inherent Capacity (Sec. IV-A): RL cannot amplify a probability of absolute zero. STGarment-Plus dataset and a Dual-Image-Stream FLUX architecture establish non-zero high-frequency texture priors.
• Perceptive Reward (Sec. IV-B): Garment-RM provides accurate, attribute-aware reward signals that genuinely perceive material-level quality.
• Hacking Prevention (Sec. IV-C): An adversarial discriminator detects and penalizes artifacts, ensuring RL exploration enriches only authentic details.
The overall AR-GRPO pipeline is illustrated in Fig. 5.
A. SFT: Data Improvement and Architecture Update
As established in the insight above, RL can only amplify sampling probabilities that are already non-zero. The SFT phase must therefore ensure the model possesses latent capacity for high-frequency texture generation, serving as the inherent capacity prerequisite. We address this through two complementary strategies: curating a challenging high-frequency dataset and upgrading the architecture.
- STGarment-Plus Dataset Construction: Standard garment restoration requires paired data consisting of a clean flat-lay target and its corresponding in-the-wild reference. Existing virtual try-on benchmarks, such as VITON-HD and DressCode, have been widely adopted for this purpose, but they mostly only contain forward-facing persons under clean backgrounds with limited occlusion, narrow category coverage, simple materials, and insufficient fine-grained garment details. As a result, models trained on such sanitized data often suffer from a severe domain gap in real-world restoration. To mitigate this issue, our preliminary RAGDiffusion collected STGarment, a web-scale dataset of about 65,131 pairs, which pro-
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
7

(a) Open-source datasets like Viton-HD and DressCode suffer from limited poses, narrow category coverage, insufficient fine-grained garment details.
Challenging Scenes
Diverse Styles
Difficult Texture

(b) Samples of our collected STGarment-Plus.
(c) Comprehensive data distributions of STGarment-Plus.
Fig. 6. Overview of STGarment-Plus. (a) and (b) give a visual comparison of STGarment-Plus and open-source datasets. (c) STGarment-Plus covers challenging real-world scenes, diverse garment styles, and difficult high-frequency textures.
vides broader pre-training coverage but is still heavily affected by inconsistent quality, including low resolution, watermarks, and text overlays. While useful for early-stage pre-training, such noise limits the effectiveness of subsequent SFT and RL optimization. Therefore, we further curate STGarment-Plus, a high-resolution and category-comprehensive dataset specifically designed for garment restoration under complex textures, high-frequency materials, and challenging in-the-wild conditions, as shown in Fig. 6
Data Processing and Synthesis Pipeline. STGarment-Plus is built from two sources: a rigorously cleaned subset of the original STGarment and a curated synthetic subset generated by Nano Banana Pro [1]. Starting from mixed raw image collections, we first use Qwen-VL [43] to separate standard flat-lay garments from in-the-wild references and remove near-duplicate samples. We then segment garment regions, extract garment features with our pre-trained Garment-RM (Sec. IV-B), and filter mismatched pairs by feature similarity, followed by manual cleaning to remove low-quality samples, watermarks, and text overlays. To address long-tail gaps in rare categories and difficult fabrics, we further retrieve high-quality in-the-wild images and synthesize paired flat-lay garments with Nano Banana, followed by strict human verification across five strict dimensions: structural consistency, visual realism, background cleanliness, robustness against extreme occlusion, and absolute brand logo fidelity. This pipeline yields a high-resolution and reliable paired dataset for garment restoration.
Comprehensive Data Distributions. STGarment-Plus comprises 25,756 training pairs and 1,969 test pairs (27,725 in total) and exhibits substantial diversity in scenes, category, and material distributions. As shown in Fig. 6 (c), the dataset abundantly encapsulates challenging, real-world conditions, including sitting, squatting, lateral pose, and half-body close-ups with severe truncations. In terms of category coverage, over 50% of the garments belong to complex structures (e.g., Down Jacket, Innerwear, Coat) that are entirely absent from open-source academic benchmarks. Most crucially, STGarment-Plus is exceptionally rich in diverse, high-frequency fabrics (such as delicate tweed, dense knits, and textured leather). These difficult materials effectively expose the high-frequency trajectory collapse in existing generative models, thereby providing an optimal, high-difficulty testbed and an indispensable training foundation for our micro-alignment paradigm. To facilitate
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
8

Fig. 7. Dual-Image-Stream DiT framework. Our model introduces a dedicated conditioning image stream by replicating part of the denoising image stream and its pretrained weights.
future research in garment generation and related fine-grained synthesis tasks, we will publicly release the full STGarment-Plus dataset upon acceptance.
- DiT Framework and Training Object: FLUX [8] is a text-to-image model built on stacked Multi-Modal Diffusion Transformers (DiT) blocks with separate text and image streams, demonstrating a significantly higher performance ceiling than the SDXL backbone. While Prior tuning methods [52], [53] adapt such DiT models by directly concatenating condition image tokens with noisy image and text tokens, we customize the FLUX backbone into a Dual-Image-Stream DiT framework by replicating a portion of the denoising stream's architecture and pre-trained weights to initialize a dedicated conditioning image stream, as illustrated in Fig. 7.
Following the above architectural modification, we train the proposed Dual-Image-Stream DiT using the standard Flow Matching objective [8], [54]. Given the target garment latent and Gaussian noise , we form the interpolated latent and supervise the model to predict the velocity field:
where is the predicted velocity field and c denotes the visual conditioning signals derived from the reference garment and retrieval priors.
B. Garment-RM: Attribute-Aware Garment Reward
The distribution-reshaping principle (Sec. I) demands a reward function that genuinely perceives fine-grained material quality—the perceptive reward prerequisite. However, existing generic vision foundation models (e.g., CLIP [41] and DINO [15]) are inherently biased towards high-level semantics: they assess “does this look like a shirt?” rather than “is this tweed texture physically correct?” As quantified in Tab. IV, widely used aesthetic reward models (HPSv2 [14], PickScore [13]) achieve human preference accuracy below 50% on garment evaluation—worse than random selection.
Design Principle. Our key observation is that garment quality is fundamentally an attribute-level concept: a garment with the correct collar but wrong fabric is qualitatively different from one with both correct. Therefore, the reward model must learn a feature space where individual material attributes are explicitly disentangled, enabling it to provide precise, fine-grained optimization directions rather than holistic semantic similarity. To this end, we develop Garment-RM, a specialized reward model trained through fine-grained attribute classification and instance-level contrastive learning.
Consensus-Driven Data Engine. To build Garment-RM without costly manual annotation, we construct a dual-VLM consensus data engine. We first define 12 fine-grained garment attributes, covering material, surface texture, local decorations, and other detailed properties. We then use GPT-4o and Qwen3-VL-8B to independently annotate a large collection of in-the-wild and flat-lay garment images, and retain only samples with consistent predictions from both models, yielding about 500,000 reliable training images. In addition, we mine the same garment under different conditions to form triplets of anchor , positive , and negative samples for instance-level contrastive learning.
Multi-Task Architecture and Objective. Garment-RM employs a lightweight, EfficientNet-style [55] backbone equipped with Squeeze-and-Excitation (SE) modules [56] to extract hierarchical visual features. The network bifurcates into a multi-task head: 12 parallel classification heads for fine-grained attributes and one global embedding head yielding a 256-dimensional continuous feature vector.
To maximize the discriminative capacity of the model against subtle material differences, the training objective is formulated as a joint multi-task loss:
For the attribute classification branch, we utilize the Additive Margin Softmax (AM-Softmax) loss [57] to explicitly pull features of the same attribute closer while pushing disparate attributes apart. Given the L2-normalized feature embedding and the normalized weight vector of the last fully connected layer, the AM-Softmax loss for a batch of N samples is formulated as:
where C is the number of classes for a specific attribute, and denotes the angle between and . The hyperparameter s scales the cosine values, while the additive margin m imposes a stricter angular penalty on the ground-truth class . This mathematically forces the network to learn highly compact intra-class and maximally separated inter-class feature distributions.
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
9

(a) FID and Garment-RM Classification Acc.
(b) Rewards of Std. GRPO and AR-GRPO.
AR-GRPO
Std. GRPO (w/o Rds) Update Garment-RM Online
Input

(c) Visual results with different strategies. Best viewed for checkboard artifacts when zoomed in.
Fig. 8. (a) Adv-GRPO [58] aggressively updates all reward models with adversarial loss, causing them to lose classification ability. (b) Reward trajectories: the discriminator first accelerates early reward rise, then stabilizes both and at an artifact-free equilibrium. (c) Standard GRPO and Adv-GRPO collapse into checkerboard artifacts, while AR-GRPO maintains clean outputs. Best viewed when zoomed in.
Simultaneously, the global embedding branch is also supervised by a margin-based Triplet Loss . Given the mined triplet and the extracted L2-normalized embeddings , the triplet loss enforces instance-level fidelity in the angular space:
(8)
where denotes the cosine similarity, denotes the embedding extracted by the Garment-RM, and is the predefined triplet margin.
Reward Formulation. The pre-trained Garment-RM acts as a garment-aware evaluator of generative quality. For a generated flat-lay garment and its flat-lay ground-truth reference , the continuous reward signal is explicitly formulated as their feature cosine similarity:
To facilitate future research in reward-driven garment generation and fine-grained visual evaluation, we will publicly release the full Garment-RM model weights and training pipeline upon acceptance.
C. Adversarial-Regularized GRPO (AR-GRPO)
AR-GRPO is the core algorithmic contribution of this work, realizing the distribution-reshaping principle introduced in Sec. I. It fulfills the hacking prevention prerequisite: ensuring that RL-driven exploration enriches only authentic high-frequency details without exploiting reward blind spots.
From SFT Saturation to RL Post-Training. Although SFT establishes a strong initialization, we observe clear performance saturation: simply extending training or scaling data brings limited gains and may even degrade the generative prior due to noisy samples. (See Fig. 2 for the qualitative comparisons post-SFT and the corresponding FID curves.). To further improve data efficiency and exploration ability, we adopt Group Relative Policy Optimization (GRPO) as a post-training strategy. Following prior RL works [34], [35], we introduce stochasticity through SDE-based sampling, which enables diversified trajectories and more effective policy optimization beyond deterministic SFT.
Adversarial Supervision against Reward Hacking. Directly applying GRPO, however, leads to severe reward hacking: the reward score keeps increasing while visual quality deteriorates, often accompanied by checkerboard artifacts as in Fig. 8. To prevent the policy from exploiting imperfect reward signals, we introduce an adversarial discriminator following the spirit of Adv-GRPO [58], with the pipeline in Fig. 5. The discriminator provides an additional realism-aware reward that penalizes unnatural generations and is updated jointly with the diffusion policy, thereby stabilizing RL optimization and suppressing artifact collapse.
Optimization Formulation. We convert the deterministic ODE process lacking exploratory variance for GRPO, into an equivalent Stochastic Differential Equation (SDE) [34]:
(10)
where injects stochasticity for exploration, and is the diffusion coefficient scheduling the noise level. Using this SDE formulation, we roll out trajectories for steps, starting from pure noise at down to , to obtain the terminal latents . These latents are subsequently decoded into generated images .
We formulate a comprehensive multi-reward system comprising two static perceptual rewards and a dynamically updated adversarial reward. As defined in Eq. 9, the static reward enforces detail fidelity via feature cosine similarity. As demonstrated in Fig. 13, the combination of LPIPS [59] and Garment-RM yields sample selections that optimally align with human preferences. Furthermore, diversifying the optimization targets via a multi-reward formulation inherently increases the difficulty of reward hacking. Consequently, we incorporate a auxiliary perceptual reward , assigning it an equal weight to . Conversely, the dynamic reward , derived from the scalar output of our adversarial discriminator, provides critical authenticity supervision to systematically prevent artifact hacking. To stabilize optimization, each raw reward is independently normalized within the sampled group to yield its corresponding advantage:
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
10
The generative policy (diffusion model) is then updated via the clipped policy gradient objective:
where the clipping threshold explicitly bounds the policy updates to ensure stable optimization. In this objective, the combined advantage is computed as the weighted sum of the three independently normalized advantages:
Additionally, denotes the importance ratio, formulated as the transition probability quotient between the current and the old generative policy during the denoising process:
Adversarial Discriminator Design and Update. To construct the adversarial discriminator , we adopt a frozen pre-trained DINOv2 [60] backbone attached to a lightweight binary classification head comprising two fully connected layers. As demonstrated in Tab. IV, the DINO [CLS] token exhibits a superior capacity for filtering bad cases; therefore, we discard the patch tokens entirely. For the discrimination objective, we employ a hinge loss, which provides uniform and stable gradients. Furthermore, we intentionally abandon the Sigmoid activation, ensuring that the discrimination scores remain distinguishable even in high-confidence regions, thereby providing meaningful relative superiority judgments within the generated group.
The discriminator is continuously updated using the following adversarial hinge loss:
In practice, we first initiate the discriminator offline for 3000-step training with pre-saved and SDE rollouts . During AR-GRPO, we update the discriminator for three steps before each generator update, so that the realism reward remains sufficiently strong and up-to-date during RL training. The positive samples are drawn from a mixture of real natural images and the base model's full 25-step ODE inference results, while the negative samples are taken from the current 10-step SDE rollouts . This dynamic co-evolution constrains the generator's exploration within the manifold of authentic images.
V. EXPERIMENTS
A. Experimental Setup
Datasets & Implementation Details. We train and evaluate RAGDiffusion++ on STGarment-Plus, which contains 25,756 training pairs of in-the-wild upper-garment images and their corresponding standard flat-lay targets, along with 1,969 test pairs (data distribution shown in Fig. 6). The model is
Algorithm 1 Adversarial-Regularized GRPO (AR-GRPO)
Require: DiT Policy (ref: , untrained frozen base: ), discriminator , Garment-RM, LPIPS.
Require: Params: Group size , SDE steps , generator update ratio , weights .
1: Initialize iteration counter .
While not converged
Phase 1: SDE & ODE Rollout Sampling
2: Sample condition and ground-truth .
3: Generate via 25-step ODE using model .
4: Sample for .
5: Solve SDE (Eq. 10) to get , decode .
6: Increment counter: .
7: if then
Phase 2: Discriminator Training
8: Form batches: , .
9: Update by minimizing (Eq. 15).
10: else
Phase 3: Multi-Reward Advantage Computation
11: Compute , , and .
12: For , normalize with mean and std :
.
Phase 4: Optimization & Model Update
13: Compute combined advantage:
.
14: Compute ratio:
.
15: Update by maximizing the clipped surrogate objective:
.
16: Sync reference policy: .
17: end if
end while
TABLE I QUANTITATIVE COMPARISONS OF GENERATIVE PERFORMANCE AGAINST STATE-OF-THE-ART BASELINES. THE UPPER SECTION EVALUATES SDXL-BASED MODELS, WHILE THE LOWER SECTION COMPARES RAGDIFFUSION++ AGAINST FLUX-BASED AND LARGE-SCALE COMMERCIAL MODELS.
| Method | SSIM | LPIPS | FID | KID | DISTS |
|---|---|---|---|---|---|
| SDXL Backbone (Trained on STGarment) | |||||
| PBE | 0.5278 | 0.4821 | 26.55 | 10.08 | 0.352 |
| ControlNet | 0.5225 | 0.4792 | 23.02 | 9.231 | 0.345 |
| IP-Adapter | 0.6067 | 0.4728 | 14.50 | 3.747 | 0.264 |
| TryOffDiff | 0.6124 | 0.5007 | 34.34 | 14.19 | 0.335 |
| TryOffAnyone | 0.6575 | 0.4335 | 18.86 | 7.919 | 0.245 |
| ReferenceNet | 0.6546 | 0.3979 | 10.70 | 1.399 | 0.224 |
| RAGDiffusion | 0.6963 | 0.3684 | 9.990 | 1.092 | 0.192 |
FLUX Backbone & Large-Scale Commercial Models
| Nano Banana 1 | 0.6576 | 0.3969 | 9.616 | 1.218 | 0.195 |
|---|---|---|---|---|---|
| Qwen-Image-Edit | 0.6432 | 0.3893 | 10.55 | 1.466 | 0.203 |
| FLUX.1-Redux | 0.6717 | 0.4049 | 11.96 | 2.246 | 0.212 |
| FLUX.1 Cond. Concat. | 0.6684 | 0.3605 | 9.271 | 1.036 | 0.178 |
| RAGDiffusion++ | 0.6688 | 0.3484 | 8.564 | 0.719 | 0.160 |
initialized from the pre-trained FLUX.1-dev DiT and trained at a resolution using AdamW () with a cosine scheduler. During the 10-day SFT phase on 16 NVIDIA H20 GPUs equipped with DeepSpeed ZeRO-2 [61], the sampling ratio of STGarment-Plus is linearly increased from 50% until it fully replaces the STGarment mixture. For the subsequent AR-GRPO stage, we sample trajectories of steps per prompt (9 SDE steps, 1 ODE step) at data batch size of . The discriminator ()
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
11
(a) Accurate Structures
(b) High-frequency, Detail-rich Textures
RAGDiffusion++
Nano Banana
Qwen-Image-Edit-2509 FLUX.1 Cond. Concat.
FLUX.1-Redux
RAGDiffusion
TryOffAnyone
TryOffDiff

Fig. 9. Qualitative comparison with state-of-the-art garment generation baselines. Best viewed when zoomed in.
and generator ( ) are updated with a 3:1 step ratio over 2-3 days on 8 NVIDIA H20 GPUs. In Eq. 13, we set . During DiT update, the gradient accumulation step is set to , such that one optimizer update is performed using the gradients accumulated from all sampled trajectories associated with a single data batch. As for testing, we utilize the Flow Match Euler Discrete Scheduler [8] for 25 steps. Additionally, our Garment-RM is trained on 500,000 consensus-annotated images using an EfficientNet-style backbone on 4 GPUs, converging in approximately one day. All classification and retrieval losses are equally weighted during training.
Baselines. We comprehensively benchmark our methods across both generation quality and reward accuracy. For generation, our SDXL-based RAGDiffusion is compared against the official checkpoints of TryOffDiff [4] and TryOffAnyone [5], alongside four classic conditional methods (IP-Adapter [21], ReferenceNet [51], ControlNet [19], and PBE [62]) retrained on our dataset. For the FLUX backbone, RAGDiffusion++ is evaluated against FLUX.1-Redux [63], a CAT-VTON-inspired [64] token concatenation variant FLUX.1 Cond. Concat. (both with retrieved silhouette mask ), and zero-shot large-scale commercial models (Nano Banana 1 [1] and Qwen-Image-Edit [2]). Notably, these massive commercial models inherently benefit from orders of magnitude more training data and compute. For the human preference prediction task, Garment-RM is benchmarked against generic vision foundation models (CLIP [41], DINO [15]) and established aesthetic reward models (HPS v2.1 [14], ImageReward [33], and PickScore [13]).
Evaluation Protocols. To assess generation quality, we utilize LPIPS [59] and SSIM [65] for reconstruction accuracy, DISTS [66] for perceptual and structural similarity, and FID [67] / KID [68] for distributional realism. To evaluate the reward model, we measure its alignment with human judgments via Preference Accuracy, and employ Recall@K and Filter@K metrics to explicitly quantify its capability to retrieve high-quality garment generations and filter low-quality generations from diverse candidate pools.
B. Main Generative Results
Qualitative results. Fig. 9 presents a qualitative comparison on the STGarment-Plus dataset. TryOffDiff [4] suffers severe structural collapses, and TryOffAnyone [5] exhibits inaccurate structures and distorted colors. RAGDiffusion, FLUX.1 Cond. Concat., and FLUX.1-Redux [63] produce coherent shapes but consistently exhibit overly smooth textures, confirming the absence of high-frequency sampling trajectories. Qwen-ImageEdit [2] often hallucinates garment structures. Nano Banana 1 [1] demonstrates comparable robustness but remains slightly inferior in local detail accuracy and material expressiveness. In contrast, RAGDiffusion++ stabilizes global topology via retrieved structural priors and optimizes high-frequency details via AR-GRPO, achieving unprecedented fidelity in fine-grained patterns while rendering fabrics with lifelike tactile realism.
Quantitative results. As indicated in Tab. I, we quantitatively evaluate the generation quality of various methods on the
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
12
TABLE II QUANTITATIVE ABLATION STUDY OF NETWORK COMPONENTS, ARCHITECTURE AND DATA UPGRADES, AND AR-GRPO REWARDS.
| Method | SSIM ↑ | LPIPS ↓ | FID ↓ | KID ↓ | DISTS ↓ |
|---|---|---|---|---|---|
| Base Model Components in RAGDiffusion | |||||
| Vanilla Model | 0.6576 | 0.3961 | 10.65 | 1.405 | 0.222 |
| + emb | 0.6614 | 0.3917 | 10.55 | 1.354 | 0.217 |
| + emb + sil | 0.6926 | 0.3690 | 10.22 | 0.940 | 0.210 |
| RAGDiffusion | 0.6963 | 0.3684 | 9.990 | 1.092 | 0.192 |
| Data and Architecture Upgrades (SFT Phase) | |||||
| + FLUX Backbone | 0.6718 | 0.3613 | 9.795 | 1.122 | 0.170 |
| + STGarment-Plus Data | 0.6586 | 0.3598 | 9.389 | 1.003 | 0.165 |
| AR-GRPO Optimization Ablations (RL Phase) | |||||
| AR-GRPO w/ | 0.6486 | 0.3829 | 12.18 | 2.731 | 0.202 |
| AR-GRPO w/o | 0.6650 | 0.3509 | 8.989 | 0.904 | 0.163 |
| AR-GRPO w/o (Std. GRPO) | 0.6721 | 0.3561 | 8.630 | 0.769 | 0.161 |
| RAGDiffusion++ (Full) | 0.6688 | 0.3484 | 8.564 | 0.719 | 0.160 |
TABLE III CROSS-DATASET EVALUATION ON VITON-HD AND DRESSCODE (DC). MODELS MARKED WITH * DENOTE INNER-DATASET TESTING (TRAINED ON THE TARGET DATASET), WHILE OTHERS ARE EVALUATED IN A CROSS-DATASET SETTING.
| Dataset Method | Viton-HD | DC-Upper | DC-Dress | |||
|---|---|---|---|---|---|---|
| FID ↓ | KID ↓ | FID ↓ | KID ↓ | FID ↓ | KID ↓ | |
| SDXL-based Models | ||||||
| PBE | 80.8 | 52.9 | 45.0 | 21.1 | 105.1 | 74.6 |
| ControlNet | 69.9 | 43.2 | 48.9 | 23.6 | 118.3 | 95.4 |
| IP-Adapter | 46.8 | 17.8 | 28.8 | 11.1 | 47.8 | 19.0 |
| TryOffDiff* | 14.0 | 3.31 | 38.9 | 16.7 | 74.3 | 48.6 |
| TryOffAnyone* | 11.4 | 1.97 | 24.4 | 9.30 | 38.4 | 20.4 |
| ReferenceNet | 15.2 | 3.23 | 17.8 | 6.24 | 51.2 | 22.4 |
| RAGDiffusion | 12.3 | 1.45 | 15.9 | 4.51 | 23.1 | 6.22 |
| FLUX Backbone & Large-Scale Commercial Models | ||||||
| FLUX.1-Redux | 12.6 | 2.24 | 20.7 | 6.73 | 20.7 | 4.69 |
| FLUX.1 Cond. Concat. | 11.8 | 1.88 | 20.7 | 6.49 | 21.0 | 4.90 |
| RAGDiffusion++ | 10.5 | 1.31 | 18.6 | 5.13 | 20.4 | 4.50 |
STGarment-Plus dataset, demonstrating that RAGDiffusion++ significantly outperforms all baseline approaches across most metrics. Notably, while Nano Banana exhibits visual quality second only to RAGDiffusion++, its quantitative scores are lower than those of the FLUX.1 Cond. Concat. baseline. We attribute this discrepancy to a "structure distribution gap" between Nano Banana [1] training data and our test data. This is less of an issue for FLUX.1 Cond. Concat., which directly benefits from the retrieved information as described in Sec. III. Furthermore, we observe that SSIM consistently fails to align with perceived visual quality. Its structure term is intrinsically sub-pixel-phase-sensitive, which paradoxically rewards both over-smooth outputs and regular artifact patterns (e.g., checkerboard grids) while penalizing realistic high-frequency textures (detailed analysis in the Appendix). We therefore treat SSIM as a coarse contour-fidelity proxy and rely on LPIPS, DISTS, FID, KID, and human evaluation (Sec. V-D) as the primary indicators of micro-textural realism.
Cross-dataset evaluation. Despite zero exposure to the Viton-HD [69] and DressCode [70] datasets during training, our framework exhibits strong out-of-distribution (OOD) gener- alization without any fine-tuning (Tab. III). We note that on DC-Upper, the SDXL-based RAGDiffusion attains marginally lower FID/KID—this is expected because DC-Upper is dominated by simple low-frequency cotton T-shirts, and AR-GRPO redistributes probability toward the high-frequency tail. On the more challenging Viton-HD and DC-Dress, RAGDiffusion++ recovers its advantage.
C. Comprehensive Ablation Study
Ablation of the Data Improvement and Architecture Update. We ablate the architectural and data quality evolution leading up to AR-GRPO in Fig. 10 and Tab. II. Upgrading the base architecture from the legacy RAGDiffusion [6] (SDXL) to the Dual-Image-Stream DiT yields images with significantly enhanced clarity and richer lighting dynamics; however, the fabrics still exhibit an unnatural, smooth plastic-like feel. The integration of the STGarment-Plus dataset further enriches the base fabric details within the FLUX backbone [8]. Finally, the application of AR-GRPO pushes the generative quality to a higher ceiling. It dramatically enhances the fidelity of small logos and intricate patterns, while injecting unprecedented tactile realism into the textures, flawlessly restoring the physical appearance of complex woven and knitted materials.
Ablation of AR-GRPO Reward Components. To validate the indispensable role of each component within our AR-GRPO framework, we design three variant settings (Fig. 12 and Tab. II): 1) optimizing purely with a single pre-trained DINO [CLS] similarity reward (denoted as ) as a intuitive solution; 2) removing our proposed Garment-RM score from RAGDiffusion++ (); and 3) removing the adversarial discriminator, which degrades the framework to standard GRPO ().
Visual results indicate that utilizing a generic pre-trained DINO similarity as the sole reward is entirely counterproductive, leading to severe checkerboard artifacts and heavily distorted textures. Removing the Garment-RM () yields overly smooth and blurred fabric details. Furthermore, it fails to accurately align fine-grained local structures like collars and cuffs, and triggers catastrophic visual collapses
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
13
Input
RAGDiffusion
+FLUX Backbone
+STGarment-Plus
RAGDiffusion++(RL)
RGRM + RLPIPS(w/o Rdis)
Only RGRM(w/o Rdis)

Fig. 10. The architecture update and data improvement during the SFT phase resulted in enhancements to richer lighting dynamics and fabric details. Best viewed when zoomed in.
Fig. 11. We observe that delays the checkerboard artifacts.
under strong lighting conditions. This proves that Garment-RM plays a decisive role in governing material quality, pattern fidelity, and sampling robustness. Critically, the absence of the adversarial discriminator universally induces dense checkerboard artifacts (particularly visible when zoomed in on solid-color garments), a flaw that is devastating for industrial usability. These artifacts worsen progressively as training continues, heavily restricting the effective optimization window of standard GRPO [34].
Why the gain of appears small in Tab. II. The narrow FID/KID gap is expected: checkerboard noise produces near-Gaussian statistics in Inception feature space, and the regular grid inflates SSIM via the pathway discussed in the Appendix. The actual collapse is unambiguously visible in zoomed-in ablations (Fig. 12(b) and Fig. 8), which we regard as the authoritative evidence for .
We further elucidate how the discriminator functions by visualizing the reward trajectories across DiT update steps in Fig. 8. Early in training, the pre-trained discriminator rapidly pushes the SDE sampling trajectory towards higher authenticity, accelerating the initial rise of both Garment-RM and LPIPS scores. In later stages, it serves as a strict authenticity constraint. By preventing the generator from exploiting the reward models (reward hacking), it stabilizes the scores at a slightly lower, yet physically accurate and artifact-free equilibrium.
Reward Auxiliary Objectives. Additionally, in Fig. 11, we justify the use of LPIPS as an auxiliary reward. In early middle-stage training without , the combination of mitigates and delays the onset of checkerboard artifacts compared to pure , inherently increasing the difficulty for the model to “cheat”. Furthermore, our interpolation analysis (Fig. 13) proves that this combined reward correlates more robustly with sample quality.
Ablation of Legacy RAG Components. As shown in Tab. II (upper section), incrementally introducing structure embeddings and silhouette landmarks progressively improves contour accuracy and detail fidelity, confirming the complementary roles of these retrieval-based priors (detailed analysis in the Appendix). Furthermore, although RAGDiffusion is trained exclusively on upper-body data, incorporating lower-body/dress flat-lay images into the memory database enables zero-shot cross-category generalization (Tab. III), demonstrating the cost-effectiveness of the RAG paradigm.
D. Effectiveness of Garment-RM
To validate the effectiveness and necessity of our proposed Garment-RM, we conduct a comprehensive analysis comparing it against existing generic vision foundation models and aesthetic reward models.
Attribute Classification Accuracy. The superiority of Garment-RM stems from its multi-task consensus-driven recognition engine. In Fig. 15, we present a radar chart illustrating the classification accuracy across the 12 predefined fine-grained attributes (detailed in the Appendix). Compared to
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
14

Fig. 12. Ablation of core reward components in AR-GRPO. By comparing (a) the absence of Garment-RM (resulting in blurred textures and local misalignment), (b) the absence of the discriminator (degrading to standard GRPO [34] and causing dense checkerboard artifacts), and (c) the use of a generic DINO [CLS] reward (leading to severe trajectory distortion), we prove the indispensability of specialized reward models and adversarial regularization in preserving fabric realism and preventing reward hacking. Best viewed when zoomed in.
the large language models, Garment-RM covers a significantly larger area, achieving uniformly high accuracy across all fine-grained categories. This attribute-awareness ensures that the reward signal explicitly penalizes structural hallucinations or incorrect textures during the RL phase.
Human Preference Accuracy. We evaluate reward models on a test set of 1,969 samples (Tab. IV). For each sample, 8 candidate generations are collected using different models and noise perturbations; human annotators label the best and worst, from which we construct preference pairs and measure both preference accuracy and Recall@K/Filter@K (detailed protocol in the Appendix). Widely used aesthetic reward models (HPS v2.1 [14], ImageReward [33], PickScore [13]) achieve preference accuracy below 50%, revealing a severe domain gap—they emphasize lighting and composition but fail to capture physical correctness and material fidelity. Generic vision models (CLIP [41], DINO [15]) perform somewhat better yet remain inferior. In contrast, Garment-RM achieves the highest Preference Accuracy (84.67%) and dominates the Recall metrics, demonstrating superior alignment with professional human judgments.
Human Evaluation. To deeply evaluate the ability of Garment-RM to select the more preferred images among generated images, we produce 8/16 candidate generations on 200 cases in the same way as Sec. Human Preference Accuracy, and use different methods to select from those images to get top3 results. Then three annotators rank these selected top-3 images. Fig. 14 (b) shows that Garment-RM achieves the highest win rates, especially garment faithfulness, demonstrating that Garment-RM can select images that are more natural and high-fidelity.
Interpolation Analysis of reward combination. When humans evaluate images, the selection process contains multiple elements such as fidelity, authenticity, etc. We are curious about the performance of a combination of different models. We test interpolation among the top3 models in Tab. IV, their accuracy on the test set is in Fig. 13. We observe that interpolation between different reward models can always get higher Top-1 accuracy, and interpolating Garment-RM with LPIPS score reaches a bit better performance.
Feature Space Discriminability. We further visualize the learned Garment-RM embedding distribution in Fig. 14(a) to gain an in-depth comprehension of how the embeddings help penalize incorrect textures. The features extracted by Garment-RM exhibit highly compact intra-class clustering and distinct inter-class separation. Such a well-structured feature space ensures that the cosine similarity reward (Eq. 9) provides a dense and meaningful gradient signal for the
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
15
Ours mixed with LPIPS

LPIPS mixed with DINO
DINO mixed with Ours
Fig. 13. We observe that interpolation between different reward models can always get higher Top-1 accuracy. While Garment-RM achieves the best accuracy in a single reward setting, interpolating it with LPIPS score produces a bit better performance.

(a) Visualization of Garment-RM embeddings distribution with Material by t-SNE. Observe obvious inter-class divergence.
(c) Top-3 from 16 Samples Aesthetics
(d) Top-3 from 16 Samples Garment Faithfulness
(b) We evaluate the models' ability to select the Top-3 best generations from candidate pools of size 8 (top) and 16 (bottom) on 200 cases. Garment-RM achieves the highest win rates in both overall aesthetics and precise garment faithfulness.
Fig. 14. T-SNE figures of Garment-RM embeddings and human evaluation on preference selection to validate the effectiveness of Garment-RM.
subsequent AR-GRPO optimization.
E. Effectiveness of AR-GRPO
Breaking the SFT Saturation Bottleneck. To illustrate the necessity of transitioning from Supervised Fine-Tuning (SFT) to Reinforcement Learning (RL), we first analyze the inherent saturation bottleneck of the SFT paradigm by evaluating checkpoints from different SFT phases on a subtest set with 200 samples. As depicted in the training curves (Fig. 2), during the SFT phase, the generative model reaches a performance plateau, indicating that extending the training duration or scaling the data yields diminishing returns (increasing the data from STGarment may introduce low-quality samples). Qualitatively, models relying solely on SFT struggle to capture high-frequency physical details, often producing garments with blurred patterns, faded colors, and flattened, plastic-like textures. In stark contrast, the introduction of AR-GRPO shatters this ceiling, triggering a sharp decline in FID and a corresponding surge in reward (Fig. 8). The resulting RL-optimized images exhibit vibrant colors, razor-sharp typography, and highly faithful fabric textures, demonstrating that stochastic RL exploration is essential for mastering micro-level physical realism.
Frequency-Domain Analysis. We further validate the improvements of AR-GRPO in the frequency domain by comparing the average Fourier spectra of the Base model (post-SFT with the FLUX backbone), the AR-GRPO model, and the Real test set. Specifically, each image is converted to grayscale, transformed via a 2D Fast Fourier Transform (FFT), and represented by the log-power spectrum:
Averaging over all matched samples yields the dataset-level spectra , , and .
As shown in Fig. 3(a), the Base model exhibits two clear issues. First, its error relative to real images is exceptionally large in the middle- and high-frequency regions, indicating a severe mismatch in texture and fine-detail statistics. Second, the error map contains obvious directional patterns rather than an isotropic distribution, suggesting a structured spectral bias. In contrast, the RL model produces significantly weaker residuals and less pronounced directional artifacts, confirming that AR-GRPO reduces both frequency-domain error and
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
16
TABLE IV RESULTS OF GARMENT-RM AND COMPARISON METHODS ON HUMAN PREFERENCE PREDICTION. PREFERENCE ACCURACY AND RECALL/FILTER SCORES ARE EVALUATED ON A TEST SET OF 1,969 PROMPTS (WITH 9 PAIRS PER SAMPLE). ALL SCORES ARE AVERAGED PER PROMPT.
| Model | Preference Acc. | @1 | Recall @2 | @4 | @1 | Filter @2 | @4 |
|---|---|---|---|---|---|---|---|
| HPS v2.1 | 33.48 | 2.49 | 7.62 | 24.68 | 10.82 | 20.42 | 37.94 |
| ImageReward | 38.95 | 4.27 | 10.97 | 29.91 | 14.27 | 23.36 | 42.46 |
| PickScore | 45.04 | 6.91 | 15.79 | 39.00 | 19.86 | 31.59 | 49.16 |
| MSE Score | 52.25 | 20.47 | 36.92 | 72.12 | 9.40 | 16.40 | 36.06 |
| CLIP Similarity | 77.97 | 22.45 | 40.58 | 72.07 | 67.60 | 82.02 | 92.59 |
| DINO (Patch) Sim. | 71.58 | 27.73 | 44.03 | 73.54 | 36.72 | 57.54 | 77.55 |
| DINO (CLS) Sim. | 81.22 | 24.94 | 44.74 | 77.55 | 70.85 | 86.39 | 95.94 |
| LPIPS Similarity | 81.14 | 32.55 | 51.96 | 82.88 | 69.07 | 83.70 | 93.65 |
| Garment-RM (Ours) | 84.67 | 41.90 | 57.59 | 84.92 | 68.66 | 84.00 | 94.26 |

Fig. 15. Performance comparison of fine-grained attribute perception. Garment-RM comprehensively outperforms state-of-the-art large language models (GPT-4o and Qwen3-VL), leading to reliable, attribute-aware signals for the RL optimization phase.
structural bias. To further quantify this effect, we compute the radially averaged spectral error curves in Fig. 3(b). The RL model consistently achieves lower error over a broad range of middle and high frequencies, indicating a superior alignment with the real-image spectrum and mathematically explaining the enhanced tactile realism observed in the generated fabrics.
VI. CONCLUSION
In this paper, we present RAGDiffusion++, an omni-level aligned framework that resolves the High-Frequency Trajectory Collapse in industrial-grade garment synthesis. Our core insight is that SFT converges to the conditional-mean mode dominated by smooth textures, making high-frequency patterns structurally un-sampleable; reinforcement learning breaks this collapse by reshaping the sampling distribution—stochastic SDE exploration combined with reward-weighted policy gradients elevates physically correct but low-probability trajectories into the sampleable regime. We operationalize this principle through three complementary prerequisites: (i) a Dual-Image-Stream FLUX architecture trained on the challenging STGarment-Plus dataset to establish high-frequency priors (inherent capacity); (ii) Garment-RM, an attribute-aware reward model that provides fine-grained material-level optimization signals (perceptive reward); and (iii) AR-GRPO, which integrates an adversarial discriminator to detect and penalize reward exploitation (hacking prevention). Extensive experiments on STGarment-Plus, VITON-HD, and Dress-Code demonstrate that RAGDiffusion++ consistently achieves state-of-the-art performance, confirming the effectiveness of our distribution-reshaping paradigm. We will release the STGarment-Plus dataset and Garment-RM weights to foster future research in fine-grained generative alignment.
REFERENCES
[1] Google, “Gemini 2.5 flash image,” https://gemini.google.com/, 2025. 1, 7, 11, 12
[2] C. Wu, J. Li, J. Zhou, J. Lin, K. Gao, K. Yan, S. ming Yin, S. Bai, X. Xu, Y. Chen, Y. Chen, Z. Tang, Z. Zhang, Z. Wang, A. Yang, B. Yu, C. Cheng, D. Liu, D. Li, H. Zhang, H. Meng, H. Wei, J. Ni, K. Chen, K. Cao, L. Peng, L. Qu, M. Wu, P. Wang, S. Yu, T. Wen, W. Feng, X. Xu, Y. Wang, Y. Zhang, Y. Zhu, Y. Wu, Y. Cai, and Z. Liu, “Qwen-image technical report,” 2025. 1, 11
[3] S. Liu, Y. Han, P. Xing, F. Yin, R. Wang, W. Cheng, J. Liao, Y. Wang, H. Fu, C. Han, G. Li, Y. Peng, Q. Sun, J. Wu, Y. Cai, Z. Ge, R. Ming, L. Xia, X. Zeng, Y. Zhu, B. Jiao, X. Zhang, G. Yu, and D. Jiang, “Step1x-edit: A practical framework for general image editing,” arXiv preprint arXiv:2504.17761, 2025. 1
[4] R. Velioglu, P. Bevandic, R. Chan, and B. Hammer, “Tryoffdiff: Virtual-try-off via high-fidelity garment reconstruction using diffusion models,” arXiv preprint arXiv:2411.18350, 2024. 1, 3, 11
[5] I. Xarchakos and T. Koukopoulos, “Tryoffanyone: Tiled cloth generation from a dressed person,” arXiv preprint arXiv:2412.08573, 2024. 1, 3, 11
[6] Y. Li, X. Tan, W. Shang, Y. Wu, J. Wang, X. Chen, Y. Zhang, H. Zhu, and B. Ni, “Ragdiffusion: Faithful cloth generation via external knowledge assimilation,” in Proc. IEEE/CVF ICCV, 2025. 1, 2, 3, 4, 12
[7] O. Ram, Y. Levine, I. Dalmedigos, D. Muhlgay, A. Shashua, K. Leyton-Brown, and Y. Shoham, “In-context retrieval-augmented language models,” Trans. ACL, 2023. 1, 4
[8] B. forest labs, “Flux.1-dev,” https://github.com/black-forest-labs/flux, 2024. 1, 2, 8, 11, 12
[9] T. Berrada, P. Astolfi, M. Hall, M. Havasi, Y. Benchetrit, A. Romero-Soriano, K. Alahari, M. Drozdzal, and J. Verbeek, “Boosting latent diffusion with perceptual objectives,” arXiv preprint arXiv:2411.04873, 2024. 1
[10] S. Choi, J. Sung, and J. Oh, “Framer: Frequency-aligned self-distillation with adaptive modulation leveraging diffusion priors for real-world image super-resolution,” arXiv preprint arXiv:2512.01390, 2025. 1
[11] C. Ledig, L. Theis, F. Huszar, J. Caballero, A. Cunningham, A. Acosta, A. Aitken, A. Tejani, J. Totz, Z. Wang, and W. Shi, “Photo-realistic single image super-resolution using a generative adversarial network,” 2017. 1
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
17
[12] Y. Blau and T. Michaeli, “The perception-distortion tradeoff,” in 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognit., 2018. 1
[13] Y. Kirstain, A. Polyak, U. Singer, S. Matiana, J. Penna, and O. Levy, "Pick-a-pic: An open dataset of user preferences for text-to-image generation," NeurIPS, 2023. 2, 4, 8, 11, 14
[14] X. Wu, Y. Hao, K. Sun, Y. Chen, F. Zhu, R. Zhao, and H. Li, “Human preference score v2: A solid benchmark for evaluating human preferences of text-to-image synthesis,” arXiv preprint arXiv:2306.09341, 2023. 2, 4, 8, 11, 14
[15] O. Siméoni, H. V. Vo, M. Seitzer, F. Baldassarre, M. Oquab, C. Jose, V. Khalidov, M. Szafraniec, S. Yi, M. Ramamonjisoa et al., “Dinov3,” arXiv preprint arXiv:2508.10104, 2025. 2, 8, 11, 14
[16] J. Fu, X. Zhao, C. Yao, H. Wang, Q. Han, and Y. Xiao, “Reward shaping to mitigate reward hacking in rlhf,” 2026. 2
[17] D. Podell, Z. English, K. Lacey, A. Blattmann, T. Dockhorn, J. Müller, J. Penna, and R. Rombach, “Sdxl: Improving latent diffusion models for high-resolution image synthesis,” arXiv preprint arXiv:2307.01952, 2023. 2
[18] I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio, “Generative adversarial nets,” NeurIPS, 2014. 3
[19] L. Zhang, A. Rao, and M. Agrawala, “Adding conditional control to text-to-image diffusion models,” in Proc. IEEE/CVF ICCV, 2023. 3, 11
[20] C. Mou, X. Wang, L. Xie, Y. Wu, J. Zhang, Z. Qi, and Y. Shan, “T2i-adapter: Learning adapters to dig out more controllable ability for text-to-image diffusion models,” in Proc. AAAI, 2024. 3
[21] H. Ye, J. Zhang, S. Liu, X. Han, and W. Yang, “Ip-adapter: Text compatible image prompt adapter for text-to-image diffusion models,” arXiv preprint arXiv:2308.06721, 2023. 3, 5, 11
[22] Y. Li, H. Liu, Q. Wu, F. Mu, J. Yang, J. Gao, C. Li, and Y. J. Lee, “Gligen: Open-set grounded text-to-image generation,” in Proc. IEEE/CVF CVPR, 2023. 3
[23] Z. Yang, J. Wang, Z. Gan, L. Li, K. Lin, C. Wu, N. Duan, Z. Liu, C. Liu, M. Zeng et al., “Reco: Region-controlled text-to-image generation,” in Proc. IEEE/CVF CVPR, 2023. 3
[24] T. Zhang, Y. Zhang, V. Vineet, N. Joshi, and X. Wang, “Controllable text-to-image generation with gpt-4,” arXiv preprint arXiv:2305.18583, 2023. 3
[25] M. Chen, I. Laina, and A. Vedaldi, “Training-free layout control with cross-attention guidance,” in Proc. IEEE/CVF WACV, 2024. 3
[26] J. Xie, Y. Li, Y. Huang, H. Liu, W. Zhang, Y. Zheng, and M. Z. Shou, "Boxdiff: Text-to-image synthesis with training-free box-constrained diffusion," in Proc. IEEE/CVF ICCV, 2023. 3
[27] X. Ju, A. Zeng, C. Zhao, J. Wang, L. Zhang, and Q. Xu, “Humansd: A native skeleton-guided diffusion model for human image generation,” in Proc. IEEE/CVF ICCV, 2023. 3
[28] X. Zhang, D. Song, P. Zhan, Q. Chen, Z. Xu, W. Luo, K. Zhang, and A. Liu, “Boow-vton: Boosting in-the-wild virtual try-on via mask-free pseudo data training,” arXiv preprint arXiv:2408.06047, 2024. 3
[29] W. Zeng, M. Zhao, Y. Gao, and Z. Zhang, “Tilegan: category-oriented attention-based high-quality tiled clothes generation from dressed person,” Neural Comput. Appl., 2020. 3
[30] L. Shen, R. Huang, and Z. Wang, “Igr: Improving diffusion model for garment restoration from person image,” arXiv preprint arXiv:2412.11513, 2024. 3
[31] K. Black, M. Janner, Y. Du, I. Kostrikov, and S. Levine, “Training diffusion models with reinforcement learning,” 2023. 3
[32] Y. Fan, O. Watkins, Y. Du, H. Liu, M. Ryu, C. Boutilier, P. Abbeel, M. Ghavamzadeh, K. Lee, and K. Lee, “Dpok: Reinforcement learning for fine-tuning text-to-image diffusion models,” NeurIPS, 2023. 3
[33] J. Xu, X. Liu, Y. Wu, Y. Tong, Q. Li, M. Ding, J. Tang, and Y. Dong, "Imagereward: Learning and evaluating human preferences for text-to-image generation," NeurIPS, 2023. 3, 11, 14
[34] J. Liu, G. Liu, J. Liang, Y. Li, J. Liu, X. Wang, P. Wan, D. Zhang, and W. Ouyang, “Flow-grpo: Training flow matching models via online rl,” arXiv preprint arXiv:2505.05470, 2025. 3, 9, 13, 14
[35] Z. Xue, J. Wu, Y. Gao, F. Kong, L. Zhu, M. Chen, Z. Liu, W. Liu, Q. Guo, W. Huang et al., “Dancegrpo: Unleashing grpo on visual generation,” arXiv preprint arXiv:2505.07818, 2025. 3, 9
[36] J. Li, Y. Cui, T. Huang, Y. Ma, C. Fan, Y. Cheng, M. Yang, Z. Zhong, and L. Bo, “Mixgrpo: Unlocking flow-based grpo efficiency with mixed ode-sde,” arXiv preprint arXiv:2507.21802, 2025. 3
[37] X. Shen, Z. Li, Z. Yang, S. Zhang, Y. Zhang, D. Li, C. Wang, Q. Lu, and Y. Tang, “Directly aligning the full diffusion trajectory with fine-grained human preference,” arXiv preprint arXiv:2509.06942, 2025. 3
[38] Y. Xu, T. Gu, W. Chen, and C. Chen, “Ootdiffusion: Outfitting fusion based latent diffusion for controllable virtual try-on,” arXiv preprint arXiv:2403.01779, 2024. 4
[39] Y. Li, H. Zhou, W. Shang, R. Lin, X. Chen, and B. Ni, “Anyfit: Controllable virtual try-on for any combination of attire across any scenario,” arXiv preprint arXiv:2405.18172, 2024. 4
[40] R. Rombach, A. Blattmann, D. Lorenz, P. Esser, and B. Ommer, "High-resolution image synthesis with latent diffusion models," in Proc. IEEE/CVF CVPR, 2022. 4
[41] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark et al., “Learning transferable visual models from natural language supervision,” in Proc. ICML, 2021. 4, 8, 11, 14
[42] J. Achiam, S. Adler, S. Agarwal, L. Ahmad, I. Akkaya, F. L. Aleman, D. Almeida, J. Altenschmidt, S. Altman, S. Anadkat et al., “Gpt-4 technical report,” arXiv preprint arXiv:2303.08774, 2023. 4
[43] J. Bai, S. Bai, S. Yang, S. Wang, S. Tan, P. Wang, J. Lin, C. Zhou, and J. Zhou, “Qwen-vl: A frontier large vision-language model with versatile abilities,” arXiv preprint arXiv:2308.12966, 2023. 4, 7
[44] A. Dosovitskiy, “An image is worth words: Transformers for image recognition at scale,” arXiv preprint arXiv:2010.11929, 2020. 5
[45] T. Chen, S. Kornblith, M. Norouzi, and G. Hinton, “A simple framework for contrastive learning of visual representations,” in Proc. ICML, 2020. 5
[46] A. Borji, “Qualitative failures of image generation models and their application in detecting deepfakes,” Image Vis. Comput., 2023. 5
[47] Q. Liu, A. Kortylewski, Y. Bai, S. Bai, and A. Yuille, “Intriguing properties of text-guided diffusion models,” arXiv preprint arXiv:2306.00974, 2023. 5
[48] S. T. Roweis and L. K. Saul, “Nonlinear dimensionality reduction by locally linear embedding,” science, 2000. 5
[49] V. Blanz and T. Vetter, “Face recognition based on fitting a 3d morphable model,” IEEE TPAMI, 2003. 5
[50] G. Guo, H. Wang, D. Bell, Y. Bi, and K. Greer, “Knn model-based approach in classification,” in Proc. OTM, 2003. 5
[51] L. Hu, X. Gao, P. Zhang, K. Sun, B. Zhang, and L. Bo, “Animate anyone: Consistent and controllable image-to-video synthesis for character animation,” arXiv preprint arXiv:2311.17117, 2023. 5, 11
[52] Z. Tan, S. Liu, X. Yang, Q. Xue, and X. Wang, “Ominicontrol: Minimal and universal control for diffusion transformer,” arXiv preprint arXiv:2411.15098, 2024. 8
[53] H. Wang, J. Peng, Q. He, H. Yang, Y. Jin, J. Wu, X. Hu, Y. Pan, Z. Gan, M. Chi et al., “Unicombine: Unified multi-conditional combination with diffusion transformer,” arXiv preprint arXiv:2503.09277, 2025. 8
[54] Y. Lipman, R. T. Chen, H. Ben-Hamu, M. Nickel, and M. Le, “Flow matching for generative modeling,” arXiv preprint arXiv:2210.02747, 2022. 8
[55] M. Tan and Q. Le, “Efficientnet: Rethinking model scaling for convolutional neural networks,” in Proc. ICML, 2019. 8
[56] J. Hu, L. Shen, and G. Sun, “Squeeze-and-excitation networks,” in Proc. IEEE CVPR, 2018. 8
[57] F. Wang, J. Cheng, W. Liu, and H. Liu, “Additive margin softmax for face verification,” IEEE Signal Processing Letters, 2018. 8
[58] W. Mao, H. Chen, Z. Yang, and M. Z. Shou, “The image as its own reward: Reinforcement learning with adversarial reward for image generation,” arXiv preprint arXiv:2511.20256, 2025. 9
[59] R. Zhang, P. Isola, A. A. Efros, E. Shechtman, and O. Wang, “The unreasonable effectiveness of deep features as a perceptual metric,” in Proc. IEEE CVPR, 2018. 9, 11
[60] M. Oquab, T. Darcet, T. Moutakanni, H. V. Vo, M. Szafraniec, V. Khalidov, P. Fernandez, D. Haziza, F. Massa, A. El-Nouby, R. Howes, P.-Y. Huang, H. Xu, V. Sharma, S.-W. Li, W. Galuba, M. Rabbat, M. Assran, N. Ballas, G. Synnaeve, I. Misra, H. Jegou, J. Mairal, P. Labatut, A. Joulin, and P. Bojanowski, “Dinov2: Learning robust visual features without supervision,” 2023. 10
[61] Microsoft, “Deepspeed,” https://github.com/microsoft/DeepSpeed, 2023. 10
[62] B. Yang, S. Gu, B. Zhang, T. Zhang, X. Chen, X. Sun, D. Chen, and F. Wen, “Paint by example: Exemplar-based image editing with diffusion models,” in Proc. IEEE/CVF CVPR, 2023. 11
[63] B. forest labs, "Flux.1-redux-dev," https://huggingface.co/black-forest-labs/FLUX.1-Redux-dev, 2024. 11
[64] Z. Chong, X. Dong, H. Li, S. Zhang, W. Zhang, X. Zhang, H. Zhao, D. Jiang, and X. Liang, “Catvton: Concatenation is all you need for virtual try-on with diffusion models,” arXiv preprint arXiv:2407.15886, 2024. 11
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. XX, NO. XX, XX 2026
18
[65] Z. Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli, “Image quality assessment: from error visibility to structural similarity,” IEEE TIP, 2004. 11
[66] K. Ding, K. Ma, S. Wang, and E. P. Simoncelli, “Image quality assessment: Unifying structure and texture similarity,” IEEE transactions on pattern analysis and machine intelligence, 2020. 11
[67] G. Parmar, R. Zhang, and J.-Y. Zhu, “On aliased resizing and surprising subtleties in gan evaluation,” in Proc. IEEE/CVF CVPR, 2022. 11
[68] J. Sutherland, M. Arbel, and A. Gretton, “Demystifying mmd gans,” in Proc. ICLR, 2018. 11
[69] S. Choi, S. Park, M. Lee, and J. Choo, “Viton-hd: High-resolution virtual try-on via misalignment-aware normalization,” in Proc. IEEE/CVF CVPR, 2021. 12
[70] K. He, K. Yao, Q. Zhang, J. Yu, L. Liu, and L. Xu, “Dresscode: Autoregressively sewing and generating garments from text guidance,” ACM TOG, 2024. 12