Industry–Academia Collaboration Project
Growth Hackers x ABetter | 2025
Developed an end-to-end analytical and modeling system for strategic products sold on Coupang, Korea's dominant e-commerce platform. The project had two parallel tracks:
Objective: Quantify the causal effect of price changes on 7-day order volume, separately testing three price-related variables — recent daily price change, recent 7-day cumulative price change, and the previous day's absolute price level.
Methodology — Panel OLS with Fixed and Random Effects:
Product-level sales data is inherently panel structured: repeated observations of the same products over time. Naively regressing order volume on price changes conflates the effect of price with baseline order level differences across products. Fixed Effects (FE) regression removes this by demeaning within each product entity, isolating the within-product variation driven by price. Random Effects (RE) was estimated alongside FE, treating product-specific effects as draws from a population distribution — allowing comparison via the Hausman test to determine which specification is appropriate.
Objective: Identify whether there exists a critical threshold in the proportion of negative reviews beyond which CVR (conversion rate) drops significantly, and estimate that threshold per product.
Methodology — Single Turning Point Regression (Piecewise Linear / Hinge Model):
A piecewise linear model with a single structural break was fit to the relationship between negative review proportion and CVR:
The breakpoint τ was estimated via grid search — at each candidate value, the model is fit and the residual sum of squares recorded; τ is set to the value that minimizes RSS. This produces an estimate of the review proportion at which the slope of CVR changes, without assuming a parametric functional form for the relationship.
The model was fit separately per product, restricted to products with at least 100 cumulative reviews and data points with at least 100 daily impressions — thresholds chosen to ensure CVR estimates are stable enough that the slope change reflects a real behavioral shift rather than sampling noise.
Objective: Distinguish advertising-induced reviews from organic reviews, define a detection rule for review action events, and evaluate whether review actions produce a measurable, lasting lift in pure sales.
Advertising reviews were distinguished from organic reviews based on review text length and content features. A rolling 7-day advertising review ratio was defined:
A review action event was flagged when the Ad Ratio exceeded a product-specific threshold calibrated as follows: for products with no known current review action, the maximum Ad Ratio observed when daily advertising reviews ≥ 10 was recorded; this value was multiplied by 1.05 to create a conservative detection threshold. Both daily advertising reviews ≥ 10 and weekly rolling reviews > 70 were required to trigger the flag — the compound condition reduces false positives from short-duration noise spikes.
To isolate the causal effect of review actions on actual demand, pure sales were constructed by subtracting the advertising review count from total sales:
Week-over-week pure sales growth (growth_ratio = curr_pure_sales / prev_pure_sales × 100) was computed around detected action events to evaluate whether action periods produced measurable lift beyond the advertising review count itself.
Objective: Establish whether and how search volume leads or lags sales volume for each strategic product, and classify products into relationship typologies to support differentiated action-setting strategies.
Step 1 — Time Series Decomposition and Automatic Tagging:
Sales time series were decomposed additively into Trend (T), Seasonality (S), and Residual (R) components:
Variance-based contribution ratios and Hyndman's strength indicators were computed:
ADF (Augmented Dickey-Fuller) tests were run on residuals to check stationarity, and residual ACF was inspected for significant local maxima — indicating residual cyclicality not captured by the decomposition. Based on these metrics, each product was auto-tagged into one of four time series types (Seasonality-driven, Trend-driven, Event/Irregular-driven, Mixed) and one of three residual pattern types (No significant pattern, Cyclic, Unstable/Non-stationary).
Step 2 — Outlier Treatment and Stationarity:
Sales data was winsorized from above only, using the more conservative of two caps:
This suppresses extreme outlier influence while preserving order, dynamics, and the complete time series structure. Non-stationary series were first-differenced before further analysis.
Step 3 — Quantitative Relationship Metrics:
Cross-Correlation Function (CCF): Spearman rank correlations between search volume at lag k and sales volume at time t:
Key outputs: best_lag_weeks (lag at maximum correlation) and ccf_peak_corr (correlation magnitude at that lag).
Granger Causality Test: Tests whether past values of search volume contain predictive information about sales beyond what past sales alone provide:
Significance of the $\beta_i$ terms (p < 0.05) constitutes Granger causality from search to sales. Both directions were tested to distinguish unidirectional from bidirectional relationships.
ARDL (Autoregressive Distributed Lag) Model: Captures the cumulative, multi-period effect of a search volume change on sales:
Key outputs: adl_sum_beta_std (total cumulative effect in standard deviation units) and adl_sig_lags (number of individually significant lag coefficients at p < 0.1).
Step 4 — Model Selection by Integration Order:
Step 5 — Product Classification:
Objective: Build an interpretable baseline model for ranking prediction, identify the features most predictive of rank tier, and generate business insights to inform the deep learning model's feature set.
Rank classification: Products were binned into three tiers — Tier 1 (rank 1–10), Tier 2 (rank 11–36), Tier 3 (rank 37+).
Feature engineering categories:
A separate LightGBM model was trained per keyword rather than a single universal model, because the features most predictive of rank differ by keyword.
Keyword-level feature selection — Backward Elimination: For each keyword, iteratively removed the feature whose removal most improved validation Macro F1-Score, until no removal improved performance. This produces a keyword-specific optimal feature subset.
Hyperparameter optimization — Optuna (Bayesian optimization): After feature selection, Optuna was used to optimize hyperparameters per keyword, maximizing validation Macro F1-Score. Bayesian optimization was chosen over grid/random search because the search space over LightGBM hyperparameters is high-dimensional and correlated.
Precision/Recall: 0.71/0.73 (Tier 1) · 0.65/0.63 (Tier 2) · 0.69/0.70 (Tier 3)
Objective: Exceed the ML baseline by (1) learning nonlinear feature interactions, and (2) explicitly optimizing for ranking quality rather than classification accuracy.
Why Learning to Rank (LTR) over classification:
Standard multi-class classification treats each product's tier prediction independently, ignoring the relative ordering among products competing under the same keyword. The ListNet framework (Cao et al., ICML 2007) defines a listwise loss over the full permutation probability, directly optimizing for correct ordering.
Loss function — Position-Aware List MLE:
Standard ListMLE computes the log-likelihood of the ground-truth permutation π under the predicted scores s:
Extended with a position weight α(i) that assigns higher penalties to misranking top positions:
The NDCG-inspired position weight ensures that swapping rank 1 and rank 2 incurs a much larger penalty than swapping rank 50 and rank 51.
Feature engineering categories:
Architecture:
All numerical, composite, and rank/lag features were concatenated with the outputs of the categorical embedding layers. The combined vector was passed through Layer Normalization (stabilizing training by normalizing input distributions) and fed into an MLP. The MLP output is a scalar relevance score per product; ranking is determined by sorting products by their scores within each keyword query.
Training used query-level batching (all products under the same keyword constitute a single training instance for the listwise loss). The most recent day's data was held out as the test set; the preceding two days were used as the validation set for Optuna hyperparameter optimization. Hyperparameters optimized: hidden layer dimension, learning rate, number of epochs, and per-category embedding dimensions.
Precision/Recall: 0.998/0.765 (Tier 1) · 0.874/0.789 (Tier 2) · 0.821/0.992 (Tier 3)