GarmentSegAgent: Autonomous Garment Segmentation for Web Fashion Images via Textual Self-Refinement
Jia Chen, Chao Huang, Xinrong Hu, Mingdi Huang, Ruyang Zhao, Jun Bai
Abstract
Web fashion images support applications such as visual product search and consumer-to-shop matching, yet their visual heterogeneity makes reliable garment segmentation challenging. Despite advances in promptable segmentation, autonomously identifying and correcting garment-specific errors without human-provided spatial prompts remains difficult. We propose GarmentSegAgent, an autonomous framework that integrates semantic planning, spatial execution, and visual evaluation through iterative textual self-refinement. At its core, we introduce CAST (Constrained Attribution-guided Selective TextGrad), which connects visual error attribution with targeted textual optimization. CAST identifies instruction components responsible for segmentation errors, selectively updates them through textual gradients, and validates the resulting instructions against garment-specific constraints. This enables image-specific error correction at inference time while keeping the underlying foundation models frozen. Experiments on DeepFashion2, ModaNet, and Fashionpedia demonstrate consistent improvements in region overlap and boundary accuracy, alongside more reliable refinement than conventional TextGrad. By enabling visual feedback to guide controlled instruction updates, GarmentSegAgent offers a promising direction for autonomous garment understanding, with potential applications in scalable fashion content analysis, visual retrieval, and consumer-to-shop matching on the Web.
Create a lesson
Metadata
- Categories
- cs.CV, cs.MA
- Comments
- 12 pages
Related papers
Nemotron-Labs-Diffusion-Uni: Elastic Self-Refining Unified Diffusion LLM with Cross-Paradigm On-Policy Distillation
Shared title terminologycs.CVShufan Li, Hanrong Ye, Greg Heinrich et al.
Medical Image Segmentation Is Now Just Another Coding Task
Shared title terminologycs.CVShuheng Cao, Ruiqi Chen, Qizhen Lan et al.
Distill the Correction, Not the Rewrite: Hindsight Twins for Self-Improving Text-to-Image Models
Shared title terminologycs.CVJiaze Li, Jingyang Chen, Wenhao Zhao et al.
Speculate in the Right Order: Efficient Self-Speculative Decoding for Autoregressive Image Generation
Shared title terminologycs.CVYihan Chen, Jintao Zhang, Jun Zhu
VEvo-Harness: Causally-Guarded Self-Evolving Harness for Agentic Image Generation
Shared title terminologycs.CVYuan Wang, Yuhang Yu, Mengting Chen et al.
RoSAMDepth: Robust Self-supervised Depth Estimation Leveraging Segment Anything Model
Shared title terminologycs.CVXuanang Gao, Zhiwei Ning, Gengming Zhang et al.