Abstract
Inconsistent sizing across fashion brands is a primary driver of online returns, creating significant logistical challenges for retailers. This paper introduces an automated framework designed to normalize disparate size labels (e.g., "S", "6R", "14P") into a universal one-dimensional numerical scale. By analyzing millions of successful (non-returned) sales transactions, the proposed system learns the underlying relationships between sizes across thousands of brands. The framework utilizes character-level LSTMs for semantic sorting and optimization methods, specifically Quadratic Programming and Gradient Descent, to infer size values. The system achieves 97-98% coverage and accuracy levels nearly on par with human experts, providing a cost-effective and scalable alternative to manual size mapping.
Introduction
The lack of a global standard for garment sizing—where a "Medium" in one brand may equate to a "Large" in another—results in "bracketed" purchasing and high return rates. Traditionally, retailers have relied on manual inspection by domain experts to create cross-brand mapping tables. However, this approach is prohibitively expensive and slow given the rapid influx of new brands in e-commerce. The challenge lies in developing a data-driven method to reveal the latent relationships between sizes without human intervention.
Methods
The researchers developed a three-stage automated pipeline:
- Size Type Inference: Raw size strings are grouped into categories (e.g., alpha vs. numerical) using regular expressions and clustering. This ensures that modifiers like "Petite" (P) or "Wide" (W) are correctly distinguished.
- Semantic Sorting: A character-level Long Short-Term Memory (LSTM) network was trained to understand the ordinal relationship between sizes (e.g., "Small" < "Medium"). This model achieved 98% accuracy in pairwise size comparisons.
- Size Inference Optimization: The core of the system uses a frequency matrix of co-purchases. If a customer retains a Size 6 from Brand A and a Size S from Brand B, these are treated as proximal in the universal space. Two optimization strategies were evaluated:
- Quadratic Programming (QP): Efficiently finds a global optimum under strict ordering constraints.
- Gradient Descent (GD): An iterative approach using hinge loss to maintain size order.
Datasets
The study utilized a massive dataset provided by True Fit, encompassing 56 retailers and 5,918 brands. The data included 187 million users and 827 million items across two years of sales. The first year served as training data for mapping, while the second year was used to test the model's ability to predict future purchase sizes.
Results and Discussion
The automated system successfully mapped 97-98% of the sizes in the training set. In terms of accuracy, the models performed remarkably well: for shoe sizing, the automated system reached 62% accuracy, compared to 64% for human-annotated mappings.
Quadratic Programming (QP) emerged as the superior optimization method due to its speed—processing in seconds compared to nearly an hour for Gradient Descent—and its guarantee of a global optimal solution. The use of "non-returned" items as a proxy for correct fit proved to be a high-signal data source, effectively filtering out sizing noise.
Limitations and Future Work
Despite its success, the model faces challenges with "cold-start" brands that lack sufficient transaction data. Future iterations could incorporate manufacturer size charts as priors. Additionally, while a 1D scale works for most garments, some items (like men's dress shirts) may require multi-dimensional mapping (e.g., neck and sleeve length). Finally, the authors aim to replace remaining manual heuristics in the size type inference stage with a fully learned end-to-end process.
References
Eddie S.J. Du, Chang Liu, and David H. Wayne.
- Automated Fashion Size Normalization. In Proceedings of Workshop on Recommender Systems in Fashion (recsysXfashion’19). ACM, New York, NY, USA.
Summary updated