A Predict-Then-Optimize Customer Allocation Framework for Online Fund Recommendation

Xing Tang, Yunpeng Weng, Fuyuan Lyu, Dugang Liu, Xiuqiang He

TL;DR

Researchers from Tencent and McGill University have developed PTOFA, a "Predict-Then-Optimize" framework that shifts online fund marketing from simple recommendation to global resource allocation. By combining counterfactual multi-task learning to predict investment revenue with a high-speed heuristic optimization algorithm, they achieved up to a 53.89% lift in revenue per mille (RPME) on a major industrial platform.

What Problem Does This Paper Address?

Traditional recommendation systems (like those used for movies or news) usually focus on maximizing clicks or conversions. However, the authors argue that this "top-k recommendation" mindset fails in the world of online financial funds for three reasons:

  1. The Matthew Effect: A few popular funds hog all the exposure, while high-quality niche funds are ignored, harming the platform's long-term health.
  2. Objective Mismatch: Standard systems treat every conversion as equal. In finance, one user might invest \$100 while another invests \$10,000. Maximizing the number of transactions isn't the same as maximizing total revenue.
  3. Complex Constraints: Platforms must balance three stakeholders. Customers need funds matching their risk tolerance; fund managers require a specific amount of exposure (guaranteed traffic); and the platform must ensure regulatory compliance.

The authors propose treating this as an allocation problem: how do we distribute a limited "budget" of customer impressions across a set of funds to maximize global revenue while satisfying all constraints?

Methods

The PTOFA (Predict-Then-Optimize Fund Allocation) framework operates in two distinct stages:

1. Prediction Stage: Counterfactual Multi-task Learning

To maximize revenue, the system first needs to know the "Expected Revenue" ($E$) for every customer-fund pair.

  • Modeling the Long Tail: Investment amounts follow a long-tailed distribution. Instead of using standard Mean Squared Error (MSE), which underestimates rare high-value investors, the authors model revenue using a log-normal distribution (predicting parameters $\mu$ and $\sigma$).
  • Debiasing with Do-Calculus: Usually, models only learn how much a user invests from "positive" samples (people who actually bought). This creates sample selection bias. The authors use a counterfactual mechanism ($do(C=1)$) to estimate what a non-buyer would have spent if they had converted, allowing the model to train on the entire sample space.

2. Optimization Stage: Heuristic Algorithm (HA)

Once revenues are predicted, the platform must solve a massive combinatorial optimization problem.

  • The Speed Challenge: While Integer Programming (IP) provides the "perfect" mathematical solution, it is too slow for 10 million+ users.
  • The Solution: The authors designed a Heuristic Algorithm (HA). It calculates a "heuristic score" for each user based on the potential revenue loss if a fund reaches its exposure limit. It then greedily allocates funds to users with the highest scores. This approach mimics the performance of optimal solvers but at a fraction of the computational cost.

Datasets

The framework was evaluated on two large-scale, real-world datasets from LiCaiTong (one of China’s largest online investment platforms):

  • LCT-A: Contains 4.75 million users and 8 promotional funds over three months.
  • LCT-B: Contains 4.3 million users across 4 different fund types in a general recommendation scenario.

Key Insights and Ideas

  • Allocation > Recommendation: By viewing the problem globally, the platform can "force" exposure to under-served funds while still ensuring that the users seeing them are the ones most likely to invest heavily.
  • Revenue Prediction is Key: Predicting the probability of conversion is standard; predicting the magnitude of the transaction (expected revenue) is the "secret sauce" that aligns the model with business goals.
  • Efficiency is a Feature: In production, a 98% optimal solution that runs in minutes is far more valuable than a 100% optimal solution that takes days. Their heuristic provides this trade-off.

Key Results

  • Prediction Accuracy: PTOFA outperformed state-of-the-art multi-task models (like MMoE and ESMM) in both AUC (conversion prediction) and MAE/MSE (revenue estimation).
  • Optimization Efficiency: In a dataset of 200,000 users, the Heuristic Algorithm (HA) achieved 98.75% of the revenue of an exact Integer Programming solver but was 416 times faster.
  • Real-World Impact: Online A/B tests showed massive gains over the existing baseline:
  • 7.06% to 26.54% lift in Conversion Per Mille (CPME).
  • 36.54% to 53.89% lift in Revenue Per Mille (RPME).

Limitations and Future Work

  • Heuristic Optimality: While the HA is very close to the IP solver, it is still a greedy approximation. There may be edge cases where the gap widens.
  • Fixed Hyperparameters: The counterfactual "small value" ($\epsilon$) assigned to negative samples is a fixed hyperparameter; the authors suggest that dynamically learning this value could further improve accuracy.
  • Dynamic Constraints: The current model assumes constraints (like fund exposure targets) are static for the duration of the allocation. Future work could explore how to adapt these in real-time as market conditions change.

Summary updated

BibTeX
@inproceedings{tang2025predict,
  author = {Xing Tang and Yunpeng Weng and Fuyuan Lyu and Dugang Liu and Xiuqiang He},
  title = {{A Predict-Then-Optimize Customer Allocation Framework for Online Fund Recommendation}},
  booktitle = {DASFAA},
  year = {2025},
  doi = {10.1007/978-981-95-4158-4\_24},
}

Loading related content...

Figure