TL;DR
DetailAnywhere is a novel generative framework designed to produce high-fidelity, identity-consistent close-up views of specific garment regions (like collars, cuffs, or fabric textures) based simply on a bounding box marker drawn on a full product image. By introducing a dual-branch feature distillation method and a task-specific reinforcement learning reward model, it bridges the semantic gap between full-body product shots and macro-level details. The authors also release FDBench, the first large-scale benchmark for this task, containing over 40,000 human-verified reference-detail pairs.
What Problem Does This Paper Address?
When shopping for clothes online, consumers frequently base their purchasing decisions on fine-grained details—the quality of the stitching, the texture of the fabric, or the finish of a zipper. Providing these close-up images traditionally requires expensive, non-scalable macro photography setups.
While diffusion models have revolutionized e-commerce via virtual try-ons and automated poster generation, existing image-editing pipelines fail at Fashion Detail Generation. If you give a state-of-the-art Multimodal Diffusion Transformer (MMDiT) a product image and a bounding box indicating a region of interest, it faces two core challenges:
- Cross-branch semantic misalignment: The model's text branch cannot inherently communicate the spatial semantics of a bounding box to its image branch, leading to off-target or incoherent generations.
- Detail consistency degradation: Without precise text prompts, models tend to "hallucinate" fine-grained details, failing to faithfully preserve the garment's true material, color, and structural identity.
Methods
The authors present DetailAnywhere, a framework that solves these alignment and consistency issues in two distinct stages:
- Cross-Modal Feature Alignment Distillation (CFAD): Rather than forcing difficult cross-modal alignment directly inside a massive generative model, the authors offload the task to a smaller, easily trained "view-bridging" teacher model (a fine-tuned DINOv3). This teacher learns to map both the boxed reference image and the ground-truth detail close-up into a shared semantic space using a joint product-and-part classification objective. The teacher's learned representations are then distilled simultaneously into both the text and image branches of the MMDiT at an intermediate layer, forcing the branches to converge on compatible representations.
- Consistency Reward Model & RL Fine-Tuning: To eliminate subtle defects like color drift or implausible textures, the authors introduce a task-specific consistency reward model (built on Qwen3-VL). This model scores generated details across three axes: aesthetic plausibility, identity consistency, and target fidelity. The generator is then fine-tuned using reinforcement learning via Negative-aware FineTuning (NFT) to maximize these scores.
Datasets
The paper introduces FDBench, the first specialized benchmark for fashion detail generation.
- Size & Scope: It consists of 40,893 manually verified reference-detail pairs (a 40,093 training set and an 800-pair test set) sourced from a large e-commerce catalog.
- Diversity: The dataset spans menswear, womenswear, and childrenswear across 41 distinct product categories and 20 predefined garment part types (e.g., embroidery, pockets, waistbands, fur textures).
- Reward Dataset: An additional dataset of ~60,000 pairs was curated and annotated with multi-dimensional quality scores to train the consistency reward model.
Key Insights and Ideas
- The Intermediary Teacher Strategy: Directly aligning representations across different modalities inside a massive 20B-parameter generative model is notoriously unstable. The "aha moment" here is using a lightweight, highly discriminative visual encoder to bridge the cross-view semantic gap first, and then distilling that structured knowledge into the generator.
- Dual-Branch Distillation is Mandatory: The authors discovered that distilling features solely into the image branch improves visual quality but causes the model to ignore the bounding box conditioning. Aligning both the text and image branches simultaneously is what unlocks true spatial task comprehension.
- Generic Rewards Fail Specific Tasks: Standard RL reward models (like HPSv3 or EditReward) actually degraded performance on this task. Because they optimize for global aesthetics or general text-following, they inadvertently cause the model to lose strict identity preservation for fine-grained fashion textures.
Key Results
DetailAnywhere significantly outperforms all state-of-the-art open-source image editing baselines on the FDBench test set:
- Quantitative Superiority: It achieves an SSIM of 0.394 and an FID of 66.9, dramatically outperforming the strongest prompt-enhanced baseline (Qwen-Image-Edit PE at SSIM 0.254, FID 82.6).
- Beating Proprietary Models: Remarkably, DetailAnywhere surpasses top-tier commercial closed-source models (including GPT-Image-1 and Seedream 5.0 Lite) in pixel-level fidelity and identity preservation metrics (CIS and CCIS).
- Human Preference: In side-by-side human evaluations, DetailAnywhere was overwhelmingly preferred over open-source alternatives (winning 66.1% of matchups against Qwen-Image-Edit PE) and achieved a near-tie with the strongest proprietary commercial models.
Limitations and Future Work
- Domain Constraints: The framework is currently restricted to the fashion domain. Its ability to generalize to other e-commerce categories, such as consumer electronics or furniture, has yet to be validated.
- Data Dependency: Both the view-bridging teacher and the consistency reward model require large amounts of paired, annotated data, which may not be readily available in other industries.
- Future Directions: The authors plan to explore self-supervised alternatives to eliminate the need for a trained teacher model, as well as multi-scale alignment strategies that provide layer-adaptive supervision throughout the depth of the diffusion network.
Summary updated