Price Optimization in Fashion E-commerce

Sajan Kedia, Samyak Jain, Abhishek SharmaarXiv 2020

TL;DR

Researchers at Myntra have developed a three-stage pipeline to solve the massive-scale challenge of daily price optimization. By combining an ensemble demand prediction model, price elasticity calculations, and linear programming, they achieved a 1% increase in total revenue and a 0.81% boost in gross margin across hundreds of thousands of fashion products.

Introduction: The Challenge of Fashion Pricing

In the high-velocity world of fashion e-commerce, pricing is the primary driver of conversion. However, setting the "right" price for millions of items is a significant challenge for "E-tailers." The authors identify three specific hurdles:

  1. Scale: With millions of products, the number of possible price permutations is astronomical.
  2. Cannibalization: Lowering the price of one item might steal sales from a similar brand rather than growing the overall category.
  3. The Cold Start Problem: New fashion trends launch daily. Without historical sales data, traditional models struggle to predict demand for new items.

Methodology: A Three-Stage Pipeline

The proposed architecture consists of three major components designed to work in sequence.

1. Demand Prediction Model

The first stage is a regression task aimed at predicting the quantity sold ($q$) for a product. To capture the complex nature of fashion demand, the team used an ensemble approach—taking the median output of several models, including Linear Regression, Random Forest, XGBoost, MLP, and time-series models like ARIMA and LSTM.

Architecture of the demand prediction model, incorporating product embeddings and observed features.

To solve the "cold start" problem, they used Word2Vec (Skip-gram) to create product embeddings from clickstream data. This allows the model to understand a new product's "personality" based on how users interact with it compared to known items.

2. Price Elasticity of Demand (PED)

Once the base demand is known, the system uses PED to estimate how demand would shift if the discount were increased or decreased by a small percentage ($\delta$). This creates three price-demand pairs for every product, providing the necessary inputs for global optimization.

3. Linear Programming (LP) Optimization

To find the best global configuration, the authors formulated an integer programming problem to maximize total revenue ($\sum p_i q_i$).

The end-to-end price optimization pipeline from data to optimal price.

Because integer programming is computationally intractable at this scale, they used linear relaxation, treating the selection variables as continuous. This allowed them to use efficient optimization routines to find an optimal price point for the entire platform.

Key Insights and Ideas

  • The 80/20 Rule: Data analysis revealed that just 20% of products generate 80% of the revenue, highlighting the importance of precision in pricing these "head" products.
  • Ensembles Win: No single model captured all aspects of demand. While XGBoost was the strongest individual regressor, the ensemble provided the most robust results by smoothing out individual model weaknesses.
  • Inelasticity is Common: Most fashion products are relatively inelastic, meaning small price changes don't always lead to massive volume swings—except for specific categories like "Women's Western Wear."

Key Results

The system was validated through live A/B tests on approximately 200,000 styles over five days.

  • Revenue Impact: The model improved overall platform revenue by approximately 1%.
  • Profitability: Gross margin saw an uplift of 0.81%.
  • Model Accuracy: The ensemble model achieved the lowest Mean Absolute Error (MAE of 0.192), significantly outperforming individual models like ARIMA (0.258).
  • Category Variance: Results varied by business unit; for example, "Eyewear" saw a massive 7.05% revenue increment.

Future Work

The authors acknowledge that the current system updates prices daily. Future work aims to incorporate intra-day signals to adjust prices dynamically throughout the day and move toward a fully automated dynamic pricing engine that reacts instantly to market trends and competitor moves.

Summary updated

BibTeX
@misc{kedia2020price,
  author = {Sajan Kedia and Samyak Jain and Abhishek Sharma},
  title = {{Price Optimization in Fashion E-commerce}},
  year = {2020},
  eprint = {2007.05216},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.05216},
}
Figure