NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hidden Representation Clustering with Multi-Task Representation Learning towards Robust Online Budget Allocation

Xiaohan Wang, Yu Zhang, Guibin Jiang, Bing Cheng, Wei LinarXiv 2025 · DOI

Abstract

Online budget allocation is a critical task in digital marketing, requiring platforms to distribute treatments (e.g., discounts) to millions of users to maximize revenue under budget constraints. Standard "predict then optimize" approaches often struggle with individual-level prediction noise, computational scalability, and counterfactual uncertainty. This paper presents Hidden Representation Clustering (HRC), a framework that shifts optimization from millions of individuals to a few hundred robust clusters. By leveraging multi-task representation learning and stochastic programming, HRC achieves significant gains in Order Volume (OV) and Gross Merchandise Volume (GMV) on the Meituan platform while maintaining real-time performance.

Introduction

In digital marketing, platforms must decide which treatment to assign to each user to maximize a global objective, such as total revenue, without exceeding a fixed budget. This is typically modeled as a budget allocation problem. However, real-world deployment faces three major hurdles:

  1. Noise Sensitivity: Individual behavior is highly stochastic, making point predictions unreliable.
  2. Computational Scale: Optimizing for tens of millions of users in real-time is infeasible.
  3. Counterfactual Uncertainty: The lack of ground truth for unobserved treatments complicates causal inference.

The HRC Framework

The proposed HRC framework addresses these challenges through a multi-stage offline-to-online pipeline.

Overview of the HRC framework showing the offline training/optimization and online deployment stages.

1. Multi-Task Representation Learning

The process begins by training a neural network to project raw user features into a high-dimensional hidden representation ($Z$). This network predicts both revenue and treatment propensity. To ensure logical consistency in pricing (e.g., higher discounts generally lead to higher conversion), the authors employ a hypernetwork to enforce monotonic constraints.

2. Hidden Representation Clustering (HRC)

Instead of clustering users based on noisy raw features, HRC performs clustering in the latent space $Z$. This approach acts as a denoiser, grouping users by inherent attributes that are more stable than their immediate behaviors. Mathematically, these hidden features are proven to be more robust to input noise than the final output layer.

3. Stochastic Programming and Distillation

The budget allocation problem is reformulated to optimize for $K$ clusters (e.g., $K=500$) rather than $N$ individuals ($N \approx 40M$). This reduction in dimensionality allows for rapid solving using stochastic programming. Finally, the entire logic is distilled into a lightweight K-classification model for millisecond-latency online inference.

Experimental Evaluation

The framework was evaluated using five weeks of industrial data from Meituan, comprising 44 million samples and 450 features. The dataset includes six different discount levels and covers both Randomized Controlled Trial (RCT) and observational data across different seasons (Winter and Summer) to test generalization.

Results

HRC was compared against several state-of-the-art baselines, including Decision-Focused Learning (DFL) and Causal Forests.

Performance comparison of HRC against baselines for Order Volume (OV) and Gross Merchandise Volume (GMV) across varying budget levels.

Offline Performance

As shown in the evaluation metrics, HRC consistently outperforms baselines in Expected Outcome Metric (EOM) for both OV and GMV across various cost levels. The cluster-based approach provides superior stability and generalization compared to individual-level optimization.

Online Deployment

In a month-long A/B test on the Meituan platform, HRC delivered a 0.53% increase in OV and a 0.65% increase in GMV over the existing production models. Furthermore, the optimization solving time was reduced from hours to seconds, enabling efficient daily strategy updates.

Conclusion

Hidden Representation Clustering (HRC) provides a robust and scalable solution for the online budget allocation problem. By moving from individual-level predictions to cluster-level optimization in a latent space, the framework mitigates noise and ensures computational efficiency. Future work will focus on dynamic re-clustering to adapt to rapidly changing market conditions and automated feature selection within the multi-task learning module.

Summary updated

BibTeX
@misc{wang2025hidden,
  author = {Xiaohan Wang and Yu Zhang and Guibin Jiang and Bing Cheng and Wei Lin},
  title = {{Hidden Representation Clustering with Multi-Task Representation Learning towards Robust Online Budget Allocation}},
  year = {2025},
  eprint = {2506.00959},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.00959},
}
Figure