Data Consulting Project

Revenue Performance Analytics & Personalized Treatment Recommendation System

LYK Solutions x HealingPaper  |  2026

Project Background & Objectives

Partnered with multiple Korean medical aesthetics clinics serving international clientele (Korea, Japan, China, Taiwan) to build a data-driven framework for diagnosing revenue fluctuations and deriving actionable growth strategies. The clinics lacked systematic tools for decomposing performance changes — attributing KPI shifts to specific drivers such as customer mix, treatment mix, acquisition channel mix, or promotional effects — and relied instead on intuition-based management.

The engagement was structured around three analytical themes:

  1. Performance fluctuation diagnosis — a decomposition framework to quantify each factor's contribution to changes in three KPIs: first-visit revenue, repeat purchase rate, and average order value (AOV)
  2. AOV growth strategy — identifying treatment synergies and bundling opportunities to increase per-visit revenue, modeled and verified at the nationality segment level
  3. Personalized treatment recommendation system — a two-stage retrieval model (treatment category → specific product) to assist counselors during real-time consultations

Theme 1. KPI Fluctuation Decomposition Framework

1-1. First-Visit Revenue Analysis

Problem framing: Because approximately 80% of customers do not return after their first visit, first-visit revenue is a disproportionately important lever. Diagnosing what drives its fluctuation requires isolating treatment-level and funnel-level effects while controlling for confounders.

Feature engineering decisions:

The analysis was restricted to treatment interaction features and funnel category features, with age excluded despite its dominance as a predictor — because age effects were monotone and already understood, and including it would suppress the explanatory contribution of other variables of strategic interest. Time features (month, weekday/weekend) were included in the model to absorb seasonal and promotional effects, but excluded from the SHAP interpretation layer, preventing confounding of treatment and funnel effects with calendar-driven variation.

Rather than analyzing individual treatments — where price variation dominates and masks behavioral patterns — pairwise treatment interactions were constructed as features, allowing the model to capture synergy effects between co-occurring procedures. Treatment interactions were defined using the top-k treatments by customer volume per clinic, limiting the feature space to combinations with sufficient support.

Separate models were trained per clinic × nationality combination, motivated by the fact that treatment menus, marketing strategies, and customer preferences differ systematically across national segments. Nationalities with fewer than 1,000 customers were excluded from analysis to ensure statistical reliability.

Modeling approach:

A LightGBM regressor was trained per clinic-nationality segment to predict log-transformed first-visit revenue. SHAP values were computed to attribute the model's predictions to individual features, enabling interpretable decomposition of revenue effects across treatment interactions and funnel categories.

Output use case: The derived treatment-funnel revenue profiles serve as an evidence base for new customer acquisition and promotional strategy design.
1-2. Repeat Purchase Rate Decomposition

Problem framing: Repeat purchase rate was defined at the daily visit level — the proportion of customers visiting on a given day who return within N months. The objective was to decompose period-over-period changes in this rate into contributions from distinct driver categories: customer demographic mix, treatment mix, acquisition funnel mix, customer behavioral features, promotional effects, and calendar/seasonal structure.

Methodology:

A LASSO regression model was trained per clinic to predict whether an individual visit would result in a repeat purchase within N months. LASSO was selected for its coefficient interpretability and sparsity-inducing regularization, appropriate given the high-dimensional feature space.

Features were grouped into structured categories to enable component-level attribution:

  • Demographic mix: nationality, age group, gender
  • Treatment mix: treatment category set per visit, encoded as multi-hot item sets
  • Acquisition funnel: mapped from raw funnel name to 10 standardized categories (Messenger/Chat, Domestic Beauty Platform/App, SNS, Search/Portal, Referral, Offline/Walk-in, Phone/Call Center, Marketing Campaign, Overseas Medical Tourism/Influencer/Agency, B2B Partnership)
  • Promotional effect: constructed as treatment category × month interaction features, capturing whether specific treatments showed elevated repeat rates in specific months
  • Customer behavioral variables: prepaid card purchase flag, first-visit payment amount, number of items at first purchase, number of items at current purchase
  • Calendar structure: month fixed effects to capture residual seasonal patterns not explained by other variables

Daily repeat rate estimates were computed by averaging individual visit-level predicted probabilities across all visits on each day. Period-over-period changes were then decomposed using Shapley value decomposition across the feature groups — attributing the gap between a period's repeat rate and the historical average to each driver category's contribution in percentage points.

Model evaluation: AUC of ~0.77–0.78 and MAE of ~0.01 across clinics, indicating sufficient calibration for trend-level analysis.

Output structure: For any flagged period of unusual repeat rate performance, the framework outputs a contribution table attributing the deviation (in pp) to each driver group, followed by a drill-down into the specific subfactors within the dominant driver.
1-3. Average Order Value (AOV) Decomposition

Problem framing: Decompose day-level AOV changes into contributions from shifts in treatment category proportions and funnel proportions, enabling the clinic to identify which assortment or acquisition changes are driving AOV movement.

An XGBoost regressor was trained to predict daily AOV using daily treatment category proportions and funnel category proportions as features. SHAP analysis was applied to attribute AOV variance to individual features — both single-category effects and pairwise interaction effects. Models were trained separately per clinic × nationality segment, consistent with the segmentation rationale applied in Theme 1-1.

Theme 2. AOV Growth Strategy via Treatment Bundling Analysis

Objective: Identify which treatment combinations produce synergistic revenue effects, and translate these into concrete bundling and promotional recommendations actionable at the clinic level.

Analytical framework — three complementary methods:

  1. XGBoost + SHAP: Identified which treatment category proportions and pairwise interaction features most strongly predicted daily AOV — both the direction (positive/negative) and magnitude of each effect
  2. LASSO regression with interaction terms: Estimated linear coefficients for individual treatment categories and explicitly constructed pairwise interaction terms, providing sparse and interpretable estimates of which combinations produced additive revenue effects beyond individual treatment contributions
  3. Four-quadrant portfolio analysis: Plotted each treatment category on a 2D space of (repeat treatment rate × treatment volume), classifying treatments into four strategic roles — high-traffic/high-retention anchors, growth candidates, niche/premium offerings, and low-priority categories — to inform how each treatment should be positioned relative to bundling strategy

Analysis was conducted at two levels: clinic-wide (all nationalities combined) and per-nationality segment (KR, JP, CN, TW), given consistent evidence across Themes 1-1 and 1-3 that optimal treatment combinations differed materially by national segment.

Output: For each clinic × nationality combination, ranked treatment bundling recommendations with supporting evidence from all three methods — identifying which bundles to prioritize, which single-treatment promotions to expand, which combinations to avoid based on negative interaction coefficients, and which acquisition funnels to invest or disinvest based on their AOV contribution direction.

Theme 3. Personalized Treatment Recommendation System

A two-stage retrieval recommendation system was designed for real-time use by counselors during consultations. The system operates sequentially: first recommending a treatment mid-category, then recommending a specific treatment (sub-category) within the selected mid-category.

Stage 1 — Mid-Category Treatment Recommendation

Use case: Given a new customer's basic profile (age, gender, nationality, acquisition funnel), recommend which mid-category treatments to discuss — either as standalone recommendations or as complementary suggestions given a treatment the customer has already expressed interest in.

Architecture — Two-Tower model with LightGCN pretraining:

LightGCN pretraining:

A LightGCN (Light Graph Convolutional Network) model was first trained on historical user–treatment interaction data, learning graph-structured relationship embeddings for both users and treatment items. These embeddings encode collaborative filtering signals — which treatment combinations tend to co-occur across similar users — in a compact vector form. For new users without interaction history, hash-bucket-based embeddings were used as a fallback, enabling cold-start inference.

Two-Tower model:

  • User Tower: Concatenates embeddings for age (integer), gender (categorical index), nationality (top-5 per clinic, remainder as "other"), and funnel category (standardized index) with the LightGCN user embedding. Passed through an MLP to produce a user representation vector.
  • Item Tower: Concatenates the treatment mid-category's parent macro-category embedding with the LightGCN item embedding. Passed through an MLP to produce an item representation vector.
  • Scoring: Inner product between user and item representation vectors produces a relevance score per treatment. Top-K treatments by score are returned as recommendations.
Evaluation: Hit@1 = 0.3856, Hit@3 = 0.6932 on held-out test data.

Model behavior was validated via counterfactual sensitivity analysis — inspecting how recommendations shift when nationality, age, or gender inputs are changed while holding other inputs fixed — to verify that the model learned demographically meaningful patterns rather than spurious correlations.
Stage 2 — Sub-Category Treatment Recommendation

Use case: Once a mid-category is selected (either by the customer or from Stage 1 output), recommend a specific treatment product within that category. This stage incorporates the customer's treatment history to personalize recommendations based on past price tier and procedure type exposure.

Additional features over Stage 1:

  • Historical treatment binary columns: A set of binary indicator features encoding which treatment sub-categories the customer has received in prior visits, structured as a dictionary input
  • Price ratio vector: A 3-dimensional vector (high / mid / low) encoding the proportion of the customer's historical procedures at each price tier — providing a compact representation of price sensitivity and spending history without requiring exact price values

Architecture: Follows the same LightGCN + Two-Tower structure as Stage 1, with the User Tower extended to incorporate historical treatment binary features and price ratio, and the Item Tower extended to include sub-category price tier label embedding.

Evaluation (selected mid-categories):

Mid-CategoryHit@1Hit@3
Laser Lifting0.23740.6048
Body Contouring0.66440.8926
Contouring Injection0.83720.9302
Skin Booster0.36030.5942

Model outputs were validated with the same counterfactual sensitivity analysis applied in Stage 1, additionally testing the effect of changing the historical treatment dictionary input to confirm that past procedure history meaningfully shifts sub-category recommendations.

Technical Stack

Python LightGBM XGBoost LASSO SHAP Shapley Value Decomposition LightGCN Two-Tower Model MLP Hash-Bucket Embedding Collaborative Filtering Treatment Interaction Features Funnel Category Mapping Four-Quadrant Portfolio Analysis