Latent Customer Segmentation and Value-Based Recommendation Leveraging a Two-Stage Model with Missing Labels

Keerthi Gopalakrishnan, Tianning Dong, Chia-Yen Ho, Yokila Arora, Topojoy Biswas, Jason Cho, Sushant Kumar, Kannan AchanarXiv 2026 · DOI

TL;DR

Walmart researchers have developed a two-stage machine learning framework that separates customers who buy only when nudged by promotions from those who buy organically. By introducing a novel Self-Paced Loss Correction mechanism to handle missing intent labels, the system optimizes marketing spend while protecting brand equity. In production A/B testing across 10.8 million users, the model achieved up to a 99.85% lift in conversion rates for new customers.

What Problem Does This Paper Address?

E-commerce platforms frequently run targeted marketing campaigns and promotions to drive conversions. However, traditional targeting methods—such as Recency, Frequency, Monetary (RFM) models—often suffer from a critical flaw: they mistake high engagement for promotional sensitivity. This leads to targeting "organic" customers who would have purchased the product anyway at full price, resulting in wasted marketing budgets and eroded brand equity.

To maximize the return on marketing investment, businesses need to target incremental buyers—those whose purchase decisions are directly prompted by the campaign. Identifying these users requires uplift modeling, which is notoriously difficult due to the missing label problem. For a customer who was exposed to a campaign and made a purchase, we can never directly observe the counterfactual: would they have bought it without the nudge?

Methods

The authors address this challenge with a two-stage multi-model architecture designed to uncover latent customer intent behind observable behaviors.

  1. Stage 1: Multi-Class Behavioral Segmentation
    A single-layer neural network filters out inactive users and segments active users into three behavioral classes: Engaged (interacted with a campaign and bought), Unengaged (bought organically without campaign interaction), and Inactive. This stage utilizes a weighted categorical cross-entropy loss to mitigate severe class imbalances.

  2. Stage 2: Binary Label Correction with Self-Paced Loss
    The core innovation lies in refining the "Engaged" group to separate prompted engagement from organic engagement. Because true intent labels are missing, the authors employ Self-Paced Loss Correction (SPLC).

Initially, all engaged users are labeled as positive targets. During training, if the binary classifier strongly predicts that an engaged user is actually an organic buyer (i.e., the predicted probability falls below a tunable threshold $\tau$), the SPLC function dynamically flips the loss formulation. Instead of penalizing the model for a false positive, it treats the sample as a corrected negative. This allows the model to robustly learn from noisy, missing-label data without requiring pristine experimental control groups.

Figure 1: The proposed model architecture for predicting customer behaviors and intent, including label correction and incremental gain identification.

Datasets

The framework was trained and evaluated using a massive proprietary dataset of marketing response logs from Walmart's ecosystem (desktop web, mobile web, and iOS/Android apps). The features are categorized into three buckets:

  • Customer Understanding: Family type, price affinity, fulfillment preferences, and customer personas.
  • User Engagement: Impressions, views, and click interactions on banners, campaigns, and splash pages.
  • Transactions: Detailed historical purchase data.

Key Insights and Ideas

  • High Engagement $\neq$ High Campaign Value: Highly active customers are often the worst targets for promotions because their baseline probability of purchasing organically is already high.
  • Soft Label Correction Over Hard Rules: Rather than relying on rigid heuristics to guess counterfactuals, treating intent as a latent variable and allowing the loss function to gracefully "correct" labels based on model confidence prevents overfitting to noisy behavioral data.
  • Decoupling Exposure from Conversion: By isolating the segment that genuinely responds to nudges, businesses can intentionally lower overall campaign exposure rates while simultaneously increasing total conversions.

Key Results

The proposed framework was validated both offline against traditional RFM baselines and online via a massive live deployment.

Offline Performance

The value-proposition model significantly outperformed standard RFM segments (Champions, Loyalists, Potential Loyalists) across all evaluation metrics, achieving a Precision of 0.448 and a Weighted F1-score of 0.817. Furthermore, the cumulative gains analysis demonstrated that targeting just 40% of the model-selected audience captures 78% of the true value-proposition customers.

Figure 3: Cumulative gain curve. The curve illustrates how many customers to target and what returns to expect from a marketing campaign.

Online A/B Test Scale

The model was evaluated in production against a pool of 10.8 million users split into stratified control and treatment groups:

  • New Customers (6.6M): The model-driven approach achieved a staggering 99.85% lift in conversion rate (0.34% vs. 0.17% for the random sample baseline) alongside a 21.52% lift in site visits.
  • Churned Customers (4.2M): The model achieved a 10.78% lift in conversion rate (0.76% vs. 0.76% for the baseline).

Overall, the system drove an increase of more than 100 basis points in the primary success metrics.

Limitations and Future Work

While highly effective at Walmart's scale, the paper notes a few areas for development:

  • Hyperparameter Sensitivity: The threshold $\tau$ used to trigger label correction is currently a manually tuned hyperparameter. The authors suggest that future work should focus on making this threshold adaptive or dynamically learned based on shifting economic conditions.
  • Data Dependency: The framework relies heavily on rich, multi-channel engagement features (clicks, impressions, app views), meaning its performance might degrade in smaller e-commerce settings where behavioral data is sparse.

Summary updated

BibTeX
@misc{gopalakrishnan2026latent,
  author = {Keerthi Gopalakrishnan and Tianning Dong and Chia-Yen Ho and Yokila Arora and Topojoy Biswas and Jason Cho and Sushant Kumar and Kannan Achan},
  title = {{Latent Customer Segmentation and Value-Based Recommendation Leveraging a Two-Stage Model with Missing Labels}},
  year = {2026},
  eprint = {2602.12485},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.12485},
}
Figure