Paper deep dive
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
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 93%
Last extracted: 9/1/2026, 6:25:23 AM
Summary
The paper introduces RAGDiffusion++, a framework for generating high-fidelity garment images by addressing 'High-Frequency Trajectory Collapse' (HFTC) and 'Artifact Hacking' found in previous models. It combines a macro-retrieval module (RAGDiffusion) with a micro-fidelity alignment strategy using Reinforcement Learning (RL). Key components include the STGarment-Plus dataset, a Dual-Image-Stream FLUX architecture, an attribute-aware reward model (Garment-RM), and an Adversarial-Regularized GRPO (AR-GRPO) strategy to ensure realistic textures and prevent reward exploitation.
Entities (12)
Relation Signals (11)
RAGDiffusion++ â buildson â RAGDiffusion++
confidence 95% ¡ built upon the macro-constraints of our preliminary RAGDiffusion
AR-GRPO â prevents â Artifact Hacking
confidence 95% ¡ hacking prevention, enforced by our Adversarial-Regularized GRPO (AR-GRPO) strategy
RAGDiffusion++ â prevents â Artifact Hacking
confidence 95% ¡ adversarial regularization prevents exploitation of reward blind spots... neutralize it with adversarial regularization
RAGDiffusion++ â solves â High-Frequency Trajectory Collapse
confidence 95% ¡ Our key insight is that RL can fundamentally reshape the sampling distribution... to fundamentally resolve High-Frequency Trajectory Collapse.
RAGDiffusion++ â uses â STGarment-Plus
confidence 95% ¡ Realizing this principle requires three prerequisites: (i) inherent capacity, established through a 27,725-pair high-complexity garment dataset (STGarment-Plus)
RAGDiffusion++ â uses â AR-GRPO
confidence 95% ¡ Centered on AR-GRPO as the core optimization strategy, we instantiate the distribution-reshaping paradigm into a unified framework, RAGDiffusion++
RAGDiffusion++ â uses â Garment-RM
confidence 95% ¡ Garment-RM thereby supplies AR-GRPO with an accurate, attribute-aware optimization direction
Garment-RM â â
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
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.
Tags
Links
- Source: https://arxiv.org/abs/2608.29280v1
- Canonical: https://arxiv.org/abs/2608.29280v1
Trouble viewing inline? Open PDF directly â
Full Text
84,917 characters extracted from source content.
Expand or collapse full text
SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. X, NO. X, X 20261 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âStandardclothingassetgenerationâ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. Na Ě Äąvely 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; (i) 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 (i) 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 I. INTRODUCTION R ECENT years have witnessed breakthrough progress in text-to-image (T2I) diffusion models for general- purpose visual generation [1]â[3]. However, industrial-grade fashion clothing asset synthesis [4], [5] (i.e., restoring high- specification flat-lay garment images from in-the-wild im- 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. RL pull up the probability of high-frequency trajectory True Distribution Blurry TextureClear LOGOLOGO DistortionHoneycomb knitCorduroy SFT Distribution (Conditional Mean) Texture Smoothing SFT Distribution (Conditional Mean) RL Distribution Texture Smoothing SFT Manifold RL Manifold y Fig. 1. High-Frequency Trajectory Enhancement via Distribution Re- shaping. 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, RAGDiffu- sion [6], we effectively constrained the macroscopic geometry (e.g., sleeve length, silhouette) by introducing a Retrieval- Augmented Generation (RAG) paradigm [7], thereby eradi- cating 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 empir- ical 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 faith- ful 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 arXiv:2608.29280v1 [cs.CV] 29 Aug 2026 SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. X, NO. X, X 20262 AR-GRPOSFT ResultsStd. GRPO 1 1 Robust Structure Faithful Patterns Detail-rich Fabrics Input 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, success- fully 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 and2, 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 Learn- ing (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 tra- jectories 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: 1) Inherent Capacity: The generative foundation must possess the latent ability to sample high-fidelity texturesâRL cannot amplify a probability of zero. 2) Perceptive Reward: A precise reward function that genuinely comprehends fine-grained garment attributes (local craftsmanship, fabrics, material textures), rather than high-level semantic similarity. 3) 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 strat- egy, 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 (Pre- requisite 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. X, NO. X, X 20263 (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 D Base , AR-GRPO results D RL , and real images D Real . 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 i): 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 reshap- ing toward genuinely faithful textures rather than spurious semantic shortcuts. ⢠Adversarial-Regularized GRPO for Hacking Preven- tion (Prerequisite i): 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 per- formance, synthesizing garments that are simultaneously struc- turally 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-Image- Edit 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. I. RELATED WORKS Controllable text-to-image diffusion models. To attain con- ditional control in text-to-image diffusion models, Control- Net [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 control- lable generative processes. However, these methods primarily rely on the generic associative capabilities of pre-trained diffu- sion 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 Trajec- tory 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 be- yond 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 mod- els, 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. X, NO. X, X 20264 Landmark Guider ......... ......... Conditional Generation Pipeline Cross-Attention Self-Attention I. StructureNet C Concatenate Contrastive Loss fimg fimg fattr fattr EP-Adapter Add+ + eitw estd LLM LLM A light gray dress with a ruffled lace collar. C C ...... ... ... ViT Backbone ViT Backbone Resam- pler Head KNN Solve LLE Problem Resam- pler Head Memory Database Memory Database Part I. SLLE Part I. StructureNet estd C Text Encoder K Q V Latent Person Latent Feature Latent Feature Q K V Cross-Attention Attention Attention zR k zM k zR v zM q zM v Text prompt EP-Adapter + w * Optimal Weights I. SLLE eitw eitw eitw Lsil 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 align- ment. 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. I. 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 distribu- tions. Furthermore, the profound complexity of in-the-wild conditionsâsuch as severe occlusions, multi-layer outfits, and extreme lateral viewpointsânotably exacerbates struc- tural 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. I-A, and SLLE retrieves and fuses structure embeddings and landmarks as in Sec. I-B. The conditional generative pipeline is described in Sec. I-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 g θ , 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 x itw and standard flat-lay clothing x std . 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. X, NO. X, X 20265 Category, FitType, CollarTechnique). We then assign a learn- able embedding f attr to each discrete attribute. Simultane- ously, the visual structure features f img are extracted by a twin ViT [44] encoder. These visual features f img are concatenated with the attribute embeddings f attr and processed through a non-linear Resampler [21] head to formulate the final latent structure embeddings eâe itw ,e std . 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 N 2 â N structurally dissimilar incorrect pairs (denoted with superscript â). The objective function is formulated as: L = â1 N N X i=1 log exp(e itw,i â e + std /Ď) exp(e itw,i â e + std /Ď) + P e â std exp(e itw,i â e â std /Ď) , (1) 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 x itw during inference, this module robustly extracts a clean structural embedding e itw 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 (oc- clusions, 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 databaseD. This database stores a massive collection of high-quality standard flat-lay structural embeddings e std and their precisely corre- sponding silhouette landmarks L sil , formulated as retrieval pairs (e std ,L sil ). To seamlessly map the potentially noisy features e itw 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 e itw , we utilize cosine similarity to retrieve the K-nearest standard ref- erence embeddingse 1 std ,...,e K std and their paired silhouette landmarks L 1 sil ,...,L K sil 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 prob- lem: min w e itw â K X i=1 w i ¡ e i std 2 ,s.t. K X i=1 w i = 1.(2) Solving Eq. 2 yields the optimal weights w â 1 ,...,w â K . To mitigate information loss while forcefully pulling the OOD e itw back to the in-domain target space, the final rectified structure representation Ëe itw is obtained through a linear fusion of the original embedding and the reconstructed one: Ëe itw = ι¡ K X i=1 w â i ¡ e i std + (1â Îą)¡ e itw ,(3) where Îą â [0, 1] controls the trade-off and is empirically set to 0.5. The final landmark Ë L sil is also fused with optimal weights. Through this precise local reconstruction, the SLLE algorithm effectively eliminates structural outliers and math- ematically guarantees macroscopic geometric fidelity before the generation phase. C. Conditional generative pipeline Upon acquiring the rectified structural embedding Ëe itw and silhouette landmark Ë L sil from the retrieval module, the prelim- inary 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 Ëe itw via parallel cross-attention layers, acting as a soft semantic constraint. Concurrently, a spatial Landmark Guider [51] processes the silhouette mask Ë L sil 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 interme- diate key and value features z k R ,z v R from the in-the-wild garment image. These are concatenated with the MainNet features z k M ,z v M along the sequence dimension to form z k C ,z v C , which then guides the self-attention mechanism: Attention z q M ,z k C ,z v C = softmax z q M z kT C â d z v C ,(4) where z q M 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 afore- mentioned SDXL-based pipeline effectively eradicated macro- scopic 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 RAGDiffu- sion, 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 ar- chitecture (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. Recogniz- ing 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. X, NO. X, X 20266 Inputs Text âclothâ Real Images Base Model Frozen model θ base 25-step ODE sampling Base Image x base Trainable Model SDE Sampling Current Policy Snapshot θ old G = 8 diversified sampling trajectories Group of Generated Images x gen ,..., x gen 1G Positive Samples Negative Samples x pos = x std ,x base x std In-the-wild Garment Image x itw x neg = x gen i=1 iG Phase 2: Discriminator Training 3 x Internal Update Loop Discriminator h Ď (DINOv2 backbone) Phase 1: SDE & ODE Rollout Sampling Phase 3: Multi-Reward Advantage Computation Shared Params Static Reward R GRM (Detail Fidelity) Garment-RM Cosine Similarity Auxiliary Reward R LPIPS (Multi-source Reward) f GRM (x) Dynamic Reward R dis (Authenticity Score) Phase 4: Optimization & Model Update Policy Update Importance Sampling Ratio Combined Advantage A mix = Îť 1 A GRM + Îť 2 A LPIPS + Îť 3 A dis PPO-Clipped Objective J gen (θ) GRPO Group Normalizgtion Current Policy θ Periodic Sync: θ old θ AR-GRPO Framework θ x std R LPIPS =1 - LPIPS( ) x gen i , R dis =h Ď ( ) x gen i Conditions From Retrieval process r t (θ) i θ θ old Fig. 5. AR-GRPO training framework consists of four phases: Phase 1 generates diverse trajectories via SDE sampling; Phase 2 trains the discriminator h Ď 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 x itw â R HĂWĂ3 , RAGDiffusion++ aims to synthesize an authentic standard flat-lay garment image x std that strictly preserves both macroscopic topology and microscopic physical mate- rials. 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 trajec- tory exploration beyond the SFT mode, and reward-weighted policy gradients then systematically up-weight trajectories that produce high-frequency-faithful outputs, effectively el- evating 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 se- mantically 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 dis- criminator 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 am- plify 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. 1) STGarment-Plus Dataset Construction: Standard gar- ment 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 Dress- Code, have been widely adopted for this purpose, but they mostly only contain forward-facing persons under clean back- grounds 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 STGar- ment, a web-scale dataset of about 65,131 pairs, which pro- SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. X, NO. X, X 20267 (a) Open-source datasets like Viton-HD and DressCode suffer from limited poses, narrow category coverage, insufficient fine-grained garment details. (c) Comprehensive data distributions of STGarment-Plus.(b) Samples of our collected STGarment-Plus. Challenging Scenes Diverse Styles Difficult Texture 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 com- prises 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 abun- dantly encapsulates challenging, real-world conditions, includ- ing 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 diffi- cult 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. X, NO. X, X 20268 Norm Linear Linear Conditional Image Stream (replicated & weights) Q C V C K C Norm Norm C Multi-Modal Attention Text Stream Denoising Image Stream + Linear Linear LinearLinear + + Norm Norm MLP MLP + Norm MLP + + Noise Text Strcuture Embedding Condition Image Cond1 Silhouette X C I C T Q T Q img V img K img V T K T x itw 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. 2) 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 meth- ods [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 z 0 =E (x std ) and Gaussian noise z 1 âźN (0,I), we form the interpolated latent z t = (1ât)z 0 +tz 1 and supervise the model to predict the velocity field: L SFT = E tâźU (0,1),z 1 âźN (0,I),x std h âĽv θ (z t ,t,c)â (z 1 â z 0 )⼠2 2 i , (5) where v θ 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 ma- terial 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 explic- itly 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 with- out costly manual annotation, we construct a dual-VLM con- sensus 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 (x a ), positive (x p ), and negative (x n ) samples for instance-level contrastive learning. Multi-Task Architecture and Objective. Garment-RM em- ploys a lightweight, EfficientNet-style [55] backbone equipped with Squeeze-and-Excitation (SE) modules [56] to extract hi- erarchical 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: L RM = Îť cls L cls + Îť tri L tri .(6) For the attribute classification branch, we utilize the Addi- tive Margin Softmax (AM-Softmax) loss [57] L cls to explic- itly pull features of the same attribute closer while pushing disparate attributes apart. Given the L2-normalized feature embedding x i and the normalized weight vector W j of the last fully connected layer, the AM-Softmax loss for a batch of N samples is formulated as: L cls =â 1 N N X i=1 log e s(cosθ y i âm) e s(cosθ y i âm) + P C j=1,j̸=y i e s cosθ j , (7) where C is the number of classes for a specific attribute, and θ j denotes the angle between W j and x i . The hyperparameter s scales the cosine values, while the additive margin m imposes a stricter angular penalty on the ground-truth class y i . This mathematically forces the network to learn highly compact intra-class and maximally separated inter-class feature distri- butions. SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. X, NO. X, X 20269 Input Update Garment-RM Online AR-GRPOStd. GRPO (w/o Rdis) (a) FID and Garment-RM Classification Acc. (c) Visual results with different strategies. Best viewed for checkboard artifacts when zoomed in. (b) Rewards of Std. GRPO and AR-GRPO. Fig. 8. (a) Adv-GRPO [58] aggressively updates all reward models with adversarial loss, causing them to lose classification ability. (b) Reward trajec- tories: the discriminator first accelerates early reward rise, then stabilizes both R GRM and R LPIPS 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 su- pervised by a margin-based Triplet Loss L tri . Given the mined triplet (x a ,x p ,x n ) and the extracted L2-normalized embeddings (f GRM (x a ),f GRM (x p ),f GRM (x n )), the triplet loss enforces instance-level fidelity in the angular space: L tri = max 0, f GRM (x a )â f GRM (x n ) â f GRM (x a )â f GRM (x p ) + Îą , (8) where â denotes the cosine similarity, f GRM (¡) 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 x i gen and its flat-lay ground-truth reference x std , the continuous reward signal is explicitly formulated as their feature cosine similarity: R GRM (x i gen ) = f GRM (x i gen )â f GRM (x std ).(9) To facilitate future research in reward-driven garment gen- eration 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: ensur- ing 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 perfor- mance 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 opti- mization 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 dis- criminator 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]: z t+ât = z t + " v θ (z t ,t,c) + Ď 2 t 2t z t + (1â t)v θ (z t ,t,c) # ât + Ď t p |ât|Ξ, (10) where Ξ âź N (0,I) injects stochasticity for exploration, and Ď t is the diffusion coefficient scheduling the noise level. Using this SDE formulation, we roll out G = 8 trajectories for T = 10 steps, starting from pure noise at t = 1 down to t = 0, to obtain the terminal latents z i 0 . These latents are subsequently decoded into generated images x i gen =D(z i 0 ). We formulate a comprehensive multi-reward system com- prising two static perceptual rewards and a dynamically up- dated adversarial reward. As defined in Eq. 9, the static reward R GRM 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, diver- sifying the optimization targets via a multi-reward formu- lation inherently increases the difficulty of reward hacking. Consequently, we incorporate a auxiliary perceptual reward R LPIPS = 1âLPIPS(x i gen ,x std ), assigning it an equal weight to R GRM . Conversely, the dynamic reward R dis = h Ď (x i gen ), derived from the scalar output of our adversarial discriminator, provides critical authenticity supervision to systematically prevent artifact hacking. To stabilize optimization, each raw re- ward ââGRM,LPIPS,dis is independently normalized within the sampled group to yield its corresponding advantage: Ë A i â = R â (x i gen )â mean(R â (x j gen ) G j=1 ) std(R â (x j gen ) G j=1 ) .(11) SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. X, NO. X, X 202610 The generative policy (diffusion model) is then updated via the clipped policy gradient objective: J gen (θ) = E " 1 G G X i=1 1 T T X t=1 min r i t (θ) Ë A i mix , clip(r i t (θ), 1â Îľ clip , 1 + Îľ clip ) Ë A i mix # , (12) where the clipping threshold Îľ clip explicitly bounds the policy updates to ensure stable optimization. In this objective, the combined advantage Ë A i mix is computed as the weighted sum of the three independently normalized advantages: Ë A i mix = Îť 1 Ë A i GRM + Îť 2 Ë A i LPIPS + Îť 3 Ë A i dis .(13) Additionally, r i t (θ) denotes the importance ratio, formulated as the transition probability quotient between the current and the old generative policy during the denoising process: r i t (θ) = p θ (z i tâât |z i t ,c) p θ old (z i tâât |z i t ,c) .(14) Adversarial Discriminator Design and Update. To construct the adversarial discriminator h Ď (¡), 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 re- main distinguishable even in high-confidence regions, thereby providing meaningful relative superiority judgments within the generated group. The discriminator h Ď (¡) is continuously updated using the following adversarial hinge loss: L disc (Ď) = E x pos max(0, 1â h Ď (x pos )) + E x gen max(0, 1 + h Ď (x gen )) . (15) In practice, we first initiate the discriminator offline for 3000- step training with pre-saved x pos and SDE rollouts x gen . 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 x pos 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 x gen . 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 evalu- ate 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: θ old , untrained frozen base: θ base ), discriminator Ď, Garment-RM, LPIPS. Require: Params: Group size G = 8, SDE steps T = 10, generator update ratio R = 4, weights Îť 1:3 , Îľ clip . 1: Initialize iteration counter k = 0. While not converged Phase 1: SDE & ODE Rollout Sampling 2: Sample condition c and ground-truth x std . 3: Generate x base via 25-step ODE using model θ base . 4: Sample z i 1 âźN(0,I) for iâ [1,G]. 5: Solve SDE (Eq. 10) to get z i 0 , decode x i gen =D(z i 0 ). 6: Increment counter: k â k + 1. 7: if k mod R̸= 0 then Phase 2: Discriminator Training 8:Form batches: x pos =x std ,x base , x neg =x i gen G i=1 . 9:Update Ď by minimizing L disc (Ď) (Eq. 15). 10: else Phase 3: Multi-Reward Advantage Computation 11:Compute R i GRM , R i LPIPS , and R i dis = h Ď (x i gen ). 12:ForââGRM,LPIPS,dis, normalize with mean Îź â and std Ď â : Ë A i â = (R i â â Îź â )/(Ď â + 1e â5 ). Phase 4: Optimization & Model Update 13:Compute combined advantage: Ë A i mix = Îť 1 Ë A i GRM + Îť 2 Ë A i LPIPS + Îť 3 Ë A i dis . 14:Compute ratio: r i t (θ) = p θ (z i tâât | z i t ,c)/p θ old (z i tâât | z i t ,c). 15:Update θ by maximizing the clipped surrogate objective: J gen = P i,t min r i t Ë A i mix , clip(r i t , 1âÎľ clip , 1+Îľ clip ) Ë A i mix . 16:Sync reference policy: θ old â θ. 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. MethodSSIM âLPIPS âFID âKID âDISTS â SDXL Backbone (Trained on STGarment) PBE0.52780.482126.5510.080.352 ControlNet0.52250.479223.029.2310.345 IP-Adapter0.60670.472814.503.7470.264 TryOffDiff0.61240.500734.3414.190.335 TryOffAnyone0.65750.433518.867.9190.245 ReferenceNet0.65460.397910.701.3990.224 RAGDiffusion0.69630.36849.9901.0920.192 FLUX Backbone & Large-Scale Commercial Models Nano Banana 10.65760.39699.6161.2180.195 Qwen-Image-Edit0.64320.389310.551.4660.203 FLUX.1-Redux0.67170.404911.962.2460.212 FLUX.1 Cond. Concat.0.66840.36059.2711.0360.178 RAGDiffusion++0.66880.34848.5640.7190.160 initialized from the pre-trained FLUX.1-dev DiT and trained at a 768 Ă 768 resolution using AdamW (lr = 5 Ă 10 â5 ) 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 G = 8 trajectories of T = 10 steps per prompt (9 SDE steps, 1 ODE step) at data batch size of bs = 4. The discriminator (lr = 1Ă 10 â4 ) SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. X, NO. X, X 202611 RAGDiffusion++RAGDiffusionTryOffAnyoneFLUX.1-ReduxFLUX.1 Cond. Concat.TryOffDiff InputNano Banana Qwen-Image-Edit-2509 (b) High-frequency, Detail-rich Textures (a) Accurate Strcutures Fig. 9. Qualitative comparison with state-of-the-art garment generation baselines. Best viewed when zoomed in. and generator (lr = 3Ă 10 â6 ) are updated with a 3:1 step ratio over 2-3 days on 8 NVIDIA H20 GPUs. In Eq. 13, we set Îť 1 = Îť 2 = Îť 3 = 1. During DiT update, the gradient accumulation step is set to bsĂGĂ (T â 1) = 288, such that one optimizer update is performed using the gradients accu- mulated 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 gener- ation, 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. Con- cat. (both with retrieved silhouette mask Ë L sil ), 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 predic- tion 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 uti- lize LPIPS [59] and SSIM [65] for reconstruction accu- racy, 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-Image- Edit [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 de- tails 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. X, NO. X, X 202612 TABLE I QUANTITATIVE ABLATION STUDY OF NETWORK COMPONENTS, ARCHITECTURE AND DATA UPGRADES, AND AR-GRPO REWARDS. MethodSSIM âLPIPS âFID âKID âDISTS â Base Model Components in RAGDiffusion Vanilla Model0.65760.396110.651.4050.222 + emb0.66140.391710.551.3540.217 + emb + sil0.69260.369010.220.9400.210 RAGDiffusion0.69630.36849.9901.0920.192 Data and Architecture Upgrades (SFT Phase) + FLUX Backbone0.67180.36139.7951.1220.170 + STGarment-Plus Data0.65860.35989.3891.0030.165 AR-GRPO Optimization Ablations (RL Phase) AR-GRPO w/ R DINO 0.64860.382912.182.7310.202 AR-GRPO w/o R GRM 0.66500.35098.9890.9040.163 AR-GRPO w/o R dis (Std. GRPO)0.67210.35618.6300.7690.161 RAGDiffusion++ (Full)0.66880.34848.5640.7190.160 TABLE I 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. DatasetViton-HDDC-UpperDC-Dress MethodFID âKID âFID âKID âFID âKID â SDXL-based Models PBE80.852.945.021.1105.174.6 ControlNet69.943.248.923.6118.395.4 IP-Adapter46.817.828.811.147.819.0 TryOffDiff*14.03.3138.916.774.348.6 TryOffAnyone*11.41.9724.49.3038.420.4 ReferenceNet15.23.2317.8 6.2451.222.4 RAGDiffusion12.31.45 15.94.5123.16.22 FLUX Backbone & Large-Scale Commercial Models FLUX.1-Redux12.62.2420.76.7320.74.69 FLUX.1 Cond. Concat.11.81.8820.76.4921.04.90 RAGDiffusion++10.51.3118.65.13 20.44.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. I. 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. I). We note that on DC-Upper, the SDXL-based RAGDiffusion attains marginally lower FID/KIDâthis is expected because DC-Upper is domi- nated 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 Up- date. We ablate the architectural and data quality evolution leading up to AR-GRPO in Fig. 10 and Tab. I. 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 tac- tile 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. I): 1) optimizing purely with a single pre-trained DINO [CLS] similarity reward (denoted as w/R DINO ) as a intuitive solution; 2) removing our proposed Garment-RM score from RAGDiffusion++ (w/oR GRM ); and 3) removing the adversarial discriminator, which degrades the framework to standard GRPO (w/oR dis ). Visual results indicate that utilizing a generic pre-trained DINO similarity as the sole reward is entirely counterpro- ductive, leading to severe checkerboard artifacts and heavily distorted textures. Removing the Garment-RM (w/oR GRM ) 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. X, NO. X, X 202613 RAGDiffusionInput+FLUX Backbone+STGarment-PlusRAGDiffusion++(RL) 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. RGRM + RLPIPS(w/o Rdis)Only RGRM(w/o Rdis) Fig. 11. We observe that R GRM +R LPIPS 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 (w/oR dis ) 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 con- tinues, heavily restricting the effective optimization window of standard GRPO [34]. Why the gain of R dis appears small in Tab. I. 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 R dis . 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 authen- ticity 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 R dis , the combination of R GRM + R LPIPS mitigates and delays the onset of checkerboard artifacts compared to pure R GRM , 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. I (upper section), incrementally introducing structure embed- dings and silhouette landmarks progressively improves con- tour accuracy and detail fidelity, confirming the complemen- tary 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. I), demonstrat- ing 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 compar- ing 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. X, NO. X, X 202614 (a) w/o R GRM (b) w/o R dis (Std. GRPO) FullInputAblationFullInputAblationFullInputAblation (c) w/ R DINO FullAblationFullAblationFullAblationFullAblation 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 R dis (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 hu- mans 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 R GRM (Eq. 9) provides a dense and meaningful gradient signal for the SUBMITTED TO IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, VOL. X, NO. X, X 202615 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. (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. Knit Cotton Functional Protective Linen Synthetic Denim Wool 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 typog- raphy, 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 im- provements of AR-GRPO in the frequency domain by com- paring 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: F (D) = log 1 +|FFT(D)| 2 .(16) Averaging over all matched samples yields the dataset-level spectra F (D Base ), F (D RL ), and F (D Real ). 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. X, NO. X, X 202616 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 PreferenceRecallFilter Acc.@1@2@4@1@2@4 HPS v2.133.482.497.6224.6810.8220.4237.94 ImageReward38.954.2710.9729.9114.2723.3642.46 PickScore 45.046.9115.7939.0019.8631.5949.16 MSE Score52.2520.4736.9272.129.4016.4036.06 CLIP Similarity 77.9722.4540.5872.0767.6082.0292.59 DINO (Patch) Sim.71.5827.7344.0373.5436.7257.5477.55 DINO (CLS) Sim. 81.2224.9444.7477.5570.8586.3995.94 LPIPS Similarity81.1432.5551.9682.8869.0783.7093.65 Garment-RM (Ours)84.6741.9057.5984.9268.6684.0094.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 Tra- jectory 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 chal- lenging STGarment-Plus dataset to establish high-frequency priors (inherent capacity); (i) Garment-RM, an attribute- aware reward model that provides fine-grained material-level optimization signals (perceptive reward); and (i) 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 mod- els,â 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. X, NO. X, X 202617 [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 pref- erences of text-to-image synthesis,â arXiv preprint arXiv:2306.09341, 2023. 2, 4, 8, 11, 14 [15] O. Sim Ě eoni, 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 Ě uller, 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 per- son,â 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 16x16 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 proper- ties 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 any- one: 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 convo- lutional 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. Khali- dov, 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.forestlabs,â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. X, NO. X, X 202618 [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 vir- tual 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