Abstract
In large-scale e-commerce environments, a significant portion of inventory consists of "low-sale" or "long-tail" products that lack sufficient transaction data for traditional dynamic pricing algorithms to function effectively. This paper introduces the Clustered Semi-Myopic Pricing (CSMP) algorithm, a novel approach that addresses data scarcity by grouping products with similar demand patterns on the fly. By pooling sparse data across dynamically formed clusters, CSMP significantly reduces revenue regret compared to traditional independent pricing methods. Theoretical analysis and empirical evaluations on Alibaba's Tmall dataset demonstrate that CSMP achieves superior performance and robustness, even when the underlying demand model is misspecified.
Introduction
E-commerce platforms like Alibaba manage millions of unique items, many of which are "low-sale" products—items that may receive only a handful of visitors per day. For these long-tail products, traditional dynamic pricing algorithms, which typically attempt to learn the demand curve for each item individually, are ineffective. By the time an algorithm has collected enough data to optimize the price for a specific low-sale item, the selling season may already be over.
While individual products may lack data, they often share demand characteristics with other items. However, existing clustering methods are often "offline" and rely on static product features (e.g., category, color, or brand). These features can be misleading; for example, a luxury item and a budget alternative might share the same category but exhibit vastly different price sensitivities. This paper proposes a dynamic, online clustering approach that groups products based on their actual demand responses rather than just their metadata.
Methodology
The CSMP Algorithm
The proposed Clustered Semi-Myopic Pricing (CSMP) algorithm integrates demand learning and price optimization into a unified framework. It utilizes a Generalized Linear Model (GLM) to represent demand, incorporating "context" such as product ratings, competitor prices, and other relevant covariates.
CSMP operates through a distinct two-phase estimation process:
- Individual Phase: The algorithm initially estimates demand parameters for each product using its own limited, available data.
- Clustering Phase: It constructs a "neighborhood" for each product by identifying other items with statistically similar demand parameters. This process is dynamic; the algorithm does not require a pre-defined number of clusters ($K$) and refines these groups as more data is collected.
Data Pooling and Pricing
Once a neighborhood is established, the algorithm pools sales data from the entire cluster to generate a high-confidence "clustered" demand estimate. To set the price, CSMP employs a Semi-Myopic Pricing strategy. It selects a price that maximizes immediate expected revenue based on the current clustered estimate but introduces a small, controlled "perturbation" (price variation). This ensures the algorithm continues to explore the price space and refine its demand model while simultaneously exploiting its current knowledge to maximize revenue.
Theoretical Contributions
The core theoretical contribution of this work is the derivation of a "regret bound." In dynamic pricing, regret represents the lost potential revenue compared to an omniscient strategy. Traditional independent pricing algorithms typically face a regret of $\tilde{O}(\sqrt{nT})$, where $n$ is the number of products and $T$ is the time horizon. By leveraging online clustering, the authors prove that CSMP reduces this regret to $\tilde{O}(\sqrt{mT})$, where $m$ is the number of clusters (demand patterns). Since $m$ is usually significantly smaller than $n$ in real-world inventories, this represents a massive increase in efficiency.
Experimental Results
Synthetic and Real-World Validation
The researchers validated CSMP using two primary methods:
- Synthetic Simulations: Using logistic demand functions, the authors tested the algorithm's ability to handle varying cluster counts and "relaxed" clustering (where products within a group are similar but not identical).
- Alibaba Tmall Data: Using a dataset from Tmall Supermarket covering May to July 2018, the researchers focused on 100 low-sale products. They established a "ground truth" demand model and simulated how CSMP would perform against other strategies.
Key Findings
- Performance: CSMP consistently outperformed both "Independent" pricing (treating every product as unique) and "Pooled" pricing (treating all products as a single group).
- Convergence: The algorithm successfully identified correct product neighborhoods relatively quickly, even with sparse initial data.
- Comparison to K-Means: CSMP performed as well as, and occasionally better than, an "Oracle" K-means approach. Crucially, unlike K-means, CSMP discovers the cluster structure automatically without requiring a human to specify the number of clusters in advance.
- Robustness: The algorithm proved robust to model misspecification, maintaining high performance even when the underlying demand followed a complex Random Forest pattern rather than the assumed GLM.
Conclusion and Future Work
CSMP provides a scalable solution for the long-tail pricing problem by shifting the focus from individual product learning to demand-pattern learning. While the algorithm represents a significant advancement, the authors identify several areas for future research:
- Inventory Constraints: Current models assume unlimited stock, whereas low-sale products often have limited inventory that must be managed carefully.
- Substitutability: Future iterations could account for "cannibalization," where the price of one product affects the demand for another within the same category.
- Assortment Optimization: The clustering insights could be integrated into decisions regarding which products to display to customers, rather than just what to charge for them.
Summary updated