RAGDiffusion: Faithful Cloth Generation via External Knowledge Assimilation
Xianfeng Tan, Yuhan Li, Wenxiang Shang, Yubo Wu, Jian Wang, Xuanhong Chen, Yi Zhang, Ran Lin, Bingbing Ni
TL;DR
RAGDiffusion introduces a Retrieval-Augmented Generation framework for faithful cloth generation, integrating a dual-tower StructureNet with a retrieval-based Structure Locally Linear Embedding (SLLE) and an omni-level texture alignment pipeline. By coupling soft/hard structure guidance from retrieved embeddings and silhouette landmarks with a coarse-to-fine generation backbone (ReferenceNet and PGEA), it achieves higher structural integrity and texture fidelity on challenging in-the-wild garment data. The approach demonstrates strong improvements over baselines, offers zero-shot generalization via retrieval database expansion, and enables human-interpretable control through landmark manipulation, with practical implications for e-commerce, product design, and virtual fitting. Overall, RAGDiffusion advances high-specification faithful generation by leveraging external knowledge to counter intrinsic hallucinations in garment synthesis.
Abstract
Standard clothing asset generation involves restoring forward-facing flat-lay garment images displayed on a clear background by extracting clothing information from diverse real-world contexts, which presents significant challenges due to highly standardized structure sampling distributions and clothing semantic absence in complex scenarios. Existing models have limited spatial perception, often exhibiting structural hallucinations and texture distortion in this high-specification generative task. To address this issue, we propose a novel Retrieval-Augmented Generation (RAG) framework, termed RAGDiffusion, to enhance structure determinacy and mitigate hallucinations by assimilating knowledge from language models and external databases. RAGDiffusion consists of two processes: (1) Retrieval-based structure aggregation, which employs contrastive learning and a Structure Locally Linear Embedding (SLLE) to derive global structure and spatial landmarks, providing both soft and hard guidance to counteract structural ambiguities; and (2) Omni-level faithful garment generation, which introduces a coarse-to-fine texture alignment that ensures fidelity in pattern and detail components within the diffusing. Extensive experiments on challenging real-world datasets demonstrate that RAGDiffusion synthesizes structurally and texture-faithful clothing assets with significant performance improvements, representing a pioneering effort in high-specification faithful generation with RAG to confront intrinsic hallucinations and enhance fidelity.
