DCEO: Direct Causal Effect Optimization for Long-Term User Value Modeling in E-commerce Search

Junzhao Zhang, Tao Zhang, Liren Yu, Feiyi Dong, Zhixuan Zhang, Dan Ou, Haihong TangarXiv 2026

TL;DR

E-commerce search engines struggle to optimize long-term user value (like 4-day cumulative sales) because ranking happens at the item level per request, while business goals are measured at the user level over days. This paper introduces DCEO (Direct Causal Effect Optimization), an actor-critic framework that bridges this granularity gap by learning personalized item-level proxy scores that directly maximize their causal effect on long-term user objectives. Deployed in production at Alibaba, DCEO achieved a 0.36% lift in Gross Merchandise Value (GMV) in a massive 41-day online A/B test.

What Problem Does This Paper Address?

Industrial e-commerce search engines ultimately care about long-term, user-level metrics like $n$-day cumulative purchases or Gross Merchandise Value (GMV). However, search ranking algorithms operate at a much finer granularity: they score and order individual items within a single search request.

To bridge this granularity gap, standard industrial systems use hand-crafted multi-objective fusion formulas. They take upstream model predictions (such as the probability of a click, add-to-cart, or purchase) and combine them using a small set of manually tuned, globally shared weights. This approach suffers from two major flaws:

  1. Lack of Personalization: Global weights cannot adapt to fine-grained user contexts or intent.
  2. The Correlation vs. Causation Trap: Traditional methods optimize for predictive association (finding proxies that correlate with high GMV). However, just because a metric correlates with long-term value doesn't mean that artificially boosting it via ranking will actually cause long-term value to go up.

Methods

DCEO tackles this via a data-driven, actor-critic framework designed to optimize the Relative Causal Effect (RCE) of item rankings on user-level outcomes.

Overview of the DCEO framework during training and serving.

The framework consists of four main components trained jointly offline:

  • The Actor ($\mathbf{f}_\theta$): Takes user and request features to dynamically generate context-dependent weights over a set of upstream predicted scores (e.g., click prob, purchase prob). These weights are used to compute a personalized, item-level proxy score.
  • User-Level Aggregation & Calibration: To connect item-level actions to user-level goals, DCEO averages the item proxy scores over a user's daily impressions and applies a calibration model ($\mathbf{g}_\psi$) to normalize for varying impression counts. This yields a standardized user-level proxy metric.
  • The Critic ($\mathbf{h}_\phi$): Learns to predict the ultimate long-term objective (e.g., 4-day GMV) based on the user's features and the calibrated proxy metric.
  • Causal Optimization ($\mathcal{L}_{\text{CE}}$ & $\mathcal{L}_{\text{CNR}}$): Instead of standard gradient descent on labels, the actor is trained to minimize a Causal Effect Loss. It freezes the critic and calculates how much the predicted long-term objective would improve if the user-level proxy metric were bumped by a relative amount (e.g., $+5\%$). To stabilize this highly non-convex optimization landscape, the authors introduce a regularizer called Conditional Normalized Ranking Loss ($\mathcal{L}_{\text{CNR}}$), which aligns the pairwise ordering of the proxy metric with the ultimate objective.

During online serving, the critic and calibration modules are discarded. Only the lightweight actor is deployed, adding its context-dependent proxy score as a single new term to the existing multi-objective ranking formula.

Datasets

The models were trained and evaluated using production search logs from a large-scale industrial e-commerce platform (Alibaba/Taobao).

  • Offline Data: 14 consecutive days of search logs were used for training, and the model was evaluated on the immediate following day.
  • Features & Labels: Inputs included user profiles, historical purchase sequences, query contexts, and 17 upstream predicted scores (detailed in Figure 3). The target labels were user-level outcomes (clicks, purchases, GMV) tracked over a 1-to-4-day window starting from the reference day.

Key Insights and Ideas

  • Optimizing the Derivative, Not the Value: Traditional models try to predict the absolute value of long-term GMV. DCEO focuses on the change in GMV relative to a change in the proxy ranking score. This ensures that the ranking system prioritizes items that actively drive incremental value.
  • Dynamic, Context-Aware Fusion: Rather than deciding whether "click" is universally more important than "add-to-cart," the actor dynamically shifts weights. For instance, when optimizing for long-term GMV, the actor automatically allocates higher weights to high-transaction-value purchase probabilities for high-spending users.
  • Stabilizing Causal Landscapes: Pure causal effect optimization can be wildly unstable due to noisy critic gradients. Mapping user pairs to a conditionally normalized reference distribution ($\mathcal{L}_{\text{CNR}}$) provides a stable, coarse ranking signal that makes end-to-end training viable in production.

Key Results

Offline Evaluation

The primary offline metric is Relative Causal Effect (RCE). DCEO's causal optimization significantly outperformed standard predictive association.

Table 3: Comparison of predictive association and causal effect optimization. Higher RCE is better.

Ablation studies also highlighted that utilizing the full suite of 17 upstream scores (spanning multiple conversion funnel stages and price thresholds) yielded the highest alignment with long-term objectives.

Table 5: Effect of the upstream predicted-score set. Higher RCE is better.

Online A/B Test

DCEO was evaluated in a 41-day online A/B test against a highly optimized production baseline (a conventional GMV proxy formula). DCEO delivered statistically significant gains across the board:

  • Gross Merchandise Value (GMV): $+0.36\%$
  • Click Count: $+0.36\%$
  • Purchase Count: $+0.12\%$

Crucially, the lift in GMV did not come at the expense of short-term engagement (clicks), proving that the model successfully balanced immediate relevance with long-term value.

Limitations and Future Work

  • Observational Confounding: The critic is trained on observational logs. If unobserved confounders influence both the proxy metric and the ultimate objective, the causal effect estimates could be biased.
  • Fixed Impression Assumption: The offline calibration isolates ranking effects by fixing the impression count. This ignores the feedback loop where better rankings increase user activity (and thus total impressions), though this is captured during online A/B testing.
  • Action Space Constraints: To maintain optimization stability and lightweight serving, the actor is restricted to outputting a convex combination (weights summing to 1) of existing upstream scores. Future work aims to expand this to allow the actor to map raw impression-level features directly to proxy scores.

Summary updated

BibTeX
@misc{zhang2026dceo,
  author = {Junzhao Zhang and Tao Zhang and Liren Yu and Feiyi Dong and Zhixuan Zhang and Dan Ou and Haihong Tang},
  title = {{DCEO: Direct Causal Effect Optimization for Long-Term User Value Modeling in E-commerce Search}},
  year = {2026},
  eprint = {2608.25635},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.25635},
}
Figure