Bi-Level Decision-Focused Causal Learning for Large-Scale Marketing Optimization: Bridging Observational and Experimental Data

Shuli Zhang, Hao Zhou, Jiaqi Zheng, Guibin Jiang, Bing Cheng, Wei Lin, Guihai Chen · DOI

Abstract

Large-scale marketing optimization often relies on a "predict-then-optimize" pipeline that suffers from prediction-decision misalignment and data bias. Standard models trained to minimize prediction error often fail to produce optimal resource allocation decisions under real-world constraints. We present Bi-DFCL, a bi-level optimization framework that bridges biased observational data with clean experimental data. By nesting the prediction task within a decision-quality optimization loop, Bi-DFCL produces decisions that maximize business metrics like revenue and retention. Empirical results on large-scale datasets and live A/B tests demonstrate significant improvements over state-of-the-art methods.

Introduction

In modern online platforms, marketing is essentially a resource allocation problem: determining which user should receive which treatment (e.g., a specific coupon) to maximize a global objective under a limited budget. Traditionally, this is solved in two stages: first, a machine learning (ML) model predicts user response, and then an operations research (OR) algorithm allocates the budget based on those predictions.

However, this approach faces two critical challenges. First, prediction-decision misalignment occurs because standard loss functions (like MSE) do not account for how errors impact the final optimization. A model can be accurate on average but fail at the "edges" where critical allocation decisions are made. Second, platforms face a bias-variance dilemma: they possess vast amounts of biased Observational (OBS) data and small amounts of unbiased Randomized Controlled Trial (RCT) data. Relying on OBS data leads to biased decisions, while RCT data alone is often too sparse for complex models.

Methodology: The Bi-DFCL Framework

To address these issues, we propose Bi-Level Decision-Focused Causal Learning (Bi-DFCL). This framework treats prediction and optimization as a nested system rather than sequential steps.

The Bi-DFCL framework illustrates the nested optimization loop between lower-level prediction and upper-level decision quality evaluation.

Bi-Level Optimization and the Bridge Network

The framework consists of two levels:

  • Lower-Level Optimization: The "Target Network" learns to predict user responses using the massive OBS data.
  • Upper-Level Optimization: The system evaluates the quality of decisions made by the Target Network using the clean RCT data.

A key innovation is the Bridge Network, an auxiliary model that dynamically weights and corrects the learning direction of the Target Network based on unbiased feedback from the upper level. This allows the system to use RCT data as a "compass" to steer the model while it consumes high-volume OBS data.

Overcoming Non-Differentiability

Discrete optimization problems, such as the knapsack problems common in marketing, are typically non-differentiable, preventing standard backpropagation. We introduce two surrogate losses—Primal Policy Learning (PPL) and Primal Improved Finite Difference (PIFD)—which focus on the specific primal budget constraints of the business. To ensure scalability, we employ implicit differentiation and the Conjugate Gradient (CG) algorithm, allowing the model to be trained on industrial-scale datasets without prohibitive memory requirements.

Experimental Setup

We evaluated Bi-DFCL across three major datasets, including a public benchmark and two massive internal datasets from Meituan, a leading food delivery platform. These datasets represent a variety of marketing scenarios, from cash-off coupons to percentage discounts.

Summary of the datasets used for evaluation, highlighting the scale of observational versus experimental data.

Key Results

Bi-DFCL consistently outperformed existing state-of-the-art methods in both offline and online settings:

  • Offline Performance: On the Criteo-Uplift benchmark, Bi-DFCL achieved a 9.3% improvement in the Area Under the Cost Curve (AUCC) compared to traditional methods.
  • Online Impact: In a four-week live A/B test at Meituan, the framework delivered a 3.22% lift in total orders compared to the standard two-stage pipeline.
  • Efficiency: Despite the complexity of bi-level optimization, the use of implicit differentiation kept training times manageable—only 6-7x longer than simple baselines—making it viable for large-scale industrial deployment.

Conclusion

Bi-DFCL bridges the gap between prediction and decision-making by leveraging the strengths of both observational and experimental data. By focusing on "making good decisions" rather than just "being accurate," the framework provides a robust solution for large-scale marketing optimization. Future work will explore extending this bi-level approach to other domains, such as supply chain logistics and healthcare resource allocation.

Summary updated

BibTeX
@inproceedings{zhang2025bi,
  author = {Shuli Zhang and Hao Zhou and Jiaqi Zheng and Guibin Jiang and Bing Cheng and Wei Lin and Guihai Chen},
  title = {{Bi-Level Decision-Focused Causal Learning for Large-Scale Marketing Optimization: Bridging Observational and Experimental Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=MjkopMaVAI},
}
Figure